Home
last modified time | relevance | path

Searched refs:CHARGE_STATE_BUTT (Results 1 – 15 of 15) sorted by relevance

/base/powermgr/battery_lite/interfaces/kits/
Dbattery_info.h43 CHARGE_STATE_BUTT enumerator
/base/powermgr/battery_manager/services/zidl/src/
Dbattery_srv_proxy.cpp56 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()
/base/powermgr/battery_lite/test/Interface_test/test/unittest/src/
Dbatterymgr_interfaces_test.cpp55 EXPECT_EQ ((status >= CHARGE_STATE_NONE && status <= CHARGE_STATE_BUTT), 1)
/base/powermgr/battery_manager/interfaces/inner_api/native/include/
Dbattery_info.h57 CHARGE_STATE_BUTT enumerator
452 BatteryChargeState chargeState_ = BatteryChargeState::CHARGE_STATE_BUTT;
/base/powermgr/battery_lite/services/src/
Dbattery_manage_feature.c59 BatteryChargeState chargingstate = CHARGE_STATE_BUTT; in ChargingStatusImpl()
/base/powermgr/battery_manager/services/native/src/
Dbattery_light.cpp91 (chargeState == BatteryChargeState::CHARGE_STATE_BUTT)) { in UpdateColor()
Dbattery_service.cpp355 (chargeState == BatteryChargeState::CHARGE_STATE_BUTT))) { in HandleCapacity()
/base/powermgr/battery_manager/test/unittest/src/
Dbattery_srv_proxy_mock_test.cpp76 …chargeState <= BatteryChargeState::CHARGE_STATE_BUTT); // the enum value range of BatteryChargeSta…
Dbattery_notify_test.cpp292 const BatteryChargeState chargeState = BatteryChargeState::CHARGE_STATE_BUTT;
Dbattery_service_test.cpp310 … >= BatteryChargeState::CHARGE_STATE_NONE && chargeState <= BatteryChargeState::CHARGE_STATE_BUTT);
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
Dcharger_state_collection.cpp122 case static_cast<int>(BatteryChargeState::CHARGE_STATE_BUTT): { in HandleChangerStatusCompleted()
/base/powermgr/battery_manager/frameworks/native/src/
Dbattery_srv_client.cpp97 BatteryChargeState chargingState = BatteryChargeState::CHARGE_STATE_BUTT; in GetChargingStatus()
/base/powermgr/battery_manager/test/benchmarktest/
Dbattery_benchmark_test.cpp67 chargeState < BatteryChargeState::CHARGE_STATE_BUTT); in BENCHMARK_F()
/base/powermgr/battery_manager/frameworks/napi/
Dsystem_battery.cpp204 …(capacity_ != INVALID_BATT_INT_VALUE) && (chargingState_ != BatteryChargeState::CHARGE_STATE_BUTT); in GetBatteryInfo()
/base/powermgr/battery_manager/test/systemtest/src/
Dbattery_sttest.cpp242 EXPECT_TRUE(chargeState == OHOS::PowerMgr::BatteryChargeState::CHARGE_STATE_BUTT);