Searched refs:WindowTestUtils (Results 1 – 14 of 14) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskTests.java | 46 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stackController1); in testRemoveContainer() 47 final WindowTestUtils.TestAppWindowToken appToken = in testRemoveContainer() 48 WindowTestUtils.createAppWindowTokenInTask(mDisplayContent, task); in testRemoveContainer() 60 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stackController1); in testRemoveContainer_deferRemoval() 61 final WindowTestUtils.TestAppWindowToken appToken = in testRemoveContainer_deferRemoval() 62 WindowTestUtils.createAppWindowTokenInTask(mDisplayContent, task); in testRemoveContainer_deferRemoval() 82 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stackController1); in testReparent() 84 final WindowTestUtils.TestTask task2 = WindowTestUtils.createTestTask(stackController2); in testReparent() 113 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stack1); in testReparent_BetweenDisplays() 120 final WindowTestUtils.TestTask task2 = WindowTestUtils.createTestTask(stack2); in testReparent_BetweenDisplays() [all …]
|
D | TaskStackTests.java | 69 WindowTestUtils.TestAppWindowToken appWindowToken1 = in testClosingAppDifferentStackOrientation() 70 WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testClosingAppDifferentStackOrientation() 75 WindowTestUtils.TestAppWindowToken appWindowToken2 = in testClosingAppDifferentStackOrientation() 76 WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testClosingAppDifferentStackOrientation() 89 WindowTestUtils.TestAppWindowToken appWindowToken1 = in testMoveTaskToBackDifferentStackOrientation() 90 WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testMoveTaskToBackDifferentStackOrientation() 95 WindowTestUtils.TestAppWindowToken appWindowToken2 = in testMoveTaskToBackDifferentStackOrientation() 96 WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testMoveTaskToBackDifferentStackOrientation() 120 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stack); in testRemoveContainer() 136 final WindowTestUtils.TestTask task = WindowTestUtils.createTestTask(stack); in testRemoveContainer_deferRemoval() [all …]
|
D | UnknownAppVisibilityControllerTest.java | 45 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testFlow() 57 final AppWindowToken token1 = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testMultiple() 58 final AppWindowToken token2 = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testMultiple() 73 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testClear() 81 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in testAppRemoved()
|
D | WindowTokenTests.java | 47 final WindowTestUtils.TestWindowToken token = in testAddWindow() 48 WindowTestUtils.createTestWindowToken(0, mDisplayContent); in testAddWindow() 78 final WindowTestUtils.TestWindowToken token = WindowTestUtils.createTestWindowToken(0, dc); in testChildRemoval() 101 final WindowTestUtils.TestWindowToken token = WindowTestUtils.createTestWindowToken( in testTokenRemovalProcess()
|
D | AppWindowTokenTests.java | 80 WindowTestUtils.TestAppWindowToken mToken; 88 mToken = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in setUp() 162 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, mToken); in testLandscapeSeascapeRotationByApp() 198 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, mToken); in testLandscapeSeascapeRotationByPolicy() 290 final WindowTestUtils.TestWindowState appWindow = createWindowState(attrs, mToken); in testKeyguardFlagsDuringRelaunch() 399 final WindowTestUtils.TestAppWindowToken appToken = createIsolatedTestAppWindowToken(); in testAddRemoveRace() 414 final WindowTestUtils.TestAppWindowToken token1 = createIsolatedTestAppWindowToken(); in testTransferStartingWindow() 415 final WindowTestUtils.TestAppWindowToken token2 = createIsolatedTestAppWindowToken(); in testTransferStartingWindow() 430 final WindowTestUtils.TestAppWindowToken token1 = createIsolatedTestAppWindowToken(); in testTransferStartingWindowWhileCreating() 431 final WindowTestUtils.TestAppWindowToken token2 = createIsolatedTestAppWindowToken(); in testTransferStartingWindowWhileCreating() [all …]
|
D | WindowTestsBase.java | 261 return WindowTestUtils.createTestWindowToken(type, dc); in createWindowToken() 272 WindowTestUtils.TestAppWindowToken createTestAppWindowToken(DisplayContent dc, int in createTestAppWindowToken() 276 final WindowTestUtils.TestAppWindowToken appWindowToken = in createTestAppWindowToken() 277 WindowTestUtils.createTestAppWindowToken(dc); in createTestAppWindowToken() 308 final AppWindowToken token = WindowTestUtils.createTestAppWindowToken(mDisplayContent); in createAppWindow() 402 return WindowTestUtils.createTaskInStack(mWm, stack, userId); in createTaskInStack() 443 WindowTestUtils.TestWindowState createWindowState(WindowManager.LayoutParams attrs, in createWindowState() 446 return new WindowTestUtils.TestWindowState(mWm, mMockSession, mIWindow, attrs, token); in createWindowState()
|
D | AppTransitionTests.java | 126 final WindowTestUtils.TestAppWindowToken token1 = createTestAppWindowToken(dc1, in testAppTransitionStateForMultiDisplay() 128 final WindowTestUtils.TestAppWindowToken token2 = createTestAppWindowToken(dc2, in testAppTransitionStateForMultiDisplay() 163 final WindowTestUtils.TestAppWindowToken token1 = in testCleanAppTransitionWhenTaskStackReparent() 164 WindowTestUtils.createTestAppWindowToken(dc1); in testCleanAppTransitionWhenTaskStackReparent()
|
D | TaskStackContainersTests.java | 55 final WindowTestUtils.TestAppWindowToken pinnedApp = in setUp() 56 WindowTestUtils.createTestAppWindowToken(mDisplayContent); in setUp()
|
D | AppChangeTransitionTests.java | 58 private WindowTestUtils.TestAppWindowToken mToken; 63 mToken = WindowTestUtils.createTestAppWindowToken(dc); in setUpOnDisplay()
|
D | DragDropControllerTests.java | 98 final WindowTestUtils.TestAppWindowToken token = WindowTestUtils.createTestAppWindowToken( in createDropTargetWindow()
|
D | DisplayContentTests.java | 243 final WindowTestUtils.TestAppWindowToken token = WindowTestUtils.createTestAppWindowToken( in testMoveStackBetweenDisplays() 316 final WindowTestUtils.TestAppWindowToken token = in testInputEventBringsCorrectDisplayInFocus() 317 WindowTestUtils.createTestAppWindowToken(dc0); in testInputEventBringsCorrectDisplayInFocus() 324 final WindowTestUtils.TestAppWindowToken token1 = in testInputEventBringsCorrectDisplayInFocus() 325 WindowTestUtils.createTestAppWindowToken(dc0); in testInputEventBringsCorrectDisplayInFocus()
|
D | AppWindowTokenAnimationTests.java | 36 import com.android.server.wm.WindowTestUtils.TestAppWindowToken;
|
D | WindowTestUtils.java | 36 class WindowTestUtils { class
|
D | WindowStateTests.java | 326 final WindowToken windowToken = WindowTestUtils.createTestWindowToken(FIRST_SUB_WINDOW, in testPrepareWindowToDisplayDuringRelayout()
|