Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java91 private CarInputService mCarInputService; field in CarInputServiceTest
95 mCarInputService = new CarInputService(mContext, mInputHalService, mHandler, in setUp()
100 mCarInputService.init(); in setUp()
123 mCarInputService.setInstrumentClusterKeyListener(listener); in ordinaryEvents_onInstrumentClusterDisplay_routedToListener()
140 mCarInputService.setInstrumentClusterKeyListener(instrumentClusterListener); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents()
480 mCarInputService.onKeyEvent( in sendWithRepeat()
490 mCarInputService.mCarInputListener = listener; in registerInputListener()
491 mCarInputService.setHandledKeys(handledKeys); in registerInputListener()
504 mCarInputService.setProjectionKeyEventHandler(projectionKeyEventHandler, eventSet); in registerProjectionKeyEventHandler()
DCarProjectionServiceTest.java100 private CarInputService mCarInputService; field in CarProjectionServiceTest
109 mService = new CarProjectionService(mContext, mHandler, mCarInputService, in setUp()
280 InOrder inOrder = inOrder(mCarInputService); in addedKeyEventHandler_registersWithCarInputService()
289 inOrder.verify(mCarInputService) in addedKeyEventHandler_registersWithCarInputService()
301 inOrder.verify(mCarInputService).setProjectionKeyEventHandler( in addedKeyEventHandler_registersWithCarInputService()
325 inOrder.verify(mCarInputService).setProjectionKeyEventHandler( in addedKeyEventHandler_registersWithCarInputService()
330 inOrder.verify(mCarInputService).setProjectionKeyEventHandler(eq(null), any()); in addedKeyEventHandler_registersWithCarInputService()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java84 private final CarInputService mCarInputService; field in ICarImpl
156 mCarInputService = new CarInputService(serviceContext, mHal.getInputHal()); in ICarImpl()
158 serviceContext, null /* handler */, mCarInputService, mCarBluetoothService); in ICarImpl()
165 mAppFocusService, mCarInputService); in ICarImpl()
206 allServices.add(mCarInputService); in ICarImpl()
381 return mCarInputService; in getCarInternalService()
859 mCarInputService.onKeyEvent(keyDown, display);
862 mCarInputService.onKeyEvent(keyUp, display);
DCarProjectionService.java93 private final CarInputService mCarInputService; field in CarProjectionService
182 mCarInputService = carInputService; in CarProjectionService()
844 mCarInputService.setProjectionKeyEventHandler(this, newEvents); in updateInputServiceHandlerLocked()
846 mCarInputService.setProjectionKeyEventHandler(null, null); in updateInputServiceHandlerLocked()
/packages/services/Car/service/src/com/android/car/cluster/
DInstrumentClusterService.java72 private final CarInputService mCarInputService; field in InstrumentClusterService
158 mCarInputService = carInputService; in InstrumentClusterService()
168 mCarInputService.setInstrumentClusterKeyListener(this /* KeyEventListener */); in init()