Home
last modified time | relevance | path

Searched refs:MCC_LEN (Results 1 – 6 of 6) sorted by relevance

/base/telephony/core_service/services/sim/src/
Druim_file.cpp52 operatorNumeric_ = imsi.substr(0, MCC_LEN + lengthOfMnc_); in ObtainSimOperator()
54 std::string mcc = imsi.substr(0, MCC_LEN); in ObtainSimOperator()
56 … operatorNumeric_ = imsi.substr(0, MCC_LEN + MccPool::ShortestMncLengthFromMcc(std::stoi(mcc))); in ObtainSimOperator()
70 std::string mcc = numeric.substr(0, MCC_LEN); in ObtainIsoCountryCode()
71 if (len >= MCC_LEN && IsValidDecValue(mcc)) { in ObtainIsoCountryCode()
Dsim_file.cpp59 int length = MCC_LEN + lengthOfMnc_; in ObtainSimOperator()
61 operatorNumeric_ = ((imsiLen >= length) ? imsi.substr(0, MCC_LEN + lengthOfMnc_) : ""); in ObtainSimOperator()
74 std::string mcc = numeric.substr(0, MCC_LEN); in ObtainIsoCountryCode()
75 if (len >= MCC_LEN && IsValidDecValue(mcc)) { in ObtainIsoCountryCode()
917 int mcc = atoi(imsi.substr(0, MCC_LEN).c_str()); in ProcessGetAdDone()
928 if (dataSize <= MCC_LEN) { in ProcessGetAdDone()
933 lengthOfMnc_ = fileData[MCC_LEN] & 0xf; in ProcessGetAdDone()
940 } else if (doneData && (lengthOfMnc_ != MNC_LEN) && (lengthOfMnc_ != MCC_LEN)) { in ProcessGetAdDone()
957 lengthOfMnc_ = MCC_LEN; in CheckMncLength()
964 int mcc = atoi(imsi.substr(0, MCC_LEN).c_str()); in CheckMncLength()
[all …]
/base/telephony/core_service/services/sim/include/
Druim_file.h61 const size_t MCC_LEN = 3; variable
Dsim_file.h122 const int MCC_LEN = 3; variable
/base/telephony/cellular_call/services/control/src/
Dcellular_call_config.cpp41 const int MCC_LEN = 3; variable
639 if (len >= MCC_LEN) { in GetMcc()
640 mcc = imsi.substr(0, MCC_LEN); in GetMcc()
/base/telephony/core_service/services/network_search/src/
Dnetwork_search_manager.cpp37 const size_t MCC_LEN = 3; variable
686 if (len >= MCC_LEN) { in GetIsoCountryCodeForNetwork()
687 std::string mcc = plmn.substr(0, MCC_LEN); in GetIsoCountryCodeForNetwork()