Searched refs:BatteryNotify (Results 1 – 5 of 5) sorted by relevance
62 BatteryNotify::BatteryNotify() in BatteryNotify() function in OHOS::PowerMgr::BatteryNotify69 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 …]
112 batteryNotify_ = std::make_unique<BatteryNotify>(); in Init()
27 class BatteryNotify {29 BatteryNotify();30 ~BatteryNotify() = default;
119 std::unique_ptr<BatteryNotify> batteryNotify_ { nullptr };
27 std::shared_ptr<BatteryNotify> g_batteryNotify;31 g_batteryNotify = std::make_shared<BatteryNotify>(); in SetUpTestCase()