Searched refs:mHal (Results 1 – 7 of 7) sorted by relevance
/packages/services/Car/service/src/com/android/car/ |
D | CarPropertyService.java | 58 private final PropertyHalService mHal; field in CarPropertyService 67 mHal = hal; in CarPropertyService() 141 mConfigs = mHal.getPropertyList(); in init() 155 mHal.setListener(null); in release() 173 ICarImpl.assertPermission(mContext, mHal.getReadPermission(propId)); in registerListener() 199 mHal.setListener(this); in registerListener() 202 if (rate > mHal.getSampleRate(propId)) { in registerListener() 203 mHal.subscribeProperty(propId, rate); in registerListener() 209 CarPropertyValue value = mHal.getProperty(propId, 0); in registerListener() 218 CarPropertyValue value = mHal.getProperty(propId, areaId); in registerListener() [all …]
|
D | ICarImpl.java | 77 private final VehicleHal mHal; field in ICarImpl 134 mHal = new VehicleHal(serviceContext, vehicle); in ICarImpl() 143 mCarPowerManagementService = new CarPowerManagementService(mContext, mHal.getPowerHal(), in ICarImpl() 146 mCarPropertyService = new CarPropertyService(serviceContext, mHal.getPropertyHal()); in ICarImpl() 156 mCarInputService = new CarInputService(serviceContext, mHal.getInputHal()); in ICarImpl() 173 mHal.getVmsHal()); in ICarImpl() 175 serviceContext, mVmsBrokerService, mVmsClientManager, mHal.getVmsHal()); in ICarImpl() 178 mCarDiagnosticService = new CarDiagnosticService(serviceContext, mHal.getDiagnosticHal()); in ICarImpl() 235 mHal.init(); in init() 250 mHal.release(); in release() [all …]
|
D | CarPowerManagementService.java | 74 private final PowerHalService mHal; field in CarPowerManagementService 158 mHal = powerHal; in CarPowerManagementService() 201 mHal.setListener(this); in init() 202 if (mHal.isPowerStateSupported()) { in init() 337 mHal.sendWaitForVhal(); in handleWaitForVhal() 341 mHal.sendShutdownCancel(); in handleWaitForVhal() 344 mHal.sendSleepExit(); in handleWaitForVhal() 400 mHal.sendOn(); in handleOn() 509 || !mHal.isDeepSleepAllowed() in handleShutdownPrepare() 516 mHal.sendShutdownPrepare(); in handleShutdownPrepare() [all …]
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | PowerHalService.java | 170 private final VehicleHal mHal; field in PowerHalService 176 mHal = hal; in PowerHalService() 275 mHal.set(VehicleProperty.DISPLAY_BRIGHTNESS, 0).to(brightness); in sendDisplayBrightness() 286 mHal.set(VehicleProperty.AP_POWER_STATE_REPORT, 0).to(values); in setPowerState() 299 state = mHal.get(int[].class, VehicleProperty.AP_POWER_STATE_REQ); in getCurrentPowerState() 335 mHal.subscribeProperty(this, config.prop); in init()
|
D | InputHalService.java | 44 private final VehicleHal mHal; field in InputHalService 77 mHal = hal; in InputHalService() 89 mHal.subscribeProperty(this, HW_KEY_INPUT); in setInputListener()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | VmsSubscriberServiceTest.java | 65 private VmsHalService mHal; field in VmsSubscriberServiceTest 77 mHal); in setUp() 79 verify(mHal).setVmsSubscriberService(eq(mSubscriberService)); in setUp()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/ |
D | VmsClientManagerTest.java | 126 private VmsHalService mHal; field in VmsClientManagerTest 205 mBrokerService, mHal, mHandler, () -> mCallingAppUid); in setUp() 206 verify(mHal).setClientManager(mClientManager); in setUp() 223 verifyNoMoreInteractions(mContext, mBrokerService, mHal, mPublisherService, mHandler); in tearDown()
|