Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.cpp78 mIsDirectReportSupported = (mHalWrapper->unregisterDirectChannel(-1) != INVALID_OPERATION); in SensorDevice()
82 if (mHalWrapper == nullptr) { in initializeSensorList()
86 auto list = mHalWrapper->getSensorsList(); in initializeSensorList()
133 if (!mHalWrapper->supportsMessageQueues()) { in initializeSensorList()
134 mHalWrapper->activate(list[i].handle, 0 /* enabled */); in initializeSensorList()
144 mHalWrapper = std::move(aidl_wrapper); in connectHalService()
150 mHalWrapper = std::move(hidl_wrapper); in connectHalService()
159 mHalWrapper->prepareForReconnect(); in prepareForReconnect()
174 if (mHalWrapper->connect(this)) { in reconnect()
183 mHalWrapper->mReconnecting = false; in reconnect()
[all …]
DSensorDevice.h109 bool isReconnecting() const { return mHalWrapper->mReconnecting; } in isReconnecting()
124 std::unique_ptr<ISensorHalWrapper> mHalWrapper; variable
/frameworks/base/services/core/java/com/android/server/power/
DThermalManagerService.java127 private ThermalHalWrapper mHalWrapper; field in ThermalManagerService
146 mHalWrapper = halWrapper; in ThermalManagerService()
171 boolean halConnected = (mHalWrapper != null); in onActivityManagerReady()
173 mHalWrapper = new ThermalHalAidlWrapper(this::onTemperatureChangedCallback); in onActivityManagerReady()
174 halConnected = mHalWrapper.connectToHal(); in onActivityManagerReady()
177 mHalWrapper = new ThermalHal20Wrapper(this::onTemperatureChangedCallback); in onActivityManagerReady()
178 halConnected = mHalWrapper.connectToHal(); in onActivityManagerReady()
181 mHalWrapper = new ThermalHal11Wrapper(this::onTemperatureChangedCallback); in onActivityManagerReady()
182 halConnected = mHalWrapper.connectToHal(); in onActivityManagerReady()
185 mHalWrapper = new ThermalHal10Wrapper(this::onTemperatureChangedCallback); in onActivityManagerReady()
[all …]