Searched refs:mCarInputManager (Results 1 – 5 of 5) sorted by relevance
71 private CarInputManager mCarInputManager; field in CarInputManagerTest245 mCarInputManager = (CarInputManager) getCar().getCarManager(Car.CAR_INPUT_SERVICE); in setUp()246 assertThat(mCarInputManager).isNotNull(); in setUp()253 () -> mCarInputManager.requestInputEventCapture(INVALID_DISPLAY_TYPE, in testInvalidArgs()258 () -> mCarInputManager.requestInputEventCapture( in testInvalidArgs()263 () -> mCarInputManager.requestInputEventCapture( in testInvalidArgs()268 () -> mCarInputManager.requestInputEventCapture( in testInvalidArgs()272 () -> mCarInputManager.requestInputEventCapture( in testInvalidArgs()284 int r = mCarInputManager.requestInputEventCapture( in testInjectKeyEvent_mainDisplay()292 mCarInputManager.injectKeyEvent(keyEvent, CarOccupantZoneManager.DISPLAY_TYPE_MAIN); in testInjectKeyEvent_mainDisplay()[all …]
57 private CarInputManager mCarInputManager; field in SampleCustomInputService117 mCarInputManager = in connectToCarService()119 mCarInputManager.requestInputEventCapture( in connectToCarService()138 if (mCarInputManager != null) { in onDestroy()139 mCarInputManager.releaseInputEventCapture(CarOccupantZoneManager.DISPLAY_TYPE_MAIN); in onDestroy()156 if (mCarInputManager == null) { in injectKeyEvent()160 mCarInputManager.injectKeyEvent(event, targetDisplayType); in injectKeyEvent()
47 private CarInputManager mCarInputManager; field in SampleVoiceAssistInputService83 mCarInputManager = in connectToCarService()85 mCarInputManager.requestInputEventCapture( in connectToCarService()102 if (mCarInputManager != null) { in onDestroy()103 mCarInputManager.releaseInputEventCapture(CarOccupantZoneManager.DISPLAY_TYPE_MAIN); in onDestroy()
88 private CarInputManager mCarInputManager; field in ClusterHomeApplication180 mCarInputManager = (CarInputManager) car.getCarManager(Car.CAR_INPUT_SERVICE); in onCreate()223 int r = mCarInputManager.requestInputEventCapture( in initClusterHome()240 mCarInputManager.releaseInputEventCapture(DISPLAY_TYPE_INSTRUMENT_CLUSTER); in onTerminate()
542 private CarInputManager mCarInputManager; field in RotaryService735 mCarInputManager = in onServiceConnected()737 if (mCarInputManager == null) { in onServiceConnected()742 mCarInputManager.requestInputEventCapture( in onServiceConnected()778 if (mCarInputManager != null) { in onDestroy()779 mCarInputManager.releaseInputEventCapture(CarOccupantZoneManager.DISPLAY_TYPE_MAIN); in onDestroy()