Home
last modified time | relevance | path

Searched refs:ParseSources (Results 1 - 15 of 15) sorted by relevance

/base/powermgr/power_manager/test/unittest/src/
H A Dpower_parsesources_mock_test.cpp55 * @tc.desc: test ParseSources(exception)
69 std::shared_ptr<SuspendSources> sources1 = SuspendSourceParser::ParseSources(); in HWTEST_F()
72 std::shared_ptr<WakeupSources> sources2 = WakeupSourceParser::ParseSources(); in HWTEST_F()
77 std::shared_ptr<SuspendSources> sources3 = SuspendSourceParser::ParseSources(jsonStr); in HWTEST_F()
80 std::shared_ptr<WakeupSources> sources4 = WakeupSourceParser::ParseSources(jsonStr); in HWTEST_F()
88 std::shared_ptr<WakeupSources> sources5 = WakeupSourceParser::ParseSources(jsonStr2); in HWTEST_F()
95 std::shared_ptr<SuspendSources> sources6 = SuspendSourceParser::ParseSources(jsonStr3); in HWTEST_F()
/base/powermgr/power_manager/services/native/src/suspend/
H A Dsuspend_source_parser.h29 static std::shared_ptr<SuspendSources> ParseSources();
30 static std::shared_ptr<SuspendSources> ParseSources(const std::string& config);
H A Dsuspend_source_parser.cpp41 std::shared_ptr<SuspendSources> SuspendSourceParser::ParseSources() in ParseSources() function in OHOS::PowerMgr::SuspendSourceParser
80 parseSources = ParseSources(configJsonStr); in ParseSources()
84 std::shared_ptr<SuspendSources> SuspendSourceParser::ParseSources()
88 POWER_HILOGI(FEATURE_SUSPEND, "ParseSources setting=%{public}d", isSettingUpdated);
103 parseSources = ParseSources(configJsonStr);
137 std::shared_ptr<SuspendSources> SuspendSourceParser::ParseSources(const std::string& jsonStr) in ParseSources() function in OHOS::PowerMgr::SuspendSourceParser
H A Dsuspend_controller.cpp145 std::shared_ptr<SuspendSources> sources = SuspendSourceParser::ParseSources(); in Init()
210 std::shared_ptr<SuspendSources> sources = SuspendSourceParser::ParseSources(jsonStr); in UpdateSuspendSources()
/base/powermgr/power_manager/services/native/src/wakeup_action/
H A Dwakeup_action_source_parser.h29 static std::shared_ptr<WakeupActionSources> ParseSources();
30 static std::shared_ptr<WakeupActionSources> ParseSources(const std::string& jsonStr);
H A Dwakeup_action_source_parser.cpp36 std::shared_ptr<WakeupActionSources> WakeupActionSourceParser::ParseSources() in ParseSources() function in OHOS::PowerMgr::WakeupActionSourceParser
49 parseSources = ParseSources(configJsonStr); in ParseSources()
79 std::shared_ptr<WakeupActionSources> WakeupActionSourceParser::ParseSources(const std::string& jsonStr) in ParseSources() function in OHOS::PowerMgr::WakeupActionSourceParser
H A Dwakeup_action_controller.cpp41 std::shared_ptr<WakeupActionSources> sources = WakeupActionSourceParser::ParseSources(); in Init()
/base/powermgr/power_manager/services/native/src/wakeup/
H A Dwakeup_source_parser.h30 static std::shared_ptr<WakeupSources> ParseSources();
31 static std::shared_ptr<WakeupSources> ParseSources(const std::string& config);
H A Dwakeup_source_parser.cpp38 std::shared_ptr<WakeupSources> WakeupSourceParser::ParseSources() in ParseSources() function in OHOS::PowerMgr::WakeupSourceParser
42 POWER_HILOGI(FEATURE_WAKEUP, "ParseSources setting=%{public}d", isWakeupSourcesSettingValid); in ParseSources()
59 parseSources = ParseSources(configJsonStr); in ParseSources()
93 std::shared_ptr<WakeupSources> WakeupSourceParser::ParseSources(const std::string& jsonStr) in ParseSources() function in OHOS::PowerMgr::WakeupSourceParser
H A Dwakeup_controller.cpp85 std::shared_ptr<WakeupSources> sources = WakeupSourceParser::ParseSources(); in Init()
123 std::shared_ptr<WakeupSources> sources = WakeupSourceParser::ParseSources(jsonStr); in RegisterSettingsObserver()
/base/powermgr/power_manager/utils/vibrator/include/
H A Dvibrator_source_parser.h52 std::vector<VibratorSource> ParseSources(
56 std::vector<VibratorSource> ParseSources(const std::string& config);
/base/powermgr/power_manager/utils/vibrator/src/
H A Dvibrator_source_parser.cpp28 std::vector<VibratorSource> VibratorSourceParser::ParseSources( in ParseSources() function in OHOS::PowerMgr::VibratorSourceParser
42 sources = ParseSources(targetPath); in ParseSources()
71 std::vector<VibratorSource> VibratorSourceParser::ParseSources(const std::string& jsonStr) in ParseSources() function in OHOS::PowerMgr::VibratorSourceParser
H A Dpower_vibrator.cpp39 std::vector<VibratorSource> sources = parser->ParseSources(etcPath, vendorPath, systemPath); in LoadConfig()
/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()
H A Dpower_wakeup_controller_test.cpp357 std::shared_ptr<WakeupSources> sources = WakeupSourceParser::ParseSources(); in HWTEST_F()

Completed in 9 milliseconds