Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DUiAutomationManagerTest.java79 @Mock WindowManagerInternal mMockWindowManagerInternal; field in UiAutomationManagerTest
218 verify(mMockWindowManagerInternal, never()).addWindowToken( in registerUiAutomationService_callsAddWindowTokenUsingHandler()
226 verify(mMockWindowManagerInternal).addWindowToken( in registerUiAutomationService_callsAddWindowTokenUsingHandler()
235 mMockWindowManagerInternal, mMockSystemActionPerformer, in register()
DSystemActionPerformerTest.java107 @Mock private WindowManagerInternal mMockWindowManagerInternal; field in SystemActionPerformerTest
127 mMockWindowManagerInternal, in setupWithMockContext()
135 mMockWindowManagerInternal, in setupWithRealContext()
299 verify(mMockWindowManagerInternal).showGlobalActions(); in testPowerDialog_requestsFromWindowManager_legacy()
DAccessibilityWindowManagerTest.java137 @Mock private WindowManagerInternal mMockWindowManagerInternal; field in AccessibilityWindowManagerTest
164 }).when(mMockWindowManagerInternal).computeWindowsForAccessibility(anyInt()); in setUp()
167 mMockWindowManagerInternal, in setUp()
194 verify(mMockWindowManagerInternal).setWindowsForAccessibilityCallback( in startTrackingWindows_shouldEnableWindowManagerCallback()
201 Mockito.reset(mMockWindowManagerInternal); in stopTrackingWindows_shouldDisableWindowManagerCallback()
205 verify(mMockWindowManagerInternal).setWindowsForAccessibilityCallback( in stopTrackingWindows_shouldDisableWindowManagerCallback()
578 when(mMockWindowManagerInternal.getFocusedWindowTokenFromWindowStates()) in updateActiveAndA11yFocusedWindow_windowStateChangedEvent_noTracking_shouldUpdate()
769 when(mMockWindowManagerInternal.getFocusedWindowTokenFromWindowStates()) in onTouchInteractionEnd_noServiceInteractiveWindow_shouldClearA11yFocus()
865 verify(mMockWindowManagerInternal, times(1)).setAccessibilityIdToSurfaceMetadata( in setAccessibilityWindowIdToSurfaceMetadata()
869 verify(mMockWindowManagerInternal, times(1)).setAccessibilityIdToSurfaceMetadata( in setAccessibilityWindowIdToSurfaceMetadata()
[all …]
DAccessibilityServiceConnectionTest.java117 WindowManagerInternal mMockWindowManagerInternal; field in AccessibilityServiceConnectionTest
160 mMockWindowManagerInternal, mMockSystemActionPerformer, in setup()
218 verify(mMockWindowManagerInternal).addWindowToken( in onServiceConnected_addsWindowTokens()
255 when(mMockWindowManagerInternal.isTouchOrFaketouchDevice()).thenReturn(true); in sendGesture_touchableDevice_injectEvents()
272 when(mMockWindowManagerInternal.isTouchOrFaketouchDevice()).thenReturn(false); in sendGesture_untouchableDevice_performGestureResultFailed()
DAccessibilityWindowManagerWithAccessibilityWindowTest.java146 private WindowManagerInternal mMockWindowManagerInternal; field in AccessibilityWindowManagerWithAccessibilityWindowTest
180 }).when(mMockWindowManagerInternal).computeWindowsForAccessibility(anyInt()); in setUp()
183 mMockWindowManagerInternal, in setUp()
210 verify(mMockWindowManagerInternal).setWindowsForAccessibilityCallback( in startTrackingWindows_shouldEnableWindowManagerCallback()
217 Mockito.reset(mMockWindowManagerInternal); in stopTrackingWindows_shouldDisableWindowManagerCallback()
221 verify(mMockWindowManagerInternal).setWindowsForAccessibilityCallback( in stopTrackingWindows_shouldDisableWindowManagerCallback()
739 when(mMockWindowManagerInternal.getFocusedWindowTokenFromWindowStates()) in updateActiveAndA11yFocusedWindow_windowStateChangedEvent_noTracking_shouldUpdate()
931 when(mMockWindowManagerInternal.getFocusedWindowTokenFromWindowStates()) in onTouchInteractionEnd_noServiceInteractiveWindow_shouldClearA11yFocus()
1028 verify(mMockWindowManagerInternal, times(1)).setAccessibilityIdToSurfaceMetadata( in setAccessibilityWindowIdToSurfaceMetadata()
1032 verify(mMockWindowManagerInternal, times(1)).setAccessibilityIdToSurfaceMetadata( in setAccessibilityWindowIdToSurfaceMetadata()
[all …]
DProxyAccessibilityServiceConnectionTest.java82 WindowManagerInternal mMockWindowManagerInternal; field in ProxyAccessibilityServiceConnectionTest
103 mMockWindowManagerInternal, mMockA11yWindowManager, DISPLAY_ID, DEVICE_ID); in setup()
DProxyManagerTest.java112 @Mock private WindowManagerInternal mMockWindowManagerInternal; field in ProxyManagerTest
532 mMockA11yTrace, mMockWindowManagerInternal); in registerProxy()
542 mMockA11yTrace, mMockWindowManagerInternal); in registerProxy()
DAbstractAccessibilityServiceConnectionTest.java175 @Mock private WindowManagerInternal mMockWindowManagerInternal; field in AbstractAccessibilityServiceConnectionTest
248 mMockSystemSupport, mMockA11yTrace, mMockWindowManagerInternal, in setup()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodManagerServiceWindowGainedFocusTest.java229 when(mMockWindowManagerInternal.hasInputMethodClientFocus( in startInputOrWindowGainedFocus_invalidFocusStatus()
285 when(mMockWindowManagerInternal.hasInputMethodClientFocus( in mockHasImeFocusAndRestoreImeVisibility()
288 when(mMockWindowManagerInternal.shouldRestoreImeVisibility(any())) in mockHasImeFocusAndRestoreImeVisibility()
DInputMethodManagerServiceTestBase.java103 @Mock protected WindowManagerInternal mMockWindowManagerInternal; field in InputMethodManagerServiceTestBase
163 doReturn(mMockWindowManagerInternal) in setUp()
216 when(mMockWindowManagerInternal.onToggleImeRequested(anyBoolean(), any(), any(), anyInt())) in setUp()
DDefaultImeVisibilityApplierTest.java121 verify(mMockWindowManagerInternal).showImePostLayout(eq(mWindowToken), eq(statsToken)); in testApplyImeVisibility_showIme()
131 verify(mMockWindowManagerInternal).hideIme(eq(mWindowToken), anyInt() /* displayId */, in testApplyImeVisibility_hideIme()
DImeVisibilityStateComputerTest.java79 return mMockWindowManagerInternal; in setUp()
89 verify(mMockWindowManagerInternal).setInputMethodTargetChangeListener(captor.capture()); in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceProviderInstanceImplTest.java148 private WindowManagerInternal mMockWindowManagerInternal; field in GameServiceProviderInstanceImplTest
211 }).when(mMockWindowManagerInternal).registerTaskSystemBarsListener(any()); in setUp()
215 }).when(mMockWindowManagerInternal).unregisterTaskSystemBarsListener(any()); in setUp()
232 mMockWindowManagerInternal, in setUp()
443 verify(mMockWindowManagerInternal).addTrustedTaskOverlay(eq(10), eq(mockSurfacePackage10)); in gameSessionSuccessfullyCreated_createsTaskOverlay()
818 verify(mMockWindowManagerInternal).addTrustedTaskOverlay(eq(10), eq(mockSurfacePackage10)); in gameTaskRemoved_removesTaskOverlay()
819 verify(mMockWindowManagerInternal).removeTrustedTaskOverlay(eq(10), in gameTaskRemoved_removesTaskOverlay()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayManagerServiceTest.java351 @Mock WindowManagerInternal mMockWindowManagerInternal;
381 WindowManagerInternal.class, mMockWindowManagerInternal);
801 InOrder inOrder = inOrder(mMockWindowManagerInternal, displayChangesCallback);
804 inOrder.verify(mMockWindowManagerInternal).onDisplayManagerReceivedDeviceState(123);