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/
H A Dbattery_info.h43 CHARGE_STATE_BUTT enumerator
/base/powermgr/battery_manager/services/zidl/src/
H A Dbattery_srv_proxy.cpp57 RETURN_IF_WITH_RET(remote == nullptr, BatteryChargeState::CHARGE_STATE_BUTT); in GetChargingStatus()
64 return BatteryChargeState::CHARGE_STATE_BUTT; in GetChargingStatus()
72 return BatteryChargeState::CHARGE_STATE_BUTT; in GetChargingStatus()
74 uint32_t chargingState = static_cast<uint32_t>(BatteryChargeState::CHARGE_STATE_BUTT); in GetChargingStatus()
75 RETURN_IF_READ_PARCEL_FAILED_WITH_RET(reply, Uint32, chargingState, BatteryChargeState::CHARGE_STATE_BUTT); in GetChargingStatus()
/base/powermgr/battery_lite/test/Interface_test/test/unittest/src/
H A Dbatterymgr_interfaces_test.cpp55 EXPECT_EQ ((status >= CHARGE_STATE_NONE && status <= CHARGE_STATE_BUTT), 1) in HWTEST_F()
/base/powermgr/battery_manager/interfaces/inner_api/native/include/
H A Dbattery_info.h57 CHARGE_STATE_BUTT
466 BatteryChargeState chargeState_ = BatteryChargeState::CHARGE_STATE_BUTT;
/base/powermgr/battery_manager/services/native/src/
H A Dbattery_light.cpp99 (chargeState == BatteryChargeState::CHARGE_STATE_BUTT)) { in UpdateColor()
/base/powermgr/battery_lite/services/src/
H A Dbattery_manage_feature.c59 BatteryChargeState chargingstate = CHARGE_STATE_BUTT; in ChargingStatusImpl()
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_observer_test.cpp293 static_cast<int32_t>(BatteryChargeState::CHARGE_STATE_BUTT)); in HWTEST_F()
297 static_cast<int32_t>(BatteryChargeState::CHARGE_STATE_BUTT)); in HWTEST_F()
/base/powermgr/battery_manager/frameworks/native/src/
H A Dbattery_srv_client.cpp99 RETURN_IF_WITH_RET(proxy == nullptr, BatteryChargeState::CHARGE_STATE_BUTT); in GetChargingStatus()
/base/powermgr/battery_manager/test/benchmarktest/
H A Dbattery_benchmark_test.cpp67 chargeState < BatteryChargeState::CHARGE_STATE_BUTT); in BENCHMARK_F()
/base/powermgr/battery_manager/test/unittest/src/
H A Dbattery_srv_proxy_mock_test.cpp83 chargeState <= BatteryChargeState::CHARGE_STATE_BUTT); // the enum value range of BatteryChargeState in HWTEST_F()
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
H A Dcharger_state_collection.cpp125 case static_cast<int>(BatteryChargeState::CHARGE_STATE_BUTT): { in HandleChangerStatusCompleted()
/base/powermgr/battery_manager/test/unittest/src/scenario_test/
H A Dbattery_notify_test.cpp323 const BatteryChargeState chargeState = BatteryChargeState::CHARGE_STATE_BUTT; in HWTEST_F()
/base/powermgr/battery_manager/frameworks/napi/src/
H A Dsystem_battery.cpp204 return (capacity_ != INVALID_BATT_INT_VALUE) && (chargingState_ != BatteryChargeState::CHARGE_STATE_BUTT); in GetBatteryInfo()
/base/powermgr/battery_manager/test/unittest/src/interface_test/
H A Dbattery_service_test.cpp311 chargeState >= BatteryChargeState::CHARGE_STATE_NONE && chargeState <= BatteryChargeState::CHARGE_STATE_BUTT); in HWTEST_F()
/base/powermgr/battery_manager/test/systemtest/src/
H A Dbattery_sttest.cpp248 EXPECT_TRUE(chargeState == OHOS::PowerMgr::BatteryChargeState::CHARGE_STATE_BUTT); in HWTEST_F()

Completed in 8 milliseconds