/frameworks/base/media/java/android/media/browse/ |
D | MediaBrowserUtils.java | 31 public static boolean areSameOptions(Bundle options1, Bundle options2) { in areSameOptions() argument 32 if (options1 == options2) { in areSameOptions() 34 } else if (options1 == null) { in areSameOptions() 38 return options1.getInt(MediaBrowser.EXTRA_PAGE, -1) == -1 in areSameOptions() 39 && options1.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1) == -1; in areSameOptions() 41 return options1.getInt(MediaBrowser.EXTRA_PAGE, -1) in areSameOptions() 43 && options1.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1) in areSameOptions() 51 public static boolean hasDuplicatedItems(Bundle options1, Bundle options2) { in hasDuplicatedItems() argument 52 int page1 = options1 == null ? -1 : options1.getInt(MediaBrowser.EXTRA_PAGE, -1); in hasDuplicatedItems() 54 int pageSize1 = options1 == null ? -1 : options1.getInt(MediaBrowser.EXTRA_PAGE_SIZE, -1); in hasDuplicatedItems()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/ |
D | ISplitScreen.aidl | 93 oneway void startTasks(int taskId1, in Bundle options1, int taskId2, in Bundle options2, in startTasks() argument 100 oneway void startIntentAndTask(in PendingIntent pendingIntent, int userId1, in Bundle options1, in startIntentAndTask() argument 107 oneway void startShortcutAndTask(in ShortcutInfo shortcutInfo, in Bundle options1, int taskId, in startShortcutAndTask() argument 114 oneway void startTasksWithLegacyTransition(int taskId1, in Bundle options1, int taskId2, in startTasksWithLegacyTransition() argument 122 in Bundle options1, int taskId, in Bundle options2, int splitPosition, int snapPosition, in startIntentAndTaskWithLegacyTransition() argument 129 in Bundle options1, int taskId, in Bundle options2, int splitPosition, int snapPosition, in startShortcutAndTaskWithLegacyTransition() argument 136 in ShortcutInfo shortcutInfo1, in Bundle options1, in PendingIntent pendingIntent2, in startIntentsWithLegacyTransition() argument 144 in ShortcutInfo shortcutInfo1, in Bundle options1, in PendingIntent pendingIntent2, in startIntents() argument
|
D | SplitScreenController.java | 509 public void startTasks(int taskId1, @Nullable Bundle options1, int taskId2, in startTasks() argument 513 mStageCoordinator.startTasks(taskId1, options1, taskId2, options2, splitPosition, in startTasks() 612 @Nullable Bundle options1, int taskId, @Nullable Bundle options2, in startShortcutAndTaskWithLegacyTransition() argument 615 if (options1 == null) options1 = new Bundle(); in startShortcutAndTaskWithLegacyTransition() 616 final ActivityOptions activityOptions = ActivityOptions.fromBundle(options1); in startShortcutAndTaskWithLegacyTransition() 642 void startShortcutAndTask(@NonNull ShortcutInfo shortcutInfo, @Nullable Bundle options1, in startShortcutAndTask() argument 646 if (options1 == null) options1 = new Bundle(); in startShortcutAndTask() 647 final ActivityOptions activityOptions = ActivityOptions.fromBundle(options1); in startShortcutAndTask() 686 @Nullable Bundle options1, int taskId, @Nullable Bundle options2, in startIntentAndTaskWithLegacyTransition() argument 709 options1, taskId, options2, splitPosition, snapPosition, adapter, instanceId); in startIntentAndTaskWithLegacyTransition() [all …]
|
D | StageCoordinator.java | 723 void startTasks(int taskId1, @Nullable Bundle options1, int taskId2, @Nullable Bundle options2, in startTasks() argument 731 startSingleTask(taskId1, options1, wct, remoteTransition); in startTasks() 736 options1 = options1 != null ? options1 : new Bundle(); in startTasks() 737 addActivityOptions(options1, mSideStage); in startTasks() 738 wct.startTask(taskId1, options1); in startTasks() 745 @Nullable Bundle options1, int taskId, @Nullable Bundle options2, in startIntentAndTask() argument 755 startSingleIntent(pendingIntent, fillInIntent, options1, wct, remoteTransition); in startIntentAndTask() 765 options1 = options1 != null ? options1 : new Bundle(); in startIntentAndTask() 766 addActivityOptions(options1, mSideStage); in startIntentAndTask() 767 wct.sendPendingIntent(pendingIntent, fillInIntent, options1); in startIntentAndTask() [all …]
|
D | SplitScreen.java | 83 void startTasks(int taskId1, @Nullable Bundle options1, int taskId2, in startTasks() argument
|
/frameworks/libs/modules-utils/javatests/com/android/modules/expresslog/ |
D | UniformOptionsTest.java | 33 Histogram.UniformOptions options1 = new Histogram.UniformOptions(1, 100, 1000); in testGetBinsCount() local 34 assertEquals(3, options1.getBinsCount()); in testGetBinsCount()
|
D | ScaledRangeOptionsTest.java | 34 Histogram.ScaledRangeOptions options1 = new Histogram.ScaledRangeOptions(1, 100, 100, 2); in testGetBinsCount() local 35 assertEquals(3, options1.getBinsCount()); in testGetBinsCount()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | BroadcastRecordTest.java | 496 final BroadcastOptions options1 = BroadcastOptions.makeBasic(); in testMatchesDeliveryGroup() local 498 intent1, options1); in testMatchesDeliveryGroup() 517 final BroadcastOptions options1 = BroadcastOptions.makeBasic(); in testMatchesDeliveryGroup_withMatchingKey() local 518 options1.setDeliveryGroupMatchingKey(Intent.ACTION_SERVICE_STATE, "key1"); in testMatchesDeliveryGroup_withMatchingKey() 520 intent1, options1); in testMatchesDeliveryGroup_withMatchingKey() 562 final BroadcastOptions options1 = BroadcastOptions.makeBasic(); in testMatchesDeliveryGroup_withMatchingFilter() local 563 options1.setDeliveryGroupMatchingFilter(filter1); in testMatchesDeliveryGroup_withMatchingFilter() 565 intent1, options1); in testMatchesDeliveryGroup_withMatchingFilter()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SafeActivityOptions.java | 256 @Nullable ActivityOptions mergeActivityOptions(@Nullable ActivityOptions options1, in mergeActivityOptions() argument 258 if (options1 == null) { in mergeActivityOptions() 262 return options1; in mergeActivityOptions() 264 final Bundle b1 = options1.toBundle(); in mergeActivityOptions()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskStackChangedListenerTest.java | 299 ActivityOptions options1 = ActivityOptions.makeBasic().setLaunchDisplayId(virtualDisplayId); in testTaskDisplayChanged() local 302 taskId1 = startTestActivity(ActivityInVirtualDisplay.class, options1).getTaskId(); in testTaskDisplayChanged()
|
D | DisplayAreaPolicyBuilderTest.java | 677 final Bundle options1 = new Bundle(); in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnOptions() local 678 options1.putInt("HIERARCHY_ROOT_ID", mGroupRoot1.mFeatureId); in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnOptions() 692 .setOptions(options1) in testBuilder_addWindow_selectContainerForWindowFunc_selectBasedOnOptions()
|