Home
last modified time | relevance | path

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

/hardware/ril/include/telephony/
Dril_mnc.h26 namespace mnc {
37 static inline std::string decode(int mnc) { in decode() argument
38 if (mnc == INT_MAX || mnc < 0) return ""; in decode()
39 unsigned umnc = mnc; in decode()
75 static inline int encode(int mnc, int numDigits) { in encode() argument
76 if (mnc > 999 || mnc < 0) return INT_MAX; in encode()
87 return (numDigits << (sizeof(int) * 8 - 4)) | mnc; in encode()
98 static inline int encode(const std::string & mnc) { in encode() argument
99 return encode(std::stoi(mnc), mnc.length()); in encode()
Dril.h735 const char * mnc; member
757 char * mnc ; /* MNC of the Carrier. */ member
1364 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
1373 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
1384 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
1394 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
1420 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
1430 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
1441 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
/hardware/interfaces/radio/1.0/vts/functional/
Dradio_hidl_hal_data.cpp58 hidl_mnc = cig.mnc; in TEST_P()
63 hidl_mnc = cil.mnc; in TEST_P()
68 hidl_mnc = ciw.mnc; in TEST_P()
73 hidl_mnc = cit.mnc; in TEST_P()
93 int mnc = stoi(hidl_mnc); in TEST_P() local
95 EXPECT_TRUE(mnc >= 0 && mnc <= 999); in TEST_P()
Dradio_hidl_hal_misc.cpp855 carriers.allowedCarriers[0].mnc = hidl_string(); in TEST_P()
/hardware/interfaces/gnss/1.0/default/
DAGnssRil.cpp102 .mnc = cellID.mnc, in setRefLocation()
/hardware/ril/reference-ril/
Dril.h735 const char * mnc; member
757 char * mnc ; /* MNC of the Carrier. */ member
1364 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
1373 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
1384 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
1394 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
1420 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
1430 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
1441 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
/hardware/interfaces/radio/1.2/vts/functional/
Dradio_hidl_hal_api.cpp761 hidl_mnc = cig.base.mnc; in TEST_P()
766 hidl_mnc = cil.base.mnc; in TEST_P()
772 hidl_mnc = ciw.base.mnc; in TEST_P()
778 hidl_mnc = cit.base.mnc; in TEST_P()
795 int mnc = stoi(hidl_mnc); in TEST_P() local
797 EXPECT_TRUE(mnc >= 0 && mnc <= 999); in TEST_P()
/hardware/ril/libril/
Dril_service.cpp2735 allowedCarriers[i].mnc = carriers.allowedCarriers[i].mnc.c_str(); in setAllowedCarriers()
2742 excludedCarriers[i].mnc = carriers.excludedCarriers[i].mnc.c_str(); in setAllowedCarriers()
2831 if (!copyHidlStringToRil(&imsiEncryption.mnc, data.mnc, pRI)) { in setCarrierInfoForImsiEncryption()
2835 memsetAndFreeStrings(1, imsiEncryption.mnc); in setCarrierInfoForImsiEncryption()
2839 memsetAndFreeStrings(2, imsiEncryption.mnc, imsiEncryption.mcc); in setCarrierInfoForImsiEncryption()
3576 cellIdentity.cellIdentityGsm[0].mnc = in fillCellIdentityResponse()
3577 ril::util::mnc::decode(rilCellIdentity.cellIdentityGsm.mnc); in fillCellIdentityResponse()
3594 cellIdentity.cellIdentityWcdma[0].mnc = in fillCellIdentityResponse()
3595 ril::util::mnc::decode(rilCellIdentity.cellIdentityWcdma.mnc); in fillCellIdentityResponse()
3623 cellIdentity.cellIdentityLte[0].mnc = in fillCellIdentityResponse()
[all …]
/hardware/interfaces/radio/1.0/
Dtypes.hal770 ALL = 0, // Apply to all carriers with the same mcc/mnc
771 SPN = 1, // Use SPN and mcc/mnc to identify the carrier
772 IMSI_PREFIX = 2, // Use IMSI prefix and mcc/mnc to identify the carrier
773 GID1 = 3, // Use GID1 and mcc/mnc to identify the carrier
774 GID2 = 4, // Use GID2 and mcc/mnc to identify the carrier
1528 string mnc; // 2 or 3-digit Mobile Network Code, 0..999, empty string
1541 string mnc; // 2 or 3-digit Mobile Network Code, 0..999, empty string
1571 string mnc; // 2 or 3-digit Mobile Network Code, 0..999, empty string
1584 string mnc; // 2 or 3-digit Mobile Network Code, 0..999, empty string
1885 string mnc;
[all …]
/hardware/interfaces/radio/1.1/vts/functional/
Dradio_hidl_hal_api.cpp169 imsiInfo.mnc = "004"; in TEST_P()
/hardware/interfaces/gnss/1.0/
DIAGnssRil.hal62 uint16_t mnc;
/hardware/interfaces/radio/1.5/
Dtypes.hal591 * The fields "mcc" and "mnc" must contain the PLMN-ID of the primary PLMN of this cell.
601 * The fields "mcc" and "mnc" must contain the PLMN-ID of the primary PLMN of this cell.
614 * The fields "mcc" and "mnc" must contain the PLMN-ID of the primary PLMN of this cell.
627 * The fields "mcc" and "mnc" must contain the PLMN-ID of the primary PLMN of this cell.
647 * The fields "mcc" and "mnc" must contain the PLMN-ID of the primary PLMN of this cell.
/hardware/interfaces/radio/1.4/
Dtypes.hal78 * emergency uniform resource names, mobile country code (mcc), mobile network country (mnc) and
83 * operator, field ‘mcc’ and 'mnc' must be provided, otherwise field ‘mnc’ must be an empty
90 * A unique EmergencyNumber has a unique combination of ‘number’, ‘mcc’, 'mnc', 'categories' and
112 string mnc;
1791 * are permitted. Eg. allowedCarriers match mcc/mnc, excludedCarriers has same mcc/mnc and
1793 * same mcc/mnc are allowed.
1810 string mnc;
/hardware/interfaces/radio/1.1/
Dtypes.hal202 string mnc; // MNC of the Carrier.
/hardware/libhardware/include/hardware/
Dgps.h478 uint16_t mnc; member
/hardware/qcom/sdm845/gps/msm8998/utils/
Dloc_gps.h663 uint16_t mnc; member
/hardware/qcom/gps/msm8909w_3100/utils/
Dloc_gps.h667 uint16_t mnc; member
/hardware/qcom/gps/msm8998/utils/
Dloc_gps.h663 uint16_t mnc; member
/hardware/qcom/sm8150/gps/utils/
Dloc_gps.h687 uint16_t mnc; member
/hardware/qcom/sdm845/gps/sdm845/utils/
Dloc_gps.h667 uint16_t mnc; member
/hardware/interfaces/radio/1.4/vts/functional/
Dradio_hidl_hal_api.cpp651 carrierRestrictions.allowedCarriers[0].mnc = hidl_string("456"); in TEST_P()
695 radioRsp_v1_4->carrierRestrictionsResp.allowedCarriers[0].mnc); in TEST_P()