Searched refs:CommonEventBatteryLowTest (Results 1 – 1 of 1) sorted by relevance
77 class CommonEventBatteryLowTest : public CommonEventSubscriber { class79 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 CommonEventBatteryLowTest195 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();