Home
last modified time | relevance | path

Searched refs:batteryDump (Results 1 – 2 of 2) sorted by relevance

/base/powermgr/battery_manager/services/native/test/unittest/src/
Dbattery_dump_test.cpp144 BatteryDump& batteryDump = BatteryDump::GetInstance(); variable
147 EXPECT_FALSE(batteryDump.GetBatteryInfo(fd, g_service, args));
158 BatteryDump& batteryDump = BatteryDump::GetInstance(); variable
163 EXPECT_TRUE(batteryDump.DumpBatteryHelp(fd, args));
174 BatteryDump& batteryDump = BatteryDump::GetInstance(); variable
177 EXPECT_FALSE(batteryDump.DumpBatteryHelp(fd, args));
188 BatteryDump& batteryDump = BatteryDump::GetInstance(); variable
191 EXPECT_FALSE(batteryDump.MockUnplugged(fd, g_service, args));
202 BatteryDump& batteryDump = BatteryDump::GetInstance(); variable
205 EXPECT_FALSE(batteryDump.ResetPlugged(fd, g_service, args));
/base/powermgr/battery_manager/services/native/src/
Dbattery_service.cpp649 BatteryDump& batteryDump = BatteryDump::GetInstance(); in Dump() local
653 batteryDump.DumpHelp(fd); in Dump()
662 bool helpRet = batteryDump.DumpBatteryHelp(fd, args); in Dump()
663 bool getBatteryInfo = batteryDump.GetBatteryInfo(fd, g_service, args); in Dump()
664 bool unplugged = batteryDump.MockUnplugged(fd, g_service, args); in Dump()
665 bool reset = batteryDump.ResetPlugged(fd, g_service, args); in Dump()
669 batteryDump.DumpHelp(fd); in Dump()