Home
last modified time | relevance | path

Searched refs:mccMnc (Results 1 – 12 of 12) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/
DCellularNetwork.java34 String mccMnc = n2 != 0xf ? in CellularNetwork() local
38 mMccMnc.add(mccMnc); in CellularNetwork()
65 for (String mccMnc : mMccMnc) { in toString()
66 sb.append(' ').append(mccMnc); in toString()
/frameworks/base/packages/Osu/src/com/android/hotspot2/
DIMSIParameter.java47 public boolean matchesMccMnc(String mccMnc) { in matchesMccMnc() argument
50 return mImsi.regionMatches(false, 0, mccMnc, 0, mImsi.length()); in matchesMccMnc()
53 return mImsi.regionMatches(false, 0, mccMnc, 0, mccMnc.length()); in matchesMccMnc()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DIMSIParameter.java50 public boolean matchesMccMnc(String mccMnc) { in matchesMccMnc() argument
53 return mImsi.regionMatches(false, 0, mccMnc, 0, mImsi.length()); in matchesMccMnc()
57 return mImsi.regionMatches(false, 0, mccMnc, 0, mccMnc.length()); in matchesMccMnc()
DSIMAccessor.java19 public List<String> getMatchingImsis(IMSIParameter mccMnc) { in getMatchingImsis() argument
20 if (mccMnc == null) { in getMatchingImsis()
26 if (mccMnc.matches(imsi)) { in getMatchingImsis()
DWifiStateMachine.java5608 String mccMnc = ""; in processMessage() local
5611 mccMnc = tm.getSimOperator(); in processMessage()
5613 String identity = buildIdentity(eapMethod, imsi, mccMnc); in processMessage()
6354 private String buildIdentity(int eapMethod, String imsi, String mccMnc) { in buildIdentity() argument
6372 if (mccMnc != null && !mccMnc.isEmpty()) { in buildIdentity()
6373 mcc = mccMnc.substring(0, 3); in buildIdentity()
6374 mnc = mccMnc.substring(3); in buildIdentity()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
DHomeSP.java276 for (String mccMnc : network) { in imsiMatch()
277 String imsi = imsiMatch(imsis, mccMnc); in imsiMatch()
290 String mccMnc = Utils.getMccMnc(fqdn); in imsiMatch() local
291 return mccMnc != null ? imsiMatch(imsis, mccMnc) : null; in imsiMatch()
294 private String imsiMatch(List<String> imsis, String mccMnc) { in imsiMatch() argument
295 if (mCredential.getImsi().matchesMccMnc(mccMnc)) { in imsiMatch()
297 if (imsi.startsWith(mccMnc)) { in imsiMatch()
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
DHomeSP.java120 private String imsiMatch(List<String> imsis, String mccMnc) { in imsiMatch() argument
121 if (mCredential.getImsi().matchesMccMnc(mccMnc)) { in imsiMatch()
123 if (imsi.startsWith(mccMnc)) { in imsiMatch()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DSubscriptionControllerMock.java173 public int setMccMnc(String mccMnc, int subId) { in setMccMnc() argument
DPhoneMock.java904 public boolean isMccMncMarkedAsRoaming(String mccMnc) { in isMccMncMarkedAsRoaming() argument
908 public boolean isMccMncMarkedAsNonRoaming(String mccMnc) { in isMccMncMarkedAsNonRoaming() argument
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSubscriptionController.java1081 public int setMccMnc(String mccMnc, int subId) { in setMccMnc() argument
1085 mcc = Integer.parseInt(mccMnc.substring(0,3)); in setMccMnc()
1086 mnc = Integer.parseInt(mccMnc.substring(3)); in setMccMnc()
1088 loge("[setMccMnc] - couldn't parse mcc/mnc: " + mccMnc); in setMccMnc()
DPhone.java2912 public boolean isMccMncMarkedAsRoaming(String mccMnc) { in isMccMncMarkedAsRoaming() argument
2913 return getRoamingOverrideHelper(GSM_ROAMING_LIST_OVERRIDE_PREFIX, mccMnc); in isMccMncMarkedAsRoaming()
2916 public boolean isMccMncMarkedAsNonRoaming(String mccMnc) { in isMccMncMarkedAsNonRoaming() argument
2917 return getRoamingOverrideHelper(GSM_NON_ROAMING_LIST_OVERRIDE_PREFIX, mccMnc); in isMccMncMarkedAsNonRoaming()
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java514 String mccMnc = phone.getSimOperator(); in subscriptionOrSimChanged() local
515 if (!TextUtils.isEmpty(mccMnc)) { in subscriptionOrSimChanged()
516 if (DEBUG) Log.d(TAG, "SIM MCC/MNC is available: " + mccMnc); in subscriptionOrSimChanged()