Home
last modified time | relevance | path

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

/base/powermgr/power_manager/services/native/src/setting/
Dsetting_helper.cpp166 void SettingHelper::SetSettingSuspendSources(const std::string& jsonConfig) in SetSettingSuspendSources() argument
169 ErrCode ret = provider.PutStringValue(SETTING_POWER_SUSPEND_SOURCES_KEY, jsonConfig); in SetSettingSuspendSources()
172 jsonConfig.c_str(), ret); in SetSettingSuspendSources()
213 void SettingHelper::SetSettingWakeupSources(const std::string& jsonConfig) in SetSettingWakeupSources() argument
216 ErrCode ret = provider.PutStringValue(SETTING_POWER_WAKEUP_SOURCES_KEY, jsonConfig); in SetSettingWakeupSources()
219 jsonConfig.c_str(), ret); in SetSettingWakeupSources()
Dsetting_helper.h50 static void SetSettingSuspendSources(const std::string& jsonConfig);
55 static void SetSettingWakeupSources(const std::string& jsonConfig);
/base/startup/appspawn/util/include/
Dsandbox_utils.h66 static void DoSandboxChmod(nlohmann::json jsonConfig, std::string &sandboxRoot);
/base/startup/appspawn/util/src/
Dsandbox_utils.cpp236 void SandboxUtils::DoSandboxChmod(nlohmann::json jsonConfig, std::string &sandboxRoot) in DoSandboxChmod() argument
245 bool rc = JsonUtils::GetStringFromJson(jsonConfig, g_destMode, fileModeStr); in DoSandboxChmod()
812 for (auto jsonConfig : SandboxUtils::GetJsonConfig()) { in SetCommonAppSandboxProperty() local
813 ret = SetCommonAppSandboxProperty_(appProperty, jsonConfig); in SetCommonAppSandboxProperty()