/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | LocaleTracker.java | 323 MccMnc mccMnc = new MccMnc(mcc, mnc); in getMccMncFromCellInfo() local 325 if (mccMncMap.containsKey(mccMnc)) { in getMccMncFromCellInfo() 326 count = mccMncMap.get(mccMnc) + 1; in getMccMncFromCellInfo() 328 mccMncMap.put(mccMnc, count); in getMccMncFromCellInfo() 334 selectedMccMnc = mccMnc; in getMccMncFromCellInfo() 494 MccMnc mccMnc = MccMnc.fromOperatorNumeric(mOperatorNumeric); in updateLocale() local 495 if (mccMnc != null) { in updateLocale() 496 countryIso = MccTable.countryCodeForMcc(mccMnc.mcc); in updateLocale() 498 + "): MccTable.countryCodeForMcc(\"" + mccMnc.mcc + "\")"; in updateLocale() 499 timeZoneCountryIso = MccTable.geoCountryCodeForMccMnc(mccMnc); in updateLocale() [all …]
|
D | CarrierKeyDownloadManager.java | 329 private void onDownloadComplete(long carrierKeyDownloadIdentifier, String mccMnc) { in onDownloadComplete() argument 349 parseJsonAndPersistKey(jsonStr, mccMnc); in onDownloadComplete() 451 public void parseJsonAndPersistKey(String jsonStr, String mccMnc) { in parseJsonAndPersistKey() argument 452 if (TextUtils.isEmpty(jsonStr) || TextUtils.isEmpty(mccMnc)) { in parseJsonAndPersistKey() 457 String mcc = mccMnc.substring(0, 3); in parseJsonAndPersistKey() 458 String mnc = mccMnc.substring(3); in parseJsonAndPersistKey() 541 String mccMnc = getSimOperator(); in downloadKey() local 543 if (!TextUtils.isEmpty(mccMnc)) { in downloadKey() 544 Log.d(LOG_TAG, "downloading key for mccmnc: " + mccMnc); in downloadKey() 563 Log.d(LOG_TAG, "saving values mccmnc, downloadId: " + mccMnc in downloadKey() [all …]
|
D | VisualVoicemailSmsFilter.java | 210 String mccMnc = context.getSystemService(TelephonyManager.class).getSimOperator(subId); in messageBodyMatchesVvmPattern() local 212 List<Pattern> patterns = sPatterns.get(mccMnc); in messageBodyMatchesVvmPattern() 250 for (String mccMnc : mccMncList) { in buildPatternsMap() 251 if (!sPatterns.containsKey(mccMnc)) { in buildPatternsMap() 252 sPatterns.put(mccMnc, new ArrayList<>()); in buildPatternsMap() 254 sPatterns.get(mccMnc).add(pattern); in buildPatternsMap()
|
D | MccTable.java | 137 MccMnc mccMnc = (MccMnc) o; in equals() local 138 return mcc.equals(mccMnc.mcc) in equals() 139 && Objects.equals(mnc, mccMnc.mnc); in equals() 216 public static String geoCountryCodeForMccMnc(@NonNull MccMnc mccMnc) { in geoCountryCodeForMccMnc() argument 218 if (mccMnc.mnc != null) { in geoCountryCodeForMccMnc() 219 countryCode = countryCodeForMccMncNoFallback(mccMnc); in geoCountryCodeForMccMnc() 223 countryCode = MccTable.countryCodeForMcc(mccMnc.mcc); in geoCountryCodeForMccMnc() 229 private static String countryCodeForMccMncNoFallback(MccMnc mccMnc) { in countryCodeForMccMncNoFallback() argument 240 sTelephonyNetworkFinder.findNetworkByMccMnc(mccMnc.mcc, mccMnc.mnc); in countryCodeForMccMncNoFallback()
|
D | CarrierResolver.java | 589 public final String mccMnc; field in CarrierResolver.CarrierMatchingRule 613 mccMnc = mccmnc; in CarrierMatchingRule() 628 mccMnc = rule.mccMnc; in CarrierMatchingRule() 649 if (mccMnc != null) { in match() 650 if (!CarrierResolver.equals(subscriptionRule.mccMnc, mccMnc, false)) { in match() 764 + " mccmnc: " + mccMnc in toString() 909 && !TextUtils.isEmpty(subscriptionRule.mccMnc)) ? subscriptionRule.mccMnc : null; in matchSubscriptionCarrier() 927 subscriptionRule.mccMnc, in matchSubscriptionCarrier() 1027 context, targetRule.mccMnc); in getCarrierIdFromIdentifier()
|
D | NetworkScanRequestTracker.java | 186 String mccMnc = ci.getCellIdentity().getMccString() in doesCellInfoCorrespondToKnownMccMnc() local 188 return knownMccMncs.contains(mccMnc); in doesCellInfoCorrespondToKnownMccMnc()
|
D | Phone.java | 4142 public boolean isMccMncMarkedAsRoaming(String mccMnc) { in isMccMncMarkedAsRoaming() argument 4143 return getRoamingOverrideHelper(GSM_ROAMING_LIST_OVERRIDE_PREFIX, mccMnc); in isMccMncMarkedAsRoaming() 4146 public boolean isMccMncMarkedAsNonRoaming(String mccMnc) { in isMccMncMarkedAsNonRoaming() argument 4147 return getRoamingOverrideHelper(GSM_NON_ROAMING_LIST_OVERRIDE_PREFIX, mccMnc); in isMccMncMarkedAsNonRoaming()
|
D | SubscriptionController.java | 2335 public int setMccMnc(String mccMnc, int subId) { in setMccMnc() argument 2336 String mccString = mccMnc.substring(0, 3); in setMccMnc() 2337 String mncString = mccMnc.substring(3); in setMccMnc() 2344 loge("[setMccMnc] - couldn't parse mcc/mnc: " + mccMnc); in setMccMnc()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | CarrierIdMatchStats.java | 35 int cid, String mccMnc, String gid1, String spn, String pnn) { in onCarrierIdMismatch() argument 39 carrierIdMismatch.mccMnc = nullToEmpty(mccMnc); in onCarrierIdMismatch() 48 TelephonyStatsLog.write(CARRIER_ID_MISMATCH_REPORTED, cid, mccMnc, gid1, spn, pnn); in onCarrierIdMismatch()
|
D | PersistAtomsStorage.java | 650 if (mismatch.mccMnc.equals(key.mccMnc) in find()
|
D | TelephonyMetrics.java | 2651 carrierIdMatchingResult.mccmnc = TelephonyUtils.emptyIfNull(simInfo.mccMnc); in writeCarrierIdMatchingEvent()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierKeyDownloadMgrTest.java | 157 String mccMnc = "310270"; in testParseJson() local 158 mCarrierKeyDM.parseJsonAndPersistKey(mJsonStr, mccMnc); in testParseJson() 178 String mccMnc = "310270"; in testParseJsonPublicKey() local 179 mCarrierKeyDM.parseJsonAndPersistKey(mJsonStr1, mccMnc); in testParseJsonPublicKey() 191 String mccMnc = "310290"; in testParseBadJsonFail() local 193 mCarrierKeyDM.parseJsonAndPersistKey(badJsonStr, mccMnc); in testParseBadJsonFail() 259 String mccMnc = "310260"; in testDownloadComplete() local 261 mCarrierKeyDM.mMccMncForDownload = mccMnc; in testDownloadComplete() 360 String mccMnc = "310270"; in testParseJson3GppFormat() local 361 mCarrierKeyDM.parseJsonAndPersistKey(mJsonStr3GppSpec, mccMnc); in testParseJson3GppFormat()
|
/frameworks/base/telephony/java/android/service/carrier/ |
D | CarrierIdentifier.java | 100 public CarrierIdentifier(byte[] mccMnc, @Nullable String gid1, @Nullable String gid2) { in CarrierIdentifier() argument 101 if (mccMnc.length != 3) { in CarrierIdentifier() 103 "MCC & MNC must be set by a 3-byte array: byte[" + mccMnc.length + "]"); in CarrierIdentifier() 105 String hex = IccUtils.bytesToHexString(mccMnc); in CarrierIdentifier()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssLocationProvider.java | 329 String mccMnc = phone.getSimOperator(); in subscriptionOrCarrierConfigChanged() local 331 if (!TextUtils.isEmpty(mccMnc)) { in subscriptionOrCarrierConfigChanged() 332 if (DEBUG) Log.d(TAG, "SIM MCC/MNC is available: " + mccMnc); in subscriptionOrCarrierConfigChanged()
|