Home
last modified time | relevance | path

Searched refs:BatteryNotify (Results 1 - 6 of 6) sorted by relevance

/base/powermgr/battery_manager/services/native/include/
H A Dbattery_notify.h27 class BatteryNotify { class
29 BatteryNotify();
30 ~BatteryNotify() = default;
H A Dbattery_service.h115 std::unique_ptr<BatteryNotify> batteryNotify_ { nullptr };
/base/powermgr/battery_manager/services/native/src/
H A Dbattery_notify.cpp62 BatteryNotify::BatteryNotify() in BatteryNotify() function in OHOS::PowerMgr::BatteryNotify
69 int32_t BatteryNotify::PublishEvents(BatteryInfo& info) in PublishEvents()
104 void BatteryNotify::HandleUevent(BatteryInfo& info) in HandleUevent()
131 bool BatteryNotify::PublishChargeTypeChangedEvent(const BatteryInfo& info) in PublishChargeTypeChangedEvent()
157 bool BatteryNotify::IsCommonEventServiceAbilityExist() const in IsCommonEventServiceAbilityExist()
179 bool BatteryNotify::PublishChangedEvent(const BatteryInfo& info) in PublishChangedEvent()
226 bool BatteryNotify::PublishChangedEventInner(const BatteryInfo& info) const in PublishChangedEventInner()
250 bool BatteryNotify::PublishLowEvent(const BatteryInfo& info) const in PublishLowEvent()
279 bool BatteryNotify
[all...]
H A Dbattery_service.cpp109 batteryNotify_ = std::make_unique<BatteryNotify>(); in Init()
/base/powermgr/battery_manager/test/unittest/src/
H A Dbattery_event_test.cpp39 shared_ptr<BatteryNotify> g_batteryNotify = nullptr;
45 g_batteryNotify = make_shared<BatteryNotify>(); in SetUpTestCase()
/base/powermgr/battery_manager/test/unittest/src/scenario_test/
H A Dbattery_notify_test.cpp27 std::shared_ptr<BatteryNotify> g_batteryNotify;
31 g_batteryNotify = std::make_shared<BatteryNotify>(); in SetUpTestCase()

Completed in 5 milliseconds