Searched refs:devStandbyConfigRoot (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | standby_utils_unit_test.cpp | 314 nlohmann::json devStandbyConfigRoot = nlohmann::json::parse("{}", nullptr, false); variable 317 devStandbyConfigRoot = nlohmann::json::parse(content, nullptr, false); 318 StandbyConfigManager::GetInstance()->ParseDeviceStanbyConfig(devStandbyConfigRoot); 319 StandbyConfigManager::GetInstance()->ParseHalfHourSwitchConfig(devStandbyConfigRoot); 321 devStandbyConfigRoot = nlohmann::json::parse(content, nullptr, false); 324 devStandbyConfigRoot = nlohmann::json::parse(content, nullptr, false); 325 StandbyConfigManager::GetInstance()->ParseDeviceStanbyConfig(devStandbyConfigRoot); 327 devStandbyConfigRoot = nlohmann::json::parse(content, nullptr, false); 328 StandbyConfigManager::GetInstance()->ParseDeviceStanbyConfig(devStandbyConfigRoot); 330 devStandbyConfigRoot = nlohmann::json::parse(content, nullptr, false); [all …]
|
/ohos5.0/foundation/resourceschedule/device_standby/utils/policy/src/ |
H A D | standby_config_manager.cpp | 101 nlohmann::json devStandbyConfigRoot; in GetAndParseStandbyConfig() local 102 if (!JsonUtils::LoadJsonValueFromContent(devStandbyConfigRoot, content)) { in GetAndParseStandbyConfig() 106 if (!ParseDeviceStanbyConfig(devStandbyConfigRoot)) { in GetAndParseStandbyConfig() 113 nlohmann::json devStandbyConfigRoot; in GetAndParseStandbyConfig() local 115 if (!JsonUtils::LoadJsonValueFromFile(devStandbyConfigRoot, configFile)) { in GetAndParseStandbyConfig() 119 if (!ParseDeviceStanbyConfig(devStandbyConfigRoot)) { in GetAndParseStandbyConfig() 288 nlohmann::json devStandbyConfigRoot; in GetParamVersion() local 289 if (!JsonUtils::LoadJsonValueFromContent(devStandbyConfigRoot, content)) { in GetParamVersion() 318 nlohmann::json devStandbyConfigRoot; in GetCloudVersion() local 319 JsonUtils::LoadJsonValueFromContent(devStandbyConfigRoot, configCloud); in GetCloudVersion() [all …]
|
/ohos5.0/foundation/resourceschedule/device_standby/utils/policy/include/ |
H A D | standby_config_manager.h | 114 bool ParseDeviceStanbyConfig(const nlohmann::json& devStandbyConfigRoot);
|