Searched refs:ActivityBuilder (Results 1 – 11 of 11) sorted by relevance
104 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack()108 final ActivityRecord secondActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack()158 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testStoppingActivityRemovedWhenResumed()172 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReportWaitingActivityLaunchedIfNeeded()275 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testRemovingStackOnAppCrash()292 final ActivityRecord activity = new ActivityBuilder(mService).setCreateTask(true) in testFocusability()307 final ActivityRecord pinnedActivity = new ActivityBuilder(mService).setCreateTask(true) in testFocusability()339 final ActivityRecord activity = new ActivityBuilder(mService).setCreateTask(true) in testTopRunningActivity()368 final ActivityRecord showWhenLockedActivity = new ActivityBuilder(mService) in testTopRunningActivity()399 final ActivityRecord r = new ActivityBuilder(mService).setTask(task).build(); in testSplitScreenPrimaryChosenWhenTopActivityLaunchedToSecondary()
218 final ActivityBuilder builder = new ActivityBuilder(service).setTask( in verifyStartActivityPreconditions()224 ActivityBuilder.getDefaultComponent().getPackageName(); in verifyStartActivityPreconditions()332 intent.setComponent(ActivityBuilder.getDefaultComponent()); in prepareStarter()337 info.applicationInfo.packageName = ActivityBuilder.getDefaultComponent().getPackageName(); in prepareStarter()364 info.applicationInfo.packageName = ActivityBuilder.getDefaultComponent().getPackageName(); in testCreateTaskLayout()391 final ActivityRecord focusActivity = new ActivityBuilder(mService) in testSplitScreenDeliverToTop()397 final ActivityRecord reusableActivity = new ActivityBuilder(mService) in testSplitScreenDeliverToTop()428 final ActivityRecord reusableActivity = new ActivityBuilder(mService) in testSplitScreenTaskToFront()434 final ActivityRecord focusActivity = new ActivityBuilder(mService) in testSplitScreenTaskToFront()
92 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testOccupiedTaskCleanupOnRemove()100 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivity()110 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivityFromTaskReparenting()128 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivityFromActivityReparenting()167 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testStopActivityWhenActivityDestroyed()177 final ActivityRecord r = new ActivityBuilder(mService) in testFindTaskWithOverlay()184 final ActivityRecord taskOverlay = new ActivityBuilder(mService).setTask(task) in testFindTaskWithOverlay()504 final ActivityRecord r = new ActivityBuilder(mService).setUid(0).setStack(stack) in createStackForShouldBeVisibleTest()511 final ActivityRecord firstActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testFinishDisabledPackageActivities()512 final ActivityRecord secondActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testFinishDisabledPackageActivities()[all …]
122 protected static class ActivityBuilder { class in ActivityTestsBase137 ActivityBuilder(ActivityManagerService service) { in ActivityBuilder() method in ActivityTestsBase.ActivityBuilder141 ActivityBuilder setComponent(ComponentName component) { in setComponent()151 ActivityBuilder setTask(TaskRecord task) { in setTask()156 ActivityBuilder setActivityFlags(int flags) { in setActivityFlags()161 ActivityBuilder setStack(ActivityStack stack) { in setStack()166 ActivityBuilder setCreateTask(boolean createTask) { in setCreateTask()171 ActivityBuilder setUid(int uid) { in setUid()
90 mActivity = new ActivityBuilder(mService).setTask(mTask).build(); in setUp()157 final ActivityRecord topActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testPausingWhenVisibleFromStopped()219 ActivityRecord activity2 = new ActivityBuilder(mService).setTask(mTask).build(); in testsApplyOptionsLocked()229 activity2 = new ActivityBuilder(mService).setTask(task2).build(); in testsApplyOptionsLocked()248 final ActivityRecord record = new ActivityBuilder(mService).setTask(task).build(); in testSupportsLaunchingResizeable()
75 final ActivityRecord activity = new ActivityBuilder(mService).build(); in testPendingActivityLaunches()76 final ActivityRecord source = new ActivityBuilder(mService).build(); in testPendingActivityLaunches()
76 ActivityRecord recentsActivity = new ActivityBuilder(mService) in testCancelAnimationOnStackOrderChange()83 ActivityRecord fsActivity = new ActivityBuilder(mService) in testCancelAnimationOnStackOrderChange()
80 final ActivityRecord record = new ActivityBuilder(mService).build(); in testArgumentPropagation()81 final ActivityRecord source = new ActivityBuilder(mService).build(); in testArgumentPropagation()
120 final ActivityRecord activity = new ActivityBuilder(mService) in createTask()
74 mActivity = new ActivityBuilder(mService).setTask(mTask).build(); in setUp()
193 activity = new ActivityBuilder(mService).setTask(mTask).build(); in testConflict()