Searched refs:TaskBuilder (Results 1 – 13 of 13) sorted by relevance
250 mTask = new TaskBuilder(mService.mStackSupervisor) in buildInner()329 protected static class TaskBuilder { class in ActivityTestsBase344 TaskBuilder(ActivityStackSupervisor supervisor) { in TaskBuilder() method in ActivityTestsBase.TaskBuilder348 TaskBuilder setComponent(ComponentName component) { in setComponent()353 TaskBuilder setPackage(String packageName) { in setPackage()362 TaskBuilder setCreateStack(boolean createStack) { in setCreateStack()367 TaskBuilder setVoiceSession(IVoiceInteractionSession session) { in setVoiceSession()372 TaskBuilder setFlags(int flags) { in setFlags()377 TaskBuilder setTaskId(int taskId) { in setTaskId()382 TaskBuilder setUserId(int userId) { in setUserId()[all …]
91 final Task pinnedTask = new TaskBuilder(mService.mStackSupervisor) in testFullscreenStackCanBeFocusedWhenFocusablePinnedStackExists()164 final Task fullscreenTask = new TaskBuilder(mService.mStackSupervisor) in createFullscreenStackWithSimpleActivityAt()321 final Task task1 = new TaskBuilder(mService.mStackSupervisor).setStack(stack1).build(); in removeStackTests()322 final Task task2 = new TaskBuilder(mService.mStackSupervisor).setStack(stack2).build(); in removeStackTests()323 final Task task3 = new TaskBuilder(mService.mStackSupervisor).setStack(stack3).build(); in removeStackTests()324 final Task task4 = new TaskBuilder(mService.mStackSupervisor).setStack(stack4).build(); in removeStackTests()
119 mTestTask = new TaskBuilder(mSupervisor).setComponent(TEST_COMPONENT).setStack(stack) in setUp()125 mTaskWithDifferentComponent = new TaskBuilder(mSupervisor) in setUp()129 mTaskWithDifferentUser = new TaskBuilder(mSupervisor).setComponent(TEST_COMPONENT).build(); in setUp()342 final Task anotherTaskOfTheSameUser = new TaskBuilder(mSupervisor) in testClearsRecordsOfTheUserOnUserCleanUp()354 final Task anotherTaskOfDifferentUser = new TaskBuilder(mSupervisor) in testClearsRecordsOfTheUserOnUserCleanUp()
367 final Task task = new TaskBuilder(mSupervisor).setStack(primaryStack).build(); in testSplitScreenPrimaryChosenWhenTopActivityLaunchedToSecondary()414 final Task targetTask = new TaskBuilder(mSupervisor).setStack(targetStack).build(); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()421 final Task task = new TaskBuilder(mSupervisor).setStack(stack).build(); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()441 final Task task = new TaskBuilder(mSupervisor).setStack(targetStack).build(); in testResumeActivityWhenNonTopmostStackIsTopFocused()497 final Task task = new TaskBuilder(mSupervisor).setStack(stack).build(); in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen()521 final Task task = new TaskBuilder(mSupervisor).setStack(targetStack).build(); in testResumeActivityLingeringTransition()541 final Task task = new TaskBuilder(mSupervisor).setStack(targetStack).build(); in testResumeActivityLingeringTransition_notExecuted()
287 final Task task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskPreferredDisplayChange()308 final Task task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskWindowingModeChange()333 final Task task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskBoundsChangeFreeformWindow()358 final Task task = new TaskBuilder(mService.mStackSupervisor).build(); in testLayoutTaskBoundsChangeFixedWindow()
177 Task task = new TaskBuilder(mSupervisor).setStack(stack).build(); in testFitWithinBounds()342 final Task task = new TaskBuilder(mSupervisor).setDisplay(display).build(); in testComputeConfigResourceOverrides()407 final Task task = new TaskBuilder(mSupervisor).build(); in testComputeNestedConfigResourceOverrides()425 final Task fullscreenTask = new TaskBuilder(mSupervisor).build(); in testFullScreenTaskNotAdjustedByMinimalSize()446 final Task task = new TaskBuilder(mSupervisor).setStack(stack).build(); in testInsetDisregardedWhenFreeformOverlapsNavBar()971 Task task = new TaskBuilder(mSupervisor).setStack(stack).build(); in testStackBoundsConfiguration()
37 final Task task = new ActivityTestsBase.TaskBuilder(stack.mStackSupervisor) in createTaskInStack()
135 final Task task = new TaskBuilder(mService.mStackSupervisor) in createTask()
218 new TaskBuilder(service.mStackSupervisor).setVoiceSession(voiceSession).build()); in verifyStartActivityPreconditionsUntracked()792 final Task topTask = new TaskBuilder(mSupervisor).setStack(topStack).build(); in testBringTaskToFrontOnSecondaryDisplay()849 final Task task = new TaskBuilder(mSupervisor) in createSingleTaskActivityOn()986 final Task task = new TaskBuilder(mService.mStackSupervisor) in testRecycleTaskFromAnotherUser()
167 final Task newTask = new TaskBuilder(mService.mStackSupervisor).setStack(mStack).build(); in testNoCleanupMovingActivityInSameStack()257 Task task2 = new TaskBuilder(mService.mStackSupervisor).setStack(mStack).build(); in testsApplyOptionsLocked()1573 new TaskBuilder(mSupervisor).setStack(initialTask.getStack()).build(); in testActivityReparentChangesProcessOverride()1605 new TaskBuilder(mSupervisor).setStack(initialTask.getStack()).build(); in testActivityReparentDoesntClearProcessOverride_TwoActivities()1675 final Task task = new TaskBuilder(mSupervisor).setStack(stack).build(); in createActivityOnDisplay()
1183 private TaskBuilder createTaskBuilder(String className) { in createTaskBuilder()1187 private TaskBuilder createTaskBuilder(String packageName, String className) { in createTaskBuilder()1188 return new TaskBuilder(mService.mStackSupervisor) in createTaskBuilder()
100 final Task task = new TaskBuilder(mSupervisor).build(); in testReturnsSkipWithEmptyActivity()1362 final Task task = new TaskBuilder(mSupervisor).setStack(stack).build(); in addFreeformTaskTo()
102 mTask = new TaskBuilder(mSupervisor).setStack(mStack).build(); in setUp()332 final Task task = new TaskBuilder(mService.mStackSupervisor).setStack(mStack).build(); in testFindTaskAlias()