Home
last modified time | relevance | path

Searched refs:SetPluggedType (Results 1 – 6 of 6) sorted by relevance

/base/powermgr/battery_manager/test/unittest/src/
Dbattery_notify_test.cpp46 g_batteryInfo->SetPluggedType(pluggedType); in SetUp()
181 g_batteryInfo->SetPluggedType(pluggedType);
195 g_batteryInfo->SetPluggedType(pluggedType);
209 g_batteryInfo->SetPluggedType(pluggedType);
223 g_batteryInfo->SetPluggedType(pluggedType);
237 g_batteryInfo->SetPluggedType(pluggedType);
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_subscriber_test.cpp151 SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_NONE);
157 SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_USB);
163 SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_BUTT);
232 SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_NONE);
242 SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_AC);
252 SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_BUTT);
297 SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_AC);
/base/powermgr/battery_statistics/test/unittest/include/servicetest/
Dstats_service_subscriber_test.h37 void SetPluggedType(const BatteryPluggedType pluggedType) in SetPluggedType() function
/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
Dbattery_client_test.cpp72 g_info.SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_USB); in SetUp()
614 info1.SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_USB);
630 info2.SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_USB);
684 info2.SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_USB);
685 info1.SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_NONE);
/base/powermgr/battery_manager/interfaces/inner_api/native/include/
Dbattery_info.h254 void SetPluggedType(const BatteryPluggedType pluggedType) in SetPluggedType() function
/base/powermgr/battery_manager/services/native/src/
Dbattery_service.cpp191 batteryInfo_.SetPluggedType(BatteryPluggedType(event.pluggedType)); in ConvertingEvent()
674 batteryInfo_.SetPluggedType(BatteryPluggedType::PLUGGED_TYPE_NONE); in MockUnplugged()