Home
last modified time | relevance | path

Searched defs:task2 (Results 1 – 25 of 102) sorted by relevance

12345

/aosp_15_r20/packages/apps/Launcher3/quickstep/tests/multivalentTests/src/com/android/quickstep/util/
DGroupTaskTest.kt43 val task2 = GroupTask(createTask(1)) in testGroupTask_identicalConstructor_isEqual() constant
50 val task2 = task1.copy() in testGroupTask_copy_isEqual() constant
57 val task2 = GroupTask(createTask(2)) in testGroupTask_differentId_isNotEqual() constant
72 val task2 = GroupTask(createTask(1), createTask(2), splitBounds, TaskViewType.GROUPED) in testGroupTask_equalSplitTasks_isEqual() constant
95 val task2 = GroupTask(createTask(1), createTask(2), splitBounds2, TaskViewType.GROUPED) in testGroupTask_differentSplitTasks_isNotEqual() constant
102 val task2 = GroupTask(createTask(1), null, null, TaskViewType.DESKTOP) in testGroupTask_differentType_isNotEqual() constant
DDesktopTaskTest.kt39 val task2 = DesktopTask(createTasks(1)) in testDesktopTask_identicalConstructor_isEqual() constant
46 val task2 = task1.copy() in testDesktopTask_copy_isEqual() constant
53 val task2 = DesktopTask(createTasks(2)) in testDesktopTask_differentId_isNotEqual() constant
60 val task2 = DesktopTask(createTasks(1, 2)) in testDesktopTask_differentLength_isNotEqual() constant
DSplitSelectStateControllerTest.kt656 val task2 = Task() in generateGroupTask() constant
686 val task2 = Task() in generateGroupTask() constant
/aosp_15_r20/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/taskbar/
DTaskbarRecentAppsControllerTest.kt245 val task2 = createTask(id = 2, packageName = RUNNING_APP_PACKAGE_1, isVisible = true) in <lambda>() constant
256 val task2 = createTask(id = 2, packageName = RUNNING_APP_PACKAGE_1, isVisible = true) in <lambda>() constant
427 val task2 = createTask(id = 2, RUNNING_APP_PACKAGE_2) in <lambda>() constant
441 val task2 = createTask(id = 2, RUNNING_APP_PACKAGE_2) in <lambda>() constant
455 val task2 = createTask(id = 2, RUNNING_APP_PACKAGE_2) in <lambda>() constant
487 val task2 = createTask(id = 2, RUNNING_APP_PACKAGE_2) in <lambda>() constant
503 val task2 = createTask(id = 2, RUNNING_APP_PACKAGE_2) in <lambda>() constant
516 val task2 = createTask(id = 2, RUNNING_APP_PACKAGE_2) in <lambda>() constant
537 val task2 = createTask(id = 2, RUNNING_APP_PACKAGE_1) in <lambda>() constant
558 val task2 = createTask(id = 2, RUNNING_APP_PACKAGE_1) in <lambda>() constant
[all …]
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/tiling/
H A DDesktopTilingWindowDecorationTest.kt220 val task2 = createVisibleTask() in <lambda>() constant
243 val task2 = createVisibleTask() in <lambda>() constant
273 val task2 = createVisibleTask() in <lambda>() constant
305 val task2 = createVisibleTask() in <lambda>() constant
338 val task2 = createVisibleTask() in <lambda>() constant
370 val task2 = createVisibleTask() in <lambda>() constant
437 val task2 = createVisibleTask() in <lambda>() constant
525 val task2 = createVisibleTask() in <lambda>() constant
554 val task2 = createVisibleTask() in <lambda>() constant
/aosp_15_r20/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DRecentTasksTest.java301 Task task2 = createTaskBuilder(".Task1") in testAddTasks_expectRemovedNoTrim() local
325 Task task2 = createTaskBuilder(".Task1") in testAddMultipleTasks_expectNotRemoved() local
348 Task task2 = createTaskBuilder(".Task1") in testAddTasksDifferentStacks_expectNoRemove() local
374 Task task2 = createTaskBuilder(".Task1") in testAddTaskCompatibleActivityType_expectRemove() local
399 Task task2 = createTaskBuilder(".Task1") in testAddTaskCompatibleActivityTypeDifferentUser_expectNoRemove() local
420 Task task2 = createTaskBuilder(".Task1") in testAddTaskCompatibleWindowingMode_expectRemove() local
444 Task task2 = createTaskBuilder(".Task1") in testAddTaskCompatibleWindowingMode_withFreeformAndFullscreen_expectRemove() local
471 Task task2 = createTaskBuilder(".Task1") in testAddTaskIncompatibleWindowingMode_expectNoRemove() local
496 final Task task2 = createTaskBuilder(".Task2").build(); in testRemoveAffinityTask() local
519 final Task task2 = taskBuilder.apply(true /* visible */); in testAddTasksHomeClearUntrackedTasks_expectFinish() local
[all …]
H A DWindowOrganizerTests.java324 final Task task2 = createTask(rootTask2); in testUnregisterOrganizerReturnsRegistrationToPrevious() local
368 final Task task2 = createTask(rootTask2); in testUnregisterOrganizer_removesTasksCreatedByIt() local
421 final Task task2 = createTask(rootTask2); in testOrganizerDeathReturnsRegistrationToPrevious() local
466 final Task task2 = createTask(rootTask2); in testRegisterTaskOrganizerWithExistingTasks() local
482 final Task task2 = createTask(rootTask2); in testRegisterTaskOrganizerWithExistingTasks_noSurfaceControl() local
880 Task task2 = mWm.mAtmService.mTaskOrganizerController.createRootTask( in testCreateDeleteRootTasks() local
903 final Task task2 = mWm.mAtmService.mTaskOrganizerController.createRootTask( in testSetAdjacentLaunchRoot() local
910 assertEquals(task1.getAdjacentTaskFragment(), task2); in testSetAdjacentLaunchRoot() local
1143 Task task2 = mWm.mAtmService.mTaskOrganizerController.createRootTask( in testHierarchyTransaction() local
1422 final Task task2 = createTask(rootTask2); in testInterceptBackPressedOnTaskRoot() local
[all …]
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
H A DDesktopTasksControllerTest.kt473 val task2 = setUpFreeformTask() in <lambda>() constant
491 val task2 = setUpFreeformTask() in <lambda>() constant
513 val task2 = setUpFreeformTask() in <lambda>() constant
523 val task2 = setUpFreeformTask() in <lambda>() constant
535 val task2 = setUpFreeformTask(SECOND_DISPLAY) in <lambda>() constant
554 val task2 = setUpFreeformTask() in <lambda>() constant
573 val task2 = setUpFreeformTask(SECOND_DISPLAY) in <lambda>() constant
591 val task2 = setUpFreeformTask() in <lambda>() constant
610 val task2 = setUpFreeformTask() in <lambda>() constant
628 val task2 = setUpFreeformTask() in <lambda>() constant
[all …]
H A DDesktopTasksLimiterTest.kt316 val task2 = setUpFreeformTask(displayId = DEFAULT_DISPLAY) in removeLeftoverMinimizedTasks_onlyMinimizedTasksLeft_removesAllMinimizedTasks() constant
335 val task2 = setUpFreeformTask(displayId = DEFAULT_DISPLAY) in removeLeftoverMinimizedTasks_onlyMinimizedTasksLeft_backNavEnabled_doesNothing() constant
/aosp_15_r20/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/data/
DFederatedTrainingTaskDaoTest.java104 FederatedTrainingTask task2 = in findAndRemoveTaskByJobId_success() local
126 FederatedTrainingTask task2 = in findAndRemoveTaskByPopulationNameAndJobId_success() local
145 FederatedTrainingTask task2 = in testGetNumberOfFederatedTrainingTasksPerOwnerPackage() local
170 FederatedTrainingTask task2 = in findAndRemoveTaskByPopulationName_success() local
189 FederatedTrainingTask task2 = in findAndRemoveTaskByPopulationNameAndCallingPackage_success() local
227 FederatedTrainingTask task2 = in findAndRemoveTaskByPopulationNameAndAndOwnerId_success() local
/aosp_15_r20/external/pigweed/pw_async_basic/
H A Ddispatcher_test.cc53 Task task2(inc_count); in TEST() local
79 Task task2([&task1](Context& c, Status status) { in TEST() local
110 Task task2([&state](Context&, Status status) { in TEST() local
167 Task task0(inc_count), task1(inc_count), task2(inc_count); in TEST() local
183 Task task0(inc_count), task1(inc_count), task2(inc_count); in TEST() local
201 Task task0(inc_count), task1(inc_count), task2(inc_count); in TEST() local
219 Task task0(inc_count), task1(inc_count), task2(inc_count); in TEST() local
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
H A DShellTaskOrganizerTests.java199 RunningTaskInfo task2 = createTaskInfo(/* taskId= */ 2, WINDOWING_MODE_MULTI_WINDOW); in testRegisterWithExistingTasks() local
357 RunningTaskInfo task2 = createTaskInfo(1, WINDOWING_MODE_MULTI_WINDOW); in testGetParentTaskListener() local
449 RunningTaskInfo task2 = createTaskInfo(/* taskId= */ 2, WINDOWING_MODE_FULLSCREEN); in testAddLocusListener() local
596 RunningTaskInfo task2 = createFreeformTaskInfo(/* taskId= */ 1); in testRecentTasks_visibilityChanges_shouldNotifyTaskController() local
608 RunningTaskInfo task2 = createFreeformTaskInfo(/* taskId= */ 1); in testRecentTasks_sizeChanges_shouldNotifyTaskController() local
620 RunningTaskInfo task2 = createFreeformTaskInfo(/* taskId= */ 1); in testRecentTasks_positionChanges_shouldNotifyTaskController() local
644 RunningTaskInfo task2 = createTaskInfo(/* taskId= */ 1, WINDOWING_MODE_FREEFORM); in testRecentTasks_windowingModeChanges_shouldNotifyTaskController() local
/aosp_15_r20/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
H A DShadowHandlerTest.java154 TestRunnable task2 = new TestRunnable(); in testPostDelayedTwiceThenRunMainLooperToNextTask_shouldRunMultipleTasks() local
167 TestRunnable task2 = new TestRunnable(); in testPostDelayedTwiceThenRunMainLooperOneTask_shouldRunOnlyOneTask() local
180 TestRunnable task2 = new TestRunnable(); in testPostDelayedMultipleThenRunMainLooperOneTask_shouldRunMultipleTask() local
197 TestRunnable task2 = new TestRunnable(); in testPostAtFrontOfQueueThenRunMainLooperOneTaskAtATime_shouldRunFrontOfQueueTaskFirst() local
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/spirit/classic/test/
Dgrammar_mt_tests.cpp182 single_grammar_object_task task1, task2, task3, task4; in single_local_grammar_object_multiple_threads() local
216 two_grammar_objects_task task1, task2, task3, task4; in multiple_local_grammar_objects_multiple_threads() local
248 single_global_grammar_object_task task1, task2, task3, task4; in single_global_grammar_object_multiple_threads() local
282 multiple_global_grammar_objects_task task1, task2, task3, task4; in multiple_global_grammar_objects_multiple_threads() local
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/
H A DGroupedTaskInfoTest.kt192 val task2 = createTaskInfo(id = 2) in testGetTaskById_multipleTasks() constant
215 val task2 = createTaskInfo(id = 2) in splitTasksGroupInfo() constant
/aosp_15_r20/external/libchrome/base/debug/
H A Dtask_annotator_unittest.cc169 OnceClosure task2 = BindOnce( in TEST_F() local
339 OnceClosure task2 = BindOnce( in TEST_F() local
351 OnceClosure task2) { in TEST_F()
/aosp_15_r20/frameworks/base/services/tests/servicestests/src/com/android/server/job/
H A DJobStoreTest.java142 final JobInfo task2 = new Builder(12, mComponent) in runRemovingLastJob() local
195 final JobInfo task2 = new Builder(12, mComponent) in runClearJobs() local
225 final JobInfo task2 = new Builder(12, mComponent) in testSkipExtraFiles() local
379 final JobInfo task2 = new Builder(12, mComponent) in runWritingTwoJobsToDisk() local
/aosp_15_r20/external/cronet/base/task/common/
H A Dtask_annotator_unittest.cc198 OnceClosure task2 = BindOnce( in TEST_F() local
391 OnceClosure task2 = BindOnce( in TEST_F() local
405 OnceClosure task2) { in TEST_F()
/aosp_15_r20/external/lottie/lottie/src/test/java/com/airbnb/lottie/
H A DLottieCompositionFactoryTest.java111 LottieTask<LottieComposition> task2 = LottieCompositionFactory.fromJsonReader(reader, null); in testNullMultipleTimesAsync() local
119 … LottieResult<LottieComposition> task2 = LottieCompositionFactory.fromJsonReaderSync(reader, null); in testNullMultipleTimesSync() local
/aosp_15_r20/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/wm/taskview/
DRootTaskMediatorTest.java184 ActivityManager.RunningTaskInfo task2 = createTask(/* taskId= */ 2); in onTaskInfoChanged_multipleExisting_taskVisible_movesToFrontOfStack() local
231 ActivityManager.RunningTaskInfo task2 = createTask(/* taskId= */ 2); in onTaskVanished_multipleExistingTasks_removesFromTaskStack() local
/aosp_15_r20/external/rust/android-crates-io/crates/tokio/tests/
Dsync_oneshot.rs251 let mut task2 = task::spawn(()); in receiver_changes_task() localVariable
276 let mut task2 = task::spawn(()); in sender_changes_task() localVariable
/aosp_15_r20/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
H A DRecentTaskListProvider.kt75 val task2 = in loadRecentTasks() constant
/aosp_15_r20/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
H A DDesktopModeWindowDecorViewModelTests.kt313 val task2 = createTask(windowingMode = WINDOWING_MODE_FREEFORM, displayId = 2) in <lambda>() constant
1161 val task2 = createOpenTaskDecoration( in <lambda>() constant
1185 val task2 = createOpenTaskDecoration( in <lambda>() constant
/aosp_15_r20/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DKeyboardQuickSwitchTaskView.java141 @Nullable Task task2, in setThumbnails()
179 @Nullable Task task2, in setThumbnailsForSplitTasks()
/aosp_15_r20/external/webrtc/api/task_queue/
H A Dpending_task_safety_flag_unittest.cc177 auto task2 = SafeTask(flag, [&count] { ++count; }); in TEST() local
184 std::move(task2)(); in TEST() local

12345