Home
last modified time | relevance | path

Searched refs:mcc (Results 1 – 25 of 125) sorted by relevance

12345

/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/ril/
H A D_current_cell_info__1__1_v11.md21 | int [mcc](#mcc) | 移动国家码 |
29 ### mcc subsection
32 int CurrentCellInfo_1_1::mcc
H A D_current_cell_info_v10.md21 | int [mcc](#mcc) | 移动国家码 |
29 ### mcc subsection
32 int CurrentCellInfo::mcc
H A D_current_cell_info_v11.md21 | int [mcc](#mcc) | 移动国家码 |
29 ### mcc subsection
32 int CurrentCellInfo::mcc
H A D_emergency_call_v10.md23 | String [mcc](#mcc) | 国家码 |
80 ### mcc subsection
83 String EmergencyCall::mcc
H A D_emergency_call_v11.md23 | String [mcc](#mcc) | 国家码 |
80 ### mcc subsection
83 String EmergencyCall::mcc
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/lpfence/
H A Dlpfence_neighbor_cell.md21 | unsigned short [mcc](#mcc) | 移动国家码 |
31 ### mcc subsection
34 unsigned short NeighborCell::mcc
H A D_cell_trajectory_data.md25 | unsigned short [mcc](#mcc) | 移动国家码 |
52 ### mcc subsection
55 unsigned short CellTrajectoryData::mcc
H A Dlpfence_current_cell.md22 | unsigned short [mcc](#mcc) | 移动国家码 |
82 ### mcc subsection
85 unsigned short CurrentCell::mcc
/ohos5.0/base/telephony/core_service/services/sim/src/
H A Druim_file.cpp55 std::string mcc = imsi.substr(0, MCC_LEN); in ObtainSimOperator() local
56 if (operatorNumeric_.empty() && IsValidDecValue(mcc)) { in ObtainSimOperator()
71 std::string mcc = numeric.substr(0, MCC_LEN); in ObtainIsoCountryCode() local
72 if (len >= MCC_LEN && IsValidDecValue(mcc)) { in ObtainIsoCountryCode()
73 std::string iso = MccPool::MccCountryCode(std::stoi(mcc)); in ObtainIsoCountryCode()
232 std::string mcc = ""; in ProcessGetImsiDone() local
235 mcc = imsi_.substr(0, MCC_LEN); in ProcessGetImsiDone()
242 if (!IsValidDecValue(mcc)) { in ProcessGetImsiDone()
246 int mncLength = MccPool::ShortestMncLengthFromMcc(std::stoi(mcc)); in ProcessGetImsiDone()
248 if (mnc.empty() && IsValidDecValue(mcc) && isSizeEnough) { in ProcessGetImsiDone()
[all …]
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/location/
H A D_a_gnss_ref_cell_id.md21 | unsigned short [mcc](#mcc) | 移动设备国家码 |
57 ### mcc subsection
60 unsigned short AGnssRefCellId::mcc
/ohos5.0/base/telephony/core_service/services/sim/include/
H A Dmcc_pool.h276 MccAccess(int mcc, std::string iso, int shortestMnc) in MccAccess() argument
278 mcc_ = mcc; in MccAccess()
288 static std::string MccCountryCode(int mcc);
289 static int ShortestMncLengthFromMcc(int mcc);
297 static std::shared_ptr<MccAccess> AccessToMcc(int mcc);
/ohos5.0/base/telephony/cellular_call/services/utils/src/
H A Demergency_utils.cpp54 std::string mcc = config.GetMcc(slotId); in IsEmergencyCallProcessing() local
65 if (mcc == it->mcc && formatString == it->eccNum) { in IsEmergencyCallProcessing()
H A Dcellular_call_config.cpp559 to.mcc = from.mcc; in BuildEmergencyCall()
787 emergencyCall.mcc = ""; in BuildDefaultEmergencyCall()
815 std::string mcc = GetMcc(slotId); in MergeEccCallList() local
817 ecc.mcc = mcc; in MergeEccCallList()
826 if (!mcc.empty()) { in MergeEccCallList()
828 ecc.mcc = mcc; in MergeEccCallList()
834 ecc.mcc = mcc; in MergeEccCallList()
849 call.mcc = mcc; in MergeEccCallList()
878 std::string mcc = imsi; in GetMcc() local
883 return mcc; in GetMcc()
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.33/
H A Dchangelogs-global.md12 插入SIM卡时未能获取到正确的mcc目录资源,影响开发者差异化定制资源。
18 变更前:应用配置了mcc目录等差异化资源,插sim卡显示的是默认语言目录下资源,未插sim卡显示的是mcc目录下资源。
22 变更后:插sim卡显示的是mcc目录下资源,未插sim卡显示的是默认语言目录下资源。
41 变更前开发者如果有在默认语言目录配置“WLAN”字串,mcc目录配置“Wi-Fi”字串,变更后需要适配将“WLAN”字串配置在mcc目录,“Wi-Fi”字串配置在默认语言目录。
/ohos5.0/base/telephony/cellular_data/services/src/apn_manager/
H A Dapn_manager.cpp290 std::string mcc = numeric.substr(0, DEFAULT_MCC_SIZE); in CreateAllApnItemByDatabase() local
291 std::string mnc = numeric.substr(mcc.size(), numeric.size() - mcc.size()); in CreateAllApnItemByDatabase()
292 int32_t mvnoCount = CreateMvnoApnItems(slotId, mcc, mnc); in CreateAllApnItemByDatabase()
297 if (!helper->QueryApns(mcc, mnc, apnVec, slotId)) { in CreateAllApnItemByDatabase()
332 int32_t ApnManager::CreateMvnoApnItems(int32_t slotId, const std::string &mcc, const std::string &m… in CreateMvnoApnItems() argument
343 … if (!helper->QueryMvnoApnsByType(mcc, mnc, MvnoType::SPN, Str16ToStr8(spn), mvnoApnVec, slotId)) { in CreateMvnoApnItems()
349 …if (!helper->QueryMvnoApnsByType(mcc, mnc, MvnoType::IMSI, Str16ToStr8(imsi), mvnoApnVec, slotId))… in CreateMvnoApnItems()
355 …if (!helper->QueryMvnoApnsByType(mcc, mnc, MvnoType::GID1, Str16ToStr8(gid1), mvnoApnVec, slotId))… in CreateMvnoApnItems()
361 …if (!helper->QueryMvnoApnsByType(mcc, mnc, MvnoType::ICCID, Str16ToStr8(iccId), mvnoApnVec, slotId… in CreateMvnoApnItems()
/ohos5.0/base/telephony/core_service/test/fuzztest/mcccountrycode_fuzzer/
H A Dmcccountrycode_fuzzer.cpp34 int mcc = static_cast<int>(*data % THOUSAND) + MCC_GR; in DoSomethingInterestingWithMyAPI() local
35 MccPool::MccCountryCode(mcc); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/telephony/core_service/interfaces/kits/js/
H A D@ohos.telephony.radio.d.ts2573 mcc: string;
2653 mcc: string;
2733 mcc: string;
2803 mcc: string;
2873 mcc: string;
/ohos5.0/base/location/services/location_gnss/gnss/source/
H A Dagnss_event_callback.cpp162 refInfo.cellId.mcc = static_cast<unsigned short>(std::stoi(gsmCellInfo->GetMcc())); in JudgmentDataGsm()
174 refInfo.cellId.mcc = static_cast<unsigned short>(std::stoi(lteCellInfo->GetMcc())); in JudgmentDataLte()
187 refInfo.cellId.mcc = static_cast<unsigned short>(std::stoi(nrCellInfo->GetMcc())); in JudgmentDataNr()
201 refInfo.cellId.mcc = static_cast<unsigned short>(std::stoi(wcdmaCellInfo->GetMcc())); in JudgmentDataUmts()
/ohos5.0/base/telephony/telephony_data/interfaces/innerkits/include/
H A Dglobal_params_data.h56 std::string mcc = ""; member
102 std::string mcc = ""; member
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Djs-apis-app-ability-configuration.md30 | mcc<sup>12+<sup> | string | 否 | 是 | 移动设备国家代码。<br>**原子化服务API**:从API version 12开始,该接口支持在原子化服务中使用。 |
53 let mcc = config.mcc;
/ohos5.0/base/telephony/cellular_data/services/include/utils/
H A Dcellular_data_rdb_helper.h40 …bool QueryApns(const std::string &mcc, const std::string &mnc, std::vector<PdpProfile> &apnVec, in…
41 …bool QueryMvnoApnsByType(const std::string &mcc, const std::string &mnc, const std::string &mvnoTy…
/ohos5.0/base/telephony/cellular_data/services/src/utils/
H A Dcellular_data_rdb_helper.cpp91 const std::string &mcc, const std::string &mnc, std::vector<PdpProfile> &apnVec, int32_t slotId) in QueryApns() argument
100 predicates.EqualTo(PdpProfileData::MCCMNC, mcc + mnc); in QueryApns()
116 bool CellularDataRdbHelper::QueryMvnoApnsByType(const std::string &mcc, const std::string &mnc, in QueryMvnoApnsByType() argument
132 ->EqualTo(PdpProfileData::MCCMNC, mcc + mnc); in QueryMvnoApnsByType()
222 result->GetString(index, apnBean.mcc); in MakePdpProfile()
/ohos5.0/base/telephony/telephony_data/common/src/
H A Dparser_util.cpp158 bean.mcc = ParseString(cJSON_GetObjectItem(itemRoot, ITEM_MCC)); in ParserPdpProfileInfos()
194 value.PutString(PdpProfileData::MCC, bean.mcc); in ParserPdpProfileToValuesBucket()
196 std::string mccmnc(bean.mcc); in ParserPdpProfileToValuesBucket()
390 bean.mcc = ParseAsString(cJSON_GetObjectItem(itemRoot, ITEM_MCC)); in ParserNumMatchInfos()
420 value.PutString(NumMatchData::MCC, bean.mcc); in ParserNumMatchToValuesBucket()
422 std::string mccmnc(bean.mcc); in ParserNumMatchToValuesBucket()
484 bean.mcc = ParseAsString(cJSON_GetObjectItem(itemRoot, ITEM_MCC)); in ParserEccDataInfos()
498 value.PutString(EccData::MCC, bean.mcc); in ParserEccDataToValuesBucket()
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.33/
H A Dchangelogs-global.md12 The resources in the mcc directory cannot be obtained properly when the SIM card is inserted, affec…
18mcc directory are configured for an application. However, when a SIM card is inserted, resources i…
22 After change: When a SIM card is inserted, resources in the mcc directory are displayed. If no SIM …
41 … the string **Wi-Fi** is configured in the mcc directory, you need to configure the string **WLAN*…
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/
H A Dtelephony_types.h528 std::string mcc = ""; member
544 return (eccNum == call.eccNum && mcc == call.mcc);

12345