/aosp12/hardware/interfaces/health/utils/libhealth2impl/ |
H A D | Health.cpp | 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 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 D | Android.bp | 16 // HAL implementations can link to this library and extend the Health class. 33 "Health.cpp",
|
/aosp12/hardware/interfaces/health/2.0/default/ |
H A D | Health.cpp | 37 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 D | HealthImplDefault.cpp | 21 using android::hardware::health::V2_0::implementation::Health; 66 return Health::initInstance(&gHealthdConfig).get(); in HIDL_FETCH_IHealth()
|
H A D | healthd_common_adapter.cpp | 28 using android::hardware::health::V2_0::implementation::Health; 47 void ScheduleBatteryUpdate() override { Health::getImplementation()->update(); } in ScheduleBatteryUpdate()
|
H A D | Android.bp | 42 "Health.cpp",
|
/aosp12/hardware/interfaces/health/2.1/ |
H A D | README.md | 1 # 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 D | IHealth.hal | 61 * Get Health Information. 66 * @return value Health information, to be ignored if result is not
|
H A D | types.hal | 71 * Combined Health Information.
|
/aosp12/hardware/interfaces/health/2.0/default/include/health2/ |
H A D | Health.h | 28 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 D | HealthServiceCommon.cpp | 35 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 D | charger_test.cpp | 39 using android::hardware::health::V2_1::implementation::Health; 141 class TestHealth : public Health { 143 using Health::Health;
|
H A D | charger_utils.cpp | 39 service = new V2_1::implementation::Health(std::move(config)); in GetHealthServiceOrDefault()
|
/aosp12/hardware/interfaces/health/2.1/default/ |
H A D | impl.cpp | 26 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 D | README | 6 # 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 D | README.md | 6 # 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 D | IHealth.hal | 165 * Get Health Information. 170 * @return value Health information, to be ignored if result is not
|
H A D | types.hal | 129 * Combined Health Information.
|
/aosp12/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/ |
H A D | Health.h | 42 class Health : public IHealth { 44 Health(std::unique_ptr<healthd_config>&& config);
|
/aosp12/frameworks/base/packages/SystemUI/docs/ |
H A D | clock-plugins.md | 8 ## System Health
|
/aosp12/hardware/interfaces/health/1.0/ |
H A D | types.hal | 48 * Possible values for Battery Health.
|
/aosp12/frameworks/base/services/core/java/com/android/server/rollback/ |
H A D | README.md | 73 #####Explicit Health Check
|
/aosp12/packages/modules/Wifi/service/proto/src/ |
H A D | metrics.proto | 2330 // Health monitor RSSI poll valid time in ms
|