/device/generic/goldfish/radio/include/telephony/ |
D | ril_mnc.h | 26 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()
|
D | ril.h | 735 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
|
/device/generic/goldfish/radio/ril/ |
D | ril.h | 736 const char * mnc; member 758 char * mnc ; /* MNC of the Carrier. */ member 1365 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1374 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1385 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1395 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1421 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1431 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1442 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
|
/device/google/cuttlefish/guest/hals/ril/reference-libril/ |
D | ril.h | 788 const char * mnc; member 831 char * mnc ; /* MNC of the Carrier. */ member 1499 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1508 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1519 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1529 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1555 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1565 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1576 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1592 …int mnc; /* 2 or 3-digit Mobile Network Code, in range [0, 999], This value must be vali… member
|
D | ril_service.cpp | 2910 allowedCarriers[i].mnc = allowedList[i].mnc.c_str(); in prepareCarrierRestrictions() 2917 excludedCarriers[i].mnc = excludedList[i].mnc.c_str(); in prepareCarrierRestrictions() 3037 if (!copyHidlStringToRil(&imsiEncryption.mnc, data.mnc, pRI)) { in setCarrierInfoForImsiEncryption() 3041 memsetAndFreeStrings(1, imsiEncryption.mnc); in setCarrierInfoForImsiEncryption() 3045 memsetAndFreeStrings(2, imsiEncryption.mnc, imsiEncryption.mcc); in setCarrierInfoForImsiEncryption() 4746 cellIdentity.cellIdentityGsm[0].mnc = in fillCellIdentityResponse() 4747 ril::util::mnc::decode(rilCellIdentity.cellIdentityGsm.mnc); in fillCellIdentityResponse() 4759 cellIdentity.cellIdentityWcdma[0].mnc = in fillCellIdentityResponse() 4760 ril::util::mnc::decode(rilCellIdentity.cellIdentityWcdma.mnc); in fillCellIdentityResponse() 4783 cellIdentity.cellIdentityLte[0].mnc = in fillCellIdentityResponse() [all …]
|
/device/google/cuttlefish/guest/hals/ril/libril/ |
D | ril.h | 785 const char * mnc; member 828 char * mnc ; /* MNC of the Carrier. */ member 1435 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1444 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1455 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1465 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1491 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1501 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member 1512 int mnc; /* 2 or 3-digit Mobile Network Code, 0..999; member
|
D | ril_service.cpp | 2879 allowedCarriers[i].mnc = allowedList[i].mnc.c_str(); in prepareCarrierRestrictions() 2886 excludedCarriers[i].mnc = excludedList[i].mnc.c_str(); in prepareCarrierRestrictions() 3006 if (!copyHidlStringToRil(&imsiEncryption.mnc, data.mnc, pRI)) { in setCarrierInfoForImsiEncryption() 3010 memsetAndFreeStrings(1, imsiEncryption.mnc); in setCarrierInfoForImsiEncryption() 3014 memsetAndFreeStrings(2, imsiEncryption.mnc, imsiEncryption.mcc); in setCarrierInfoForImsiEncryption() 4577 cellIdentity.cellIdentityGsm[0].mnc = in fillCellIdentityResponse() 4578 ril::util::mnc::decode(rilCellIdentity.cellIdentityGsm.mnc); in fillCellIdentityResponse() 4590 cellIdentity.cellIdentityWcdma[0].mnc = in fillCellIdentityResponse() 4591 ril::util::mnc::decode(rilCellIdentity.cellIdentityWcdma.mnc); in fillCellIdentityResponse() 4614 cellIdentity.cellIdentityLte[0].mnc = in fillCellIdentityResponse() [all …]
|
/device/sample/etc/ |
D | README | 8 mnc="123"
|
/device/generic/goldfish/radio/libril/ |
D | ril_service.cpp | 2751 allowedCarriers[i].mnc = carriers.allowedCarriers[i].mnc.c_str(); in setAllowedCarriers() 2758 excludedCarriers[i].mnc = carriers.excludedCarriers[i].mnc.c_str(); in setAllowedCarriers() 2847 if (!copyHidlStringToRil(&imsiEncryption.mnc, data.mnc, pRI)) { in setCarrierInfoForImsiEncryption() 2851 memsetAndFreeStrings(1, imsiEncryption.mnc); in setCarrierInfoForImsiEncryption() 2855 memsetAndFreeStrings(2, imsiEncryption.mnc, imsiEncryption.mcc); in setCarrierInfoForImsiEncryption() 3592 cellIdentity.cellIdentityGsm[0].mnc = in fillCellIdentityResponse() 3593 ril::util::mnc::decode(rilCellIdentity.cellIdentityGsm.mnc); in fillCellIdentityResponse() 3610 cellIdentity.cellIdentityWcdma[0].mnc = in fillCellIdentityResponse() 3611 ril::util::mnc::decode(rilCellIdentity.cellIdentityWcdma.mnc); in fillCellIdentityResponse() 3639 cellIdentity.cellIdentityLte[0].mnc = in fillCellIdentityResponse() [all …]
|
/device/google/cuttlefish/guest/hals/ril/ |
D | cuttlefish_ril.cpp | 1448 ci.CellInfo.gsm.cellIdentityGsm.mnc = s_mnc; in request_get_cell_info_list()
|