Searched refs:MCC_LEN (Results 1 - 9 of 9) sorted by relevance
/base/telephony/core_service/services/sim/src/ |
H A D | ruim_file.cpp | 53 operatorNumeric_ = imsi.substr(0, MCC_LEN + lengthOfMnc_); in ObtainSimOperator() 55 std::string mcc = imsi.substr(0, MCC_LEN); in ObtainSimOperator() 57 operatorNumeric_ = imsi.substr(0, MCC_LEN + MccPool::ShortestMncLengthFromMcc(std::stoi(mcc))); in ObtainSimOperator() 71 std::string mcc = numeric.substr(0, MCC_LEN); in ObtainIsoCountryCode() 72 if (len >= MCC_LEN && IsValidDecValue(mcc)) { in ObtainIsoCountryCode() 240 bool isSizeEnough = imsiSize >= MCC_LEN; in ProcessGetImsiDone() 242 mcc = imsi_.substr(0, MCC_LEN); in ProcessGetImsiDone() 245 isSizeEnough = imsiSize >= MCC_LEN + lengthOfMnc_; in ProcessGetImsiDone() 247 mnc = imsi_.substr(MCC_LEN, lengthOfMnc_); in ProcessGetImsiDone() 254 isSizeEnough = imsiSize >= MCC_LEN in ProcessGetImsiDone() [all...] |
H A D | sim_file.cpp | 66 int length = MCC_LEN + lengthOfMnc_; in ObtainMCC() 68 mcc_ = ((imsiLen >= length) ? imsi.substr(0, MCC_LEN) : ""); in ObtainMCC() 85 int length = MCC_LEN + lengthOfMnc_; in ObtainMNC() 87 mnc_ = ((imsiLen >= length) ? imsi.substr(MCC_LEN, lengthOfMnc_) : ""); in ObtainMNC() 104 int length = MCC_LEN + lengthOfMnc_; in ObtainSimOperator() 106 operatorNumeric_ = ((imsiLen >= length) ? imsi.substr(0, MCC_LEN + lengthOfMnc_) : ""); in ObtainSimOperator() 119 std::string mcc = numeric.substr(0, MCC_LEN); in ObtainIsoCountryCode() 120 if (len >= MCC_LEN && IsValidDecValue(mcc)) { in ObtainIsoCountryCode() 1186 } else if (doneData && (lengthOfMnc_ != MNC_LEN) && (lengthOfMnc_ != MCC_LEN)) { in ProcessGetAdDone() 1226 std::string mccCode = imsi.substr(0, MCC_LEN); in CheckMncLengthForAdDone() [all...] |
H A D | operator_config_loader.cpp | 188 return mccmnc.substr(0, MCC_LEN); in GetMccFromMccMnc() 197 return mccmnc.substr(MCC_LEN); in GetMncFromMccMnc()
|
/base/telephony/core_service/services/sim/include/ |
H A D | operator_config_loader.h | 76 const int MCC_LEN = 3; member in OHOS::Telephony::OperatorConfigLoader
|
H A D | ruim_file.h | 65 const size_t MCC_LEN = 3; member in OHOS::Telephony::RuimFile
|
H A D | sim_file.h | 151 const int MCC_LEN = 3; member in OHOS::Telephony::SimFile
|
/base/telephony/cellular_call/services/utils/src/ |
H A D | cellular_call_config.cpp | 50 const int MCC_LEN = 3; member 883 if (len >= MCC_LEN) { in GetMcc() 884 mcc = imsi.substr(0, MCC_LEN); in GetMcc()
|
/base/telephony/core_service/services/network_search/src/ |
H A D | network_search_manager.cpp | 40 const size_t MCC_LEN = 3; member 762 if (len >= MCC_LEN) { in GetIsoCountryCodeForNetwork() 763 std::string mcc = plmn.substr(0, MCC_LEN); in GetIsoCountryCodeForNetwork()
|
H A D | network_search_handler.cpp | 35 const size_t MCC_LEN = 3; member 1482 if (plmn.length() >= MCC_LEN) { in RadioResidentNetworkChange() 1483 std::string mcc = plmn.substr(0, MCC_LEN); in RadioResidentNetworkChange()
|
Completed in 15 milliseconds