/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | CarrierTestOverride.java | 151 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()
|
D | IccRecords.java | 288 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument 290 mCarrierTestOverride.override(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride() 292 mTelephonyManager.setSimOperatorNumericForPhone(mParentApp.getPhoneId(), mccmnc); in setCarrierTestOverride() local 583 for (String mccmnc : MCCMNC_CODES_HAVING_3DIGITS_MNC) { in updateOperatorPlmn() 584 if (mccmnc.equals(mccmncCode)) { in updateOperatorPlmn()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierResolver.java | 250 String mccmnc = mTelephonyMgr.getSimOperatorNumericForPhone(mPhone.getPhoneId()); in loadCarrierMatchingRulesOnMccMnc() local 255 /* selectionArgs */ new String[]{mccmnc}, null); in loadCarrierMatchingRulesOnMccMnc() 260 + " Records(s) in DB" + " mccmnc: " + mccmnc); in loadCarrierMatchingRulesOnMccMnc() 307 @NonNull Context context, String mccmnc) { in getCarrierMatchingRulesFromMccMnc() argument 314 /* selectionArgs */ new String[]{mccmnc}, null); in getCarrierMatchingRulesFromMccMnc() 319 + " Records(s) in DB" + " mccmnc: " + mccmnc); in getCarrierMatchingRulesFromMccMnc() 540 public CarrierMatchingRule(String mccmnc, String imsiPrefixPattern, String iccidPrefix, in CarrierMatchingRule() argument 543 mccMnc = mccmnc; in CarrierMatchingRule() 710 final String mccmnc = mTelephonyMgr.getSimOperatorNumericForPhone(mPhone.getPhoneId()); in getSubscriptionMatchingRule() local 729 + " mnnmnc:" + mccmnc in getSubscriptionMatchingRule() [all …]
|
D | MccTable.java | 181 public static void updateMccMncConfiguration(Context context, String mccmnc) { in updateMccMncConfiguration() argument 182 Slog.d(LOG_TAG, "updateMccMncConfiguration mccmnc='" + mccmnc); in updateMccMncConfiguration() 187 mccmnc = overrideMcc; in updateMccMncConfiguration() 188 Slog.d(LOG_TAG, "updateMccMncConfiguration overriding mccmnc='" + mccmnc + "'"); in updateMccMncConfiguration() 192 if (!TextUtils.isEmpty(mccmnc)) { in updateMccMncConfiguration() 196 mcc = Integer.parseInt(mccmnc.substring(0, 3)); in updateMccMncConfiguration() 197 mnc = Integer.parseInt(mccmnc.substring(3)); in updateMccMncConfiguration() 199 Slog.e(LOG_TAG, "Error parsing IMSI: " + mccmnc + ". ex=" + ex); in updateMccMncConfiguration()
|
D | GsmCdmaPhone.java | 1714 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument 1727 r.setCarrierTestOverride(mccmnc, imsi, iccid, gid1, gid2, pnn, spn); in setCarrierTestOverride()
|
D | Phone.java | 4007 public void setCarrierTestOverride(String mccmnc, String imsi, String iccid, String gid1, in setCarrierTestOverride() argument
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 113 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()
|
D | PasspointManager.java | 573 public boolean hasCarrierProvider(@Nullable String mccmnc) { in hasCarrierProvider() argument 574 String domain = Utils.getRealmForMccMnc(mccmnc); in hasCarrierProvider() 576 Log.e(TAG, "can't make a home domain name using " + mccmnc); in hasCarrierProvider() 596 if (imsiParameter.matchesMccMnc(mccmnc)) { in hasCarrierProvider()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ITelephony.aidl | 1493 int getCarrierIdFromMccMnc(int slotIndex, String mccmnc, boolean isSubscriptionMccMnc); in getCarrierIdFromMccMnc() argument 1701 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/util/ |
D | TelephonyUtilTest.java | 559 String mccmnc = "123456"; in getAnonymousIdentityWithSim() local 562 when(mDataTelephonyManager.getSimOperator()).thenReturn(mccmnc); in getAnonymousIdentityWithSim()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | PasspointManagerTest.java | 1645 String mccmnc = "123456"; in verifyCreateEphemeralPasspointConfigurationWithCarrierEapMethod() local 1647 when(mDataTelephonyManager.getSimOperator()).thenReturn(mccmnc); in verifyCreateEphemeralPasspointConfigurationWithCarrierEapMethod() 1660 assertEquals(Utils.getRealmForMccMnc(mccmnc), result.getHomeSp().getFqdn()); in verifyCreateEphemeralPasspointConfigurationWithCarrierEapMethod() 1661 assertEquals(mccmnc + "*", result.getCredential().getSimCredential().getImsi()); in verifyCreateEphemeralPasspointConfigurationWithCarrierEapMethod()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
D | TelephonyMetricsTest.java | 227 assertEquals("mccmncTest", log.events[0].carrierIdMatching.result.mccmnc); in testWriteCarrierIdMatchingEventWithInvalidMatchingScore() 266 assertEquals("mccmncTest", log.events[0].carrierIdMatching.result.mccmnc); in testWriteCarrierIdMatchingEvent()
|
/frameworks/opt/telephony/proto/src/ |
D | telephony.proto | 1613 // MCC and MNC that map to this carrier. Logged only if mccmnc is configured 1618 optional string mccmnc = 4; field
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | TelephonyMetrics.java | 2472 carrierIdMatchingResult.mccmnc = TextUtils.emptyIfNull(simInfo.mccMnc); in writeCarrierIdMatchingEvent()
|