Home
last modified time | relevance | path

Searched refs:WindowTestUtils (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DTaskWindowContainerControllerTests.java43 final WindowTestUtils.TestTaskWindowContainerController taskController = in testRemoveContainer()
44 new WindowTestUtils.TestTaskWindowContainerController(this); in testRemoveContainer()
45 final WindowTestUtils.TestAppWindowContainerController appController = in testRemoveContainer()
46 new WindowTestUtils.TestAppWindowContainerController(taskController); in testRemoveContainer()
56 final WindowTestUtils.TestTaskWindowContainerController taskController = in testRemoveContainer_deferRemoval()
57 new WindowTestUtils.TestTaskWindowContainerController(this); in testRemoveContainer_deferRemoval()
58 final WindowTestUtils.TestAppWindowContainerController appController = in testRemoveContainer_deferRemoval()
59 new WindowTestUtils.TestAppWindowContainerController(taskController); in testRemoveContainer_deferRemoval()
61 final WindowTestUtils.TestTask task = (WindowTestUtils.TestTask) taskController.mContainer; in testRemoveContainer_deferRemoval()
83 final WindowTestUtils.TestTaskWindowContainerController taskController = in testReparent()
[all …]
DAppWindowContainerControllerTests.java37 import com.android.server.wm.WindowTestUtils.TestTaskWindowContainerController;
52 final WindowTestUtils.TestAppWindowContainerController controller = in testRemoveContainer()
70 final WindowTestUtils.TestAppWindowContainerController controller = in testSetOrientation()
105 final WindowTestUtils.TestAppWindowContainerController controller = in testCreateRemoveStartingWindow()
123 final WindowTestUtils.TestAppWindowContainerController controller = in testAddRemoveRace()
138 final WindowTestUtils.TestAppWindowContainerController controller1 = in testTransferStartingWindow()
140 final WindowTestUtils.TestAppWindowContainerController controller2 = in testTransferStartingWindow()
156 final WindowTestUtils.TestAppWindowContainerController controller1 = in testTransferStartingWindowWhileCreating()
158 final WindowTestUtils.TestAppWindowContainerController controller2 = in testTransferStartingWindowWhileCreating()
180 new WindowTestUtils.TestTaskWindowContainerController(this); in testTryTransferStartingWindowFromHiddenAboveToken()
[all …]
DStackWindowControllerTests.java47 final WindowTestUtils.TestTaskWindowContainerController taskController = in testRemoveContainer()
48 new WindowTestUtils.TestTaskWindowContainerController(stackController); in testRemoveContainer()
67 final WindowTestUtils.TestTaskWindowContainerController taskController = in testRemoveContainer_deferRemoval()
68 new WindowTestUtils.TestTaskWindowContainerController(stackController); in testRemoveContainer_deferRemoval()
71 final WindowTestUtils.TestTask task = (WindowTestUtils.TestTask) taskController.mContainer; in testRemoveContainer_deferRemoval()
95 final WindowTestUtils.TestTaskWindowContainerController taskController = in testReparent()
96 new WindowTestUtils.TestTaskWindowContainerController(stack1Controller); in testReparent()
97 final WindowTestUtils.TestTask task1 = (WindowTestUtils.TestTask) taskController.mContainer; in testReparent()
DTaskStackTests.java67 WindowTestUtils.TestAppWindowToken appWindowToken1 = in testClosingAppDifferentStackOrientation()
68 WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testClosingAppDifferentStackOrientation()
73 WindowTestUtils.TestAppWindowToken appWindowToken2 = in testClosingAppDifferentStackOrientation()
74 WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testClosingAppDifferentStackOrientation()
87 WindowTestUtils.TestAppWindowToken appWindowToken1 = in testMoveTaskToBackDifferentStackOrientation()
88 WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testMoveTaskToBackDifferentStackOrientation()
93 WindowTestUtils.TestAppWindowToken appWindowToken2 = in testMoveTaskToBackDifferentStackOrientation()
94 WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testMoveTaskToBackDifferentStackOrientation()
DUnknownAppVisibilityControllerTest.java47 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testFlow()
59 final AppWindowToken token1 = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testMultiple()
60 final AppWindowToken token2 = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testMultiple()
75 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testClear()
83 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testAppRemoved()
DWindowTokenTests.java51 final WindowTestUtils.TestWindowToken token = in testAddWindow()
52 WindowTestUtils.createTestWindowToken(0, mDisplayContent); in testAddWindow()
82 final WindowTestUtils.TestWindowToken token = WindowTestUtils.createTestWindowToken(0, dc); in testChildRemoval()
105 final WindowTestUtils.TestWindowToken token = WindowTestUtils.createTestWindowToken( in testTokenRemovalProcess()
DWindowTestsBase.java226 return WindowTestUtils.createTestWindowToken(type, dc); in createWindowToken()
237 final WindowTestUtils.TestAppWindowToken appWindowToken = in createAppWindowToken()
238 WindowTestUtils.createTestAppWindowToken(dc); in createAppWindowToken()
261 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in createAppWindow()
346 return WindowTestUtils.createTaskInStack(sWm, stack, userId); in createTaskInStack()
361 WindowTestUtils.TestWindowState createWindowState(WindowManager.LayoutParams attrs, in createWindowState()
364 return new WindowTestUtils.TestWindowState(sWm, mMockSession, mIWindow, attrs, token); in createWindowState()
DAppWindowTokenTests.java59 WindowTestUtils.TestAppWindowToken mToken;
67 mToken = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in setUp()
139 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, mToken); in testLandscapeSeascapeRotationByApp()
168 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, mToken); in testLandscapeSeascapeRotationByPolicy()
214 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, mToken); in testKeyguardFlagsDuringRelaunch()
DDisplayContentTests.java206 final WindowTestUtils.TestAppWindowToken token = WindowTestUtils.createTestAppWindowToken( in testMoveStackBetweenDisplays()
278 final WindowTestUtils.TestAppWindowToken token = in testInputEventBringsCorrectDisplayInFocus()
279 WindowTestUtils.createTestAppWindowToken(dc0); in testInputEventBringsCorrectDisplayInFocus()
285 final WindowTestUtils.TestAppWindowToken token1 = in testInputEventBringsCorrectDisplayInFocus()
286 WindowTestUtils.createTestAppWindowToken(dc0); in testInputEventBringsCorrectDisplayInFocus()
DTaskStackContainersTests.java57 final WindowTestUtils.TestAppWindowToken pinnedApp = in setUp()
58 WindowTestUtils.createTestAppWindowToken(mDisplayContent); in setUp()
DDragDropControllerTests.java92 final WindowTestUtils.TestAppWindowToken token = WindowTestUtils.createTestAppWindowToken( in createDropTargetWindow()
DWindowTestUtils.java48 public class WindowTestUtils { class
DWindowStateTests.java277 final WindowToken windowToken = WindowTestUtils.createTestWindowToken(FIRST_SUB_WINDOW, in testPrepareWindowToDisplayDuringRelayout()
DWindowFrameTests.java118 mWindowToken = WindowTestUtils.createTestAppWindowToken( in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityTestsBase.java64 import com.android.server.wm.WindowTestUtils;
351 mWindowManager = WindowTestUtils.getMockWindowManagerService(); in TestActivityManagerService()
486 final WindowManagerService service = WindowTestUtils.getMockWindowManagerService();
537 mContainerController = (T) WindowTestUtils.createMockStackWindowContainerController();