Home
last modified time | relevance | path

Searched refs:SetHealthState (Results 1 – 4 of 4) sorted by relevance

/base/powermgr/battery_manager/test/unittest/src/
Dbattery_notify_test.cpp44 g_batteryInfo->SetHealthState(healthState); in SetUp()
97 g_batteryInfo->SetHealthState(healthState);
111 g_batteryInfo->SetHealthState(healthState);
125 g_batteryInfo->SetHealthState(healthState);
139 g_batteryInfo->SetHealthState(healthState);
153 g_batteryInfo->SetHealthState(healthState);
167 g_batteryInfo->SetHealthState(healthState);
/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
Dbattery_client_test.cpp71 g_info.SetHealthState(BatteryHealthState::HEALTH_STATE_GOOD); in SetUp()
613 info1.SetHealthState(BatteryHealthState::HEALTH_STATE_GOOD);
629 info2.SetHealthState(BatteryHealthState::HEALTH_STATE_GOOD);
679 info2.SetHealthState(BatteryHealthState::HEALTH_STATE_GOOD);
680 info1.SetHealthState(BatteryHealthState::HEALTH_STATE_DEAD);
/base/powermgr/battery_manager/interfaces/inner_api/native/include/
Dbattery_info.h249 void SetHealthState(const BatteryHealthState healthState) in SetHealthState() function
/base/powermgr/battery_manager/services/native/src/
Dbattery_service.cpp198 batteryInfo_.SetHealthState(BatteryHealthState(event.healthState)); in ConvertingEvent()