Home
last modified time | relevance | path

Searched refs:MCC_LEN (Results 1 - 9 of 9) sorted by relevance

/base/telephony/core_service/services/sim/src/
H A Druim_file.cpp53 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 Dsim_file.cpp66 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 Doperator_config_loader.cpp188 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 Doperator_config_loader.h76 const int MCC_LEN = 3; member in OHOS::Telephony::OperatorConfigLoader
H A Druim_file.h65 const size_t MCC_LEN = 3; member in OHOS::Telephony::RuimFile
H A Dsim_file.h151 const int MCC_LEN = 3; member in OHOS::Telephony::SimFile
/base/telephony/cellular_call/services/utils/src/
H A Dcellular_call_config.cpp50 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 Dnetwork_search_manager.cpp40 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 Dnetwork_search_handler.cpp35 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