Searched refs:health_info (Results 1 – 10 of 10) sorted by relevance
59 void UpdateHealthInfo(HealthInfo* health_info) override;62 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo() argument63 health_info->chargerAcOnline = true; in UpdateHealthInfo()64 health_info->chargerUsbOnline = true; in UpdateHealthInfo()65 health_info->chargerWirelessOnline = false; in UpdateHealthInfo()66 health_info->maxChargingCurrentMicroamps = 500000; in UpdateHealthInfo()67 health_info->maxChargingVoltageMicrovolts = 5000000; in UpdateHealthInfo()68 health_info->batteryStatus = BatteryStatus::CHARGING; in UpdateHealthInfo()69 health_info->batteryHealth = BatteryHealth::GOOD; in UpdateHealthInfo()70 health_info->batteryPresent = true; in UpdateHealthInfo()[all …]
54 void UpdateHealthInfo(HealthInfo* health_info) override;57 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo() argument58 auto* battery_props = &health_info->legacy.legacy; in UpdateHealthInfo()
143 int private_healthd_board_battery_update(HealthInfo *health_info) { in private_healthd_board_battery_update() argument145 deviceHealth.update(health_info); in private_healthd_board_battery_update()146 battMetricsLogger.logBatteryProperties(*health_info); in private_healthd_board_battery_update()147 shutdownMetrics.logShutdownVoltage(*health_info); in private_healthd_board_battery_update()149 ChargerDetect::onlineUpdate(health_info); in private_healthd_board_battery_update()150 battDefender.update(health_info); in private_healthd_board_battery_update()152 …batt_level = (health_info->batteryStatus == ::aidl::android::hardware::health::BatteryStatus::FULL… in private_healthd_board_battery_update()208 void UpdateHealthInfo(HealthInfo* health_info) override;212 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo() argument213 private_healthd_board_battery_update(health_info); in UpdateHealthInfo()
142 int private_healthd_board_battery_update(HealthInfo *health_info) { in private_healthd_board_battery_update() argument143 deviceHealth.update(health_info); in private_healthd_board_battery_update()144 battMetricsLogger.logBatteryProperties(*health_info); in private_healthd_board_battery_update()145 shutdownMetrics.logShutdownVoltage(*health_info); in private_healthd_board_battery_update()147 ChargerDetect::onlineUpdate(health_info); in private_healthd_board_battery_update()148 battDefender.update(health_info); in private_healthd_board_battery_update()151 !android::base::WriteStringToFile(std::to_string(health_info->batteryLevel), kWlcCapacity)) in private_healthd_board_battery_update()205 void UpdateHealthInfo(HealthInfo* health_info) override;209 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo() argument210 private_healthd_board_battery_update(health_info); in UpdateHealthInfo()
143 int private_healthd_board_battery_update(HealthInfo *health_info) { in private_healthd_board_battery_update() argument144 deviceHealth.update(health_info); in private_healthd_board_battery_update()145 battMetricsLogger.logBatteryProperties(*health_info); in private_healthd_board_battery_update()146 shutdownMetrics.logShutdownVoltage(*health_info); in private_healthd_board_battery_update()148 ChargerDetect::onlineUpdate(health_info); in private_healthd_board_battery_update()149 battDefender.update(health_info); in private_healthd_board_battery_update()152 !android::base::WriteStringToFile(std::to_string(health_info->batteryLevel), kWlcCapacity)) in private_healthd_board_battery_update()206 void UpdateHealthInfo(HealthInfo* health_info) override;210 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo() argument211 private_healthd_board_battery_update(health_info); in UpdateHealthInfo()
51 void UpdateHealthInfo(HealthInfo* health_info) override;84 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo() argument85 health_info->chargerAcOnline = true; in UpdateHealthInfo()86 health_info->batteryStatus = BatteryStatus::CHARGING; in UpdateHealthInfo()87 health_info->batteryLevel = 100; in UpdateHealthInfo()88 health_info->batteryChargeTimeToFullNowSeconds = 0; in UpdateHealthInfo()
157 void UpdateHealthInfo(HealthInfo* health_info) override;161 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo() argument163 convertFromHealthInfo(health_info->legacy.legacy, &props); in UpdateHealthInfo()165 convertToHealthInfo(&props, health_info->legacy.legacy); in UpdateHealthInfo()
182 void UpdateHealthInfo(HealthInfo* health_info) override;186 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo() argument188 convertFromHealthInfo(health_info->legacy.legacy, &props); in UpdateHealthInfo()190 convertToHealthInfo(&props, health_info->legacy.legacy); in UpdateHealthInfo()
192 void UpdateHealthInfo(HealthInfo* health_info) override;196 void HealthImpl::UpdateHealthInfo(HealthInfo* health_info) { in UpdateHealthInfo() argument198 convertFromHealthInfo(health_info->legacy.legacy, &props); in UpdateHealthInfo()200 convertToHealthInfo(&props, health_info->legacy.legacy); in UpdateHealthInfo()