Home
last modified time | relevance | path

Searched refs:mCaptureController (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java107 @Mock InputCaptureClientController mCaptureController; field in CarInputServiceTest
157 mShouldCallButtonEndOngoingCallSupplier, mCaptureController, in setUp()
234 when(mCaptureController.onRotaryEvent( in testOnRotaryEvent_injectingRotaryNavigationEvent()
236 when(mCaptureController.onKeyEvent(anyInt(), any(KeyEvent.class))).thenReturn(true); in testOnRotaryEvent_injectingRotaryNavigationEvent()
243 verify(mCaptureController, never()).onKeyEvent(anyInt(), any(KeyEvent.class)); in testOnRotaryEvent_injectingRotaryNavigationEvent()
254 when(mCaptureController.onRotaryEvent( in testOnRotaryEvent_injectingRotaryVolumeEvent()
256 when(mCaptureController.onKeyEvent(anyInt(), any(KeyEvent.class))).thenReturn(true); in testOnRotaryEvent_injectingRotaryVolumeEvent()
265 verify(mCaptureController, times(numberOfGeneratedKeyEvents)).onKeyEvent(anyInt(), in testOnRotaryEvent_injectingRotaryVolumeEvent()
277 when(mCaptureController.onRotaryEvent( in testOnRotaryEvent_injectingRotaryNavigation_notConsumedByCaptureController()
287 verify(mCaptureController, times(numberOfGeneratedKeyEvents)).onKeyEvent(anyInt(), in testOnRotaryEvent_injectingRotaryNavigation_notConsumedByCaptureController()
[all …]
DCarInputRotaryServiceTest.java88 @Mock private InputCaptureClientController mCaptureController; field in CarInputRotaryServiceTest
303 mShouldCallButtonEndOngoingCallSupplier, mCaptureController, in init()
/packages/services/Car/service/src/com/android/car/
DCarInputService.java256 private final InputCaptureClientController mCaptureController; field in CarInputService
341 mCaptureController = captureController; in CarInputService()
530 if (mCaptureController.onKeyEvent(targetDisplayType, event)) { in dispatchKeyEventForDriver()
604 if (!mCaptureController.onRotaryEvent(targetDisplay, event)) { in onRotaryEvent()
614 if (!mCaptureController.onCustomInputEvent(event)) { in onCustomInputEvent()
671 return mCaptureController.requestInputEventCapture(callback, targetDisplayType, inputTypes, in requestInputEventCapture()
678 mCaptureController.releaseInputEventCapture(callback, targetDisplayType); in releaseInputEventCapture()
785 if (mCaptureController.onKeyEvent(targetDisplayType, event)) { in handleVoiceAssistKey()
1027 mCaptureController.dump(writer); in dump()