Home
last modified time | relevance | path

Searched refs:mccmnc (Results 1 – 16 of 16) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java251 String mccmnc = mTelephonyMgr.getSimOperatorNumericForPhone(mPhone.getPhoneId()); in loadCarrierMatchingRulesOnMccMnc() local
256 /* selectionArgs */ new String[]{mccmnc}, null); in loadCarrierMatchingRulesOnMccMnc()
261 + " Records(s) in DB" + " mccmnc: " + mccmnc); in loadCarrierMatchingRulesOnMccMnc()
308 @NonNull Context context, String mccmnc) { in getCarrierMatchingRulesFromMccMnc() argument
315 /* selectionArgs */ new String[]{mccmnc}, null); in getCarrierMatchingRulesFromMccMnc()
320 + " Records(s) in DB" + " mccmnc: " + mccmnc); in getCarrierMatchingRulesFromMccMnc()
541 public CarrierMatchingRule(String mccmnc, String imsiPrefixPattern, String iccidPrefix, in CarrierMatchingRule() argument
544 mccMnc = mccmnc; in CarrierMatchingRule()
711 final String mccmnc = mTelephonyMgr.getSimOperatorNumericForPhone(mPhone.getPhoneId()); in getSubscriptionMatchingRule() local
730 + " mnnmnc:" + mccmnc in getSubscriptionMatchingRule()
[all …]
DMccTable.java274 public static void updateMccMncConfiguration(Context context, String mccmnc) { in updateMccMncConfiguration() argument
275 Rlog.d(LOG_TAG, "updateMccMncConfiguration mccmnc='" + mccmnc); in updateMccMncConfiguration()
280 mccmnc = overrideMcc; in updateMccMncConfiguration()
281 Rlog.d(LOG_TAG, "updateMccMncConfiguration overriding mccmnc='" + mccmnc + "'"); in updateMccMncConfiguration()
285 if (!TextUtils.isEmpty(mccmnc)) { in updateMccMncConfiguration()
288 mccInt = Integer.parseInt(mccmnc.substring(0, 3)); in updateMccMncConfiguration()
290 Rlog.e(LOG_TAG, "Error parsing mccmnc: " + mccmnc + ". ex=" + ex); in updateMccMncConfiguration()
297 mccmnc.substring(0, 3), mccmnc.substring(3))) { in updateMccMncConfiguration()
299 + mccmnc + " failure"); in updateMccMncConfiguration()
302 + mccmnc + " success"); in updateMccMncConfiguration()
DGsmCdmaPhone.java1884 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
1897 r.setCarrierTestOverride(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
DPhone.java4294 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DCarrierTestOverride.java151 String mccmnc = mCarrierTestParamMap.get(CARRIER_TEST_XML_ITEM_KEY_STRING_MCCMNC); in getFakeMccMnc() local
152 Rlog.d(LOG_TAG, "reading mccmnc from CarrierTestConfig file: " + mccmnc); in getFakeMccMnc()
153 return mccmnc; in getFakeMccMnc()
160 void override(String mccmnc, String imsi, String iccid, String gid1, String gid2, String pnn, in override() argument
163 mCarrierTestParamMap.put(CARRIER_TEST_XML_ITEM_KEY_STRING_MCCMNC, mccmnc); in override()
DIccRecords.java312 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
314 mCarrierTestOverride.override(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
316 mTelephonyManager.setSimOperatorNumericForPhone(mParentApp.getPhoneId(), mccmnc); in setCarrierTestOverride() local
631 for (String mccmnc : MCCMNC_CODES_HAVING_3DIGITS_MNC) { in updateOperatorPlmn()
632 if (mccmnc.equals(mccmncCode)) { in updateOperatorPlmn()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java113 public static String getRealmForMccMnc(String mccmnc) { in getRealmForMccMnc() argument
115 if (mccmnc == null || (mccmnc.length() != (IMSIParameter.MCC_MNC_LENGTH - 1) in getRealmForMccMnc()
116 && mccmnc.length() != IMSIParameter.MCC_MNC_LENGTH)) { in getRealmForMccMnc()
126 String mcc = mccmnc.substring(0, 3); in getRealmForMccMnc()
127 String mnc = mccmnc.substring(3); in getRealmForMccMnc()
DPasspointManager.java578 public boolean hasCarrierProvider(@Nullable String mccmnc) { in hasCarrierProvider() argument
579 String domain = Utils.getRealmForMccMnc(mccmnc); in hasCarrierProvider()
581 Log.e(TAG, "can't make a home domain name using " + mccmnc); in hasCarrierProvider()
601 if (imsiParameter.matchesMccMnc(mccmnc)) { in hasCarrierProvider()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringNotificationUpdater.java202 final String mccmnc = tm.getSimOperator(); in getResourcesForSubId() local
204 if (overrideInfo != null && overrideInfo.visitedMccMnc.equals(mccmnc)) { in getResourcesForSubId()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DTelephonyUtilTest.java559 String mccmnc = "123456"; in getAnonymousIdentityWithSim() local
562 when(mDataTelephonyManager.getSimOperator()).thenReturn(mccmnc); in getAnonymousIdentityWithSim()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl1612 int getCarrierIdFromMccMnc(int slotIndex, String mccmnc, boolean isSubscriptionMccMnc); in getCarrierIdFromMccMnc() argument
1892 void setCarrierTestOverride(int subId, String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointManagerTest.java1647 String mccmnc = "123456"; in verifyCreateEphemeralPasspointConfigurationWithCarrierEapMethod() local
1649 when(mDataTelephonyManager.getSimOperator()).thenReturn(mccmnc); in verifyCreateEphemeralPasspointConfigurationWithCarrierEapMethod()
1662 assertEquals(Utils.getRealmForMccMnc(mccmnc), result.getHomeSp().getFqdn()); in verifyCreateEphemeralPasspointConfigurationWithCarrierEapMethod()
1663 assertEquals(mccmnc + "*", result.getCredential().getSimCredential().getImsi()); in verifyCreateEphemeralPasspointConfigurationWithCarrierEapMethod()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DTelephonyMetricsTest.java231 assertEquals("mccmncTest", log.events[0].carrierIdMatching.result.mccmnc); in testWriteCarrierIdMatchingEventWithInvalidMatchingScore()
270 assertEquals("mccmncTest", log.events[0].carrierIdMatching.result.mccmnc); in testWriteCarrierIdMatchingEvent()
/frameworks/base/telephony/java/android/telephony/
DTelephonyManager.java10487 public int getCarrierIdFromMccMnc(String mccmnc) { in getCarrierIdFromMccMnc() argument
10491 return service.getCarrierIdFromMccMnc(getSlotIndex(), mccmnc, false); in getCarrierIdFromMccMnc()
11158 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
11164 getSubId(), mccmnc, imsi, iccid, gid1, gid2, plmn, spn, in setCarrierTestOverride() local
11184 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
11191 getSubId(), mccmnc, imsi, iccid, gid1, gid2, plmn, spn, in setCarrierTestOverride() local
12604 public boolean isCurrentSimOperator(@NonNull String mccmnc, @MvnoType int mvnoType, in isCurrentSimOperator() argument
12607 if (!mccmnc.equals(getSimOperator())) { in isCurrentSimOperator()
/frameworks/opt/telephony/proto/src/
Dtelephony.proto1704 // MCC and MNC that map to this carrier. Logged only if mccmnc is configured
1709 optional string mccmnc = 4; field
1843 /** The mccmnc associated with the subscription. Useful for differentiating
1844 * between subscriptions with different mccmnc but same carrier_id (eg. Fi
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DTelephonyMetrics.java2541 carrierIdMatchingResult.mccmnc = TelephonyUtils.emptyIfNull(simInfo.mccMnc); in writeCarrierIdMatchingEvent()