Home
last modified time | relevance | path

Searched refs:StackBuilder (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTestsBase.java436 static class StackBuilder { class in ActivityTestsBase
448 StackBuilder(RootWindowContainer root) { in StackBuilder() method in ActivityTestsBase.StackBuilder
454 StackBuilder setWindowingMode(int windowingMode) { in setWindowingMode()
459 StackBuilder setActivityType(int activityType) { in setActivityType()
464 StackBuilder setStackId(int stackId) { in setStackId()
473 StackBuilder setDisplay(DisplayContent display) { in setDisplay()
480 StackBuilder setTaskDisplayArea(TaskDisplayArea taskDisplayArea) { in setTaskDisplayArea()
486 StackBuilder setOnTop(boolean onTop) { in setOnTop()
491 StackBuilder setCreateActivity(boolean createActivity) { in setCreateActivity()
496 StackBuilder setActivityInfo(ActivityInfo info) { in setActivityInfo()
[all …]
DActivityTaskManagerServiceTests.java76 final ActivityStack stack = new StackBuilder(mRootWindowContainer).build(); in testActivityFinish()
90 final ActivityStack stack = new StackBuilder(mRootWindowContainer).build(); in testOnPictureInPictureRequested()
109 final ActivityStack stack = new StackBuilder(mRootWindowContainer).build(); in testOnPictureInPictureRequested_cannotEnterPip()
123 final ActivityStack stack = new StackBuilder(mRootWindowContainer).build(); in testOnPictureInPictureRequested_alreadyInPIPMode()
DActivityDisplayTests.java69 new StackBuilder(mRootWindowContainer).setOnTop(!ON_TOP).build(); in testLastFocusedStackIsUpdatedWhenMovingStack()
146 final ActivityStack homeStack = new StackBuilder(mRootWindowContainer) in testNotResumeHomeStackOnRemovingDisplay()
177 final ActivityStack stack = new StackBuilder(mRootWindowContainer).build(); in testTopRunningActivity()
182 new StackBuilder(mRootWindowContainer).setCreateActivity(false).build(); in testTopRunningActivity()
DRunningTasksTest.java65 final ActivityStack stack = new StackBuilder(mRootWindowContainer) in testCollectTasksByLastActiveTime()
107 final ActivityStack stack = new StackBuilder(mRootWindowContainer) in testTaskInfo_expectNoExtras()
DWindowOrganizerTests.java325 final ActivityStack stack = new ActivityTestsBase.StackBuilder(mWm.mRoot) in testTaskTransaction()
334 final ActivityStack stack = new ActivityTestsBase.StackBuilder(mWm.mRoot) in testStackTransaction()
359 final ActivityStack stack = new ActivityTestsBase.StackBuilder(mWm.mRoot) in testSetWindowingMode()
393 final ActivityStack stack = new ActivityTestsBase.StackBuilder(mWm.mRoot) in testContainerFocusableChanges()
409 final ActivityStack stack = new ActivityTestsBase.StackBuilder(mWm.mRoot) in testContainerHiddenChanges()
424 final ActivityStack stack = new ActivityTestsBase.StackBuilder(mWm.mRoot) in testOverrideConfigSize()
DWindowTestsBase.java266 return new ActivityTestsBase.StackBuilder(dc.mWmService.mRoot) in createTaskStackOnDisplay()
277 return new ActivityTestsBase.StackBuilder(tda.mWmService.mRoot) in createTaskStackOnTaskDisplayArea()
DRootActivityContainerTests.java173 final ActivityStack stack = new StackBuilder(mRootWindowContainer) in testApplySleepTokens()
387 final ActivityStack targetStack = new StackBuilder(mRootWindowContainer) in testFindTaskToMoveToFrontWhenRecentsOnTop()
393 final ActivityStack stack = new StackBuilder(mRootWindowContainer).setActivityType( in testFindTaskToMoveToFrontWhenRecentsOnTop()
867 final Task task = new ActivityTestsBase.StackBuilder(mRootWindowContainer).setDisplay( in testGetValidLaunchStackOnDisplayWithCandidateRootTask()
DActivityStackSupervisorTests.java116 final ActivityStack stack = new StackBuilder(mRootWindowContainer) in testHandleNonResizableTaskOnSecondaryDisplay()
DActivityRecordTests.java126 mStack = new StackBuilder(mRootWindowContainer).build(); in setUp()
543 final ActivityStack stack = new StackBuilder(mRootWindowContainer).build(); in testPushConfigurationWhenLaunchTaskBehind()
751 final ActivityStack stack1 = new StackBuilder(mRootWindowContainer).build(); in testFinishActivityIfPossible_adjustStackOrder()
758 final ActivityStack stack2 = new StackBuilder(mRootWindowContainer).build(); in testFinishActivityIfPossible_adjustStackOrder()
968 final ActivityStack nextStack = new StackBuilder(mRootWindowContainer).build(); in testCompleteFinishing_keepStateOfNextInvisible()
1090 final ActivityStack stack = new StackBuilder(mRootWindowContainer).build(); in testCompleteFinishing_noWaitForNextVisible_nonFocusedStack()
DTaskRecordTests.java213 ActivityStack stack = new StackBuilder(mRootWindowContainer).setDisplay(display) in testBoundsOnModeChangeFreeformToFullscreen()
254 ActivityStack stack = new StackBuilder(mRootWindowContainer) in testFullscreenBoundsForcedOrientation()
315 ActivityStack stack = new StackBuilder(mRootWindowContainer) in testIgnoresForcedOrientationWhenParentHandles()
961 final ActivityStack stack = new StackBuilder(mRootWindowContainer).build(); in getTestTask()
DDisplayContentTests.java794 new ActivityTestsBase.StackBuilder(mWm.mAtmService.mRootWindowContainer) in testAllowsTopmostFullscreenOrientation()
800 new ActivityTestsBase.StackBuilder(mWm.mAtmService.mRootWindowContainer) in testAllowsTopmostFullscreenOrientation()
826 new ActivityTestsBase.StackBuilder(mWm.mAtmService.mRootWindowContainer) in testOnDescendantOrientationRequestChanged()
846 new ActivityTestsBase.StackBuilder(mWm.mAtmService.mRootWindowContainer) in testOnDescendantOrientationRequestChanged_FrozenToUserRotation()
1175 final ActivityRecord app2 = new ActivityTestsBase.StackBuilder(mWm.mRoot) in testApplyTopFixedRotationTransform()
DTaskDisplayAreaTests.java223 new ActivityTestsBase.StackBuilder(rootWindowContainer) in testGetOrientation_nonResizableHomeStackWithHomeActivityPendingVisibilityChange()
DActivityMetricsLaunchObserverTests.java344 final ActivityStack stack = new StackBuilder(mRootWindowContainer) in testConsecutiveLaunchOnDifferentDisplay()
DSizeCompatTests.java73 mStack = new StackBuilder(mRootWindowContainer).setDisplay(display).build(); in setUpApp()
DWindowContainerTests.java833 final ActivityRecord r = new ActivityTestsBase.StackBuilder(mWm.mRoot) in testHandleCompleteDeferredRemoval()
DActivityStackTests.java1002 stack = new StackBuilder(mRootWindowContainer) in createStackForShouldBeVisibleTest()