Home
last modified time | relevance | path

Searched refs:mMockWindowManager (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DFullScreenMagnificationControllerTest.java96 final WindowManagerInternal mMockWindowManager = mock(WindowManagerInternal.class); field in FullScreenMagnificationControllerTest
116 when(mMockControllerCtx.getWindowManager()).thenReturn(mMockWindowManager); in setUp()
138 verify(mMockWindowManager).setMagnificationCallbacks( in testRegister_WindowManagerAndContextRegisterListeners()
140 verify(mMockWindowManager).setMagnificationCallbacks( in testRegister_WindowManagerAndContextRegisterListeners()
142 verify(mMockWindowManager).setMagnificationCallbacks( in testRegister_WindowManagerAndContextRegisterListeners()
157 verify(mMockWindowManager).setMagnificationCallbacks(eq(DISPLAY_0), eq(null)); in testRegister_WindowManagerAndContextUnregisterListeners()
158 verify(mMockWindowManager).setMagnificationCallbacks(eq(DISPLAY_1), eq(null)); in testRegister_WindowManagerAndContextUnregisterListeners()
238 verify(mMockWindowManager).setMagnificationSpec(
277 verify(mMockWindowManager).setMagnificationSpec(eq(displayId), eq(startSpec));
280 Mockito.reset(mMockWindowManager);
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/startingsurface/
DStartingSurfaceDrawerTests.java76 private WindowManager mMockWindowManager; field in StartingSurfaceDrawerTests
137 mTestContext.addMockSystemService(WindowManager.class, mMockWindowManager); in setUp()
139 doReturn(metrics).when(mMockWindowManager).getMaximumWindowMetrics(); in setUp()
140 doNothing().when(mMockWindowManager).addView(any(), any()); in setUp()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/onehanded/
DOneHandedTutorialHandlerTest.java58 WindowManager mMockWindowManager; field in OneHandedTutorialHandlerTest
69 new OneHandedTutorialHandler(mContext, mMockSettingsUtil, mMockWindowManager)); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java100 WindowManagerInternal mMockWindowManager; field in BaseLockSettingsServiceTests
120 mMockWindowManager = mock(WindowManagerInternal.class); in setUp_baseServices()
135 LocalServices.addService(WindowManagerInternal.class, mMockWindowManager); in setUp_baseServices()