Home
last modified time | relevance | path

Searched refs:mHal (Results 1 – 10 of 10) sorted by relevance

/packages/services/Car/service/src/com/android/car/
DICarImpl.java53 private final VehicleHal mHal; field in ICarImpl
93 mHal = new VehicleHal(vehicle); in ICarImpl()
96 mHal.getPowerHal(), systemInterface); in ICarImpl()
97 mCarSensorService = new CarSensorService(serviceContext, mHal.getSensorHal()); in ICarImpl()
100 mCarInputService = new CarInputService(serviceContext, mHal.getInputHal()); in ICarImpl()
103 mCarInfoService = new CarInfoService(serviceContext, mHal.getInfoHal()); in ICarImpl()
105 mCarAudioService = new CarAudioService(serviceContext, mHal.getAudioHal(), in ICarImpl()
107 mCarCabinService = new CarCabinService(serviceContext, mHal.getCabinHal()); in ICarImpl()
108 mCarHvacService = new CarHvacService(serviceContext, mHal.getHvacHal()); in ICarImpl()
109 mCarRadioService = new CarRadioService(serviceContext, mHal.getRadioHal()); in ICarImpl()
[all …]
DCarPowerManagementService.java90 private final PowerHalService mHal; field in CarPowerManagementService
117 mHal = powerHal; in CarPowerManagementService()
127 mHal = null; in CarPowerManagementService()
141 mHal.setListener(this); in init()
142 if (mHal.isPowerStateSupported()) { in init()
143 mHal.sendBootComplete(); in init()
144 PowerState currentState = mHal.getCurrentPowerState(); in init()
338 if (mHal.isDeepSleepAllowed() && mSystemInterface.isSystemSupportingDeepSleep() && in handleShutdownPrepare()
409 mHal.sendSleepEntry(); in doHandleDeepSleep()
414 mHal.sendSleepExit(); in doHandleDeepSleep()
[all …]
DCarPropertyServiceBase.java49 private final PropertyHalServiceBase mHal; field in CarPropertyServiceBase
59 mHal = hal; in CarPropertyServiceBase()
135 mHal.setListener(this); in registerListener()
173 mHal.setListener(null); in unregisterListenerLocked()
180 return mHal.getPropertyList(); in getPropertyList()
186 return mHal.getProperty(prop, zone); in getProperty()
192 mHal.setProperty(prop); in setProperty()
DCarVolumeControllerFactory.java216 private final AudioHalService mHal; field in CarVolumeControllerFactory.CarExternalVolumeController
328 mHal.setStreamVolume(stream, volume); in handleMessage()
362 mHal = hal; in CarExternalVolumeController()
368 mSupportedAudioContext = mHal.getSupportedAudioVolumeContexts(); in init()
369 mHasExternalMemory = mHal.isExternalAudioVolumePersistent(); in init()
370 mMasterVolumeOnly = mHal.isAudioVolumeMasterOnly(); in init()
379 mHal.setVolumeListener(this); in init()
395 Integer volumeMax = mHal.getStreamMaxVolume(carStream); in initVolumeLimitLocked()
433 volume = Integer.valueOf(mHal.getStreamVolume(mMasterVolumeOnly ? 0 : in initCurrentVolumeLocked()
/packages/services/Car/service/src/com/android/car/hal/
DRadioHalService.java48 private VehicleHal mHal; field in RadioHalService
56 mHal = hal; in RadioHalService()
125 mHal.subscribeProperty(this, VehicleProperty.RADIO_PRESET); in registerListener()
135 mHal.unsubscribeProperty(this, VehicleProperty.RADIO_PRESET); in unregisterListener()
159 presetConfig = mHal.get(presetNumberValue); in getRadioPreset()
203 mHal.set(VehicleProperty.RADIO_PRESET).to(new int[] { in setRadioPreset()
DSensorHalServiceBase.java47 protected final VehicleHal mHal; field in SensorHalServiceBase
51 mHal = hal; in SensorHalServiceBase()
117 mHal.subscribeProperty(this, config.prop, fixSamplingRateForProperty(config, rate)); in requestSensorStart()
128 mHal.unsubscribeProperty(this, config.prop); in requestSensorStop()
142 return mHal.get(config.prop); in getCurrentSensorVehiclePropValue()
DPowerHalService.java142 private final VehicleHal mHal; field in PowerHalService
148 mHal = hal; in PowerHalService()
205 mHal.set(VehicleProperty.AP_POWER_STATE).to(values); in setPowerState()
215 state = mHal.get(int[].class, VehicleProperty.AP_POWER_STATE); in getCurrentPowerState()
252 mHal.subscribeProperty(this, config.prop); in init()
DInfoHalService.java34 private final VehicleHal mHal; field in InfoHalService
38 mHal = hal; in InfoHalService()
76 value = mHal.get(String.class, prop); in readPropertyToBundle()
DDiagnosticHalService.java269 VehiclePropValue value = mHal.get(VehicleProperty.OBD2_LIVE_FRAME); in getCurrentLiveFrame()
283 VehiclePropValue value = mHal.get(VehicleProperty.OBD2_FREEZE_FRAME_INFO); in getFreezeFrameTimestamps()
305 VehiclePropValue value = mHal.get(builder.build()); in getFreezeFrame()
322 mHal.set(builder.build()); in clearFreezeFrames()
DInputHalService.java41 private final VehicleHal mHal; field in InputHalService
54 mHal = hal; in InputHalService()
65 mHal.subscribeProperty(this, HW_KEY_INPUT); in setInputListener()