Home
last modified time | relevance | path

Searched refs:numeric (Results 1 – 25 of 30) sorted by relevance

12

/base/telephony/core_service/services/network_search/src/
Doperator_name.cpp107 std::string numeric = ""; in GsmOperatorInfo() local
112 numeric = operatorInfoResult->numeric; in GsmOperatorInfo()
117 longName.c_str(), shortName.c_str(), numeric.c_str(), slotId_); in GsmOperatorInfo()
119 … networkSearchState_->SetOperatorInfo(longName, shortName, numeric, DomainType::DOMAIN_TYPE_CS); in GsmOperatorInfo()
120 … networkSearchState_->SetOperatorInfo(longName, shortName, numeric, DomainType::DOMAIN_TYPE_PS); in GsmOperatorInfo()
132 std::string numeric = ""; in CdmaOperatorInfo() local
137 numeric = operatorInfoResult->numeric; in CdmaOperatorInfo()
142 longName.c_str(), shortName.c_str(), numeric.c_str(), slotId_); in CdmaOperatorInfo()
144 … networkSearchState_->SetOperatorInfo(longName, shortName, numeric, DomainType::DOMAIN_TYPE_CS); in CdmaOperatorInfo()
145 … networkSearchState_->SetOperatorInfo(longName, shortName, numeric, DomainType::DOMAIN_TYPE_PS); in CdmaOperatorInfo()
[all …]
Dnetwork_selection.cpp190 std::string numeric = availableNetworkInfoItem.numeric; in AvailNetworkResult() local
194 networkStateItem.SetOperateInformation(longName, shortName, numeric, status, rat); in AvailNetworkResult()
Dnetwork_search_state.cpp53 …const std::string &longName, const std::string &shortName, const std::string &numeric, DomainType … in SetOperatorInfo() argument
57 networkState_->SetOperatorInfo(longName, shortName, numeric, domainType); in SetOperatorInfo()
/base/global/i18n/frameworks/intl/src/
Dlocale_info.cpp51 numeric = ""; in ResetFinalLocaleStatus()
111 !caseFirst.empty() || !numeric.empty()) { in ComputeFinalLocaleTag()
129 if (!numeric.empty()) { in ComputeFinalLocaleTag()
130 finalLocaleTag += numericTag + numeric; in ComputeFinalLocaleTag()
158 numeric = localeTag.substr(localeTag.find(numericTag) + CONFIG_TAG_LEN); in ParseLocaleTag()
159 numeric = numeric.substr(0, numeric.find(flag)); in ParseLocaleTag()
187 numeric = configs["numeric"]; in ParseConfigs()
235 return numeric; in GetNumeric()
Dcollator.cpp68 numeric = ParseOption(options, "numeric"); in ParseAllOptions()
168 if (numeric == "") { in SetNumeric()
169 numeric = localeInfo->GetNumeric(); in SetNumeric()
170 if (numeric != "true" && numeric != "false") { in SetNumeric()
171 numeric = "false"; in SetNumeric()
175 if (numeric == "true") { in SetNumeric()
290 options.insert(std::pair<std::string, std::string>("numeric", numeric)); in ResolvedOptions()
Drelative_time_format.cpp107 numeric = configs["numeric"]; in ParseConfigs()
119 if (!strcmp(numeric.c_str(), "always")) { in Format()
165 if (numeric.empty() || !strcmp(numeric.c_str(), "always")) { in FormatToParts()
205 if (!numeric.empty()) { in GetResolvedOptions()
206 map.insert(std::make_pair("numeric", numeric)); in GetResolvedOptions()
/base/telephony/core_service/services/network_search/include/
Doperator_name.h55 std::string GetCustomName(const std::string &numeric);
57 std::string GetEons(const std::string &numeric, int32_t lac, bool longNameRequired);
58 …std::string GetCustEons(const std::string &numeric, int32_t lac, bool roaming, bool longNameRequir…
Dnetwork_search_state.h34 …OperatorInfo(const std::string &longName, const std::string &shortName, const std::string &numeric,
/base/telephony/cellular_data/services/src/apn_manager/
Dapn_manager.cpp156 int32_t ApnManager::CreateAllApnItemByDatabase(const std::string &numeric) in CreateAllApnItemByDatabase() argument
159 if (numeric.empty()) { in CreateAllApnItemByDatabase()
164 std::string mcc = numeric.substr(0, DEFAULT_MCC_SIZE); in CreateAllApnItemByDatabase()
165 std::string mnc = numeric.substr(mcc.size(), numeric.size() - mcc.size()); in CreateAllApnItemByDatabase()
Dapn_item.cpp99 std::string numeric = apnData.mcc + apnData.mnc; in MakeApn() local
100 if (strcpy_s(apnItem->attr_.numeric_, ALL_APN_ITEM_CHAR_LENGTH, numeric.c_str()) != EOK) { in MakeApn()
/base/telephony/core_service/services/sim/src/
Druim_file.cpp64 std::string numeric = ObtainSimOperator(); in ObtainIsoCountryCode() local
65 if (numeric.empty()) { in ObtainIsoCountryCode()
69 size_t len = numeric.length(); in ObtainIsoCountryCode()
70 std::string mcc = numeric.substr(0, MCC_LEN); in ObtainIsoCountryCode()
Dsim_file.cpp68 std::string numeric = ObtainSimOperator(); in ObtainIsoCountryCode() local
69 if (numeric.empty()) { in ObtainIsoCountryCode()
73 int len = static_cast<int>(numeric.length()); in ObtainIsoCountryCode()
74 std::string mcc = numeric.substr(0, MCC_LEN); in ObtainIsoCountryCode()
/base/telephony/cellular_data/services/include/apn_manager/
Dapn_manager.h43 int32_t CreateAllApnItemByDatabase(const std::string &numeric);
/base/telephony/core_service/frameworks/native/src/
Dnetwork_state.cpp232 …const std::string &longName, const std::string &shortName, const std::string &numeric, DomainType … in SetOperatorInfo() argument
237 psOperatorInfo_.operatorNumeric = numeric; in SetOperatorInfo()
241 csOperatorInfo_.operatorNumeric = numeric; in SetOperatorInfo()
/base/telephony/ril_adapter/interfaces/innerkits/include/
Dhril_network_parcel.h26 std::string numeric; member
32 std::string numeric; member
Dhril_vendor_network_defs.h152 char *numeric; member
/base/telephony/core_service/interfaces/innerkits/include/
Dnetwork_state.h33 …OperatorInfo(const std::string &longName, const std::string &shortName, const std::string &numeric,
/base/global/i18n/frameworks/intl/include/
Dcollator.h52 std::string numeric; variable
Drelative_time_format.h60 std::string numeric = "always"; variable
Dlocale_info.h62 std::string numeric; variable
/base/telephony/ril_adapter/services/hril/src/
Dhril_network.cpp240 operatorInfoResult.numeric = (resp[HRIL_NUMERIC] == nullptr) ? "" : resp[HRIL_NUMERIC]; in GetOperatorInfoResponse()
243 operatorInfoResult.numeric.c_str()); in GetOperatorInfoResponse()
583 operInfo.numeric = (curPtr->numeric == nullptr) ? "" : curPtr->numeric; in BuildOperatorList()
584 TELEPHONY_LOGI("operInfo.numeric:%{public}s", curPtr->numeric); in BuildOperatorList()
/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_network.cpp355 operatorInfoResult->numeric = operatorInfo.numeric; in BuildOperatorInfo()
367 info.numeric = availableInfo.numeric; in BuildAvailableNetworkList()
/base/usb/usb_manager/
DREADME.md70 …ncs); | Converts the string descriptor of a given USB function list to a numeric mask combination.…
71 | std::string UsbFunctionsToString(int32_t funcs); | Converts the numeric mask combination of a g…
/base/telephony/ril_adapter/services/vendor/src/
Dat_network.c779 char *numeric = NULL; in ParseOperListInfo() local
780 ret = ParseOperInfoItem(&line, &longName, &shortName, &numeric); in ParseOperListInfo()
793 pOperInfo[operCount].numeric = numeric; in ParseOperListInfo()
794 TELEPHONY_LOGD("pOperInfo , numeric:%{public}s", numeric); in ParseOperListInfo()
/base/telephony/core_service/test/unittest/core_service_gtest/
Dzero_branch_test.cpp1100 std::string numeric = "qwe"; variable
1129 EXPECT_EQ(operatorName->GetCustomName(numeric), "");
1150 const std::string numeric = ""; variable
1168 networkSearchState->SetOperatorInfo(longName, shortName, numeric, DomainType::DOMAIN_TYPE_PS);

12