Searched refs:InputHalService (Results 1 – 6 of 6) sorted by relevance
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarInputServiceTest.java | 58 import com.android.car.hal.InputHalService; 81 @Mock InputHalService mInputHalService; 134 new InputFilter(KeyEvent.KEYCODE_ENTER, InputHalService.DISPLAY_MAIN), in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 135 new InputFilter(KeyEvent.KEYCODE_ENTER, InputHalService.DISPLAY_INSTRUMENT_CLUSTER), in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 136 new InputFilter(KeyEvent.KEYCODE_MENU, InputHalService.DISPLAY_MAIN)); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 143 verify(listener).onKeyEvent(event, InputHalService.DISPLAY_MAIN); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 147 verify(listener).onKeyEvent(event, InputHalService.DISPLAY_INSTRUMENT_CLUSTER); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 151 verify(listener).onKeyEvent(event, InputHalService.DISPLAY_MAIN); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 155 verify(listener, never()).onKeyEvent(event, InputHalService.DISPLAY_INSTRUMENT_CLUSTER); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 483 ? InputHalService.DISPLAY_MAIN in sendWithRepeat() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | CarInputService.java | 55 import com.android.car.hal.InputHalService; 67 public class CarInputService implements CarServiceBase, InputHalService.InputListener { 146 private final InputHalService mInputHalService; 271 public CarInputService(Context context, InputHalService inputHalService) { in CarInputService() 283 CarInputService(Context context, InputHalService inputHalService, Handler handler, in CarInputService() 403 if (targetDisplay == InputHalService.DISPLAY_INSTRUMENT_CLUSTER) { in onKeyEvent()
|
D | ICarImpl.java | 49 import com.android.car.hal.InputHalService; 814 int display = InputHalService.DISPLAY_MAIN; 847 if (display != InputHalService.DISPLAY_MAIN 848 && display != InputHalService.DISPLAY_INSTRUMENT_CLUSTER) {
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | InputHalService.java | 40 public class InputHalService extends HalServiceBase { class 71 public InputHalService(VehicleHal hal) { in InputHalService() method in InputHalService 76 InputHalService(VehicleHal hal, LongSupplier uptimeSupplier) { in InputHalService() method in InputHalService
|
D | VehicleHal.java | 75 private final InputHalService mInputHal; 99 mInputHal = new InputHalService(this); in VehicleHal() 204 public InputHalService getInputHal() { in getInputHal()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | InputHalServiceTest.java | 63 @Mock InputHalService.InputListener mInputListener; 72 private InputHalService mInputHalService; 77 mInputHalService = new InputHalService(mVehicleHal, mUptimeSupplier); in setUp()
|