/frameworks/base/telephony/java/android/telephony/ |
H A D | ImsiEncryptionInfo.java | 41 private final String mnc; field in class:ImsiEncryptionInfo 48 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier, argument 50 this(mcc, mnc, keyType, keyIdentifier, makeKeyObject(key), expirationTime); 53 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier, argument 59 this.mnc = mnc; 72 mnc = in.readString(); 79 return this.mnc; 137 dest.writeString(mnc); 147 + "mnc [all...] |
H A D | CellIdentity.java | 98 protected CellIdentity(String tag, int type, String mcc, String mnc, String alphal, argument 103 // Only allow INT_MAX if unknown string mcc/mnc 116 if (mnc == null || mnc.matches("^[0-9]{2,3}$")) { 117 mMncStr = mnc; 118 } else if (mnc.isEmpty() || mnc.equals(String.valueOf(Integer.MAX_VALUE))) { 125 log("invalid MNC format: " + mnc);
|
H A D | CellIdentityTdscdma.java | 51 * @param mnc 2 or 3-digit Mobile Network Code, 0..999 58 public CellIdentityTdscdma(int mcc, int mnc, int lac, int cid, int cpid) { argument 59 this(String.valueOf(mcc), String.valueOf(mnc), lac, cid, cpid, null, null); 64 * @param mnc 2 or 3-digit Mobile Network Code in string format 72 public CellIdentityTdscdma(String mcc, String mnc, int lac, int cid, int cpid) { argument 73 super(TAG, TYPE_TDSCDMA, mcc, mnc, null, null); 81 * @param mnc 2 or 3-digit Mobile Network Code in string format 90 public CellIdentityTdscdma(String mcc, String mnc, int lac, int cid, int cpid, argument 92 super(TAG, TYPE_TDSCDMA, mcc, mnc, alphal, alphas);
|
H A D | CellIdentityWcdma.java | 54 * @param mnc 2 or 3-digit Mobile Network Code, 0..999 61 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc) { argument 62 this(lac, cid, psc, Integer.MAX_VALUE, String.valueOf(mcc), String.valueOf(mnc), 69 * @param mnc 2 or 3-digit Mobile Network Code, 0..999 77 public CellIdentityWcdma (int mcc, int mnc, int lac, int cid, int psc, int uarfcn) { argument 78 this(lac, cid, psc, uarfcn, String.valueOf(mcc), String.valueOf(mnc), null, null);
|
H A D | SubscriptionInfo.java | 142 Bitmap icon, int mcc, int mnc, String countryIso) { 144 roaming, icon, mcc, mnc, countryIso, false /* isEmbedded */, 153 Bitmap icon, int mcc, int mnc, String countryIso, boolean isEmbedded, 156 roaming, icon, mcc, mnc, countryIso, isEmbedded, accessRules, null /* cardId */); 164 Bitmap icon, int mcc, int mnc, String countryIso, boolean isEmbedded, 177 this.mMnc = mnc; 429 int mnc = source.readInt(); 437 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso, 495 + " mnc " + mMnc + " isEmbedded " + mIsEmbedded 140 SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, CharSequence carrierName, int nameSource, int iconTint, String number, int roaming, Bitmap icon, int mcc, int mnc, String countryIso) argument 151 SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, CharSequence carrierName, int nameSource, int iconTint, String number, int roaming, Bitmap icon, int mcc, int mnc, String countryIso, boolean isEmbedded, @Nullable UiccAccessRule[] accessRules) argument 162 SubscriptionInfo(int id, String iccId, int simSlotIndex, CharSequence displayName, CharSequence carrierName, int nameSource, int iconTint, String number, int roaming, Bitmap icon, int mcc, int mnc, String countryIso, boolean isEmbedded, @Nullable UiccAccessRule[] accessRules, String cardId) argument
|
H A D | CellIdentityGsm.java | 54 * @param mnc 2 or 3-digit Mobile Network Code, 0..999 60 public CellIdentityGsm(int mcc, int mnc, int lac, int cid) { argument 62 String.valueOf(mcc), String.valueOf(mnc), null, null); 68 * @param mnc 2 or 3-digit Mobile Network Code, 0..999 76 public CellIdentityGsm(int mcc, int mnc, int lac, int cid, int arfcn, int bsic) { argument 77 this(lac, cid, arfcn, bsic, String.valueOf(mcc), String.valueOf(mnc), null, null);
|
H A D | CellIdentityLte.java | 58 * @param mnc 2 or 3-digit Mobile Network Code, 0..999 65 public CellIdentityLte(int mcc, int mnc, int ci, int pci, int tac) { argument 67 String.valueOf(mnc), null, null); 73 * @param mnc 2 or 3-digit Mobile Network Code, 0..999 81 public CellIdentityLte(int mcc, int mnc, int ci, int pci, int tac, int earfcn) { argument 82 this(ci, pci, tac, earfcn, Integer.MAX_VALUE, String.valueOf(mcc), String.valueOf(mnc),
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
H A D | CellularNetwork.java | 158 int mnc = ((plmn[2] << 4) & 0xF0) | ((plmn[2] >> 4) & 0x0F); 164 ? String.format("%03x%03x", mcc, (mnc << 4) | mncDigit3) 165 : String.format("%03x%02x", mcc, mnc);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | CarrierInfoManager.java | 62 String mnc = ""; 68 mnc = simOperator.substring(3); 69 Log.i(LOG_TAG, "using values for mnc, mcc: " + mnc + "," + mcc); 83 "mcc=? and mnc=? and key_type=?", 84 new String[]{mcc, mnc, String.valueOf(keyType)}, null); 95 return new ImsiEncryptionInfo(mcc, mnc, keyType, keyIdentifier, carrier_key, 146 "mcc=? and mnc=? and key_type=?", new String[]{ 213 String mnc = ""; 219 mnc [all...] |
H A D | CarrierKeyDownloadManager.java | 295 Log.e(LOG_TAG, "simOperator or mcc/mnc is empty"); 302 Log.d(LOG_TAG, "values from sharedPrefs mcc, mnc: " + mccSource + "," + mncSource); 306 Log.d(LOG_TAG, "using values for mcc, mnc: " + mccCurrent + "," + mncCurrent); 414 * @param mccMnc contains the mcc, mnc. 419 Log.e(LOG_TAG, "jsonStr or mcc, mnc: is empty"); 425 String mnc = ""; 428 mnc = splitValue[1]; 455 savePublicKey(keyInfo.first, type, identifier, keyInfo.second, mcc, mnc); 510 String mnc = ""; 515 mnc 567 savePublicKey(PublicKey publicKey, int type, String identifier, long expirationDate, String mcc, String mnc) argument [all...] |
H A D | CellularNetworkService.java | 313 cellIdentityGsm.mnc, null, null); 323 cellIdentityWcdma.mcc, cellIdentityWcdma.mnc, null, null); 332 cellIdentityTdscdma.mnc, cellIdentityTdscdma.lac, 344 cellIdentityLte.mcc, cellIdentityLte.mnc, null, null); 386 cellIdentityGsm.base.mnc, 403 cellIdentityWcdma.base.mnc, 416 cellIdentityTdscdma.base.mnc, 437 cellIdentityLte.base.mnc,
|
H A D | MccTable.java | 59 MccEntry(int mnc, String iso, int smallestDigitsMCC) { argument 63 mMcc = mnc; 177 int mcc, mnc; 189 mnc = Integer.parseInt(mccmnc.substring(3)); 195 Slog.d(LOG_TAG, "updateMccMncConfiguration: mcc=" + mcc + ", mnc=" + mnc); 208 config.mnc = mnc == 0 ? Configuration.MNC_ZERO : mnc;
|
H A D | SubscriptionController.java | 295 int mnc = cursor.getInt(cursor.getColumnIndexOrThrow( 317 + " mcc:" + mcc + " mnc:" + mnc + " countIso:" + countryIso + " isEmbedded:" 328 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso, 1377 int mnc = 0; 1380 mnc = Integer.parseInt(mccMnc.substring(3)); 1382 loge("[setMccMnc] - couldn't parse mcc/mnc: " + mccMnc); 1384 if (DBG) logd("[setMccMnc]+ mcc/mnc:" + mcc + "/" + mnc + " subId:" + subId); 1387 value.put(SubscriptionManager.MNC, mnc); [all...] |
/frameworks/base/core/jni/ |
H A D | android_content_res_Configuration.cpp | 32 jfieldID mnc; member in struct:android::__anon829 51 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc); 80 gConfigurationClassInfo.mnc = GetFieldIDOrDie(env, clazz, "mnc", "I");
|
/frameworks/base/core/java/android/content/res/ |
H A D | Configuration.java | 100 * <a href="{@docRoot}guide/topics/resources/providing-resources.html#MccQualifier">mnc</a> 104 public int mnc; field in class:Configuration 899 mnc = o.mnc; 937 if (mnc != 0) { 938 sb.append(mnc); 939 sb.append("mnc"); 941 sb.append("?mnc"); 1095 protoOutputStream.write(MNC, mnc); 1177 mcc = mnc [all...] |
H A D | AssetManager.java | 1231 public void setConfiguration(int mcc, int mnc, @Nullable String locale, int orientation, argument 1237 nativeSetConfiguration(mObject, mcc, mnc, locale, orientation, touchscreen, density, 1285 private static native void nativeSetConfiguration(long ptr, int mcc, int mnc, argument
|
/frameworks/base/native/android/ |
H A D | configuration.cpp | 54 return config->mnc; 146 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc) { argument 147 config->mnc = mnc;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
H A D | TelephonyUtil.java | 48 private static final String THREE_GPP_NAI_REALM_FORMAT = "wlan.mnc%s.mcc%s.3gppnetwork.org"; 204 /* extract mcc & mnc from mccMnc */ 206 String mnc; 209 mnc = mccMnc.substring(3); 210 if (mnc.length() == 2) { 211 mnc = "0" + mnc; 214 // extract mcc & mnc from IMSI, assume mnc size is 3 216 mnc [all...] |
/frameworks/base/core/java/android/service/carrier/ |
H A D | CarrierIdentifier.java | 53 public CarrierIdentifier(String mcc, String mnc, @Nullable String spn, @Nullable String imsi, argument 56 mMnc = mnc; 177 + ",mnc=" + mMnc
|
/frameworks/base/core/proto/android/content/ |
H A D | configuration.proto | 35 optional uint32 mnc = 3 [ (.android.privacy).dest = DEST_EXPLICIT ];
|
/frameworks/base/tools/aapt2/ |
H A D | Configuration.proto | 132 uint32 mnc = 2;
|
H A D | ConfigDescription.cpp | 73 if (out) out->mnc = 0; 93 out->mnc = atoi(val); 94 if (out->mnc == 0) { 95 out->mnc = ACONFIGURATION_MNC_ZERO; 914 if (mnc || o.mnc) return (!o.mnc); 976 return !pred(mcc, o.mcc) || !pred(mnc, o.mnc) || !pred(locale, o.locale) ||
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | RILTest.java | 1079 lte.cellIdentityLte.mnc = MNC_STR; 1123 cellinfo.cellIdentityGsm.mnc = MNC_STR; 1164 cellinfo.cellIdentityWcdma.mnc = MNC_STR; 1494 String mcc, String mnc, String alphaLong, String alphaShort) { 1502 lte.cellIdentityLte.base.mnc = mnc; 1525 String mcc, String mnc, String alphaLong, String alphaShort) { 1533 cellinfo.cellIdentityGsm.base.mnc = mnc; 1554 String mcc, String mnc, Strin 1493 getCellInfoListForLTE( String mcc, String mnc, String alphaLong, String alphaShort) argument 1524 getCellInfoListForGSM( String mcc, String mnc, String alphaLong, String alphaShort) argument 1553 getCellInfoListForWcdma( String mcc, String mnc, String alphaLong, String alphaShort) argument [all...] |
/frameworks/native/include/android/ |
H A D | configuration.h | 382 * <a href="@dacRoot/guide/topics/resources/providing-resources.html#MccQualifier">mnc</a> 516 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc);
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 1901 mnc = dtohs(mnc); 1915 mnc = htods(mnc); 2004 if (mnc != o.mnc) { 2005 return mnc < o.mnc ? -1 : 1; 2067 if (mnc != o.mnc) diff [all...] |