/hardware/interfaces/health/utils/libhealth2impl/ |
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 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() [all …]
|
D | Android.bp | 16 // HAL implementations can link to this library and extend the Health class. 33 "Health.cpp",
|
/hardware/interfaces/health/2.0/default/ |
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 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() [all …]
|
D | HealthImplDefault.cpp | 21 using android::hardware::health::V2_0::implementation::Health; 66 return Health::initInstance(&gHealthdConfig).get(); in HIDL_FETCH_IHealth()
|
D | healthd_common_adapter.cpp | 28 using android::hardware::health::V2_0::implementation::Health; 47 void ScheduleBatteryUpdate() override { Health::getImplementation()->update(); } in ScheduleBatteryUpdate()
|
D | Android.bp | 42 "Health.cpp",
|
/hardware/interfaces/health/2.0/default/include/health2/ |
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_;
|
/hardware/interfaces/health/2.1/default/ |
D | impl.cpp | 26 using ::android::hardware::health::V2_1::implementation::Health; 52 return new Health(std::move(config)); in HIDL_FETCH_IHealth()
|
/hardware/interfaces/health/2.0/utils/libhealthservice/ |
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()
|
/hardware/interfaces/health/2.1/ |
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). 54 # Upgrading with a customized libhealthd or from Health HAL 1.0 {#update-from-1-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 { [all …]
|
D | IHealth.hal | 61 * Get Health Information. 66 * @return value Health information, to be ignored if result is not
|
D | types.hal | 71 * Combined Health Information.
|
/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/ |
D | Health.h | 42 class Health : public IHealth { 44 Health(std::unique_ptr<healthd_config>&& config);
|
/hardware/interfaces/health/2.0/ |
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();
|
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();
|
D | IHealth.hal | 165 * Get Health Information. 170 * @return value Health information, to be ignored if result is not
|
D | types.hal | 129 * Combined Health Information.
|
/hardware/interfaces/health/1.0/ |
D | types.hal | 48 * Possible values for Battery Health.
|