Home
last modified time | relevance | path

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

/ohos5.0/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()
134 bool BatteryNotify::PublishChargeTypeChangedEvent(const BatteryInfo& info) in PublishChargeTypeChangedEvent()
160 bool BatteryNotify::IsCommonEventServiceAbilityExist() const in IsCommonEventServiceAbilityExist()
182 bool BatteryNotify::PublishChangedEvent(const BatteryInfo& info) in PublishChangedEvent()
227 bool BatteryNotify::PublishChangedEventInner(const BatteryInfo& info) const in PublishChangedEventInner()
251 bool BatteryNotify::PublishLowEvent(const BatteryInfo& info) const in PublishLowEvent()
280 bool BatteryNotify::PublishOkayEvent(const BatteryInfo& info) const in PublishOkayEvent()
346 void BatteryNotify::StartVibrator() const in StartVibrator()
[all …]
H A Dbattery_service.cpp112 batteryNotify_ = std::make_unique<BatteryNotify>(); in Init()
/ohos5.0/base/powermgr/battery_manager/services/native/include/
H A Dbattery_notify.h27 class BatteryNotify {
29 BatteryNotify();
30 ~BatteryNotify() = default;
H A Dbattery_service.h119 std::unique_ptr<BatteryNotify> batteryNotify_ { nullptr };
/ohos5.0/base/powermgr/battery_manager/test/unittest/src/
H A Dbattery_notify_test.cpp27 std::shared_ptr<BatteryNotify> g_batteryNotify;
31 g_batteryNotify = std::make_shared<BatteryNotify>(); in SetUpTestCase()