/frameworks/base/services/core/java/com/android/server/emergency/ |
D | EmergencyAffordanceService.java | 226 int mcc = info.getMcc(); in handleUpdateSimSubscriptionInfo() local 227 if (mccRequiresEmergencyAffordance(mcc)) { in handleUpdateSimSubscriptionInfo() 230 } else if (mcc != 0 && mcc != Integer.MAX_VALUE){ in handleUpdateSimSubscriptionInfo() 235 mcc = 0; in handleUpdateSimSubscriptionInfo() 237 mcc = Integer.parseInt(simOperator.substring(0, 3)); in handleUpdateSimSubscriptionInfo() 239 if (mcc != 0) { in handleUpdateSimSubscriptionInfo() 240 if (mccRequiresEmergencyAffordance(mcc)) { in handleUpdateSimSubscriptionInfo() 277 int mcc = 0; in handleUpdateCellInfo() local 279 mcc = ((CellInfoGsm) cellInfo).getCellIdentity().getMcc(); in handleUpdateCellInfo() 281 mcc = ((CellInfoLte) cellInfo).getCellIdentity().getMcc(); in handleUpdateCellInfo() [all …]
|
/frameworks/base/telephony/java/android/telephony/ |
D | ImsiEncryptionInfo.java | 40 private final String mcc; 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 58 this.mcc = mcc; in ImsiEncryptionInfo() 71 mcc = in.readString(); in ImsiEncryptionInfo() 83 return this.mcc; in getMcc() 136 dest.writeString(mcc); in writeToParcel() 146 + "mcc=" + mcc in toString()
|
D | CellIdentityWcdma.java | 67 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 83 mMcc = mcc; in CellIdentityWcdma()
|
D | CellIdentityLte.java | 68 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 84 mMcc = mcc; in CellIdentityLte()
|
D | CellIdentityGsm.java | 66 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 82 mMcc = mcc; in CellIdentityGsm()
|
D | SubscriptionInfo.java | 133 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 156 this.mMcc = mcc; in SubscriptionInfo() 402 int mcc = source.readInt(); 410 nameSource, iconTint, number, dataRoaming, iconBitmap, mcc, mnc, countryIso,
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MccTable.java | 75 private static MccEntry entryForMcc(int mcc) { in entryForMcc() argument 76 MccEntry m = new MccEntry(mcc, "", 0); in entryForMcc() 92 public static String defaultTimeZoneForMcc(int mcc) { in defaultTimeZoneForMcc() argument 93 MccEntry entry = entryForMcc(mcc); in defaultTimeZoneForMcc() 107 if (mcc == 505 /* Australia / Norfolk Island */) { in defaultTimeZoneForMcc() 122 public static String countryCodeForMcc(int mcc) { in countryCodeForMcc() argument 123 MccEntry entry = entryForMcc(mcc); in countryCodeForMcc() 137 public static String defaultLanguageForMcc(int mcc) { in defaultLanguageForMcc() argument 138 MccEntry entry = entryForMcc(mcc); in defaultLanguageForMcc() 140 Slog.d(LOG_TAG, "defaultLanguageForMcc(" + mcc + "): no country for mcc"); in defaultLanguageForMcc() [all …]
|
D | CarrierInfoManager.java | 47 String mcc = ""; in getCarrierInfoForImsiEncryption() local 53 mcc = networkOperator.substring(0, 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()
|
D | CarrierKeyDownloadManager.java | 403 String mcc = ""; in parseJsonAndPersistKey() local 406 mcc = splitValue[0]; in parseJsonAndPersistKey() 434 savePublicKey(keyInfo.first, type, identifier, keyInfo.second, mcc, mnc); in parseJsonAndPersistKey() 488 String mcc = ""; in downloadKey() local 493 mcc = simOperator.substring(0, 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()
|
D | SmsNumberUtils.java | 241 private static ArrayList<String> getAllIDDs(Context context, String mcc) { in getAllIDDs() argument 242 ArrayList<String> allIDDs = IDDS_MAPS.get(mcc); in getAllIDDs() 255 if (mcc != null) { in getAllIDDs() 257 selectionArgs = new String[] {mcc}; in getAllIDDs() 280 IDDS_MAPS.put(mcc, allIDDs); in getAllIDDs() 282 if (DBG) Rlog.d(TAG, "MCC = " + mcc + ", all IDDs = " + allIDDs); in getAllIDDs()
|
D | HbpcdUtils.java | 137 public String getIddByMcc(int mcc) { in getIddByMcc() argument 145 MccIdd.MCC + "=" + mcc, null, null); in getIddByMcc()
|
D | SubscriptionController.java | 311 int mcc = 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() 1342 int mcc = 0; in setMccMnc() local 1345 mcc = Integer.parseInt(mccMnc.substring(0,3)); in setMccMnc() 1350 if (DBG) logd("[setMccMnc]+ mcc/mnc:" + mcc + "/" + mnc + " subId:" + subId); in setMccMnc() 1352 value.put(SubscriptionManager.MCC, mcc); in setMccMnc()
|
D | ServiceStateTracker.java | 2875 String mcc = ""; in pollStateDone() local 2877 mcc = operatorNumeric.substring(0, 3); in pollStateDone() 2878 iso = MccTable.countryCodeForMcc(Integer.parseInt(mcc)); in pollStateDone() 2886 if (!mNitzUpdatedTime && !mcc.equals("000") && !TextUtils.isEmpty(iso) in pollStateDone() 2903 + " mcc=" + mcc + " iso=" + iso); in pollStateDone() 3144 int mcc = mHbpcdUtils.getMcc(sid, in fixUnknownMcc() local 3146 if (mcc > 0) { in fixUnknownMcc() 3147 operatorNumeric = Integer.toString(mcc) + DEFAULT_MNC; in fixUnknownMcc() 4464 int mcc; in shouldFixTimeZoneNow() local 4466 mcc = Integer.parseInt(operatorNumeric.substring(0, 3)); in shouldFixTimeZoneNow() [all …]
|
/frameworks/base/core/jni/ |
D | android_content_res_Configuration.cpp | 31 jfieldID mcc; member 50 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc); in android_Configuration_getFromJava() 79 gConfigurationClassInfo.mcc = GetFieldIDOrDie(env, clazz, "mcc", "I"); in register_android_content_res_Configuration()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | CellularNetwork.java | 155 int mcc = ((plmn[0] << 8) & 0xF00) | (plmn[0] & 0x0F0) | (plmn[1] & 0x00F); 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 | 71 public int mcc; field in Configuration 875 mcc = o.mcc; in setTo() 908 if (mcc != 0) { in toString() 909 sb.append(mcc); in toString() 1067 mcc = mnc = 0; in setToDefaults() 1117 if (delta.mcc != 0 && mcc != delta.mcc) { in updateFrom() 1119 mcc = delta.mcc; in updateFrom() 1346 if ((compareUndefined || delta.mcc != 0) && mcc != delta.mcc) { in diff() 1507 dest.writeInt(mcc); in writeToParcel() 1547 mcc = source.readInt(); in readFromParcel() [all …]
|
/frameworks/base/native/android/ |
D | configuration.cpp | 45 return config->mcc; in AConfiguration_getMcc() 137 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc) { in AConfiguration_setMcc() argument 138 config->mcc = mcc; in AConfiguration_setMcc()
|
/frameworks/base/core/java/android/service/carrier/ |
D | CarrierIdentifier.java | 48 public CarrierIdentifier(String mcc, String mnc, String spn, String imsi, String gid1, in CarrierIdentifier() argument 50 mMcc = mcc; in CarrierIdentifier()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | TelephonyUtil.java | 82 String mcc; in buildIdentity() local 85 mcc = mccMnc.substring(0, 3); in buildIdentity() 92 mcc = imsi.substring(0, 3); in buildIdentity() 96 return prefix + imsi + "@wlan.mnc" + mnc + ".mcc" + mcc + ".3gppnetwork.org"; in buildIdentity()
|
/frameworks/base/tools/aapt2/ |
D | ConfigDescription.cpp | 43 if (out) out->mcc = 0; in parseMcc() 64 if (out) out->mcc = d; in parseMcc() 902 if (mcc || o.mcc) return (!o.mcc); in HasHigherPrecedenceThan() 965 return !pred(mcc, o.mcc) || !pred(mnc, o.mnc) || !pred(locale, o.locale) || in ConflictsWith()
|
/frameworks/base/core/proto/android/content/ |
D | configuration.proto | 31 uint32 mcc = 2; field
|
/frameworks/native/include/android/ |
D | configuration.h | 506 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | SIMRecords.java | 712 int mcc = Integer.parseInt(imsi.substring(0, 3)); in handleMessage() local 713 mMncLength = MccTable.smallestDigitsMccForMnc(mcc); in handleMessage() 924 int mcc = Integer.parseInt(imsi.substring(0, 3)); in handleMessage() local 925 mMncLength = MccTable.smallestDigitsMccForMnc(mcc); in handleMessage() 984 int mcc = Integer.parseInt(imsi.substring(0, 3)); in handleMessage() local 986 mMncLength = MccTable.smallestDigitsMccForMnc(mcc); in handleMessage()
|
/frameworks/base/tools/aapt/ |
D | AaptConfig.cpp | 301 if (out) out->mcc = 0; in parseMcc() 322 if (out) out->mcc = d; in parseMcc() 331 if (out) out->mcc = 0; in parseMnc()
|
/frameworks/base/libs/androidfw/ |
D | ResourceTypes.cpp | 1868 mcc = dtohs(mcc); in copyFromDtoH() 1882 mcc = htods(mcc); in swapHtoD() 1945 if (mcc != o.mcc) { in compareLogical() 1946 return mcc < o.mcc ? -1 : 1; in compareLogical() 2010 if (mcc != o.mcc) diffs |= CONFIG_MCC; in diff() 2071 if (mcc != o.mcc) { in isMoreSpecificThan() 2072 if (!mcc) return false; in isMoreSpecificThan() 2073 if (!o.mcc) return true; in isMoreSpecificThan() 2335 if ((mcc != o.mcc) && requested->mcc) { in isBetterThan() 2336 return (mcc); in isBetterThan() [all …]
|