Home
last modified time | relevance | path

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

12

/frameworks/base/telephony/java/android/telephony/
DImsiEncryptionInfo.java41 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()
DCellIdentity.java58 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()
DCellIdentityTdscdma.java74 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()
DCellIdentityLte.java76 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()
DSubscriptionInfo.java208 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,
DCellIdentityWcdma.java84 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()
DCellIdentityGsm.java86 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/
DCarrierInfoManager.java62 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()
DCarrierKeyDownloadManager.java443 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()
DMccTable.java59 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/
Dandroid_content_res_Configuration.cpp32 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/
DTelephonyUtil.java163 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/
DCellularNetwork.java158 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/
DConfiguration.java113 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/
DCarrierIdentifier.java61 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/
Dconfiguration.cpp54 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/
DUtils.java127 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/
DConfigDescription.cpp67 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()
DResourceTypes.cpp1914 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/
DBuilders.h221 ConfigDescriptionBuilder& setMnc(uint16_t mnc) { in setMnc() argument
222 config_.mnc = mnc; in setMnc()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DRILTest.java1156 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/
DEmergencyNumber.java248 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/
Dconfiguration.proto34 optional uint32 mnc = 3 [ (.android.privacy).dest = DEST_EXPLICIT ]; field
/frameworks/native/include/android/
Dconfiguration.h520 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc);
/frameworks/base/tools/aapt/
DAaptConfig.cpp351 out->mnc = atoi(val); in parseMnc()
352 if (out->mnc == 0) { in parseMnc()
353 out->mnc = ACONFIGURATION_MNC_ZERO; in parseMnc()

12