Searched refs:mMockWindowManager (Results 1 – 4 of 4) sorted by relevance
96 final WindowManagerInternal mMockWindowManager = mock(WindowManagerInternal.class); field in FullScreenMagnificationControllerTest116 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 …]
76 private WindowManager mMockWindowManager; field in StartingSurfaceDrawerTests137 mTestContext.addMockSystemService(WindowManager.class, mMockWindowManager); in setUp()139 doReturn(metrics).when(mMockWindowManager).getMaximumWindowMetrics(); in setUp()140 doNothing().when(mMockWindowManager).addView(any(), any()); in setUp()
58 WindowManager mMockWindowManager; field in OneHandedTutorialHandlerTest69 new OneHandedTutorialHandler(mContext, mMockSettingsUtil, mMockWindowManager)); in setUp()
100 WindowManagerInternal mMockWindowManager; field in BaseLockSettingsServiceTests120 mMockWindowManager = mock(WindowManagerInternal.class); in setUp_baseServices()135 LocalServices.addService(WindowManagerInternal.class, mMockWindowManager); in setUp_baseServices()