Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/input/
DCarInputManagerTest.java71 private CarInputManager mCarInputManager; field in CarInputManagerTest
245 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 …]
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/
DSampleCustomInputService.java57 private CarInputManager mCarInputManager; field in SampleCustomInputService
117 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()
/packages/services/Car/tests/SampleVoiceAssistInputService/src/com/android/car/voiceassist/sample/
DSampleVoiceAssistInputService.java47 private CarInputManager mCarInputManager; field in SampleVoiceAssistInputService
83 mCarInputManager = in connectToCarService()
85 mCarInputManager.requestInputEventCapture( in connectToCarService()
102 if (mCarInputManager != null) { in onDestroy()
103 mCarInputManager.releaseInputEventCapture(CarOccupantZoneManager.DISPLAY_TYPE_MAIN); in onDestroy()
/packages/apps/Car/Cluster/ClusterHomeSample/src/com/android/car/cluster/home/
DClusterHomeApplication.java88 private CarInputManager mCarInputManager; field in ClusterHomeApplication
180 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()
/packages/apps/Car/RotaryController/src/com/android/car/rotary/
DRotaryService.java542 private CarInputManager mCarInputManager; field in RotaryService
735 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()