/frameworks/base/telephony/java/android/telephony/ |
D | ImsiEncryptionInfo.java | 41 private final String mnc; field in ImsiEncryptionInfo 48 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier, in ImsiEncryptionInfo() argument 50 this(mcc, mnc, keyType, keyIdentifier, makeKeyObject(key), expirationTime); in ImsiEncryptionInfo() 53 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier, in ImsiEncryptionInfo() argument 59 this.mnc = mnc; in ImsiEncryptionInfo() 72 mnc = in.readString(); in ImsiEncryptionInfo() 79 return this.mnc; in getMnc() 137 dest.writeString(mnc); in writeToParcel() 147 + "mnc=" + mnc in toString()
|
D | CellIdentity.java | 58 protected CellIdentity(String tag, int type, String mcc, String mnc, String alphal, in CellIdentity() argument 76 if (mnc == null || mnc.matches("^[0-9]{2,3}$")) { in CellIdentity() 77 mMncStr = mnc; in CellIdentity() 78 } else if (mnc.isEmpty() || mnc.equals(String.valueOf(Integer.MAX_VALUE))) { in CellIdentity() 85 log("invalid MNC format: " + mnc); in CellIdentity()
|
D | CellIdentityTdscdma.java | 74 public CellIdentityTdscdma(String mcc, String mnc, int lac, int cid, int cpid, int uarfcn, in CellIdentityTdscdma() argument 76 super(TAG, CellInfo.TYPE_TDSCDMA, mcc, mnc, alphal, alphas); in CellIdentityTdscdma() 90 this(cid.mcc, cid.mnc, cid.lac, cid.cid, cid.cpid, CellInfo.UNAVAILABLE, "", ""); in CellIdentityTdscdma() 95 this(cid.base.mcc, cid.base.mnc, cid.base.lac, cid.base.cid, cid.base.cpid, in CellIdentityTdscdma()
|
D | CellIdentityLte.java | 76 public CellIdentityLte(int mcc, int mnc, int ci, int pci, int tac) { in CellIdentityLte() argument 78 String.valueOf(mnc), null, null); in CellIdentityLte() 107 this(cid.ci, cid.pci, cid.tac, cid.earfcn, CellInfo.UNAVAILABLE, cid.mcc, cid.mnc, "", ""); in CellIdentityLte() 113 cid.base.mcc, cid.base.mnc, cid.operatorNames.alphaLong, in CellIdentityLte()
|
D | SubscriptionInfo.java | 208 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 211 roaming, icon, mcc, mnc, countryIso, isEmbedded, accessRules, cardString, -1, in SubscriptionInfo() 222 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 226 roaming, icon, mcc, mnc, countryIso, isEmbedded, accessRules, cardString, -1, in SubscriptionInfo() 236 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 251 this.mMnc = mnc; in SubscriptionInfo() 650 String mnc = source.readString(); 668 carrierName, nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc,
|
D | CellIdentityWcdma.java | 84 this(cid.lac, cid.cid, cid.psc, cid.uarfcn, cid.mcc, cid.mnc, "", ""); in CellIdentityWcdma() 90 cid.base.mcc, cid.base.mnc, cid.operatorNames.alphaLong, in CellIdentityWcdma()
|
D | CellIdentityGsm.java | 86 cid.mcc, cid.mnc, "", ""); in CellIdentityGsm() 93 cid.base.mnc, cid.operatorNames.alphaLong, cid.operatorNames.alphaShort); in CellIdentityGsm()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierInfoManager.java | 62 String mnc = ""; in getCarrierInfoForImsiEncryption() local 68 mnc = simOperator.substring(3); in getCarrierInfoForImsiEncryption() 69 Log.i(LOG_TAG, "using values for mnc, mcc: " + mnc + "," + mcc); in getCarrierInfoForImsiEncryption() 84 new String[]{mcc, mnc, String.valueOf(keyType)}, null); in getCarrierInfoForImsiEncryption() 95 return new ImsiEncryptionInfo(mcc, mnc, keyType, keyIdentifier, carrier_key, in getCarrierInfoForImsiEncryption() 213 String mnc = ""; in deleteCarrierInfoForImsiEncryption() local 219 mnc = simOperator.substring(3); in deleteCarrierInfoForImsiEncryption() 227 String[] whereArgs = new String[] { mcc, mnc }; in deleteCarrierInfoForImsiEncryption()
|
D | CarrierKeyDownloadManager.java | 443 String mnc = ""; in parseJsonAndPersistKey() local 446 mnc = splitValue[1]; in parseJsonAndPersistKey() 480 savePublicKey(keyInfo.first, type, identifier, keyInfo.second, mcc, mnc); in parseJsonAndPersistKey() 535 String mnc = ""; in downloadKey() local 540 mnc = simOperator.substring(3); in downloadKey() 541 Log.d(LOG_TAG, "using values for mcc, mnc: " + mcc + "," + mnc); in downloadKey() 557 String mccMnc = mcc + SEPARATOR + mnc; in downloadKey() 559 Log.d(LOG_TAG, "storing values in sharedpref mcc, mnc, days: " + mcc + "," + mnc in downloadKey() 596 String mcc, String mnc) { in savePublicKey() argument 597 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo(mcc, mnc, type, identifier, in savePublicKey()
|
D | MccTable.java | 59 MccEntry(int mnc, String iso, int smallestDigitsMCC) { in MccEntry() argument 63 mMcc = mnc; in MccEntry() 193 int mcc, mnc; in updateMccMncConfiguration() local 197 mnc = Integer.parseInt(mccmnc.substring(3)); in updateMccMncConfiguration() 203 Slog.d(LOG_TAG, "updateMccMncConfiguration: mcc=" + mcc + ", mnc=" + mnc); in updateMccMncConfiguration() 213 config.mnc = mnc == 0 ? Configuration.MNC_ZERO : mnc; in updateMccMncConfiguration()
|
/frameworks/base/core/jni/ |
D | android_content_res_Configuration.cpp | 32 jfieldID mnc; member 51 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc); in android_Configuration_getFromJava() 80 gConfigurationClassInfo.mnc = GetFieldIDOrDie(env, clazz, "mnc", "I"); in register_android_content_res_Configuration()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | TelephonyUtil.java | 163 String mnc = mccMnc.substring(3); in getAnonymousIdentityWith3GppRealm() local 165 if (mnc.length() == 2) { in getAnonymousIdentityWith3GppRealm() 166 mnc = "0" + mnc; in getAnonymousIdentityWith3GppRealm() 169 String realm = String.format(THREE_GPP_NAI_REALM_FORMAT, mnc, mcc); in getAnonymousIdentityWith3GppRealm() 279 String mnc; in buildIdentity() local 282 mnc = mccMnc.substring(3); in buildIdentity() 283 if (mnc.length() == 2) { in buildIdentity() 284 mnc = "0" + mnc; in buildIdentity() 289 mnc = imsi.substring(3, 6); in buildIdentity() 292 String naiRealm = String.format(THREE_GPP_NAI_REALM_FORMAT, mnc, mcc); in buildIdentity()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | CellularNetwork.java | 158 int mnc = ((plmn[2] << 4) & 0xF0) | ((plmn[2] >> 4) & 0x0F); in parsePlmn() local 164 ? String.format("%03x%03x", mcc, (mnc << 4) | mncDigit3) in parsePlmn() 165 : String.format("%03x%02x", mcc, mnc); in parsePlmn()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 113 public int mnc; field in Configuration 911 mnc = o.mnc; in setTo() 949 if (mnc != 0) { in toString() 950 sb.append(mnc); in toString() 1112 protoOutputStream.write(MNC, mnc); in writeToProto() 1184 mnc = protoInputStream.readInt(MNC); in readFromProto() 1352 mcc = mnc = 0; in setToDefaults() 1407 if (delta.mnc != 0 && mnc != delta.mnc) { in updateFrom() 1409 mnc = delta.mnc; in updateFrom() 1633 if ((compareUndefined || delta.mnc != 0) && mnc != delta.mnc) { in diff() [all …]
|
/frameworks/base/core/java/android/service/carrier/ |
D | CarrierIdentifier.java | 61 public CarrierIdentifier(String mcc, String mnc, @Nullable String spn, @Nullable String imsi, in CarrierIdentifier() argument 63 this(mcc, mnc, spn, imsi, gid1, gid2, TelephonyManager.UNKNOWN_CARRIER_ID, in CarrierIdentifier() 79 public CarrierIdentifier(@NonNull String mcc, @NonNull String mnc, @Nullable String spn, in CarrierIdentifier() argument 83 mMnc = mnc; in CarrierIdentifier()
|
/frameworks/base/native/android/ |
D | configuration.cpp | 54 return config->mnc; in AConfiguration_getMnc() 146 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc) { in AConfiguration_setMnc() argument 147 config->mnc = mnc; in AConfiguration_setMnc()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 127 String mnc = mccmnc.substring(3); in getRealmForMccMnc() local 128 if (mnc.length() == 2) { in getRealmForMccMnc() 129 mnc = "0" + mnc; in getRealmForMccMnc() 131 return String.format("wlan.mnc%s.mcc%s.3gppnetwork.org", mnc, mcc); in getRealmForMccMnc()
|
/frameworks/base/libs/androidfw/ |
D | ConfigDescription.cpp | 67 if (out) out->mnc = 0; in parseMnc() 87 out->mnc = atoi(val); in parseMnc() 88 if (out->mnc == 0) { in parseMnc() 89 out->mnc = ACONFIGURATION_MNC_ZERO; in parseMnc() 908 if (mnc || o.mnc) return (!o.mnc); in HasHigherPrecedenceThan() 970 return !pred(mcc, o.mcc) || !pred(mnc, o.mnc) || !pred(locale, o.locale) || in ConflictsWith()
|
D | ResourceTypes.cpp | 1914 mnc = dtohs(mnc); in copyFromDtoH() 1928 mnc = htods(mnc); in swapHtoD() 2017 if (mnc != o.mnc) { in compareLogical() 2018 return mnc < o.mnc ? -1 : 1; in compareLogical() 2080 if (mnc != o.mnc) diffs |= CONFIG_MNC; in diff() 2147 if (mnc != o.mnc) { in isMoreSpecificThan() 2148 if (!mnc) return false; in isMoreSpecificThan() 2149 if (!o.mnc) return true; in isMoreSpecificThan() 2421 if ((mnc != o.mnc) && requested->mnc) { in isBetterThan() 2422 return (mnc); in isBetterThan() [all …]
|
/frameworks/base/tools/aapt2/test/ |
D | Builders.h | 221 ConfigDescriptionBuilder& setMnc(uint16_t mnc) { in setMnc() argument 222 config_.mnc = mnc; in setMnc()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | RILTest.java | 1156 lte.cellIdentityLte.mnc = MNC_STR; in testConvertHalCellInfoListForLTE() 1200 cellinfo.cellIdentityGsm.mnc = MNC_STR; in testConvertHalCellInfoListForGSM() 1241 cellinfo.cellIdentityWcdma.mnc = MNC_STR; in testConvertHalCellInfoListForWcdma() 1281 cellinfo.cellIdentityTdscdma.base.mnc = MNC_STR; in testConvertHalCellInfoListForTdscdma() 1735 lte.cellIdentityLte.base.mnc = MNC_STR; in initializeCellInfoLte_1_2() 1739 String mcc, String mnc, String alphaLong, String alphaShort) { in getCellInfoListForLTE() argument 1747 lte.cellIdentityLte.base.mnc = mnc; in getCellInfoListForLTE() 1763 String mcc, String mnc, String alphaLong, String alphaShort) { in getCellInfoListForGSM() argument 1771 cellinfo.cellIdentityGsm.base.mnc = mnc; in getCellInfoListForGSM() 1792 String mcc, String mnc, String alphaLong, String alphaShort) { in getCellInfoListForWcdma() argument [all …]
|
/frameworks/base/telephony/java/android/telephony/emergency/ |
D | EmergencyNumber.java | 248 public EmergencyNumber(@NonNull String number, @NonNull String countryIso, @NonNull String mnc, in EmergencyNumber() argument 255 this.mMnc = mnc; in EmergencyNumber()
|
/frameworks/base/core/proto/android/content/ |
D | configuration.proto | 34 optional uint32 mnc = 3 [ (.android.privacy).dest = DEST_EXPLICIT ]; field
|
/frameworks/native/include/android/ |
D | configuration.h | 520 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc);
|
/frameworks/base/tools/aapt/ |
D | AaptConfig.cpp | 351 out->mnc = atoi(val); in parseMnc() 352 if (out->mnc == 0) { in parseMnc() 353 out->mnc = ACONFIGURATION_MNC_ZERO; in parseMnc()
|