Lines Matching refs:Health
65 Health::Health(std::unique_ptr<healthd_config>&& config) : healthd_config_(std::move(config)) { in Health() function in android::hardware::health::V2_1::implementation::Health
73 Return<Result> Health::registerCallback(const sp<V2_0::IHealthInfoCallback>&) { in registerCallback()
77 Return<Result> Health::unregisterCallback(const sp<V2_0::IHealthInfoCallback>&) { in unregisterCallback()
81 Return<Result> Health::update() { in update()
127 Return<void> Health::getChargeCounter(getChargeCounter_cb _hidl_cb) { in getChargeCounter()
131 Return<void> Health::getCurrentNow(getCurrentNow_cb _hidl_cb) { in getCurrentNow()
135 Return<void> Health::getCurrentAverage(getCurrentAverage_cb _hidl_cb) { in getCurrentAverage()
139 Return<void> Health::getCapacity(getCapacity_cb _hidl_cb) { in getCapacity()
143 Return<void> Health::getEnergyCounter(getEnergyCounter_cb _hidl_cb) { in getEnergyCounter()
147 Return<void> Health::getChargeStatus(getChargeStatus_cb _hidl_cb) { in getChargeStatus()
152 Return<void> Health::getStorageInfo(getStorageInfo_cb _hidl_cb) { in getStorageInfo()
159 Return<void> Health::getDiskStats(getDiskStats_cb _hidl_cb) { in getDiskStats()
167 static inline void GetHealthInfoField(Health* service, Method func, T* out) { in GetHealthInfoField()
174 Return<void> Health::getHealthInfo(getHealthInfo_cb _hidl_cb) { in getHealthInfo()
179 Return<void> Health::getHealthInfo_2_1(getHealthInfo_2_1_cb _hidl_cb) { in getHealthInfo_2_1()
185 GetHealthInfoField(this, &Health::getStorageInfo, &health_info.legacy.storageInfos); in getHealthInfo_2_1()
186 GetHealthInfoField(this, &Health::getDiskStats, &health_info.legacy.diskStats); in getHealthInfo_2_1()
195 Return<void> Health::debug(const hidl_handle& handle, const hidl_vec<hidl_string>&) { in debug()
216 Return<void> Health::getHealthConfig(getHealthConfig_cb _hidl_cb) { in getHealthConfig()
225 Return<void> Health::shouldKeepScreenOn(shouldKeepScreenOn_cb _hidl_cb) { in shouldKeepScreenOn()
249 void Health::UpdateHealthInfo(HealthInfo* /* health_info */) { in UpdateHealthInfo()