Searched refs:CHARGE_STATE_BUTT (Results 1 – 15 of 15) sorted by relevance
43 CHARGE_STATE_BUTT enumerator
56 RETURN_IF_WITH_RET(remote == nullptr, BatteryChargeState::CHARGE_STATE_BUTT); in GetChargingStatus()63 return BatteryChargeState::CHARGE_STATE_BUTT; in GetChargingStatus()71 return BatteryChargeState::CHARGE_STATE_BUTT; in GetChargingStatus()73 uint32_t chargingState = static_cast<uint32_t>(BatteryChargeState::CHARGE_STATE_BUTT); in GetChargingStatus()74 READ_PARCEL_WITH_RET(reply, Uint32, chargingState, BatteryChargeState::CHARGE_STATE_BUTT); in GetChargingStatus()
55 EXPECT_EQ ((status >= CHARGE_STATE_NONE && status <= CHARGE_STATE_BUTT), 1)
57 CHARGE_STATE_BUTT enumerator452 BatteryChargeState chargeState_ = BatteryChargeState::CHARGE_STATE_BUTT;
59 BatteryChargeState chargingstate = CHARGE_STATE_BUTT; in ChargingStatusImpl()
91 (chargeState == BatteryChargeState::CHARGE_STATE_BUTT)) { in UpdateColor()
355 (chargeState == BatteryChargeState::CHARGE_STATE_BUTT))) { in HandleCapacity()
76 …chargeState <= BatteryChargeState::CHARGE_STATE_BUTT); // the enum value range of BatteryChargeSta…
292 const BatteryChargeState chargeState = BatteryChargeState::CHARGE_STATE_BUTT;
310 … >= BatteryChargeState::CHARGE_STATE_NONE && chargeState <= BatteryChargeState::CHARGE_STATE_BUTT);
122 case static_cast<int>(BatteryChargeState::CHARGE_STATE_BUTT): { in HandleChangerStatusCompleted()
97 BatteryChargeState chargingState = BatteryChargeState::CHARGE_STATE_BUTT; in GetChargingStatus()
67 chargeState < BatteryChargeState::CHARGE_STATE_BUTT); in BENCHMARK_F()
204 …(capacity_ != INVALID_BATT_INT_VALUE) && (chargingState_ != BatteryChargeState::CHARGE_STATE_BUTT); in GetBatteryInfo()
242 EXPECT_TRUE(chargeState == OHOS::PowerMgr::BatteryChargeState::CHARGE_STATE_BUTT);