Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskTests.java46 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 …]
DTaskStackTests.java69 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 …]
DUnknownAppVisibilityControllerTest.java45 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()
DWindowTokenTests.java47 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()
DAppWindowTokenTests.java80 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 …]
DWindowTestsBase.java261 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()
DAppTransitionTests.java126 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()
DTaskStackContainersTests.java55 final WindowTestUtils.TestAppWindowToken pinnedApp = in setUp()
56 WindowTestUtils.createTestAppWindowToken(mDisplayContent); in setUp()
DAppChangeTransitionTests.java58 private WindowTestUtils.TestAppWindowToken mToken;
63 mToken = WindowTestUtils.createTestAppWindowToken(dc); in setUpOnDisplay()
DDragDropControllerTests.java98 final WindowTestUtils.TestAppWindowToken token = WindowTestUtils.createTestAppWindowToken( in createDropTargetWindow()
DDisplayContentTests.java243 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()
DAppWindowTokenAnimationTests.java36 import com.android.server.wm.WindowTestUtils.TestAppWindowToken;
DWindowTestUtils.java36 class WindowTestUtils { class
DWindowStateTests.java326 final WindowToken windowToken = WindowTestUtils.createTestWindowToken(FIRST_SUB_WINDOW, in testPrepareWindowToDisplayDuringRelayout()