Home
last modified time | relevance | path

Searched refs:mnc (Results 1 – 25 of 109) sorted by relevance

12345

/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/ril/
H A D_current_cell_info__1__1_v11.md22 | int [mnc](#mnc) | 移动网络码 |
39 ### mnc subsection
42 int CurrentCellInfo_1_1::mnc
H A D_current_cell_info_v10.md22 | int [mnc](#mnc) | 移动网络码 |
39 ### mnc subsection
42 int CurrentCellInfo::mnc
H A D_current_cell_info_v11.md22 | int [mnc](#mnc) | 移动网络码 |
39 ### mnc subsection
42 int CurrentCellInfo::mnc
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/lpfence/
H A Dlpfence_neighbor_cell.md22 | unsigned short [mnc](#mnc) | 移动网络码 |
43 ### mnc subsection
46 unsigned short NeighborCell::mnc
H A D_cell_trajectory_data.md26 | unsigned short [mnc](#mnc) | 移动网络码 |
62 ### mnc subsection
65 unsigned short CellTrajectoryData::mnc
H A Dlpfence_current_cell.md23 | unsigned short [mnc](#mnc) | 移动网络码 |
94 ### mnc subsection
97 unsigned short CurrentCell::mnc
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/location/
H A D_a_gnss_ref_cell_id.md22 | unsigned short [mnc](#mnc) | 移动设备网络码 |
69 ### mnc subsection
72 unsigned short AGnssRefCellId::mnc
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_toolkit/utils/
H A Dwifi_global_func.cpp437 bool ConvertMncToIso(int mnc, std::string &wifiCountryCode) in ConvertMncToIso() argument
441 if (MCC_TABLE[left].mnc > mnc || MCC_TABLE[right].mnc < mnc) { in ConvertMncToIso()
446 if (MCC_TABLE[mid].mnc < mnc) { in ConvertMncToIso()
448 } else if (MCC_TABLE[mid].mnc > mnc) { in ConvertMncToIso()
453 if (MCC_TABLE[left].mnc == mnc) { in ConvertMncToIso()
/ohos5.0/base/telephony/core_service/interfaces/kits/js/
H A D@ohos.telephony.radio.d.ts2583 mnc: string;
2663 mnc: string;
2743 mnc: string;
2813 mnc: string;
2883 mnc: string;
/ohos5.0/base/location/services/location_gnss/gnss/source/
H A Dagnss_event_callback.cpp163 refInfo.cellId.mnc = static_cast<unsigned short>(std::stoi(gsmCellInfo->GetMnc())); in JudgmentDataGsm()
175 refInfo.cellId.mnc = static_cast<unsigned short>(std::stoi(lteCellInfo->GetMnc())); in JudgmentDataLte()
188 refInfo.cellId.mnc = static_cast<unsigned short>(std::stoi(nrCellInfo->GetMnc())); in JudgmentDataNr()
202 refInfo.cellId.mnc = static_cast<unsigned short>(std::stoi(wcdmaCellInfo->GetMnc())); in JudgmentDataUmts()
/ohos5.0/base/telephony/telephony_data/interfaces/innerkits/include/
H A Dglobal_params_data.h57 std::string mnc = ""; member
103 std::string mnc = ""; member
/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Djs-apis-app-ability-configuration.md31 | mnc<sup>12+<sup> | string | 否 | 是 | 移动设备网络代码。<br>**原子化服务API**:从API version 12开始,该接口支持在原子化服务中使用。 |
54 let mnc = config.mnc;
/ohos5.0/base/telephony/cellular_data/services/src/apn_manager/
H A Dapn_manager.cpp291 std::string mnc = numeric.substr(mcc.size(), numeric.size() - mcc.size()); in CreateAllApnItemByDatabase() local
292 int32_t mvnoCount = CreateMvnoApnItems(slotId, mcc, mnc); in CreateAllApnItemByDatabase()
297 if (!helper->QueryApns(mcc, mnc, apnVec, slotId)) { in CreateAllApnItemByDatabase()
332 …32_t ApnManager::CreateMvnoApnItems(int32_t slotId, const std::string &mcc, const std::string &mnc) 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/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()
224 result->GetString(index, apnBean.mnc); in MakePdpProfile()
/ohos5.0/base/telephony/core_service/services/sim/src/
H A Druim_file.cpp237 std::string mnc = ""; in ProcessGetImsiDone() local
240 mnc = imsi_.substr(MCC_LEN, lengthOfMnc_); in ProcessGetImsiDone()
248 if (mnc.empty() && IsValidDecValue(mcc) && isSizeEnough) { in ProcessGetImsiDone()
249 mnc = imsi_.substr(MCC_LEN, mncLength); in ProcessGetImsiDone()
253 configuration.AddItem(AAFwk::GlobalConfigurationKey::SYSTEM_MNC, mnc); in ProcessGetImsiDone()
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/
H A Dres_config_impl.cpp185 void ResConfigImpl::SetMnc(uint32_t mnc) in SetMnc() argument
187 this->mnc_ = mnc; in SetMnc()
451 bool ResConfigImpl::IsMccMncMatch(uint32_t mcc, uint32_t mnc) const in IsMccMncMatch()
453 if (mcc == MCC_UNDEFINED && mnc == MNC_UNDEFINED) { in IsMccMncMatch()
457 if (mnc == MNC_UNDEFINED || this->mnc_ == mnc) { in IsMccMncMatch()
/ohos5.0/base/telephony/telephony_data/common/src/
H A Dparser_util.cpp159 bean.mnc = ParseString(cJSON_GetObjectItem(itemRoot, ITEM_MNC)); in ParserPdpProfileInfos()
195 value.PutString(PdpProfileData::MNC, bean.mnc); in ParserPdpProfileToValuesBucket()
197 mccmnc.append(bean.mnc); in ParserPdpProfileToValuesBucket()
391 bean.mnc = ParseAsString(cJSON_GetObjectItem(itemRoot, ITEM_MNC)); in ParserNumMatchInfos()
421 value.PutString(NumMatchData::MNC, bean.mnc); in ParserNumMatchToValuesBucket()
423 mccmnc.append(bean.mnc); in ParserNumMatchToValuesBucket()
485 bean.mnc = ParseAsString(cJSON_GetObjectItem(itemRoot, ITEM_MNC)); in ParserEccDataInfos()
499 value.PutString(EccData::MNC, bean.mnc); in ParserEccDataToValuesBucket()
/ohos5.0/base/telephony/core_service/frameworks/native/src/
H A Dcell_information.cpp33 void CellInformation::Init(int32_t mcc, int32_t mnc, int32_t cellId) in Init() argument
35 if (mnc > MNC_INT_MAX) { in Init()
36 int mnc_digit = mnc >> MNC_DIGIT_OFFSET; in Init()
37 mnc = static_cast<int32_t>(static_cast<uint32_t>(mnc) & MNC_VALID_BIT); in Init()
42 size = snprintf_s(mnc_str, mnc_digit + 1, mnc_digit, strFormat, mnc); in Init()
48 mnc_ = std::to_string(mnc); in Init()
55 void CellInformation::Init(std::string mcc, std::string mnc, int32_t cellId) in Init() argument
57 mnc_ = mnc; in Init()
/ohos5.0/base/global/resource_management/frameworks/resmgr/include/
H A Dres_config_impl.h92 void SetMnc(uint32_t mnc);
225 bool IsMccMncMatch(uint32_t mcc, uint32_t mnc) const;
H A Dhap_parser.h222 std::string mnc; member
243 uint32_t mnc = MNC_UNDEFINED; member
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/
H A Dresource_configuration.h120 void SetMnc(uint32_t mnc) in SetMnc() argument
122 mnc_ = mnc; in SetMnc()
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/
H A Dresource_config_helper.cpp62 void ResourceConfigHelper::SetMnc(std::string mnc) in SetMnc() argument
64 mnc_ = mnc; in SetMnc()
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/
H A Djs-apis-app-ability-configuration.md31 | mnc<sup>12+<sup> | string | No | Yes| Mobile country code (MCC).<br>**Atomic service API**: This …
54 let mnc = config.mnc;
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/resource/
H A Dace_res_config.h41 …AceResConfig(int32_t mcc, int32_t mnc, DeviceOrientation orientation, ColorMode colorMode, DeviceT… in AceResConfig() argument
43 … : mcc_(mcc), mnc_(mnc), orientation_(orientation), colorMode_(colorMode), deviceType_(deviceType), in AceResConfig()

12345