Lines Matching refs:PowerSupplyProvider
174 (chargeState_ == PowerSupplyProvider::CHARGE_STATE_DISABLE ||
175 chargeState_ == PowerSupplyProvider::CHARGE_STATE_NONE)) {
184 if ((chargeState == PowerSupplyProvider::CHARGE_STATE_NONE) ||
185 (chargeState == PowerSupplyProvider::CHARGE_STATE_RESERVED)) {
191 if (chargeState == PowerSupplyProvider::CHARGE_STATE_ENABLE) { // Charging state
196 } else if (chargeState == PowerSupplyProvider::CHARGE_STATE_DISABLE) { // Not charging state
204 } else if (chargeState == PowerSupplyProvider::CHARGE_STATE_ENABLE ||
205 chargeState == PowerSupplyProvider::CHARGE_STATE_FULL) { // Charging state
229 if ((chargeState_ == PowerSupplyProvider::CHARGE_STATE_NONE) ||
230 (chargeState_ == PowerSupplyProvider::CHARGE_STATE_RESERVED)) {
351 provider_ = std::make_unique<PowerSupplyProvider>();
353 BATTERY_HILOGE(FEATURE_CHARGING, "make_unique PowerSupplyProvider return nullptr");