Home
last modified time | relevance | path

Searched refs:HealthImpl (Results 1 – 11 of 11) sorted by relevance

/device/generic/car/hals/health/
DHealthImpl.cpp37 class HealthImpl : public Health { class
41 virtual ~HealthImpl() {} in ~HealthImpl()
54 ScopedAStatus HealthImpl::getChargeCounterUah(int32_t* out) { in getChargeCounterUah()
59 ScopedAStatus HealthImpl::getCurrentNowMicroamps(int32_t* out) { in getCurrentNowMicroamps()
64 ScopedAStatus HealthImpl::getCurrentAverageMicroamps(int32_t* out) { in getCurrentAverageMicroamps()
69 ScopedAStatus HealthImpl::getCapacity(int32_t* out) { in getCapacity()
74 ScopedAStatus HealthImpl::getChargeStatus(BatteryStatus* out) { in getChargeStatus()
79 ScopedAStatus HealthImpl::getEnergyCounterNwh(int64_t* out) { in getEnergyCounterNwh()
84 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo()
95 using aidl::android::hardware::health::HealthImpl; in main()
[all …]
DAndroid.bp34 "HealthImpl.cpp",
/device/google/cuttlefish/guest/hals/health/
Dhealth-aidl.cpp45 class HealthImpl : public Health { class
49 virtual ~HealthImpl() {} in ~HealthImpl()
62 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo()
81 ScopedAStatus HealthImpl::getChargeCounterUah(int32_t* out) { in getChargeCounterUah()
86 ScopedAStatus HealthImpl::getCurrentNowMicroamps(int32_t* out) { in getCurrentNowMicroamps()
91 ScopedAStatus HealthImpl::getCurrentAverageMicroamps(int32_t*) { in getCurrentAverageMicroamps()
95 ScopedAStatus HealthImpl::getCapacity(int32_t* out) { in getCapacity()
100 ScopedAStatus HealthImpl::getChargeStatus(BatteryStatus* out) { in getChargeStatus()
105 ScopedAStatus HealthImpl::getBatteryHealthData(BatteryHealthData* out) { in getBatteryHealthData()
122 using aidl::android::hardware::health::HealthImpl; in main()
[all …]
Dhealth-hidl.cpp45 class HealthImpl : public Health { class
47 HealthImpl(std::unique_ptr<healthd_config>&& config) in HealthImpl() function in android::hardware::health::V2_1::implementation::HealthImpl
57 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo()
77 Return<void> HealthImpl::getChargeCounter(getChargeCounter_cb _hidl_cb) { in getChargeCounter()
82 Return<void> HealthImpl::getCurrentNow(getCurrentNow_cb _hidl_cb) { in getCurrentNow()
87 Return<void> HealthImpl::getCapacity(getCapacity_cb _hidl_cb) { in getCapacity()
92 Return<void> HealthImpl::getChargeStatus(getChargeStatus_cb _hidl_cb) { in getChargeStatus()
105 using ::android::hardware::health::V2_1::implementation::HealthImpl; in HIDL_FETCH_IHealth()
112 return new HealthImpl(std::move(config)); in HIDL_FETCH_IHealth()
/device/google/sunfish/health/
DHealth.cpp148 class HealthImpl : public Health { class
150 HealthImpl(std::unique_ptr<healthd_config>&& config) in HealthImpl() function in android::hardware::health::V2_1::implementation::HealthImpl
161 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo()
168 Return<void> HealthImpl::getStorageInfo(getStorageInfo_cb _hidl_cb) in getStorageInfo()
181 Return<void> HealthImpl::getDiskStats(getDiskStats_cb _hidl_cb) in getDiskStats()
201 using ::android::hardware::health::V2_1::implementation::HealthImpl; in HIDL_FETCH_IHealth()
210 return new HealthImpl(std::move(config)); in HIDL_FETCH_IHealth()
/device/google/redbull/health/
DHealth.cpp173 class HealthImpl : public Health { class
175 HealthImpl(std::unique_ptr<healthd_config>&& config) in HealthImpl() function in android::hardware::health::V2_1::implementation::HealthImpl
186 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo()
193 Return<void> HealthImpl::getStorageInfo(getStorageInfo_cb _hidl_cb) in getStorageInfo()
206 Return<void> HealthImpl::getDiskStats(getDiskStats_cb _hidl_cb) in getDiskStats()
226 using ::android::hardware::health::V2_1::implementation::HealthImpl; in HIDL_FETCH_IHealth()
235 return new HealthImpl(std::move(config)); in HIDL_FETCH_IHealth()
/device/google/coral/health/
DHealth.cpp183 class HealthImpl : public Health { class
185 HealthImpl(std::unique_ptr<healthd_config>&& config) in HealthImpl() function in android::hardware::health::V2_1::implementation::HealthImpl
196 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo()
203 Return<void> HealthImpl::getStorageInfo(getStorageInfo_cb _hidl_cb) in getStorageInfo()
216 Return<void> HealthImpl::getDiskStats(getDiskStats_cb _hidl_cb) in getDiskStats()
236 using ::android::hardware::health::V2_1::implementation::HealthImpl; in HIDL_FETCH_IHealth()
245 return new HealthImpl(std::move(config)); in HIDL_FETCH_IHealth()
/device/google/gs101/health/
DHealth.cpp196 class HealthImpl : public Health { class
198 HealthImpl(std::string_view instance_name, std::unique_ptr<healthd_config>&& config) in HealthImpl() function in aidl::android::hardware::health::implementation::HealthImpl
209 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo()
213 ndk::ScopedAStatus HealthImpl::getStorageInfo(std::vector<StorageInfo>* out) in getStorageInfo()
222 ndk::ScopedAStatus HealthImpl::getDiskStats(std::vector<DiskStats>* out) in getDiskStats()
234 using ::aidl::android::hardware::health::implementation::HealthImpl; in main()
247 ndk::SharedRefBase::make<HealthImpl>("default"sv, std::move(config)); in main()
/device/google/gs201/health/
DHealth.cpp199 class HealthImpl : public Health { class
201 HealthImpl(std::string_view instance_name, std::unique_ptr<healthd_config>&& config) in HealthImpl() function in aidl::android::hardware::health::implementation::HealthImpl
212 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo()
216 ndk::ScopedAStatus HealthImpl::getStorageInfo(std::vector<StorageInfo>* out) in getStorageInfo()
225 ndk::ScopedAStatus HealthImpl::getDiskStats(std::vector<DiskStats>* out) in getDiskStats()
237 using ::aidl::android::hardware::health::implementation::HealthImpl; in main()
250 ndk::SharedRefBase::make<HealthImpl>("default"sv, std::move(config)); in main()
/device/google/zuma/health/
DHealth.cpp197 class HealthImpl : public Health { class
199 HealthImpl(std::string_view instance_name, std::unique_ptr<healthd_config>&& config) in HealthImpl() function in aidl::android::hardware::health::implementation::HealthImpl
210 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo()
214 ndk::ScopedAStatus HealthImpl::getStorageInfo(std::vector<StorageInfo>* out) in getStorageInfo()
223 ndk::ScopedAStatus HealthImpl::getDiskStats(std::vector<DiskStats>* out) in getDiskStats()
245 using ::aidl::android::hardware::health::implementation::HealthImpl; in main()
258 ndk::SharedRefBase::make<HealthImpl>("default"sv, std::move(config)); in main()
/device/google/zumapro/health/
DHealth.cpp197 class HealthImpl : public Health { class
199 HealthImpl(std::string_view instance_name, std::unique_ptr<healthd_config>&& config) in HealthImpl() function in aidl::android::hardware::health::implementation::HealthImpl
210 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo()
214 ndk::ScopedAStatus HealthImpl::getStorageInfo(std::vector<StorageInfo>* out) in getStorageInfo()
223 ndk::ScopedAStatus HealthImpl::getDiskStats(std::vector<DiskStats>* out) in getDiskStats()
245 using ::aidl::android::hardware::health::implementation::HealthImpl; in main()
258 ndk::SharedRefBase::make<HealthImpl>("default"sv, std::move(config)); in main()