Home
last modified time | relevance | path

Searched refs:Health (Results 1 – 23 of 23) sorted by relevance

/aosp12/hardware/interfaces/health/utils/libhealth2impl/
H A DHealth.cpp65 Health::Health(std::unique_ptr<healthd_config>&& config) : healthd_config_(std::move(config)) { in Health() function in android::hardware::health::V2_1::implementation::Health
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()
139 Return<void> Health::getCapacity(getCapacity_cb _hidl_cb) { in getCapacity()
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()
174 Return<void> Health::getHealthInfo(getHealthInfo_cb _hidl_cb) { in getHealthInfo()
216 Return<void> Health::getHealthConfig(getHealthConfig_cb _hidl_cb) { in getHealthConfig()
[all …]
H A DAndroid.bp16 // HAL implementations can link to this library and extend the Health class.
33 "Health.cpp",
/aosp12/hardware/interfaces/health/2.0/default/
H A DHealth.cpp37 sp<Health> Health::instance_;
39 Health::Health(struct healthd_config* c) { in Health() function in android::hardware::health::V2_0::implementation::Health
121 Return<void> Health::getCurrentNow(getCurrentNow_cb _hidl_cb) { in getCurrentNow()
131 Return<void> Health::getCapacity(getCapacity_cb _hidl_cb) { in getCapacity()
146 Return<Result> Health::update() { in update()
184 void Health::notifyListeners(HealthInfo* healthInfo) { in notifyListeners()
246 Return<void> Health::getDiskStats(getDiskStats_cb _hidl_cb) { in getDiskStats()
258 Return<void> Health::getHealthInfo(getHealthInfo_cb _hidl_cb) { in getHealthInfo()
290 sp<IHealth> Health::initInstance(struct healthd_config* c) { in initInstance()
292 instance_ = new Health(c); in initInstance()
[all …]
H A DHealthImplDefault.cpp21 using android::hardware::health::V2_0::implementation::Health;
66 return Health::initInstance(&gHealthdConfig).get(); in HIDL_FETCH_IHealth()
H A Dhealthd_common_adapter.cpp28 using android::hardware::health::V2_0::implementation::Health;
47 void ScheduleBatteryUpdate() override { Health::getImplementation()->update(); } in ScheduleBatteryUpdate()
H A DAndroid.bp42 "Health.cpp",
/aosp12/hardware/interfaces/health/2.1/
H A DREADME.md1 # Implementing Health 2.1 HAL
43 [Upgrading from Health HAL 1.0](#update-from-1-0).
46 [Upgrading from Health HAL 2.0](#update-from-2-0).
57 `healthd_board_battery_update()`. Similarly, Health HAL 1.0 contains `init()`
83 Return<void> Health::getEnergyCounter(getEnergyCounter_cb _hidl_cb) {
90 # Upgrading from Health HAL 2.0 {#update-from-2-0}
195 #include <health2impl/Health.h>
213 // android::hardware::health::V2_1::implementation::Health implements most
215 class HealthImpl : public Health {
218 : Health(std::move(config)) {}
[all …]
H A DIHealth.hal61 * Get Health Information.
66 * @return value Health information, to be ignored if result is not
H A Dtypes.hal71 * Combined Health Information.
/aosp12/hardware/interfaces/health/2.0/default/include/health2/
H A DHealth.h28 struct Health : public IHealth, hidl_death_recipient { struct
34 static sp<Health> getImplementation();
36 Health(struct healthd_config* c);
60 static sp<Health> instance_;
/aosp12/hardware/interfaces/health/2.0/utils/libhealthservice/
H A DHealthServiceCommon.cpp35 using android::hardware::health::V2_0::implementation::Health;
56 android::sp<IHealth> service = Health::initInstance(config); in healthd_mode_service_2_0_init()
75 Health::getImplementation()->notifyListeners(&info); in healthd_mode_service_2_0_battery_update()
/aosp12/system/core/healthd/
H A Dcharger_test.cpp39 using android::hardware::health::V2_1::implementation::Health;
141 class TestHealth : public Health {
143 using Health::Health;
H A Dcharger_utils.cpp39 service = new V2_1::implementation::Health(std::move(config)); in GetHealthServiceOrDefault()
/aosp12/hardware/interfaces/health/2.1/default/
H A Dimpl.cpp26 using ::android::hardware::health::V2_1::implementation::Health;
52 return new Health(std::move(config)); in HIDL_FETCH_IHealth()
/aosp12/hardware/interfaces/health/2.0/
H A DREADME6 # Upgrading from Health 1.0 HAL
167 #include <health2/Health.h>
170 using android::hardware::health::V2_0::implementation::Health;
174 return Health::initInstance(&gHealthdConfig).get();
H A DREADME.md6 # Upgrading from Health 1.0 HAL
167 #include <health2/Health.h>
170 using android::hardware::health::V2_0::implementation::Health;
174 return Health::initInstance(&gHealthdConfig).get();
H A DIHealth.hal165 * Get Health Information.
170 * @return value Health information, to be ignored if result is not
H A Dtypes.hal129 * Combined Health Information.
/aosp12/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/
H A DHealth.h42 class Health : public IHealth {
44 Health(std::unique_ptr<healthd_config>&& config);
/aosp12/frameworks/base/packages/SystemUI/docs/
H A Dclock-plugins.md8 ## System Health
/aosp12/hardware/interfaces/health/1.0/
H A Dtypes.hal48 * Possible values for Battery Health.
/aosp12/frameworks/base/services/core/java/com/android/server/rollback/
H A DREADME.md73 #####Explicit Health Check
/aosp12/packages/modules/Wifi/service/proto/src/
H A Dmetrics.proto2330 // Health monitor RSSI poll valid time in ms