/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | UiAutomationManagerTest.java | 79 @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()
|
D | SystemActionPerformerTest.java | 107 @Mock private WindowManagerInternal mMockWindowManagerInternal; field in SystemActionPerformerTest 127 mMockWindowManagerInternal, in setupWithMockContext() 135 mMockWindowManagerInternal, in setupWithRealContext() 299 verify(mMockWindowManagerInternal).showGlobalActions(); in testPowerDialog_requestsFromWindowManager_legacy()
|
D | AccessibilityWindowManagerTest.java | 137 @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 …]
|
D | AccessibilityServiceConnectionTest.java | 117 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()
|
D | AccessibilityWindowManagerWithAccessibilityWindowTest.java | 146 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 …]
|
D | ProxyAccessibilityServiceConnectionTest.java | 82 WindowManagerInternal mMockWindowManagerInternal; field in ProxyAccessibilityServiceConnectionTest 103 mMockWindowManagerInternal, mMockA11yWindowManager, DISPLAY_ID, DEVICE_ID); in setup()
|
D | ProxyManagerTest.java | 112 @Mock private WindowManagerInternal mMockWindowManagerInternal; field in ProxyManagerTest 532 mMockA11yTrace, mMockWindowManagerInternal); in registerProxy() 542 mMockA11yTrace, mMockWindowManagerInternal); in registerProxy()
|
D | AbstractAccessibilityServiceConnectionTest.java | 175 @Mock private WindowManagerInternal mMockWindowManagerInternal; field in AbstractAccessibilityServiceConnectionTest 248 mMockSystemSupport, mMockA11yTrace, mMockWindowManagerInternal, in setup()
|
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/ |
D | InputMethodManagerServiceWindowGainedFocusTest.java | 229 when(mMockWindowManagerInternal.hasInputMethodClientFocus( in startInputOrWindowGainedFocus_invalidFocusStatus() 285 when(mMockWindowManagerInternal.hasInputMethodClientFocus( in mockHasImeFocusAndRestoreImeVisibility() 288 when(mMockWindowManagerInternal.shouldRestoreImeVisibility(any())) in mockHasImeFocusAndRestoreImeVisibility()
|
D | InputMethodManagerServiceTestBase.java | 103 @Mock protected WindowManagerInternal mMockWindowManagerInternal; field in InputMethodManagerServiceTestBase 163 doReturn(mMockWindowManagerInternal) in setUp() 216 when(mMockWindowManagerInternal.onToggleImeRequested(anyBoolean(), any(), any(), anyInt())) in setUp()
|
D | DefaultImeVisibilityApplierTest.java | 121 verify(mMockWindowManagerInternal).showImePostLayout(eq(mWindowToken), eq(statsToken)); in testApplyImeVisibility_showIme() 131 verify(mMockWindowManagerInternal).hideIme(eq(mWindowToken), anyInt() /* displayId */, in testApplyImeVisibility_hideIme()
|
D | ImeVisibilityStateComputerTest.java | 79 return mMockWindowManagerInternal; in setUp() 89 verify(mMockWindowManagerInternal).setInputMethodTargetChangeListener(captor.capture()); in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/ |
D | GameServiceProviderInstanceImplTest.java | 148 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/ |
D | DisplayManagerServiceTest.java | 351 @Mock WindowManagerInternal mMockWindowManagerInternal; 381 WindowManagerInternal.class, mMockWindowManagerInternal); 801 InOrder inOrder = inOrder(mMockWindowManagerInternal, displayChangesCallback); 804 inOrder.verify(mMockWindowManagerInternal).onDisplayManagerReceivedDeviceState(123);
|