Home
last modified time | relevance | path

Searched refs:commonEventName (Results 1 - 3 of 3) sorted by relevance

/base/powermgr/battery_manager/services/native/include/
H A Dbattery_notify.h32 bool PublishCustomEvent(const BatteryInfo& info, const std::string& commonEventName) const;
/base/powermgr/battery_manager/services/native/src/
H A Dbattery_service.cpp240 std::string commonEventName = COMMON_EVENT_BATTERY_CHANGED; in AddBootCommonEvents() local
241 if (FillCommonEvent(ueventName, commonEventName)) { in AddBootCommonEvents()
242 BATTERY_HILOGI(COMP_SVC, "need boot broadcast %{public}s", commonEventName.c_str()); in AddBootCommonEvents()
247 if (commonEventName != COMMON_EVENT_BATTERY_CHANGED) { in AddBootCommonEvents()
249 batteryNotify_->PublishCustomEvent(batteryInfo_, commonEventName); in AddBootCommonEvents()
254 bool BatteryService::FillCommonEvent(std::string& ueventName, std::string& commonEventName) in FillCommonEvent() argument
262 commonEventName = iter.eventName; in FillCommonEvent()
H A Dbattery_notify.cpp443 bool BatteryNotify::PublishCustomEvent(const BatteryInfo& info, const std::string& commonEventName) const in PublishCustomEvent()
447 want.SetAction(commonEventName); in PublishCustomEvent()

Completed in 3 milliseconds