Home
last modified time | relevance | path

Searched refs:itemRoots (Results 1 - 4 of 4) sorted by relevance

/base/telephony/telephony_data/common/src/
H A Dparser_util.cpp129 cJSON *itemRoots = cJSON_GetObjectItem(root, ITEM_OPERATOR_INFOS); in ParserPdpProfileJson() local
130 if (itemRoots == nullptr || !cJSON_IsArray(itemRoots) || cJSON_GetArraySize(itemRoots) <= 0) { in ParserPdpProfileJson()
131 DATA_STORAGE_LOGE("ParserUtil::ParserPdpProfileJson itemRoots size == 0!"); in ParserPdpProfileJson()
133 itemRoots = nullptr; in ParserPdpProfileJson()
137 ParserPdpProfileInfos(vec, itemRoots); in ParserPdpProfileJson()
139 itemRoots = nullptr; in ParserPdpProfileJson()
144 void ParserUtil::ParserPdpProfileInfos(std::vector<PdpProfile> &vec, cJSON *itemRoots) in ParserPdpProfileInfos() argument
147 for (int32_t i = 0; i < cJSON_GetArraySize(itemRoots); in ParserPdpProfileInfos()
250 cJSON *itemRoots = cJSON_GetObjectItem(root, ITEM_OPERATOR_ID); ParserOpKeyJson() local
265 ParserOpKeyInfos(std::vector<OpKey> &vec, cJSON *itemRoots) ParserOpKeyInfos() argument
365 cJSON *itemRoots = cJSON_GetObjectItem(root, ITEM_NUM_MATCH_INFOS); ParserNumMatchJson() local
380 ParserNumMatchInfos(std::vector<NumMatch> &vec, cJSON *itemRoots) ParserNumMatchInfos() argument
459 cJSON *itemRoots = cJSON_GetObjectItem(root, ITEM_OPERATOR_INFOS); ParserEccDataJson() local
474 ParserEccDataInfos(std::vector<EccNum> &vec, cJSON *itemRoots) ParserEccDataInfos() argument
[all...]
/base/telephony/core_service/services/network_search/src/
H A Doperator_name_utils.cpp96 cJSON *itemRoots = cJSON_GetObjectItem(root, ITEM_OPERATOR_NAMES); in ParserOperatorNameCustJson() local
97 if (itemRoots == nullptr || !cJSON_IsArray(itemRoots) || cJSON_GetArraySize(itemRoots) == 0) { in ParserOperatorNameCustJson()
98 TELEPHONY_LOGE("operator name itemRoots is invalid"); in ParserOperatorNameCustJson()
100 itemRoots = nullptr; in ParserOperatorNameCustJson()
104 ParserOperatorNames(vec, itemRoots); in ParserOperatorNameCustJson()
106 itemRoots = nullptr; in ParserOperatorNameCustJson()
162 void OperatorNameUtils::ParserOperatorNames(std::vector<OperatorNameCust> &vec, cJSON *itemRoots) in ParserOperatorNames() argument
167 for (int32_t i = 0; i < cJSON_GetArraySize(itemRoots); in ParserOperatorNames()
[all...]
/base/telephony/telephony_data/common/include/
H A Dparser_util.h41 void ParserPdpProfileInfos(std::vector<PdpProfile> &vec, cJSON *itemRoots);
45 void ParserOpKeyInfos(std::vector<OpKey> &vec, cJSON *itemRoots);
48 void ParserNumMatchInfos(std::vector<NumMatch> &vec, cJSON *itemRoots);
51 void ParserEccDataInfos(std::vector<EccNum> &vec, cJSON *itemRoots);
/base/telephony/core_service/services/network_search/include/
H A Doperator_name_utils.h47 void ParserOperatorNames(std::vector<OperatorNameCust> &vec, cJSON *itemRoots);

Completed in 3 milliseconds