Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java110 private CarInputService mCarInputService; field in CarInputServiceTest
114 mCarInputService = new CarInputService(mContext, mInputHalService, mCarUserService, in setUp()
118 mCarInputService.setInstrumentClusterKeyListener(mInstrumentClusterKeyListener); in setUp()
121 mCarInputService.init(); in setUp()
131 if (mCarInputService != null) { in tearDown()
132 mCarInputService.release(); in tearDown()
146 mCarInputService.onRotaryEvent(event, CarOccupantZoneManager.DISPLAY_TYPE_MAIN); in testOnRotaryEvent_injectingRotaryNavigationEvent()
165 mCarInputService.onRotaryEvent(event, CarOccupantZoneManager.DISPLAY_TYPE_MAIN); in testOnRotaryEvent_injectingRotaryVolumeEvent()
186 mCarInputService.onRotaryEvent(event, CarOccupantZoneManager.DISPLAY_TYPE_MAIN); in testOnRotaryEvent_injectingRotaryNavigation_notConsumedByCaptureController()
204 mCarInputService.requestInputEventCapture(callback, in testRequestInputEventCapture_delegatesToCaptureController()
[all …]
DCarProjectionServiceTest.java94 private CarInputService mCarInputService; field in CarProjectionServiceTest
103 mService = new CarProjectionService(mContext, mHandler, mCarInputService, in setUp()
274 InOrder inOrder = inOrder(mCarInputService); in addedKeyEventHandler_registersWithCarInputService()
283 inOrder.verify(mCarInputService) in addedKeyEventHandler_registersWithCarInputService()
295 inOrder.verify(mCarInputService).setProjectionKeyEventHandler( in addedKeyEventHandler_registersWithCarInputService()
319 inOrder.verify(mCarInputService).setProjectionKeyEventHandler( in addedKeyEventHandler_registersWithCarInputService()
324 inOrder.verify(mCarInputService).setProjectionKeyEventHandler(eq(null), any()); in addedKeyEventHandler_registersWithCarInputService()
DCarInputRotaryServiceTest.java92 private CarInputService mCarInputService; field in CarInputRotaryServiceTest
227 mCarInputService = new CarInputService(mMockContext, mInputHalService, mCarUserService, in init()
231 mCarInputService.init(); in init()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java108 private final CarInputService mCarInputService; field in ICarImpl
261 mCarInputService = constructWithTrace(t, CarInputService.class, in ICarImpl()
265 () -> new CarProjectionService(serviceContext, null /* handler */, mCarInputService, in ICarImpl()
283 mClusterNavigationService, mCarInputService)); in ICarImpl()
374 allServices.add(mCarInputService); in ICarImpl()
625 return mCarInputService; in getCarService()
846 mFeatureController, mCarInputService, mCarNightService, mSystemInterface, in newCarShellCommand()
DCarProjectionService.java92 private final CarInputService mCarInputService; field in CarProjectionService
181 mCarInputService = carInputService; in CarProjectionService()
844 mCarInputService.setProjectionKeyEventHandler(this, newEvents); in updateInputServiceHandlerLocked()
846 mCarInputService.setProjectionKeyEventHandler(null, null); in updateInputServiceHandlerLocked()
DCarShellCommand.java358 private final CarInputService mCarInputService; field in CarShellCommand
392 mCarInputService = carInputService; in CarShellCommand()
1121 mCarInputService.injectKeyEvent(
1193 mCarInputService.onRotaryEvent(rotaryEvent, display);
1238 mCarInputService.onCustomInputEvent(event);
/packages/services/Car/service/src/com/android/car/cluster/
DInstrumentClusterService.java79 private final CarInputService mCarInputService; field in InstrumentClusterService
213 mCarInputService = carInputService; in InstrumentClusterService()
278 mCarInputService.setInstrumentClusterKeyListener(this /* KeyEventListener */); in init()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
DInstrumentClusterServiceTest.java71 private CarInputService mCarInputService; field in InstrumentClusterServiceTest
121 mService = new InstrumentClusterService(mContext, mNavigationService, mCarInputService); in setNewService()