/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentsAnimationTest.java | 88 ActivityRecord recentActivity = new ActivityBuilder(mService) in testRecentsActivityVisiblility() 93 ActivityRecord topActivity = new ActivityBuilder(mService).setCreateTask(true).build(); in testRecentsActivityVisiblility() 119 ActivityRecord recentActivity = new ActivityBuilder(mService).setComponent( in testRestartRecentsActivity() 125 new ActivityBuilder(mService).setCreateTask(true).build().getActivityStack().moveToFront( in testRestartRecentsActivity() 154 ActivityRecord anotherHomeActivity = new ActivityBuilder(mService) in testSetLaunchTaskBehindOfTargetActivity() 160 new ActivityBuilder(mService) in testSetLaunchTaskBehindOfTargetActivity() 192 new ActivityBuilder(mService) in testCancelAnimationOnVisibleStackOrderChange() 199 new ActivityBuilder(mService) in testCancelAnimationOnVisibleStackOrderChange() 206 new ActivityBuilder(mService) in testCancelAnimationOnVisibleStackOrderChange() 236 new ActivityBuilder(mService) in testKeepAnimationOnHiddenStackOrderChange() [all …]
|
D | ActivityStackTests.java | 103 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testOccupiedTaskCleanupOnRemove() 111 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivity() 121 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivityFromTaskReparenting() 139 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivityFromActivityReparenting() 238 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testStopActivityWhenActivityDestroyed() 248 final ActivityRecord r = new ActivityBuilder(mService) in testFindTaskWithOverlay() 255 final ActivityRecord taskOverlay = new ActivityBuilder(mService).setTask(task) in testFindTaskWithOverlay() 279 new ActivityBuilder(mService).setComponent(target).setTask(task).setTargetActivity( in testFindTaskAlias() 283 final ActivityRecord r1 = new ActivityBuilder(mService).setComponent( in testFindTaskAlias() 290 final ActivityRecord r2 = new ActivityBuilder(mService).setComponent( in testFindTaskAlias() [all …]
|
D | ActivityStarterTests.java | 228 final ActivityBuilder builder = new ActivityBuilder(service).setTask( in verifyStartActivityPreconditions() 234 ActivityBuilder.getDefaultComponent().getPackageName(); in verifyStartActivityPreconditions() 361 intent.setComponent(ActivityBuilder.getDefaultComponent()); in prepareStarter() 366 info.applicationInfo.packageName = ActivityBuilder.getDefaultComponent().getPackageName(); in prepareStarter() 393 info.applicationInfo.packageName = ActivityBuilder.getDefaultComponent().getPackageName(); in testCreateTaskLayout() 421 final ActivityRecord focusActivity = new ActivityBuilder(mService) in testSplitScreenDeliverToTop() 427 final ActivityRecord reusableActivity = new ActivityBuilder(mService) in testSplitScreenDeliverToTop() 458 final ActivityRecord reusableActivity = new ActivityBuilder(mService) in testSplitScreenTaskToFront() 464 final ActivityRecord focusActivity = new ActivityBuilder(mService) in testSplitScreenTaskToFront() 700 final ActivityRecord activity = new ActivityBuilder(mService) in testBringTaskToFrontWhenFocusedStackIsFinising() [all …]
|
D | ActivityTestsBase.java | 184 protected static class ActivityBuilder { class in ActivityTestsBase 199 ActivityBuilder(ActivityTaskManagerService service) { in ActivityBuilder() method in ActivityTestsBase.ActivityBuilder 203 ActivityBuilder setComponent(ComponentName component) { in setComponent() 208 ActivityBuilder setTargetActivity(String targetActivity) { in setTargetActivity() 218 ActivityBuilder setTask(TaskRecord task) { in setTask() 223 ActivityBuilder setActivityFlags(int flags) { in setActivityFlags() 228 ActivityBuilder setLaunchMode(int launchMode) { in setLaunchMode() 233 ActivityBuilder setStack(ActivityStack stack) { in setStack() 238 ActivityBuilder setCreateTask(boolean createTask) { in setCreateTask() 243 ActivityBuilder setUid(int uid) { in setUid() [all …]
|
D | ActivityStackSupervisorTests.java | 70 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testStoppingActivityRemovedWhenResumed() 85 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReportWaitingActivityLaunchedIfNeeded() 138 final ActivityRecord resizableActivity = new ActivityBuilder(mService) in testHandleNonResizableTaskOnSecondaryDisplay()
|
D | LaunchParamsControllerTests.java | 87 final ActivityRecord record = new ActivityBuilder(mService).build(); in testArgumentPropagation() 88 final ActivityRecord source = new ActivityBuilder(mService).build(); in testArgumentPropagation() 108 final ActivityRecord activity = new ActivityBuilder(mService).setComponent(name) in testStoredParamsRecovery() 231 final ActivityRecord vrActivity = new ActivityBuilder(mService).build(); in testVrPreferredDisplay() 240 final ActivityRecord vr2dActivity = new ActivityBuilder(mService).build(); in testVrPreferredDisplay() 261 final ActivityRecord record = new ActivityBuilder(mService).build(); in testCalculatePhase() 262 final ActivityRecord source = new ActivityBuilder(mService).build(); in testCalculatePhase()
|
D | RootActivityContainerTests.java | 112 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack() 116 final ActivityRecord secondActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack() 224 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testRemovingStackOnAppCrash() 241 final ActivityRecord activity = new ActivityBuilder(mService).setCreateTask(true) in testFocusability() 256 final ActivityRecord pinnedActivity = new ActivityBuilder(mService).setCreateTask(true) in testFocusability() 288 final ActivityRecord r = new ActivityBuilder(mService).setTask(task).build(); in testSplitScreenPrimaryChosenWhenTopActivityLaunchedToSecondary() 364 new ActivityBuilder(mService).setTask(task).build(); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay() 384 final ActivityRecord activity = new ActivityBuilder(mService).setTask(task).build(); in testResumeActivityWhenNonTopmostStackIsTopFocused() 440 new ActivityBuilder(mService).setTask(task).build(); in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen() 464 final ActivityRecord activity = new ActivityBuilder(mService).setTask(task).build(); in testResumeActivityLingeringTransition() [all …]
|
D | ActivityDisplayTests.java | 95 new ActivityBuilder(mService).setActivityFlags(FLAG_ALWAYS_FOCUSABLE) in testFullscreenStackCanBeFocusedWhenFocusablePinnedStackExists() 152 new ActivityBuilder(mService).setTask(task).build(); in testNotResumeHomeStackOnRemovingDisplay() 174 new ActivityBuilder(mService).setTask(fullscreenTask).build(); in createFullscreenStackWithSimpleActivityAt() 207 final ActivityRecord showWhenLockedActivity = new ActivityBuilder(mService) in testTopRunningActivity() 236 final ActivityRecord activity = new ActivityBuilder(mService).setCreateTask(true) in testAlwaysOnTopStackLocation()
|
D | ActivityStartControllerTests.java | 73 final ActivityRecord activity = new ActivityBuilder(mService).build(); in testPendingActivityLaunches() 74 final ActivityRecord source = new ActivityBuilder(mService).build(); in testPendingActivityLaunches()
|
D | TaskRecordTests.java | 290 ActivityRecord top = new ActivityBuilder(mService).setTask(task).setStack(stack).build(); in testFullscreenBoundsForcedOrientation() 431 ActivityRecord aliasActivity = new ActivityBuilder(mService).setComponent( in testTaskIntentActivityAlias() 436 ActivityRecord targetActivity = new ActivityBuilder(mService).setComponent( in testTaskIntentActivityAlias() 441 ActivityRecord defaultActivity = new ActivityBuilder(mService).build(); in testTaskIntentActivityAlias() 491 ActivityBuilder.getDefaultComponent(), null, false, false, false, 0, 10050, null, in createTaskRecord()
|
D | ActivityMetricsLaunchObserverTests.java | 84 mActivityRecord = new ActivityBuilder(mService).setTask(mTask).build(); in setUpAMLO() 85 mActivityRecordTrampoline = new ActivityBuilder(mService).setTask(mTask).build(); in setUpAMLO()
|
D | ActivityRecordTests.java | 166 final ActivityRecord topActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testPausingWhenVisibleFromStopped() 179 final ActivityRecord activity = new ActivityBuilder(mService).build(); in testCanBeLaunchedOnDisplay() 215 ActivityRecord activity2 = new ActivityBuilder(mService).setTask(mTask).build(); in testsApplyOptionsLocked() 225 activity2 = new ActivityBuilder(mService).setTask(task2).build(); in testsApplyOptionsLocked() 441 ActivityRecord topActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testShouldPauseWhenMakeClientVisible()
|
D | RunningTasksTest.java | 108 final ActivityRecord activity = new ActivityBuilder(mService) in createTask()
|
D | LaunchParamsPersisterTests.java | 170 final ActivityRecord activity = new ActivityBuilder(mService).setComponent(TEST_COMPONENT) in testFetchesSameResultWithActivity()
|
D | TaskLaunchParamsModifierTests.java | 78 mActivity = new ActivityBuilder(mService).build(); in setUp() 1256 return new ActivityBuilder(mService).setStack(stack).setCreateTask(true).build(); in createSourceActivity()
|