Searched refs:TaskBuilder (Results 1 – 13 of 13) sorted by relevance
173 final TaskRecord task = new TaskBuilder(mSupervisor).setCreateStack(false).build(); in mockTaskRecordFactory()256 mTaskRecord = new TaskBuilder(mService.mStackSupervisor) in build()307 protected static class TaskBuilder { class in ActivityTestsBase324 TaskBuilder(ActivityStackSupervisor supervisor) { in TaskBuilder() method in ActivityTestsBase.TaskBuilder328 TaskBuilder setComponent(ComponentName component) { in setComponent()333 TaskBuilder setPackage(String packageName) { in setPackage()342 TaskBuilder setCreateStack(boolean createStack) { in setCreateStack()347 TaskBuilder setVoiceSession(IVoiceInteractionSession session) { in setVoiceSession()352 TaskBuilder setFlags(int flags) { in setFlags()357 TaskBuilder setTaskId(int taskId) { in setTaskId()[all …]
93 final TaskRecord pinnedTask = new TaskBuilder(mService.mStackSupervisor) in testFullscreenStackCanBeFocusedWhenFocusablePinnedStackExists()151 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(homeStack).build(); in testNotResumeHomeStackOnRemovingDisplay()172 final TaskRecord fullscreenTask = new TaskBuilder(mService.mStackSupervisor) in createFullscreenStackWithSimpleActivityAt()307 final TaskRecord task1 = new TaskBuilder(mService.mStackSupervisor).setStack( in removeStackTests()309 final TaskRecord task2 = new TaskBuilder(mService.mStackSupervisor).setStack( in removeStackTests()311 final TaskRecord task3 = new TaskBuilder(mService.mStackSupervisor).setStack( in removeStackTests()313 final TaskRecord task4 = new TaskBuilder(mService.mStackSupervisor).setStack( in removeStackTests()
115 mTestTask = new TaskBuilder(mSupervisor).setComponent(TEST_COMPONENT).setStack(stack) in setUp()121 mTaskWithDifferentComponent = new TaskBuilder(mSupervisor) in setUp()125 mTaskWithDifferentUser = new TaskBuilder(mSupervisor).setComponent(TEST_COMPONENT).build(); in setUp()236 final TaskRecord anotherTaskOfTheSameUser = new TaskBuilder(mSupervisor) in testClearsRecordsOfTheUserOnUserCleanUp()248 final TaskRecord anotherTaskOfDifferentUser = new TaskBuilder(mSupervisor) in testClearsRecordsOfTheUserOnUserCleanUp()
287 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(primaryStack).build(); in testSplitScreenPrimaryChosenWhenTopActivityLaunchedToSecondary()314 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(primaryStack).build(); in testResizeDockedStackForSplitScreenPrimary()356 final TaskRecord targetTask = new TaskBuilder(mSupervisor).setStack(targetStack).build(); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()363 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(stack).build(); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()383 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(targetStack).build(); in testResumeActivityWhenNonTopmostStackIsTopFocused()439 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(stack).build(); in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen()463 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(targetStack).build(); in testResumeActivityLingeringTransition()483 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(targetStack).build(); in testResumeActivityLingeringTransition_notExecuted()
281 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskPreferredDisplayChange()301 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskWindowingModeChange()326 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskBoundsChangeFreeformWindow()349 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskBoundsChangeFixedWindow()
129 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor) in testUpdateLaunchBounds()140 final TaskRecord task2 = new TaskBuilder(mService.mStackSupervisor) in testUpdateLaunchBounds()229 new TaskBuilder(service.mStackSupervisor).setVoiceSession(voiceSession).build()); in verifyStartActivityPreconditions()781 final TaskRecord topTask = new TaskBuilder(mSupervisor).setStack(topStack).build(); in testBringTaskToFrontOnSecondaryDisplay()803 final TaskRecord taskRecord = new TaskBuilder(mSupervisor) in createSingleTaskActivityOn()
102 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor) in createTask()
183 TaskRecord task = new TaskBuilder(mSupervisor).setStack(stack).build(); in testFitWithinBounds()359 final TaskRecord task = new TaskBuilder(mSupervisor).build(); in testComputeConfigResourceOverrides()452 TaskRecord task = new TaskBuilder(mSupervisor).setStack(stack).build(); in testStackBoundsConfiguration()
83 mTask = new TaskBuilder(mSupervisor).setStack(mStack).build(); in setUpAMLO()
91 mTask = new TaskBuilder(mSupervisor).setStack(mStack).build(); in setUp()146 final TaskRecord destTask = new TaskBuilder(mSupervisor).setStack(destStack).build(); in testResumedActivityFromActivityReparenting()276 final TaskRecord task = new TaskBuilder(mService.mStackSupervisor).setStack(mStack).build(); in testFindTaskAlias()
122 final TaskRecord newTask = new TaskBuilder(mService.mStackSupervisor).setStack(mStack) in testNoCleanupMovingActivityInSameStack()224 TaskRecord task2 = new TaskBuilder(mService.mStackSupervisor).setStack(mStack).build(); in testsApplyOptionsLocked()
1028 private TaskBuilder createTaskBuilder(String className) { in createTaskBuilder()1032 private TaskBuilder createTaskBuilder(String packageName, String className) { in createTaskBuilder()1033 return new TaskBuilder(mTestService.mStackSupervisor) in createTaskBuilder()
92 final TaskRecord task = new TaskBuilder(mSupervisor).build(); in testReturnsSkipWithEmptyActivity()1263 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(stack).build(); in addFreeformTaskTo()