Searched refs:GetChargeState (Results 1 – 5 of 5) sorted by relevance
138 ….SetParam(BatteryInfo::COMMON_EVENT_KEY_CHARGE_STATE, static_cast<int32_t>(info.GetChargeState())); in PublishChangedEvent()298 if (info.GetChargeState() != BatteryChargeState::CHARGE_STATE_ENABLE) { in PublishChargingEvent()313 data.SetCode(static_cast<int32_t>(info.GetChargeState())); in PublishChargingEvent()315 static_cast<uint32_t>(info.GetChargeState())); in PublishChargingEvent()329 if (info.GetChargeState() == BatteryChargeState::CHARGE_STATE_ENABLE) { in PublishDischargingEvent()344 data.SetCode(static_cast<int32_t>(info.GetChargeState())); in PublishDischargingEvent()346 static_cast<uint32_t>(info.GetChargeState())); in PublishDischargingEvent()
217 …ryInfo_.GetPluggedMaxCurrent(), batteryInfo_.GetPluggedMaxVoltage(), batteryInfo_.GetChargeState(), in HandleBatteryInfo()222 batteryLight_.UpdateColor(batteryInfo_.GetChargeState(), batteryInfo_.GetCapacity()); in HandleBatteryInfo()224 CalculateRemainingChargeTime(batteryInfo_.GetCapacity(), batteryInfo_.GetChargeState()); in HandleBatteryInfo()228 HandleCapacity(batteryInfo_.GetCapacity(), batteryInfo_.GetChargeState()); in HandleBatteryInfo()395 return batteryInfo_.GetChargeState(); in GetChargingStatus()403 iBatteryInterface_->GetChargeState(chargeState); in GetChargingStatus()
41 static std::string GetChargeState();
349 BatteryChargeState GetChargeState() const in GetChargeState() function409 (chargeState_ == info.GetChargeState()) &&
206 std::string ThermalActionReportTest::GetChargeState() in GetChargeState() function in ThermalActionReportTest229 state = GetChargeState(); in GetStateMap()