Home
last modified time | relevance | path

Searched refs:mInputHalService (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DInputHalServiceTest.java72 private InputHalService mInputHalService; field in InputHalServiceTest
77 mInputHalService = new InputHalService(mVehicleHal, mUptimeSupplier); in setUp()
78 mInputHalService.init(); in setUp()
83 mInputHalService.release(); in tearDown()
84 mInputHalService = null; in tearDown()
89 assertThat(mInputHalService.isKeyInputSupported()).isFalse(); in ignoresSetListener_beforeKeyInputSupported()
91 mInputHalService.setInputListener(mInputListener); in ignoresSetListener_beforeKeyInputSupported()
93 mInputHalService.handleHalEvents( in ignoresSetListener_beforeKeyInputSupported()
106 mInputHalService.takeSupportedProperties(offeredProps); in takesKeyInputProperty()
109 assertThat(mInputHalService.isKeyInputSupported()).isTrue(); in takesKeyInputProperty()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarInputService.java146 private final InputHalService mInputHalService; field in CarInputService
289 mInputHalService = inputHalService; in CarInputService()
335 if (!mInputHalService.isKeyInputSupported()) { in init()
343 mInputHalService.setInputListener(this); in init()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java81 @Mock InputHalService mInputHalService; field in CarInputServiceTest
95 mCarInputService = new CarInputService(mContext, mInputHalService, mHandler, in setUp()
99 when(mInputHalService.isKeyInputSupported()).thenReturn(true); in setUp()