Home
last modified time | relevance | path

Searched refs:systemAbilityJson (Results 1 - 3 of 3) sorted by relevance

/foundation/systemabilitymgr/samgr/services/common/test/unittest/
H A Dparse_util_test.cpp946 nlohmann::json systemAbilityJson; in HWTEST_F() local
948 bool ret = parser_->ParseSystemAbility(saProfile, systemAbilityJson); in HWTEST_F()
950 systemAbilityJson["name"] = -1; // invalid said in HWTEST_F()
951 ret = parser_->ParseSystemAbility(saProfile, systemAbilityJson); in HWTEST_F()
953 systemAbilityJson["name"] = DISTRIBUTED_DEVICE_PROFILE_SA_ID; in HWTEST_F()
954 ret = parser_->ParseSystemAbility(saProfile, systemAbilityJson); in HWTEST_F()
956 systemAbilityJson["libpath"] = "/system/lib/test.so"; in HWTEST_F()
957 ret = parser_->ParseSystemAbility(saProfile, systemAbilityJson); in HWTEST_F()
959 systemAbilityJson["bootphase"] = "aaa"; in HWTEST_F()
960 ret = parser_->ParseSystemAbility(saProfile, systemAbilityJson); in HWTEST_F()
983 nlohmann::json systemAbilityJson; HWTEST_F() local
1001 nlohmann::json systemAbilityJson; HWTEST_F() local
1021 nlohmann::json systemAbilityJson; HWTEST_F() local
1041 nlohmann::json systemAbilityJson; HWTEST_F() local
1061 nlohmann::json systemAbilityJson; HWTEST_F() local
1080 nlohmann::json systemAbilityJson; HWTEST_F() local
1099 nlohmann::json systemAbilityJson; HWTEST_F() local
1118 nlohmann::json systemAbilityJson; HWTEST_F() local
1139 nlohmann::json systemAbilityJson; HWTEST_F() local
1159 nlohmann::json systemAbilityJson; HWTEST_F() local
1178 nlohmann::json systemAbilityJson; HWTEST_F() local
1252 nlohmann::json systemAbilityJson; HWTEST_F() local
1289 nlohmann::json systemAbilityJson; HWTEST_F() local
1331 nlohmann::json systemAbilityJson; HWTEST_F() local
[all...]
/foundation/systemabilitymgr/samgr/services/common/src/
H A Dparse_util.cpp328 nlohmann::json& systemAbilityJson = profileJson.at(SA_TAG_SYSTEM_ABILITY); in ParseJsonFile() local
329 HILOGD("systemAbilityJson:%{private}s", systemAbilityJson.dump().c_str()); in ParseJsonFile()
330 if (!systemAbilityJson.is_array()) { in ParseJsonFile()
334 size_t size = systemAbilityJson.size(); in ParseJsonFile()
337 if (!ParseSystemAbility(saProfile, systemAbilityJson[i])) { in ParseJsonFile()
345 bool ParseUtil::ParseSystemAbilityGetExtension(SaProfile& saProfile, nlohmann::json& systemAbilityJson) in ParseSystemAbilityGetExtension() argument
347 if ((systemAbilityJson.find(SA_TAG_EXTENSION) != systemAbilityJson.end()) && in ParseSystemAbilityGetExtension()
348 (systemAbilityJson[SA_TAG_EXTENSIO in ParseSystemAbilityGetExtension()
369 ParseSystemAbilityGetSaBaseInfo(SaProfile& saProfile, nlohmann::json& systemAbilityJson) ParseSystemAbilityGetSaBaseInfo() argument
392 ParseSystemAbilityGetSaExtInfo(SaProfile& saProfile, nlohmann::json& systemAbilityJson) ParseSystemAbilityGetSaExtInfo() argument
431 ParseSystemAbility(SaProfile& saProfile, nlohmann::json& systemAbilityJson) ParseSystemAbility() argument
456 ParseJsonTag(const nlohmann::json& systemAbilityJson, const std::string& jsonTag, nlohmann::json& onDemandJson) ParseJsonTag() argument
479 ParseStartOndemandTag(const nlohmann::json& systemAbilityJson, const std::string& jsonTag, StartOnDemand& startOnDemand) ParseStartOndemandTag() argument
490 ParseStopOndemandTag(const nlohmann::json& systemAbilityJson, const std::string& jsonTag, StopOnDemand& stopOnDemand) ParseStopOndemandTag() argument
[all...]
/foundation/systemabilitymgr/samgr/interfaces/innerkits/common/include/
H A Dparse_util.h53 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);

Completed in 5 milliseconds