/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentsAnimationTest.java | 106 ActivityRecord topActivity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testRecentsActivityVisiblility() 138 .setCreateTask(true) in testPreloadRecentsActivity() 190 mRecentsComponent).setCreateTask(true).setParentTask(recentsStack).build(); in testRestartRecentsActivity() 195 new ActivityBuilder(mAtm).setCreateTask(true).build().getRootTask().moveToFront( in testRestartRecentsActivity() 219 .setCreateTask(true) in testSetLaunchTaskBehindOfTargetActivity() 227 .setCreateTask(true) in testSetLaunchTaskBehindOfTargetActivity() 232 .setCreateTask(true) in testSetLaunchTaskBehindOfTargetActivity() 260 .setCreateTask(true) in testCancelAnimationOnVisibleStackOrderChange() 267 .setCreateTask(true) in testCancelAnimationOnVisibleStackOrderChange() 274 .setCreateTask(true) in testCancelAnimationOnVisibleStackOrderChange() [all …]
|
D | ActivityTaskSupervisorTests.java | 85 .setCreateTask(true).build(); in testStoppingActivityRemovedWhenResumed() 101 .setCreateTask(true).build(); in testReportWaitingActivityLaunched() 103 .setCreateTask(true).build(); in testReportWaitingActivityLaunched() 207 final ActivityRecord activity1 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testRemoveTask() 212 final ActivityRecord activity2 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testRemoveTask() 235 .setLaunchedFromPackage("other.package").setCreateTask(true).build(); in testFilteredReferred() 255 final ActivityRecord fullScreenActivityA = new ActivityBuilder(mAtm).setCreateTask(true) in testNotifyTaskFocusChanged() 268 final ActivityRecord fullScreenActivityB = new ActivityBuilder(mAtm).setCreateTask(true) in testNotifyTaskFocusChanged() 285 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testUpdateRecentTasksForTopResumed() 348 final ActivityRecord activity1 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testUpdateTopResumed_moveToFront() [all …]
|
D | ActivityStarterTests.java | 517 final ActivityRecord splitSecondTopActivity = new ActivityBuilder(mAtm).setCreateTask(true) in testSplitScreenTaskToFront() 592 final ActivityRecord desktopModeTopActivity = new ActivityBuilder(mAtm).setCreateTask(true) in testDesktopModeTaskToFront() 762 final ActivityRecord baseActivity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testPinnedSingleInstanceAborted() 805 .setCreateTask(true).build(); in testAdjustLaunchTargetWithAdjacentTask() 830 .setCreateTask(true).build(); in testBringTaskToFrontWhenFocusedTaskIsFinishing() 833 .setCreateTask(true).build(); in testBringTaskToFrontWhenFocusedTaskIsFinishing() 837 .setCreateTask(true).build(); in testBringTaskToFrontWhenFocusedTaskIsFinishing() 877 new ActivityBuilder(mAtm).setCreateTask(true).build(); in testDeliverIntentToTopActivityOfNonTopDisplay() 949 new ActivityBuilder(mAtm).setCreateTask(true).build(); in testWasVisibleInRestartAttempt() 951 new ActivityBuilder(mAtm).setCreateTask(true).build(); in testWasVisibleInRestartAttempt() [all …]
|
D | ActivityRecordTests.java | 359 activity2 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testsApplyOptionsLocked() 487 .setCreateTask(true) in testDestroyedActivityNotScheduleConfigChanged() 569 .setCreateTask(true) in testSetRequestedOrientationUpdatesConfiguration() 707 .setCreateTask(true) in respectRequestedOrientationForNonResizableInSplitWindows() 790 .setCreateTask(true) in testPushConfigurationWhenLaunchTaskBehind() 1058 .setCreateTask(true) in testFinishActivityIfPossible_adjustStackOrderOrganizedRoot() 1267 .setCreateTask(true) in testFinishActivityIfPossible_sendResultImmediately() 1276 .setCreateTask(true) in testFinishActivityIfPossible_sendResultImmediately() 1613 translucentActivity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testCompleteFinishing_ensureActivitiesVisible() 2281 .setCreateTask(true) in testSupportsFreeform() [all …]
|
D | ActivityMetricsLaunchObserverTests.java | 100 .setCreateTask(true) in setUpAMLO() 277 final ActivityRecord removedImm = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testOnActivityLaunchCancelled_finishedBeforeDrawn() 325 final ActivityRecord prev = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testOnReportFullyDrawn() 506 .setCreateTask(true) in testConcurrentLaunches() 546 .setCreateTask(true) in testConsecutiveLaunchNewTask()
|
D | ActivityTaskManagerServiceTests.java | 298 final ActivityRecord record = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testEnterPipModeWhenRecordParentChangesToNull() 389 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testResumeNextActivityOnCrashedAppDied() 417 final ActivityRecord topActivity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testUpdateSleep() 504 .setCreateTask(true) in testSupportsMultiWindow_resizable() 516 .setCreateTask(true) in testSupportsMultiWindow_nonResizable() 564 .setCreateTask(true) in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport() 618 .setCreateTask(true) in testSupportsMultiWindow_landscape_checkActivityMinWidth() 653 .setCreateTask(true) in testSupportsMultiWindow_portrait_checkActivityMinHeight() 1181 .setCreateTask(true) in testGetTaskDescriptionIcon_matchingUid() 1217 .setCreateTask(true) in testGetTaskDescriptionIcon_noMatchingUid_expectException()
|
D | RootTaskTests.java | 248 final ActivityRecord r = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testResumedActivity() 261 .setCreateTask(true).setParentTask(rootTask).build(); in testResumedActivityFromTaskReparenting() 280 .setCreateTask(true).setParentTask(rootTask).build(); in testResumedActivityFromActivityReparenting() 386 final ActivityRecord r = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testStopActivityWhenActivityDestroyed() 397 .setCreateTask(true) in testFindTaskWithOverlay() 819 .setCreateTask(true) in testShouldBeVisible_FullscreenBehindTranslucentInHomeRootTask() 1213 .setCreateTask(true) in testWontFinishHomeRootTaskImmediately() 1367 .setUid(Binder.getCallingUid()).setCreateTask(true).build(); in testShouldUpRecreateTaskLockedWithCorrectAffinityFormat() 1378 .setUid(Binder.getCallingUid()).setCreateTask(true).build(); in testShouldUpRecreateTaskLockedWithWrongAffinityFormat() 1388 final ActivityRecord taskTop = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testResetTaskWithFinishingActivities()
|
D | RootWindowContainerTests.java | 142 .setCreateTask(true) in testFindActivityByTargetComponent() 159 .setCreateTask(true) in testFindTask_includeLaunchedFromBubbled() 176 .setCreateTask(true) in testFindTask_ignoreLaunchedFromBubbled() 277 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testAttachApplication() 377 .setCreateTask(true).build(); in testMultipleActivitiesTaskEnterPip() 378 final ActivityRecord activity1 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testMultipleActivitiesTaskEnterPip() 595 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testAwakeFromSleepingWithAppConfiguration() 1239 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true) in testLockAllProfileTasks()
|
D | UnknownAppVisibilityControllerTest.java | 96 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testRemoveFinishingInvisibleActivityFromUnknown()
|
D | TaskTests.java | 227 final ActivityRecord activityMain = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testReparentPinnedActivityBackToOriginalTask() 342 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testUserLeaving() 1086 final ActivityRecord activity0 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testFindRootIndex_effectiveRoot_finishingAndRelinquishing() 1121 final ActivityRecord activity0 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testFindRootIndex_effectiveRoot_relinquishingMultipleActivities() 1279 final ActivityRecord activity0 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testGetTaskForActivity_onlyRoot_relinquishTaskIdentity() 1385 .setActivityFlags(FLAG_RELINQUISH_TASK_IDENTITY).setCreateTask(true).build(); in testUpdateEffectiveIntent_relinquishingWithDifferentUid() 1403 .setActivityFlags(FLAG_RELINQUISH_TASK_IDENTITY).setCreateTask(true).build(); in testUpdateEffectiveIntent_relinquishingMultipleActivities()
|
D | DisplayContentTests.java | 387 new ActivityBuilder(mAtm).setCreateTask(true).build(), "app"); in testComputeImeTargetReturnsNull_windowDidntRequestIme() 389 new ActivityBuilder(mAtm).setCreateTask(true).build(), "app2"); in testComputeImeTargetReturnsNull_windowDidntRequestIme() 1078 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testNoSensorRevert() 1147 final ActivityRecord prev = new ActivityBuilder(mAtm).setCreateTask(true) in testOrientationBehind() 1150 final ActivityRecord top = new ActivityBuilder(mAtm).setCreateTask(true) in testOrientationBehind() 1768 final ActivityRecord pinnedActivity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testFixedRotationWithPip() 1815 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testNoFixedRotationOnResumedScheduledApp() 2076 final ActivityRecord activity1 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testShellTransitRotation() 2077 final ActivityRecord activity2 = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testShellTransitRotation()
|
D | TransitionTests.java | 669 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true) in testRunningRemoteTransition() 1316 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testFinishRotationControllerWithFixedRotation() 1339 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testDeferRotationForTransientLaunch() 1612 final ActivityRecord appB = new ActivityBuilder(mAtm).setCreateTask(true) in testIsTransientVisible() 1614 final ActivityRecord recent = new ActivityBuilder(mAtm).setCreateTask(true) in testIsTransientVisible() 1616 final ActivityRecord appA = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testIsTransientVisible() 1656 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testTransientWithParallelLaunch() 2528 final ActivityRecord activity = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testDeferredMoveTaskToBack() 2596 final ActivityRecord app = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testTransitionsTriggerPerformanceHints()
|
D | SyncEngineTests.java | 125 final ActivityRecord r = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testWaitingSyncCallback() 150 final ActivityRecord taskRoot = new ActivityBuilder(mAtm).setCreateTask(true).build(); in testFinishSyncByStartingWindow()
|
D | WindowProcessControllerTests.java | 428 return new ActivityBuilder(mAtm).setCreateTask(true).setUseProcess(wpc).build(); in createActivityRecord()
|
D | WindowManagerServiceTests.java | 805 .setCreateTask(true) in testGetTaskWindowContainerTokenForRecordingSession_invalidCookie() 834 new ActivityBuilder(mAtm).setCreateTask(true).setUid(uid).build(); in testGetTaskWindowContainerTokenForRecordingSession_validTaskId() 1526 new ActivityBuilder(mAtm).setCreateTask(true).setUid(uid).build(); in setupActivityWithLaunchCookie()
|
D | ZOrderingTests.java | 519 .setCreateTask(true) in testAttachNavBarWhenEnteringRecents_expectNavBarHigherThanIme()
|
D | TaskPositionerTests.java | 80 .setCreateTask(true) in setUp()
|
D | TaskDisplayAreaTests.java | 402 .setParentTask(rootHomeTask).setCreateTask(true).build(); in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange()
|
D | WindowTestsBase.java | 863 .setCreateTask(true) in createActivityRecordWithParentTask() 1312 ActivityBuilder setCreateTask(boolean createTask) { in setCreateTask() method in WindowTestsBase.ActivityBuilder
|
D | RecentsAnimationControllerTest.java | 792 .setCreateTask(true) in createHomeActivity()
|
D | BackNavigationControllerTests.java | 519 .setCreateTask(true) in backAnimationSkipSharedElementTransition()
|
D | SizeCompatTests.java | 4617 .setCreateTask(true) 4640 .setCreateTask(true)
|
D | WindowOrganizerTests.java | 1636 .setCreateTask(true) in testReparentNonResizableTaskToSplitScreen()
|