Home
last modified time | relevance | path

Searched refs:fromBundle (Results 1 – 25 of 36) sorted by relevance

12

/aosp12/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/partner/
H A DResourceEntryTest.java56 ResourceEntry result = ResourceEntry.fromBundle(source); in fromBundle_bundleWithRequiredData_getResourceEntryWithCorrectData()
65 assertThat(ResourceEntry.fromBundle(null)).isNull(); in fromNullBundle_returnNull()
73 ResourceEntry result = ResourceEntry.fromBundle(source); in fromBundleWithoutRequiredData_returnNull()
/aosp12/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/
H A DMetadataTest.java474 Metadata metadata = new Metadata.Builder().fromBundle(bundle).build(); in testBuildMetadataFromBundle()
486 Metadata metadata = new Metadata.Builder().fromBundle(bundle).build(); in testBuildMetadataFromBundleWithArt()
498 Metadata metadata = new Metadata.Builder().fromBundle(bundle).build(); in testBuildMetadataFromBundleWithAlbumArt()
510 Metadata metadata = new Metadata.Builder().fromBundle(bundle).build(); in testBuildMetadataFromBundleWithDisplayIcon()
524 .fromBundle(bundle) in testBuildMetadataFromBundleWithUriArt()
539 .fromBundle(bundle) in testBuildMetadataFromBundleWithUriAlbumArt()
554 .fromBundle(bundle) in testBuildMetadataFromBundleWithUriDisplayIcon()
567 .fromBundle(bundle) in testBuildMetadataFromBundleWithUriNoContext()
584 .fromBundle(bundle) in testBuildMetadataFromBundleWithUriAndUrisDisabled()
596 Metadata metadata = new Metadata.Builder().fromBundle(bundle).build(); in testBuildMetadataFromEmptyBundle()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DSafeActivityOptions.java74 public static SafeActivityOptions fromBundle(Bundle bOptions) { in fromBundle() method in SafeActivityOptions
76 ? new SafeActivityOptions(ActivityOptions.fromBundle(bOptions)) in fromBundle()
85 static SafeActivityOptions fromBundle(Bundle bOptions, int callingPid, int callingUid) { in fromBundle() method in SafeActivityOptions
87 ? new SafeActivityOptions(ActivityOptions.fromBundle(bOptions), in fromBundle()
228 return ActivityOptions.fromBundle(b1); in mergeActivityOptions()
H A DActivityTaskManagerService.java1206 SafeActivityOptions.fromBundle(bOptions), userId, reason, in startActivities()
1284 SafeActivityOptions options = SafeActivityOptions.fromBundle(bOptions); in startNextMatchingActivity()
1761 final SafeActivityOptions safeOptions = SafeActivityOptions.fromBundle(bOptions); in startActivityFromRecents()
2090 SafeActivityOptions.fromBundle(bOptions)); in moveTaskToFront()
5343 SafeActivityOptions.fromBundle(bOptions), userId, in startActivitiesAsPackage()
H A DActivityClientController.java671 final SafeActivityOptions safeOptions = SafeActivityOptions.fromBundle(options); in convertToTranslucent()
/aosp12/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
H A DConversation.java136 public static Conversation fromBundle(@Nullable Bundle bundle) { in fromBundle() method in Conversation
152 ? Person.fromBundle((Bundle) personBundle) in fromBundle()
162 Person.fromBundle(Objects.requireNonNull(bundle.getBundle(KEY_USER))), in fromBundle()
549 Person.fromBundle(Objects.requireNonNull(bundle.getBundle(KEY_SENDER)) in getMessageFromBundle()
801 ConversationAction action = fromBundle((Bundle) element); in getActionsFromBundleArray()
820 private static ConversationAction fromBundle(@Nullable Bundle bundle) { in fromBundle() method in Conversation.ConversationAction
/aosp12/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
H A DClusterHomeActivity.java55 ClusterActivityState activityState = ClusterActivityState.fromBundle(extra); in logIntent()
H A DFakeFreeNavigationActivity.java64 ClusterActivityState state = ClusterActivityState.fromBundle(bundle); in handleIntent()
/aosp12/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/partner/
H A DResourceEntry.java44 public static ResourceEntry fromBundle(@Nullable Bundle bundle) { in fromBundle() method in ResourceEntry
H A DPartnerConfigHelper.java344 return ResourceEntry.fromBundle(mResultBundle.getBundle(resourceName)); in getResourceEntryFromKey()
/aosp12/packages/services/Car/car-lib/src/android/car/cluster/
H A DClusterActivityState.java118 public static ClusterActivityState fromBundle(Bundle bundle) { in fromBundle() method in ClusterActivityState
/aosp12/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
H A DFakeFreeNavigationActivity.java63 ClusterActivityState state = ClusterActivityState.fromBundle(bundle); in handleIntent()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/helpers/
H A DMetadata.java173 return fromBundle(desc.getExtras()).setMediaId(desc.getMediaId()); in fromMediaDescription()
188 public Builder fromBundle(Bundle bundle) { in fromBundle() method in Metadata.Builder
H A DUtil.java74 return builder.useContext(context).useDefaults().fromBundle(bundle).build(); in toMetadata()
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cluster/
H A DFakeClusterNavigationActivity.java65 ClusterActivityState state = ClusterActivityState.fromBundle(bundle); in handleIntent()
/aosp12/frameworks/base/core/java/android/app/servertransaction/
H A DStartActivityItem.java86 mActivityOptions = ActivityOptions.fromBundle(in.readBundle()); in StartActivityItem()
H A DLaunchActivityItem.java188 ActivityOptions.fromBundle(in.readBundle()), in.readBoolean(), in LaunchActivityItem()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DWorkLockActivityControllerTest.java164 final ActivityOptions options = ActivityOptions.fromBundle(item);
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DActivityOptionsTest.java80 ActivityOptions restoredOpts = ActivityOptions.fromBundle(optsBundle); in testMerge_NoClobber()
/aosp12/frameworks/base/apex/appsearch/framework/java/external/android/app/appsearch/
H A DAppSearchSchema.java133 ret.add(PropertyConfig.fromBundle(propertyBundles.get(i))); in getProperties()
413 public static PropertyConfig fromBundle(@NonNull Bundle propertyBundle) { in fromBundle() method in AppSearchSchema.PropertyConfig
/aosp12/packages/services/Car/service/src/com/android/car/cluster/
H A DClusterHomeService.java311 ActivityOptions activityOptions = ActivityOptions.fromBundle(activityOptionsBundle); in startFixedActivityModeAsUser()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DPendingIntentController.java136 SafeActivityOptions.fromBundle(bOptions), userId); in getIntentSender()
H A DPendingIntentRecord.java355 final ActivityOptions opts = ActivityOptions.fromBundle(options); in sendInner()
/aosp12/packages/services/Car/car-lib/src/android/car/cluster/renderer/
H A DInstrumentClusterRenderingService.java465 setClusterActivityState(ClusterActivityState.fromBundle(state)); in setClusterActivityState()
/aosp12/frameworks/base/core/java/android/app/
H A DActivityOptions.java1356 public static ActivityOptions fromBundle(Bundle bOptions) { in fromBundle() method in ActivityOptions

12