Home
last modified time | relevance | path

Searched refs:WakeupActionSource (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/powermgr/power_manager/services/native/src/wakeup_action/
H A Dwakeup_action_sources.h34 class WakeupActionSource {
39 explicit WakeupActionSource(std::string scene, uint32_t action) in WakeupActionSource() function
44 ~WakeupActionSource() = default;
65 void PutSource(const std::string& key, std::shared_ptr<WakeupActionSource>& source);
66 std::map<std::string, std::shared_ptr<WakeupActionSource>> GetSourceMap();
69 std::map<std::string, std::shared_ptr<WakeupActionSource>> sourceMap_;
H A Dwakeup_action_source_parser.cpp114 Json::Value sceneValue = valueObj[WakeupActionSource::SCENE_KEY]; in ParseSourcesProc()
115 Json::Value actionValue = valueObj[WakeupActionSource::ACTION_KEY]; in ParseSourcesProc()
130 …std::shared_ptr<WakeupActionSource> wakeupActionSource = std::make_shared<WakeupActionSource>(scen… in ParseSourcesProc()
H A Dwakeup_action_sources.cpp33 void WakeupActionSources::PutSource(const std::string& key, std::shared_ptr<WakeupActionSource>& so… in PutSource()
39 std::map<std::string, std::shared_ptr<WakeupActionSource>> WakeupActionSources::GetSourceMap() in GetSourceMap()
H A Dwakeup_action_controller.h46 std::map<std::string, std::shared_ptr<WakeupActionSource>> sourceMap_;