Home
last modified time | relevance | path

Searched refs:MockUnplugged (Results 1 – 7 of 7) sorted by relevance

/base/powermgr/battery_manager/services/native/test/unittest/src/
Dbattery_plugged_wakeup_test.cpp67 g_service->MockUnplugged(false);
74 g_service->MockUnplugged(false);
92 g_service->MockUnplugged(false);
98 g_service->MockUnplugged(false);
115 g_service->MockUnplugged(false);
122 g_service->MockUnplugged(false);
140 g_service->MockUnplugged(false);
146 g_service->MockUnplugged(false);
163 g_service->MockUnplugged(false);
170 g_service->MockUnplugged(false);
[all …]
Dbattery_dump_test.cpp191 EXPECT_FALSE(batteryDump.MockUnplugged(fd, g_service, args));
Dbattery_service_test.cpp193 g_service->MockUnplugged(false);
/base/powermgr/battery_manager/services/native/src/
Dbattery_dump.cpp103 bool BatteryDump::MockUnplugged(int32_t fd, sptr<BatteryService>& service, const std::vector<std::u… in MockUnplugged() function in OHOS::PowerMgr::BatteryDump
109 service->MockUnplugged(true); in MockUnplugged()
120 service->MockUnplugged(false); in ResetPlugged()
Dbattery_service.cpp664 bool unplugged = batteryDump.MockUnplugged(fd, g_service, args); in Dump()
676 void BatteryService::MockUnplugged(bool isUnplugged) in MockUnplugged() function in OHOS::PowerMgr::BatteryService
/base/powermgr/battery_manager/services/native/include/
Dbattery_dump.h36 …bool MockUnplugged(int32_t fd, sptr<BatteryService> &service, const std::vector<std::u16string> &a…
Dbattery_service.h84 void MockUnplugged(bool isUnplugged);