Home
last modified time | relevance | path

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

/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
H A DCarInputServiceTest.java110 private CarInputService mCarInputService; field in CarInputServiceTest
121 mCarInputService.init(); in setUp()
131 if (mCarInputService != null) { in tearDown()
132 mCarInputService.release(); in tearDown()
204 mCarInputService.requestInputEventCapture(callback, in testRequestInputEventCapture_delegatesToCaptureController()
216 mCarInputService.onCustomInputEvent(event); in testOnCustomInputEvent_delegatesToCaptureController()
224 mCarInputService.releaseInputEventCapture(callback, in testReleaseInputEventCapture_delegatesToCaptureController()
255 mCarInputService.setInstrumentClusterKeyListener(listener); in ordinaryEvents_onInstrumentClusterDisplay_routedToListener()
671 () -> mCarInputService.injectKeyEvent(event, in injectKeyEvent_throwsSecurityExceptionWithoutInjectEventsPermission()
710 mCarInputService.injectKeyEvent(event, displayType); in injectKeyEventAndVerify()
[all …]
H A 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()
H A DCarInputRotaryServiceTest.java95 private CarInputService mCarInputService; field in CarInputRotaryServiceTest
296 mCarInputService = new CarInputService(mMockContext, mInputHalService, mCarUserService, in init()
300 mCarInputService.init(); in init()
/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
H A DInstrumentClusterServiceTest.java71 private CarInputService mCarInputService; field in InstrumentClusterServiceTest
121 mService = new InstrumentClusterService(mContext, mNavigationService, mCarInputService); in setNewService()
/aosp12/packages/services/Car/service/src/com/android/car/cluster/
H A DInstrumentClusterService.java79 private final CarInputService mCarInputService; field in InstrumentClusterService
213 mCarInputService = carInputService; in InstrumentClusterService()
278 mCarInputService.setInstrumentClusterKeyListener(this /* KeyEventListener */); in init()
/aosp12/packages/services/Car/service/src/com/android/car/
H A DICarImpl.java110 private final CarInputService mCarInputService; field in ICarImpl
264 mCarInputService = constructWithTrace(t, CarInputService.class, in ICarImpl()
268 () -> new CarProjectionService(serviceContext, null /* handler */, mCarInputService, in ICarImpl()
286 mClusterNavigationService, mCarInputService)); in ICarImpl()
379 allServices.add(mCarInputService); in ICarImpl()
632 return mCarInputService; in getCarService()
855 mFeatureController, mCarInputService, mCarNightService, mSystemInterface, in newCarShellCommand()
H A 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()
H A DCarShellCommand.java379 private final CarInputService mCarInputService; field in CarShellCommand
413 mCarInputService = carInputService; in CarShellCommand()
1173 mCarInputService.injectKeyEvent(
1245 mCarInputService.onRotaryEvent(rotaryEvent, display);
1290 mCarInputService.onCustomInputEvent(event);