Searched refs:TaskBuilder (Results 1 – 13 of 13) sorted by relevance
177 void mockTaskRecordFactory(Consumer<TaskBuilder> taskBuilderSetup) { in mockTaskRecordFactory()178 final TaskBuilder taskBuilder = new TaskBuilder(mSupervisor).setCreateStack(false); in mockTaskRecordFactory()281 mTaskRecord = new TaskBuilder(mService.mStackSupervisor) in build()333 protected static class TaskBuilder { class in ActivityTestsBase350 TaskBuilder(ActivityStackSupervisor supervisor) { in TaskBuilder() method in ActivityTestsBase.TaskBuilder354 TaskBuilder setComponent(ComponentName component) { in setComponent()359 TaskBuilder setPackage(String packageName) { in setPackage()368 TaskBuilder setCreateStack(boolean createStack) { in setCreateStack()373 TaskBuilder setVoiceSession(IVoiceInteractionSession session) { in setVoiceSession()378 TaskBuilder setFlags(int flags) { in setFlags()[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()
289 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(primaryStack).build(); in testSplitScreenPrimaryChosenWhenTopActivityLaunchedToSecondary()316 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(primaryStack).build(); in testResizeDockedStackForSplitScreenPrimary()358 final TaskRecord targetTask = new TaskBuilder(mSupervisor).setStack(targetStack).build(); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()365 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(stack).build(); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()385 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(targetStack).build(); in testResumeActivityWhenNonTopmostStackIsTopFocused()441 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(stack).build(); in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen()465 final TaskRecord task = new TaskBuilder(mSupervisor).setStack(targetStack).build(); in testResumeActivityLingeringTransition()485 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()
107 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()
128 final TaskRecord newTask = new TaskBuilder(mService.mStackSupervisor).setStack(mStack) in testNoCleanupMovingActivityInSameStack()230 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()