/frameworks/base/services/core/java/com/android/server/stats/pull/netstats/ |
D | SubInfo.java | 32 public final String mcc; field in SubInfo 39 public SubInfo(int subId, int carrierId, @NonNull String mcc, @NonNull String mnc, in SubInfo() argument 43 this.mcc = mcc; in SubInfo() 57 && mcc.equals(other.mcc) in equals() 64 return Objects.hash(subId, mcc, mnc, carrierId, subscriberId, isOpportunistic); in hashCode()
|
/frameworks/base/telephony/java/android/telephony/ |
D | ImsiEncryptionInfo.java | 42 private final String mcc; field in ImsiEncryptionInfo 52 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier, in ImsiEncryptionInfo() argument 54 this(mcc, mnc, keyType, keyIdentifier, makeKeyObject(key), expirationTime, carrierId); in ImsiEncryptionInfo() 58 public ImsiEncryptionInfo(String mcc, String mnc, int keyType, String keyIdentifier, in ImsiEncryptionInfo() argument 63 this.mcc = mcc; in ImsiEncryptionInfo() 78 mcc = in.readString(); in ImsiEncryptionInfo() 93 return this.mcc; in getMcc() 163 dest.writeString(mcc); in writeToParcel() 174 + "mcc=" + mcc in toString()
|
D | CellIdentity.java | 78 protected CellIdentity(@Nullable String tag, int type, @Nullable String mcc, in CellIdentity() argument 84 if (mcc == null || isMcc(mcc)) { in CellIdentity() 85 mMccStr = mcc; in CellIdentity() 86 } else if (mcc.isEmpty() || mcc.equals(String.valueOf(Integer.MAX_VALUE))) { in CellIdentity() 93 log("invalid MCC format: " + mcc); in CellIdentity() 337 private static boolean isMcc(@NonNull String mcc) { in isMcc() argument 339 if (mcc.length() != MCC_LENGTH) return false; in isMcc() 343 if (mcc.charAt(i) < '0' || mcc.charAt(i) > '9') return false; in isMcc()
|
D | SubscriptionInfo.java | 285 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 288 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, -1, in SubscriptionInfo() 303 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 307 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, -1, in SubscriptionInfo() 321 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 328 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, in SubscriptionInfo() 342 int roaming, Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 349 roaming, icon, mcc, mnc, countryIso, isEmbedded, nativeAccessRules, cardString, in SubscriptionInfo() 364 Bitmap icon, String mcc, String mnc, String countryIso, boolean isEmbedded, in SubscriptionInfo() argument 380 this.mMcc = TextUtils.emptyIfNull(mcc); in SubscriptionInfo() [all …]
|
D | CarrierInfo.java | 151 public CarrierInfo(@NonNull String mcc, @NonNull String mnc, @Nullable String spn, in CarrierInfo() argument 154 mMcc = mcc; in CarrierInfo()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | LocaleUtils.java | 47 public static Locale getLocaleFromMcc(Context context, int mcc, String simLanguage) { in getLocaleFromMcc() argument 49 String language = hasSimLanguage ? simLanguage : defaultLanguageForMcc(mcc); in getLocaleFromMcc() 50 String country = MccTable.countryCodeForMcc(mcc); in getLocaleFromMcc() 52 Rlog.d(LOG_TAG, "getLocaleFromMcc(" + language + ", " + country + ", " + mcc); in getLocaleFromMcc() 58 language = defaultLanguageForMcc(mcc); in getLocaleFromMcc() 59 Rlog.d(LOG_TAG, "[retry ] getLocaleFromMcc(" + language + ", " + country + ", " + mcc); in getLocaleFromMcc() 157 public static String defaultLanguageForMcc(int mcc) { in defaultLanguageForMcc() argument 158 MccTable.MccEntry entry = MccTable.entryForMcc(mcc); in defaultLanguageForMcc() 160 Rlog.d(LOG_TAG, "defaultLanguageForMcc(" + mcc + "): no country for mcc"); in defaultLanguageForMcc() 174 Rlog.d(LOG_TAG, "defaultLanguageForMcc(" + mcc + "): country " + country + " uses " in defaultLanguageForMcc()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MccTable.java | 70 MccEntry(int mcc, String iso, int smallestDigitsMCC) { in MccEntry() argument 74 mMcc = mcc; in MccEntry() 93 public final String mcc; field in MccTable.MccMnc 105 String mcc; in fromOperatorNumeric() local 107 mcc = operatorNumeric.substring(0, 3); in fromOperatorNumeric() 118 return new MccMnc(mcc, mnc); in fromOperatorNumeric() 124 public MccMnc(@NonNull String mcc, @Nullable String mnc) { in MccMnc() argument 125 this.mcc = Objects.requireNonNull(mcc); in MccMnc() 138 return mcc.equals(mccMnc.mcc) in equals() 144 return Objects.hash(mcc, mnc); in hashCode() [all …]
|
D | CarrierInfoManager.java | 76 String mcc = ""; in getCarrierInfoForImsiEncryption() local 79 mcc = operatorNumeric.substring(0, 3); in getCarrierInfoForImsiEncryption() 81 Log.i(LOG_TAG, "using values for mcc, mnc: " + mcc + "," + mnc); in getCarrierInfoForImsiEncryption() 97 new String[]{mcc, mnc, String.valueOf(keyType)}, null); in getCarrierInfoForImsiEncryption() 146 return new ImsiEncryptionInfo(mcc, mnc, keyType, keyId, in getCarrierInfoForImsiEncryption() 160 return getImsiEncryptionInfo(findCursor, mcc, mnc, keyType, in getCarrierInfoForImsiEncryption() 169 return getImsiEncryptionInfo(findCursor, mcc, mnc, keyType, cursorCarrierId); in getCarrierInfoForImsiEncryption() 182 private static ImsiEncryptionInfo getImsiEncryptionInfo(Cursor findCursor, String mcc, in getImsiEncryptionInfo() argument 189 imsiEncryptionInfo = new ImsiEncryptionInfo(mcc, mnc, in getImsiEncryptionInfo() 335 String mcc = ""; in deleteCarrierInfoForImsiEncryption() local [all …]
|
D | LocaleTracker.java | 292 String mcc = cellInfo.getCellIdentity().getMccString(); in getMccFromCellInfo() local 293 if (mcc != null) { in getMccFromCellInfo() 295 if (mccMap.containsKey(mcc)) { in getMccFromCellInfo() 296 count = mccMap.get(mcc) + 1; in getMccFromCellInfo() 298 mccMap.put(mcc, count); in getMccFromCellInfo() 303 selectedMcc = mcc; in getMccFromCellInfo() 327 String mcc = cellInfo.getCellIdentity().getMccString(); in getMccMncFromCellInfo() local 328 if (Objects.equals(mcc, mccToMatch)) { in getMccMncFromCellInfo() 330 MccMnc mccMnc = new MccMnc(mcc, mnc); in getMccMncFromCellInfo() 514 String mcc = getMccFromCellInfo(); in updateLocale() local [all …]
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | MccTableTest.java | 48 private void checkMccLookupWithNoMnc(String expectedCountryIsoCode, int mcc) { in checkMccLookupWithNoMnc() argument 49 assertEquals(expectedCountryIsoCode, MccTable.countryCodeForMcc(mcc)); in checkMccLookupWithNoMnc() 50 assertEquals(expectedCountryIsoCode, MccTable.countryCodeForMcc(mcc)); in checkMccLookupWithNoMnc() 51 assertEquals(expectedCountryIsoCode, MccTable.countryCodeForMcc("" + mcc)); in checkMccLookupWithNoMnc() 53 MccTable.geoCountryCodeForMccMnc(new MccMnc("" + mcc, "999"))); in checkMccLookupWithNoMnc()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | CellularSecurityTransparencyStats.java | 44 int mcc = parsePlmnPartOrDefault(simMcc, LOG_DESCRIPTOR_SIM_MCC); in logIdentifierDisclosure() local 58 writeIdentifierDisclosure(mcc, mnc, disclosureMcc, disclosureMnc, in logIdentifierDisclosure() 79 public void writeIdentifierDisclosure(int mcc, int mnc, int disclosureMcc, int disclosureMnc, in writeIdentifierDisclosure() argument 82 TelephonyStatsLog.write(TelephonyStatsLog.CELLULAR_IDENTIFIER_DISCLOSED, mcc, mnc, in writeIdentifierDisclosure()
|
/frameworks/base/core/java/android/timezone/ |
D | TelephonyNetworkFinder.java | 44 public TelephonyNetwork findNetworkByMccMnc(@NonNull String mcc, @NonNull String mnc) { in findNetworkByMccMnc() argument 45 Objects.requireNonNull(mcc); in findNetworkByMccMnc() 49 mDelegate.findNetworkByMccMnc(mcc, mnc); in findNetworkByMccMnc()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/connectivity/ui/ |
D | MobileContextProviderTest.kt | 68 assertThat(config.mcc).isEqualTo(SUB_1_MCC) in test_oneSubscription_contextHasMccMnc() 83 assertThat(config1.mcc).isEqualTo(SUB_1_MCC) in test_twoSubscriptions_eachContextReflectsMccMnc() 87 assertThat(config2.mcc).isEqualTo(SUB_2_MCC) in test_twoSubscriptions_eachContextReflectsMccMnc() 109 whenever(it.mcc).thenReturn(SUB_1_MCC) in <lambda>() 119 whenever(it.mcc).thenReturn(SUB_2_MCC) in <lambda>()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/dataservice/ |
D | SubscriptionInfoEntity.java | 32 String displayName, String carrierName, int dataRoaming, String mcc, String mnc, in SubscriptionInfoEntity() argument 46 this.mcc = mcc; in SubscriptionInfoEntity() 88 public String mcc; field in SubscriptionInfoEntity 172 mcc, in hashCode() 209 && TextUtils.equals(mcc, info.mcc) in equals() 245 .append(mcc) in toString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ui/ |
D | MobileContextProvider.kt | 87 return createCarrierConfigContext(context, info.mcc, info.mnc) in <lambda>() 133 private fun createCarrierConfigContext(context: Context, mcc: Int, mnc: Int): Context { in <lambda>() 136 c.mcc = mcc in <lambda>()
|
/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/base/services/core/jni/gnss/ |
D | AGnssRil.cpp | 48 jboolean AGnssRil::setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint tac, in setRefLocation() argument 58 location.cellID.mcc = static_cast<int>(mcc); in setRefLocation() 124 jboolean AGnssRil_V1_0::setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint tac, in setRefLocation() argument 133 location.cellID.mcc = static_cast<uint16_t>(mcc); in setRefLocation()
|
D | AGnssRil.h | 41 virtual jboolean setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint tac, 55 jboolean setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint tac, jint pcid, 72 jboolean setRefLocation(jint type, jint mcc, jint mnc, jint lac, jlong cid, jint, jint,
|
/frameworks/base/telephony/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 82 mMcc = mcc; in CarrierIdentifier()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 117 public int mcc; field in Configuration 1084 mcc = o.mcc; in setTo() 1125 if (mcc != 0) { in toString() 1126 sb.append(mcc); in toString() 1307 protoOutputStream.write(MCC, mcc); in dumpDebug() 1379 mcc = protoInputStream.readInt(MCC); in readFromProto() 1572 mcc = mnc = 0; in setToDefaults() 1625 if (delta.mcc != 0 && mcc != delta.mcc) { in updateFrom() 1627 mcc = delta.mcc; in updateFrom() 1817 mcc = delta.mcc; in setTo() [all …]
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
D | EuiccRulesAuthTable.java | 120 public static boolean match(String mccRule, String mcc) { in match() argument 121 if (mccRule.length() < mcc.length()) { in match() 127 || (i < mcc.length() && mccRule.charAt(i) == mcc.charAt(i))) { in match()
|
/frameworks/base/native/android/ |
D | configuration.cpp | 50 return config->mcc; in AConfiguration_getMcc() 142 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc) { in AConfiguration_setMcc() argument 143 config->mcc = mcc; in AConfiguration_setMcc()
|
/frameworks/proto_logging/stats/atoms/telecomm/ |
D | telecom_extension_atom.proto | 41 // sim mcc mnc 44 // mcc mnc of the latched network to make emergency call
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsNumberUtils.java | 247 private static ArrayList<String> getAllIDDs(Context context, String mcc) { in getAllIDDs() argument 248 ArrayList<String> allIDDs = IDDS_MAPS.get(mcc); in getAllIDDs() 261 if (mcc != null) { in getAllIDDs() 263 selectionArgs = new String[] {mcc}; in getAllIDDs() 286 IDDS_MAPS.put(mcc, allIDDs); in getAllIDDs() 288 if (DBG) Log.d(TAG, "MCC = " + mcc + ", all IDDs = " + allIDDs); in getAllIDDs()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/security/ |
D | CellularIdentifierDisclosureNotifier.java | 148 String mcc = null; in runLogDisclosure() 151 mcc = subInfo.getMcc(); in runLogDisclosure() 155 mCellularSecurityTransparencyStats.logIdentifierDisclosure(disclosure, mcc, mnc, in runLogDisclosure()
|