Home
last modified time | relevance | path

Searched refs:mCarInputService (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java120 private CarInputService mCarInputService; field in CarInputServiceTest
153 mCarInputService = new CarInputService(mContext, mInputHalService, mCarUserService, in setUp()
160 mCarInputService.setInstrumentClusterKeyListener(mInstrumentClusterKeyListener); in setUp()
173 mCarInputService.init(); in setUp()
210 if (mCarInputService != null) { in tearDown()
211 mCarInputService.release(); in tearDown()
238 mCarInputService.onRotaryEvent(event, CarOccupantZoneManager.DISPLAY_TYPE_MAIN); in testOnRotaryEvent_injectingRotaryNavigationEvent()
258 mCarInputService.onRotaryEvent(event, CarOccupantZoneManager.DISPLAY_TYPE_MAIN); in testOnRotaryEvent_injectingRotaryVolumeEvent()
280 mCarInputService.onRotaryEvent(event, CarOccupantZoneManager.DISPLAY_TYPE_MAIN); in testOnRotaryEvent_injectingRotaryNavigation_notConsumedByCaptureController()
298 mCarInputService.requestInputEventCapture(callback, in testRequestInputEventCapture_delegatesToCaptureController()
[all …]
DCarProjectionServiceTest.java113 private CarInputService mCarInputService; field in CarProjectionServiceTest
149 mService = new CarProjectionService(mContext, mHandler, mCarInputService, in setUp()
211 mContext, mHandler, mCarInputService, mCarBluetoothService); in startLohsWithStableCredentials_success()
347 mService = new CarProjectionService(mContext, mHandler, mCarInputService, in getProjectionOptions_staticLohsCredentialsApMode()
360 mService = new CarProjectionService(mContext, mHandler, mCarInputService, in getProjectionOptions_tetheredApMode()
424 InOrder inOrder = inOrder(mCarInputService); in addedKeyEventHandler_registersWithCarInputService()
433 inOrder.verify(mCarInputService) in addedKeyEventHandler_registersWithCarInputService()
445 inOrder.verify(mCarInputService).setProjectionKeyEventHandler( in addedKeyEventHandler_registersWithCarInputService()
469 inOrder.verify(mCarInputService).setProjectionKeyEventHandler( in addedKeyEventHandler_registersWithCarInputService()
474 inOrder.verify(mCarInputService).setProjectionKeyEventHandler(eq(null), any()); in addedKeyEventHandler_registersWithCarInputService()
[all …]
DCarInputRotaryServiceTest.java101 private CarInputService mCarInputService; field in CarInputRotaryServiceTest
299 mCarInputService = new CarInputService(mMockContext, mInputHalService, mCarUserService, in init()
305 mCarInputService.init(); in init()
/packages/services/Car/service/src/com/android/car/cluster/
DInstrumentClusterService.java86 private final CarInputService mCarInputService; field in InstrumentClusterService
227 mCarInputService = carInputService; in InstrumentClusterService()
299 mCarInputService.setInstrumentClusterKeyListener(this /* KeyEventListener */); in init()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
DInstrumentClusterServiceTest.java83 private CarInputService mCarInputService; field in InstrumentClusterServiceTest
161 mService = new InstrumentClusterService(mContext, mNavigationService, mCarInputService, in setNewService()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java140 private final CarInputService mCarInputService; field in ICarImpl
331 mCarInputService = constructWithTrace(t, CarInputService.class, in ICarImpl()
336 () -> new CarProjectionService(mContext, null /* handler */, mCarInputService, in ICarImpl()
357 mCarInputService), allServices); in ICarImpl()
681 return mCarInputService; in getCarService()
DCarProjectionService.java104 private final CarInputService mCarInputService; field in CarProjectionService
203 mCarInputService = carInputService; in CarProjectionService()
959 mCarInputService.setProjectionKeyEventHandler(this, newEvents); in updateInputServiceHandlerLocked()
961 mCarInputService.setProjectionKeyEventHandler(null, null); in updateInputServiceHandlerLocked()
DCarShellCommand.java545 private final CarInputService mCarInputService; field in CarShellCommand
577 mCarInputService = (CarInputService) allServicesByClazz.get(CarInputService.class); in CarShellCommand()
1851 mCarInputService.injectKeyEventForSeat(keyEvent, display, seat);
2048 mCarInputService.injectMotionEventForSeat(event, display, seat);
2118 mCarInputService.onRotaryEvent(rotaryEvent, display);
2168 mCarInputService.onCustomInputEvent(event);
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java364 private CarInputService mCarInputService; field in CarAudioService
473 mCarInputService = CarLocalServices.getService(CarInputService.class); in init()
492 mCarInputService.registerKeyEventListener(mCarKeyEventListener, in init()
571 mCarInputService.unregisterKeyEventListener(mCarKeyEventListener); in releaseAudioCallbacks()