Home
last modified time | relevance | path

Searched refs:mnc (Results 1 – 25 of 37) 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()
DCellIdentityWcdma.java67 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc) { in CellIdentityWcdma() argument
68 this(mcc, mnc, lac, cid, psc, Integer.MAX_VALUE); in CellIdentityWcdma()
82 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc, int uarfcn) { in CellIdentityWcdma() argument
84 mMnc = mnc; in CellIdentityWcdma()
DCellIdentityLte.java68 public CellIdentityLte (int mcc, int mnc, int ci, int pci, int tac) { in CellIdentityLte() argument
69 this(mcc, mnc, ci, pci, tac, Integer.MAX_VALUE); in CellIdentityLte()
83 public CellIdentityLte (int mcc, int mnc, int ci, int pci, int tac, int earfcn) { in CellIdentityLte() argument
85 mMnc = mnc; in CellIdentityLte()
DCellIdentityGsm.java66 public CellIdentityGsm (int mcc, int mnc, int lac, int cid) { in CellIdentityGsm() argument
67 this(mcc, mnc, lac, cid, Integer.MAX_VALUE, Integer.MAX_VALUE); in CellIdentityGsm()
81 public CellIdentityGsm (int mcc, int mnc, int lac, int cid, int arfcn, int bsic) { in CellIdentityGsm() argument
83 mMnc = mnc; in CellIdentityGsm()
DSubscriptionInfo.java133 Bitmap icon, int mcc, int mnc, String countryIso) { in SubscriptionInfo() argument
135 roaming, icon, mcc, mnc, countryIso, false /* isEmbedded */, in SubscriptionInfo()
144 Bitmap icon, int mcc, int mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument
157 this.mMnc = mnc; in SubscriptionInfo()
403 int mnc = source.readInt();
410 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso,
DSubscriptionManager.java1520 newConfig.mnc = subInfo.getMnc(); in getResourcesForSubId()
1521 if (newConfig.mnc == 0) newConfig.mnc = Configuration.MNC_ZERO; in getResourcesForSubId()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java48 String mnc = ""; in getCarrierInfoForImsiEncryption() local
54 mnc = networkOperator.substring(3); in getCarrierInfoForImsiEncryption()
55 Log.i(LOG_TAG, "using values for mnc, mcc: " + mnc + "," + mcc); in getCarrierInfoForImsiEncryption()
70 new String[]{mcc, mnc, String.valueOf(keyType)}, null); in getCarrierInfoForImsiEncryption()
81 return new ImsiEncryptionInfo(mcc, mnc, keyType, keyIdentifier, carrier_key, in getCarrierInfoForImsiEncryption()
DCarrierKeyDownloadManager.java404 String mnc = ""; in parseJsonAndPersistKey() local
407 mnc = splitValue[1]; in parseJsonAndPersistKey()
434 savePublicKey(keyInfo.first, type, identifier, keyInfo.second, mcc, mnc); in parseJsonAndPersistKey()
489 String mnc = ""; in downloadKey() local
494 mnc = simOperator.substring(3); in downloadKey()
495 Log.d(LOG_TAG, "using values for mcc, mnc: " + mcc + "," + mnc); in downloadKey()
507 String mccMnc = mcc + SEPARATOR + mnc; in downloadKey()
509 Log.d(LOG_TAG, "storing values in sharedpref mcc, mnc, days: " + mcc + "," + mnc in downloadKey()
546 String mcc, String mnc) { in savePublicKey() argument
547 ImsiEncryptionInfo imsiEncryptionInfo = new ImsiEncryptionInfo(mcc, mnc, type, identifier, in savePublicKey()
DMccTable.java60 MccEntry(int mnc, String iso, int smallestDigitsMCC) { in MccEntry() argument
64 mMcc = mnc; in MccEntry()
194 int mcc, mnc; in updateMccMncConfiguration() local
206 mnc = Integer.parseInt(mccmnc.substring(3)); in updateMccMncConfiguration()
212 Slog.d(LOG_TAG, "updateMccMncConfiguration: mcc=" + mcc + ", mnc=" + mnc); in updateMccMncConfiguration()
225 config.mnc = mnc == 0 ? Configuration.MNC_ZERO : mnc; in updateMccMncConfiguration()
DSubscriptionController.java313 int mnc = cursor.getInt(cursor.getColumnIndexOrThrow( in getSubInfoRecord() local
332 + " mcc:" + mcc + " mnc:" + mnc + " countIso:" + countryIso + " isEmbedded:" in getSubInfoRecord()
342 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso, in getSubInfoRecord()
1343 int mnc = 0; in setMccMnc() local
1346 mnc = Integer.parseInt(mccMnc.substring(3)); in setMccMnc()
1350 if (DBG) logd("[setMccMnc]+ mcc/mnc:" + mcc + "/" + mnc + " subId:" + subId); in setMccMnc()
1353 value.put(SubscriptionManager.MNC, mnc); in setMccMnc()
DRadioResponse.java1792 String mnc = carriers.allowedCarriers.get(i).mnc; in responseCarrierIdentifiers() local
1805 ret.add(new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in responseCarrierIdentifiers()
/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()
Dandroid_util_AssetManager.cpp671 jint mcc, jint mnc, in android_content_AssetManager_setConfiguration() argument
697 config.mnc = (uint16_t)mnc; in android_content_AssetManager_setConfiguration()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java83 String mnc; in buildIdentity() local
86 mnc = mccMnc.substring(3); in buildIdentity()
87 if (mnc.length() == 2) { in buildIdentity()
88 mnc = "0" + mnc; in buildIdentity()
93 mnc = imsi.substring(3, 6); in buildIdentity()
96 return prefix + imsi + "@wlan.mnc" + mnc + ".mcc" + mcc + ".3gppnetwork.org"; 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.java79 public int mnc; field in Configuration
876 mnc = o.mnc; in setTo()
914 if (mnc != 0) { in toString()
915 sb.append(mnc); in toString()
1067 mcc = mnc = 0; in setToDefaults()
1121 if (delta.mnc != 0 && mnc != delta.mnc) { in updateFrom()
1123 mnc = delta.mnc; in updateFrom()
1349 if ((compareUndefined || delta.mnc != 0) && mnc != delta.mnc) { in diff()
1508 dest.writeInt(mnc); in writeToParcel()
1548 mnc = source.readInt(); in readFromParcel()
[all …]
DAssetManager.java788 public native final void setConfiguration(int mcc, int mnc, String locale, in setConfiguration() argument
/frameworks/base/native/android/
Dconfiguration.cpp49 return config->mnc; in AConfiguration_getMnc()
141 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc) { in AConfiguration_setMnc() argument
142 config->mnc = mnc; in AConfiguration_setMnc()
/frameworks/base/core/java/android/service/carrier/
DCarrierIdentifier.java48 public CarrierIdentifier(String mcc, String mnc, String spn, String imsi, String gid1, in CarrierIdentifier() argument
51 mMnc = mnc; in CarrierIdentifier()
/frameworks/base/tools/aapt2/
DConfigDescription.cpp73 if (out) out->mnc = 0; in parseMnc()
93 out->mnc = atoi(val); in parseMnc()
94 if (out->mnc == 0) { in parseMnc()
95 out->mnc = ACONFIGURATION_MNC_ZERO; in parseMnc()
903 if (mnc || o.mnc) return (!o.mnc); in HasHigherPrecedenceThan()
965 return !pred(mcc, o.mcc) || !pred(mnc, o.mnc) || !pred(locale, o.locale) || in ConflictsWith()
/frameworks/base/core/proto/android/content/
Dconfiguration.proto32 uint32 mnc = 3; field
/frameworks/native/include/android/
Dconfiguration.h516 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()
/frameworks/base/libs/androidfw/
DResourceTypes.cpp1869 mnc = dtohs(mnc); in copyFromDtoH()
1883 mnc = htods(mnc); in swapHtoD()
1948 if (mnc != o.mnc) { in compareLogical()
1949 return mnc < o.mnc ? -1 : 1; in compareLogical()
2011 if (mnc != o.mnc) diffs |= CONFIG_MNC; in diff()
2076 if (mnc != o.mnc) { in isMoreSpecificThan()
2077 if (!mnc) return false; in isMoreSpecificThan()
2078 if (!o.mnc) return true; in isMoreSpecificThan()
2339 if ((mnc != o.mnc) && requested->mnc) { in isBetterThan()
2340 return (mnc); in isBetterThan()
[all …]
/frameworks/base/services/core/jni/
Dcom_android_server_location_GnssLocationProvider.cpp1319 JNIEnv* /* env */, jobject /* obj */, jint type, jint mcc, jint mnc, jint lac, jint cid) { in android_location_GnssLocationProvider_agps_set_reference_location_cellid() argument
1332 location.cellID.mnc = mnc; in android_location_GnssLocationProvider_agps_set_reference_location_cellid()

12