Searched refs:MCC_LEN (Results 1 – 6 of 6) sorted by relevance
/base/telephony/core_service/services/sim/src/ |
D | ruim_file.cpp | 52 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()
|
D | sim_file.cpp | 59 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/ |
D | ruim_file.h | 61 const size_t MCC_LEN = 3; variable
|
D | sim_file.h | 122 const int MCC_LEN = 3; variable
|
/base/telephony/cellular_call/services/control/src/ |
D | cellular_call_config.cpp | 41 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/ |
D | network_search_manager.cpp | 37 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()
|