Home
last modified time | relevance | path

Searched refs:setTask (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRootWindowContainerTests.java171 new ActivityBuilder(mAtm).setTask(task1).build().mVisibleRequested = true; in testTaskLayerRank()
179 new ActivityBuilder(mAtm).setTask(task2).build().mVisibleRequested = true; in testTaskLayerRank()
203 new ActivityBuilder(mWm.mAtmService).setTask(task).setUseProcess(wpc).build(), in testForceStopPackage()
204 new ActivityBuilder(mWm.mAtmService).setTask(task).setUseProcess(wpc).build() in testForceStopPackage()
244 .setTask(fullscreenTask).build(); in testReplacingTaskInPinnedRootTask()
246 .setTask(fullscreenTask).build(); in testReplacingTaskInPinnedRootTask()
279 .setTask(fullscreenTask).build(); in testMovingBottomMostRootTaskActivityToPinnedRootTask()
283 .setTask(fullscreenTask).build(); in testMovingBottomMostRootTaskActivityToPinnedRootTask()
412 final ActivityRecord firstActivity = new ActivityBuilder(mAtm).setTask(rootTask).build(); in testRemovingRootTaskOnAppCrash()
435 final ActivityRecord firstActivity = new ActivityBuilder(mAtm).setTask(rootTask).build(); in testRemovingRootTaskOnAppCrash_multipleDisplayAreas()
[all …]
DRootTaskTests.java426 .setTask(rootHomeTask) in testRemoveOrganizedTask_UpdateRootTaskReference()
490 final ActivityRecord taskOverlay = new ActivityBuilder(mAtm).setTask(task) in testFindTaskWithOverlay()
516 new ActivityBuilder(mAtm).setComponent(target).setTask(task).setTargetActivity( in testFindTaskAlias()
566 .setTask(pinnedRootTask) in testShouldBeVisible_Fullscreen()
850 .setTask(pinnedRootTask) in testGetVisibility_FullscreenBehindTranslucentAndPip()
862 .setTask(homeRootTask) in testShouldBeVisible_Finishing()
897 .setTask(task) in testShouldBeVisible_FullscreenBehindTranslucentInHomeRootTask()
1166 final ActivityRecord firstActivity = new ActivityBuilder(mAtm).setTask(task).build(); in testFinishDisabledPackageActivities_FinishAliveActivities()
1167 final ActivityRecord secondActivity = new ActivityBuilder(mAtm).setTask(task).build(); in testFinishDisabledPackageActivities_FinishAliveActivities()
1187 final ActivityRecord activity = new ActivityBuilder(mAtm).setTask(task).build(); in testFinishDisabledPackageActivities_RemoveNonAliveActivities()
[all …]
DTaskTests.java516 final ActivityRecord top = new ActivityBuilder(mAtm).setTask(task).setParentTask(rootTask) in testFullscreenBoundsForcedOrientation()
673 final ActivityRecord activity = new ActivityBuilder(mAtm).setTask(task).build(); in testComputeConfigResourceOverrides()
851 new ActivityBuilder(mAtm).setTask(task).build(); in testFindRootIndex()
868 final ActivityRecord activity1 = new ActivityBuilder(mAtm).setTask(task).build(); in testFindRootIndex_finishing()
870 new ActivityBuilder(mAtm).setTask(task).build(); in testFindRootIndex_finishing()
885 new ActivityBuilder(mAtm).setTask(task).build(); in testFindRootIndex_effectiveRoot()
903 final ActivityRecord activity1 = new ActivityBuilder(mAtm).setTask(task).build(); in testFindRootIndex_effectiveRoot_finishingAndRelinquishing()
905 new ActivityBuilder(mAtm).setTask(task).build(); in testFindRootIndex_effectiveRoot_finishingAndRelinquishing()
937 final ActivityRecord activity1 = new ActivityBuilder(mAtm).setTask(task).build(); in testFindRootIndex_effectiveRoot_relinquishingMultipleActivities()
950 new ActivityBuilder(mAtm).setTask(task).build(); in testGetRootActivity()
[all …]
DActivityRecordTests.java205 final ActivityRecord overlayActivity = new ActivityBuilder(mAtm).setTask(task).build(); in testRemoveChildWithOverlayActivity()
207 final ActivityRecord overlayActivity2 = new ActivityBuilder(mAtm).setTask(task).build(); in testRemoveChildWithOverlayActivity()
263 final ActivityRecord topActivity = new ActivityBuilder(mAtm).setTask(task).build(); in testPausingWhenVisibleFromStopped()
302 ActivityRecord activity2 = new ActivityBuilder(mAtm).setTask(activity.getTask()).build(); in testsApplyOptionsLocked()
644 ActivityRecord finishingActivity = new ActivityBuilder(mAtm).setTask(task).build(); in testShouldMakeActive_nonTopVisible()
646 ActivityRecord topActivity = new ActivityBuilder(mAtm).setTask(task).build(); in testShouldMakeActive_nonTopVisible()
674 ActivityRecord topActivity = new ActivityBuilder(mAtm).setTask(task).build(); in testShouldResumeOrPauseWithResults()
732 ActivityRecord topActivity = new ActivityBuilder(mAtm).setTask(activity.getTask()).build(); in testShouldStartWhenMakeClientActive()
895 .setTask(activity.getTask()).build(); in testFinishActivityIfPossible_removed()
1189 .setTask(bottomActivity.getTask()).build(); in testFinishBottomActivityIfPossible_noZBoost()
[all …]
DTaskDisplayAreaTests.java427 .setTask(firstRootTask).build(); in testIsLastFocused()
429 .setTask(secondRootTask).build(); in testIsLastFocused()
461 .setTask(firstRootTask).build(); in testIsLastFocused_onlyCountIfTaskDisplayAreaHandlesOrientationRequest()
463 .setTask(secondRootTask).build(); in testIsLastFocused_onlyCountIfTaskDisplayAreaHandlesOrientationRequest()
485 final ActivityRecord activity = new ActivityBuilder(mAtm).setTask(task).build(); in testIgnoreOrientationRequest()
628 .setTask(pinnedTask).build(); in testFullscreenRootTaskCanBeFocusedWhenFocusablePinnedRootTaskExists()
681 .setTask(alwaysOnTopRootTask).build(); in testAlwaysOnTopRootTaskLocation()
DActivityMetricsLaunchObserverTests.java100 .setTask(mTrampolineActivity.getTask()) in setUpAMLO()
245 .setTask(mTopActivity.getTask()) in testOnActivityLaunchCancelled_finishedBeforeDrawn()
477 .setTask(stack) in testConsecutiveLaunchOnDifferentDisplay()
DSizeCompatTests.java664 .setTask(mTask) in testShouldCreateCompatDisplayInsetsOnResizeableTask()
993 .setTask(mTask) in testOverrideMinAspectRatioMedium()
1016 .setTask(mTask) in testOverrideMinAspectRatioLowerThanManifest()
1043 .setTask(mTask) in testOverrideMinAspectRatioLargerThanManifest()
1066 .setTask(mTask) in testOverrideMinAspectRatioLarge()
1090 .setTask(mTask) in testOverrideMinAspectRatio_Both()
1113 .setTask(mTask) in testOverrideMinAspectRatioWithoutGlobalOverride()
1381 .setTask(mTask) in testDisplayIgnoreOrientationRequest_newLaunchedOrientationAppInLetterbox()
1425 .setTask(mTask) in testDisplayIgnoreOrientationRequest_newLaunchedMaxAspectApp()
2023 .setTask(mTask) in buildActivityRecord()
DRunningTasksTest.java173 .setTask(task) in createTask()
DActivityTaskManagerServiceTests.java244 .setTask(mRootWindowContainer.getDefaultTaskDisplayArea().getOrCreateRootHomeTask()) in testResumeNextActivityOnCrashedAppDied()
272 final ActivityRecord homeActivity = new ActivityBuilder(mAtm).setTask(rootHomeTask).build(); in testUpdateSleep()
DTaskLaunchParamsModifierTests.java211 .setTask(reusableActivity.getTask()) in testUsesSourcesDisplayAreaIdPriorToTaskIfSet()
227 .setTask(source.getTask()) in testUsesTaskDisplayAreaIdIfSet()
249 .setTask(reusableActivity.getTask()) in testUsesNoDisplaySourceHandoverDisplayIdIfSet()
272 .setTask(reusableActivity.getTask()) in testUsesNoDisplaySourceHandoverDisplayAreaIdIfSet()
1712 return new ActivityBuilder(mAtm).setTask(rootTask).build(); in createSourceActivity()
1748 private CalculateRequestBuilder setTask(Task task) { in setTask() method in TaskLaunchParamsModifierTests.CalculateRequestBuilder
DActivityTaskSupervisorTests.java179 .setTask(task).build(); in testHandleNonResizableTaskOnSecondaryDisplay()
DActivityStarterTests.java220 final ActivityBuilder builder = new ActivityBuilder(service).setTask( in verifyStartActivityPreconditionsUntracked()
856 new ActivityBuilder(mAtm).setTask(topTask).build(); in testBringTaskToFrontOnSecondaryDisplay()
924 .setTask(task) in createSingleTaskActivityOn()
DWindowTestsBase.java582 .setTask(task) in createActivityRecord()
834 ActivityBuilder setTask(Task task) { in setTask() method in WindowTestsBase.ActivityBuilder
1219 .setTask(task) in build()
DWallpaperControllerTests.java348 .setTask(dc.getDefaultTaskDisplayArea().getRootHomeTask()) in createWallpaperTargetWindow()
DRecentsAnimationTest.java96 .setTask(recentsStack) in testRecentsActivityVisiblility()
DRecentTasksTest.java496 final ActivityRecord r = new ActivityBuilder(mAtm).setTask(task).build(); in testAddTasksHomeClearUntrackedTasks_expectFinish()
1093 .setTask(task1) in testTaskInfo_expectNoExtras()
DWindowOrganizerTests.java431 final ActivityRecord activity = new ActivityBuilder(mAtm).setTask(rootTask).build(); in testSetIgnoreOrientationRequest_taskDisplayArea()
469 final ActivityRecord activity = new ActivityBuilder(mAtm).setTask(rootTask).build(); in testSetIgnoreOrientationRequest_displayContent()
DDisplayContentTests.java1401 final ActivityRecord app2 = new ActivityBuilder(mAtm).setTask(task2) in testApplyTopFixedRotationTransform()
1440 final ActivityRecord app2 = new ActivityBuilder(mWm.mAtmService).setTask(task).build(); in testFinishFixedRotationNoAppTransitioningTask()
2149 .setTask(rootTask) in testTopRunningActivity()