Searched refs:mInputManagerInternalMock (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/companion/virtual/ |
D | InputControllerTest.java | 61 private InputManagerInternal mInputManagerInternalMock; field in InputControllerTest 79 LocalServices.addService(InputManagerInternal.class, mInputManagerInternalMock); in setUp() 176 verify(mInputManagerInternalMock).setTypeAssociation( in createNavigationTouchpad_setsTypeAssociation() 188 verify(mInputManagerInternalMock).unsetTypeAssociation( in createAndUnregisterNavigationTouchpad_unsetsTypeAssociation() 198 verify(mInputManagerInternalMock).addKeyboardLayoutAssociation(anyString(), in createKeyboard_addAndRemoveKeyboardLayoutAssociation() 202 verify(mInputManagerInternalMock).removeKeyboardLayoutAssociation(anyString()); in createKeyboard_addAndRemoveKeyboardLayoutAssociation()
|
D | VirtualDeviceManagerServiceTest.java | 254 private InputManagerInternal mInputManagerInternalMock; field in VirtualDeviceManagerServiceTest 342 doNothing().when(mInputManagerInternalMock) in setUp() 344 doNothing().when(mInputManagerInternalMock).setPointerIconVisible(anyBoolean(), anyInt()); in setUp() 346 LocalServices.addService(InputManagerInternal.class, mInputManagerInternalMock); in setUp() 1501 clearInvocations(mInputManagerInternalMock); in setShowPointerIcon_setsValueForAllDisplays() 1504 verify(mInputManagerInternalMock, times(3)).setPointerIconVisible(eq(false), anyInt()); in setShowPointerIcon_setsValueForAllDisplays() 1505 verify(mInputManagerInternalMock, never()).setPointerIconVisible(eq(true), anyInt()); in setShowPointerIcon_setsValueForAllDisplays() 1507 verify(mInputManagerInternalMock, times(3)).setPointerIconVisible(eq(true), anyInt()); in setShowPointerIcon_setsValueForAllDisplays()
|