Home
last modified time | relevance | path

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

/ohos5.0/base/powermgr/battery_manager/test/systemtest/src/
H A Dbattery_event_system_test.cpp77 class CommonEventBatteryLowTest : public CommonEventSubscriber { class
79 CommonEventBatteryLowTest() = default;
80 explicit CommonEventBatteryLowTest(const CommonEventSubscribeInfo& subscriberInfo);
81 virtual ~CommonEventBatteryLowTest() {}; in ~CommonEventBatteryLowTest()
83 static shared_ptr<CommonEventBatteryLowTest> RegisterEvent();
86 CommonEventBatteryLowTest::CommonEventBatteryLowTest(const CommonEventSubscribeInfo& subscriberInfo) in CommonEventBatteryLowTest() function in CommonEventBatteryLowTest
195 void CommonEventBatteryLowTest::OnReceiveEvent(const CommonEventData& data) in OnReceiveEvent()
275 shared_ptr<CommonEventBatteryLowTest> CommonEventBatteryLowTest::RegisterEvent() in RegisterEvent()
281 auto subscriberPtr = std::make_shared<CommonEventBatteryLowTest>(subscribeInfo); in RegisterEvent()
424 shared_ptr<CommonEventBatteryLowTest> subscriber = CommonEventBatteryLowTest::RegisterEvent();