Home
last modified time | relevance | path

Searched refs:ActivityBuilder (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationTest.java91 ActivityRecord recentActivity = new ActivityBuilder(mService) in testRecentsActivityVisiblility()
96 ActivityRecord topActivity = new ActivityBuilder(mService).setCreateTask(true).build(); in testRecentsActivityVisiblility()
173 ActivityRecord recentActivity = new ActivityBuilder(mService).setComponent( in testRestartRecentsActivity()
179 new ActivityBuilder(mService).setCreateTask(true).build().getActivityStack().moveToFront( in testRestartRecentsActivity()
208 ActivityRecord anotherHomeActivity = new ActivityBuilder(mService) in testSetLaunchTaskBehindOfTargetActivity()
214 new ActivityBuilder(mService) in testSetLaunchTaskBehindOfTargetActivity()
246 new ActivityBuilder(mService) in testCancelAnimationOnVisibleStackOrderChange()
253 new ActivityBuilder(mService) in testCancelAnimationOnVisibleStackOrderChange()
260 new ActivityBuilder(mService) in testCancelAnimationOnVisibleStackOrderChange()
291 new ActivityBuilder(mService) in testKeepAnimationOnHiddenStackOrderChange()
[all …]
DActivityStackTests.java103 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 …]
DActivityStarterTests.java228 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 …]
DActivityTestsBase.java197 protected static class ActivityBuilder { class in ActivityTestsBase
214 ActivityBuilder(ActivityTaskManagerService service) { in ActivityBuilder() method in ActivityTestsBase.ActivityBuilder
218 ActivityBuilder setComponent(ComponentName component) { in setComponent()
223 ActivityBuilder setTargetActivity(String targetActivity) { in setTargetActivity()
233 ActivityBuilder setTask(TaskRecord task) { in setTask()
238 ActivityBuilder setActivityFlags(int flags) { in setActivityFlags()
243 ActivityBuilder setLaunchMode(int launchMode) { in setLaunchMode()
248 ActivityBuilder setStack(ActivityStack stack) { in setStack()
253 ActivityBuilder setCreateTask(boolean createTask) { in setCreateTask()
258 ActivityBuilder setUid(int uid) { in setUid()
[all …]
DRootActivityContainerTests.java114 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack()
118 final ActivityRecord secondActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack()
226 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testRemovingStackOnAppCrash()
243 final ActivityRecord activity = new ActivityBuilder(mService).setCreateTask(true) in testFocusability()
258 final ActivityRecord pinnedActivity = new ActivityBuilder(mService).setCreateTask(true) in testFocusability()
290 final ActivityRecord r = new ActivityBuilder(mService).setTask(task).build(); in testSplitScreenPrimaryChosenWhenTopActivityLaunchedToSecondary()
366 new ActivityBuilder(mService).setTask(task).build(); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()
386 final ActivityRecord activity = new ActivityBuilder(mService).setTask(task).build(); in testResumeActivityWhenNonTopmostStackIsTopFocused()
442 new ActivityBuilder(mService).setTask(task).build(); in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen()
466 final ActivityRecord activity = new ActivityBuilder(mService).setTask(task).build(); in testResumeActivityLingeringTransition()
[all …]
DActivityStackSupervisorTests.java70 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()
DLaunchParamsControllerTests.java87 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()
DActivityDisplayTests.java95 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()
DActivityStartControllerTests.java73 final ActivityRecord activity = new ActivityBuilder(mService).build(); in testPendingActivityLaunches()
74 final ActivityRecord source = new ActivityBuilder(mService).build(); in testPendingActivityLaunches()
DActivityRecordTests.java172 final ActivityRecord topActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testPausingWhenVisibleFromStopped()
185 final ActivityRecord activity = new ActivityBuilder(mService).build(); in testCanBeLaunchedOnDisplay()
221 ActivityRecord activity2 = new ActivityBuilder(mService).setTask(mTask).build(); in testsApplyOptionsLocked()
231 activity2 = new ActivityBuilder(mService).setTask(task2).build(); in testsApplyOptionsLocked()
447 ActivityRecord topActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testShouldPauseWhenMakeClientVisible()
618 ActivityRecord chooserActivity = new ActivityBuilder(mService).setComponent( in testCanLaunchHomeActivityFromChooser()
DTaskRecordTests.java290 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()
DActivityMetricsLaunchObserverTests.java84 mActivityRecord = new ActivityBuilder(mService).setTask(mTask).build(); in setUpAMLO()
85 mActivityRecordTrampoline = new ActivityBuilder(mService).setTask(mTask).build(); in setUpAMLO()
DRunningTasksTest.java113 final ActivityRecord activity = new ActivityBuilder(mService) in createTask()
DLaunchParamsPersisterTests.java170 final ActivityRecord activity = new ActivityBuilder(mService).setComponent(TEST_COMPONENT) in testFetchesSameResultWithActivity()
DTaskLaunchParamsModifierTests.java78 mActivity = new ActivityBuilder(mService).build(); in setUp()
1256 return new ActivityBuilder(mService).setStack(stack).setCreateTask(true).build(); in createSourceActivity()