Home
last modified time | relevance | path

Searched refs:sources (Results 1 - 9 of 9) sorted by relevance

/base/powermgr/power_manager/utils/vibrator/src/
H A Dvibrator_source_parser.cpp31 std::vector<VibratorSource> sources; in ParseSources() local
36 return sources; in ParseSources()
42 sources = ParseSources(targetPath); in ParseSources()
43 return sources; in ParseSources()
73 std::vector<VibratorSource> sources; in ParseSources() local
78 return sources; in ParseSources()
85 ParseSourcesProc(sources, valueObj, key); in ParseSources()
87 return sources; in ParseSources()
91 std::vector<VibratorSource>& sources, Json::Value& valueObj, std::string& key) in ParseSourcesProc()
109 sources in ParseSourcesProc()
90 ParseSourcesProc( std::vector<VibratorSource>& sources, Json::Value& valueObj, std::string& key) ParseSourcesProc() argument
[all...]
H A Dpower_vibrator.cpp39 std::vector<VibratorSource> sources = parser->ParseSources(etcPath, vendorPath, systemPath); in LoadConfig() local
41 for (auto source : sources) { in LoadConfig()
/base/powermgr/power_manager/services/native/src/wakeup_action/
H A Dwakeup_action_controller.cpp41 std::shared_ptr<WakeupActionSources> sources = WakeupActionSourceParser::ParseSources(); in Init() local
42 sourceMap_ = sources->GetSourceMap(); in Init()
/base/notification/distributed_notification_service/test/fuzztest/notificationuserinput_fuzzer/
H A Dnotificationuserinput_fuzzer.cpp33 uint8_t sources = *data % ENABLE; in DoSomethingInterestingWithMyAPI() local
35 Notification::NotificationConstant::InputsSource(sources); in DoSomethingInterestingWithMyAPI()
/base/powermgr/power_manager/utils/vibrator/include/
H A Dvibrator_source_parser.h59 void ParseSourcesProc(std::vector<VibratorSource>& sources, Json::Value& valueObj, std::string& key);
/base/powermgr/power_manager/services/native/src/suspend/
H A Dsuspend_controller.cpp145 std::shared_ptr<SuspendSources> sources = SuspendSourceParser::ParseSources(); in Init() local
146 sourceList_ = sources->GetSourceList(); in Init()
210 std::shared_ptr<SuspendSources> sources = SuspendSourceParser::ParseSources(jsonStr); in UpdateSuspendSources() local
211 std::vector<SuspendSource> updateSourceList = sources->GetSourceList(); in UpdateSuspendSources()
241 POWER_HILOGE(FEATURE_POWER_STATE, "suspend sources key observer is already registered"); in RegisterSettingsObserver()
/base/powermgr/power_manager/test/unittest/src/interface_test/
H A Dpower_suspend_controller_test.cpp327 std::shared_ptr<SuspendSources> sources = SuspendSourceParser::ParseSources(); in HWTEST_F() local
328 std::vector<std::string> tmp = sources->getSourceKeys(); in HWTEST_F()
H A Dpower_wakeup_controller_test.cpp357 std::shared_ptr<WakeupSources> sources = WakeupSourceParser::ParseSources(); in HWTEST_F() local
358 std::vector<std::string> tmp = sources->getSourceKeys(); in HWTEST_F()
/base/powermgr/power_manager/services/native/src/wakeup/
H A Dwakeup_controller.cpp85 std::shared_ptr<WakeupSources> sources = WakeupSourceParser::ParseSources(); in Init() local
86 sourceList_ = sources->GetSourceList(); in Init()
116 POWER_HILOGE(FEATURE_POWER_STATE, "wakeup sources key observer is already registered"); in RegisterSettingsObserver()
123 std::shared_ptr<WakeupSources> sources = WakeupSourceParser::ParseSources(jsonStr); in RegisterSettingsObserver()
124 std::vector<WakeupSource> updateSourceList = sources->GetSourceList(); in RegisterSettingsObserver()

Completed in 6 milliseconds