Lines Matching refs:Health

37 sp<Health> Health::instance_;
39 Health::Health(struct healthd_config* c) { in Health() function in android::hardware::health::V2_0::implementation::Health
47 Return<Result> Health::registerCallback(const sp<IHealthInfoCallback>& callback) { in registerCallback()
68 bool Health::unregisterCallbackInternal(const sp<IBase>& callback) { in unregisterCallbackInternal()
85 Return<Result> Health::unregisterCallback(const sp<IHealthInfoCallback>& callback) { in unregisterCallback()
116 Return<void> Health::getChargeCounter(getChargeCounter_cb _hidl_cb) { in getChargeCounter()
121 Return<void> Health::getCurrentNow(getCurrentNow_cb _hidl_cb) { in getCurrentNow()
126 Return<void> Health::getCurrentAverage(getCurrentAverage_cb _hidl_cb) { in getCurrentAverage()
131 Return<void> Health::getCapacity(getCapacity_cb _hidl_cb) { in getCapacity()
136 Return<void> Health::getEnergyCounter(getEnergyCounter_cb _hidl_cb) { in getEnergyCounter()
141 Return<void> Health::getChargeStatus(getChargeStatus_cb _hidl_cb) { in getChargeStatus()
146 Return<Result> Health::update() { in update()
172 Return<Result> Health::updateAndNotify(const sp<IHealthInfoCallback>& callback) { in updateAndNotify()
184 void Health::notifyListeners(HealthInfo* healthInfo) { in notifyListeners()
214 Return<void> Health::debug(const hidl_handle& handle, const hidl_vec<hidl_string>&) { in debug()
234 Return<void> Health::getStorageInfo(getStorageInfo_cb _hidl_cb) { in getStorageInfo()
246 Return<void> Health::getDiskStats(getDiskStats_cb _hidl_cb) { in getDiskStats()
258 Return<void> Health::getHealthInfo(getHealthInfo_cb _hidl_cb) { in getHealthInfo()
286 void Health::serviceDied(uint64_t /* cookie */, const wp<IBase>& who) { in serviceDied()
290 sp<IHealth> Health::initInstance(struct healthd_config* c) { in initInstance()
292 instance_ = new Health(c); in initInstance()
297 sp<Health> Health::getImplementation() { in getImplementation()