Searched refs:systemAbilityJson (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/systemabilitymgr/samgr/services/common/src/ |
H A D | parse_util.cpp | 328 if (!systemAbilityJson.is_array()) { in ParseJsonFile() 332 size_t size = systemAbilityJson.size(); in ParseJsonFile() 335 if (!ParseSystemAbility(saProfile, systemAbilityJson[i])) { in ParseJsonFile() 345 if ((systemAbilityJson.find(SA_TAG_EXTENSION) != systemAbilityJson.end()) && in ParseSystemAbilityGetExtension() 346 (systemAbilityJson[SA_TAG_EXTENSION].is_array())) { in ParseSystemAbilityGetExtension() 347 for (auto& item : systemAbilityJson[SA_TAG_EXTENSION]) { in ParseSystemAbilityGetExtension() 369 GetInt32FromJson(systemAbilityJson, SA_TAG_NAME, saProfile.saId); in ParseSystemAbilityGetSaBaseInfo() 457 if (systemAbilityJson.find(jsonTag) == systemAbilityJson.end()) { in ParseJsonTag() 460 onDemandJson = systemAbilityJson.at(jsonTag); in ParseJsonTag() 481 if (!ParseJsonTag(systemAbilityJson, jsonTag, onDemandJson)) { in ParseStartOndemandTag() [all …]
|
/ohos5.0/foundation/systemabilitymgr/samgr/services/common/test/unittest/ |
H A D | parse_util_test.cpp | 944 nlohmann::json systemAbilityJson; variable 972 nlohmann::json systemAbilityJson; variable 990 nlohmann::json systemAbilityJson; variable 1010 nlohmann::json systemAbilityJson; variable 1030 nlohmann::json systemAbilityJson; variable 1050 nlohmann::json systemAbilityJson; variable 1069 nlohmann::json systemAbilityJson; variable 1088 nlohmann::json systemAbilityJson; variable 1107 nlohmann::json systemAbilityJson; variable 1128 nlohmann::json systemAbilityJson; variable [all …]
|
/ohos5.0/foundation/systemabilitymgr/samgr/interfaces/innerkits/common/include/ |
H A D | parse_util.h | 53 bool ParseSystemAbilityGetSaBaseInfo(SaProfile& saProfile, nlohmann::json& systemAbilityJson); 54 bool ParseSystemAbilityGetSaExtInfo(SaProfile& saProfile, nlohmann::json& systemAbilityJson); 55 bool ParseSystemAbility(SaProfile& saProfile, nlohmann::json& systemAbilityJson); 56 bool ParseJsonTag(const nlohmann::json& systemAbilityJson, const std::string& jsonTag, 59 void ParseStartOndemandTag(const nlohmann::json& systemAbilityJson, 61 void ParseStopOndemandTag(const nlohmann::json& systemAbilityJson, 63 bool ParseSystemAbilityGetExtension(SaProfile& saProfile, nlohmann::json& systemAbilityJson);
|