Searched refs:jsonConfig (Results 1 – 4 of 4) sorted by relevance
166 void SettingHelper::SetSettingSuspendSources(const std::string& jsonConfig) in SetSettingSuspendSources() argument169 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() argument216 ErrCode ret = provider.PutStringValue(SETTING_POWER_WAKEUP_SOURCES_KEY, jsonConfig); in SetSettingWakeupSources()219 jsonConfig.c_str(), ret); in SetSettingWakeupSources()
50 static void SetSettingSuspendSources(const std::string& jsonConfig);55 static void SetSettingWakeupSources(const std::string& jsonConfig);
66 static void DoSandboxChmod(nlohmann::json jsonConfig, std::string &sandboxRoot);
236 void SandboxUtils::DoSandboxChmod(nlohmann::json jsonConfig, std::string &sandboxRoot) in DoSandboxChmod() argument245 bool rc = JsonUtils::GetStringFromJson(jsonConfig, g_destMode, fileModeStr); in DoSandboxChmod()812 for (auto jsonConfig : SandboxUtils::GetJsonConfig()) { in SetCommonAppSandboxProperty() local813 ret = SetCommonAppSandboxProperty_(appProperty, jsonConfig); in SetCommonAppSandboxProperty()