Home
last modified time | relevance | path

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

/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.java106 public boolean matchesMccMnc(String mccMnc) { in matchesMccMnc() argument
107 if (mccMnc == null) { in matchesMccMnc()
110 if (mccMnc.length() != MCC_MNC_LENGTH) { in matchesMccMnc()
117 return mImsi.regionMatches(false, 0, mccMnc, 0, checkLength); in matchesMccMnc()
DSIMAccessor.java19 public List<String> getMatchingImsis(IMSIParameter mccMnc) { in getMatchingImsis() argument
20 if (mccMnc == null) { in getMatchingImsis()
26 if (imsi != null && mccMnc.matchesImsi(imsi)) { in getMatchingImsis()
DWifiStateMachine.java5469 private String buildIdentity(int eapMethod, String imsi, String mccMnc) { in buildIdentity() argument
5487 if (mccMnc != null && !mccMnc.isEmpty()) { in buildIdentity()
5488 mcc = mccMnc.substring(0, 3); in buildIdentity()
5489 mnc = mccMnc.substring(3); in buildIdentity()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DTelephonyUtil.java46 String mccMnc = ""; in getSimIdentity() local
49 mccMnc = tm.getSimOperator(); in getSimIdentity()
52 return buildIdentity(getSimMethodForConfig(config), imsi, mccMnc); in getSimIdentity()
63 private static String buildIdentity(int eapMethod, String imsi, String mccMnc) { in buildIdentity() argument
84 if (mccMnc != null && !mccMnc.isEmpty()) { in buildIdentity()
85 mcc = mccMnc.substring(0, 3); in buildIdentity()
86 mnc = mccMnc.substring(3); in buildIdentity()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DVisualVoicemailSmsFilter.java185 String mccMnc = telephonyManager.getSimOperator(subId); in filter() local
187 List<Pattern> patterns = sPatterns.get(mccMnc); in filter()
227 for (String mccMnc : mccMncList) { in buildPatternsMap()
228 if (!sPatterns.containsKey(mccMnc)) { in buildPatternsMap()
229 sPatterns.put(mccMnc, new ArrayList<>()); in buildPatternsMap()
231 sPatterns.get(mccMnc).add(pattern); in buildPatternsMap()
DSubscriptionController.java1074 public int setMccMnc(String mccMnc, int subId) { in setMccMnc() argument
1078 mcc = Integer.parseInt(mccMnc.substring(0,3)); in setMccMnc()
1079 mnc = Integer.parseInt(mccMnc.substring(3)); in setMccMnc()
1081 loge("[setMccMnc] - couldn't parse mcc/mnc: " + mccMnc); in setMccMnc()
DPhone.java3082 public boolean isMccMncMarkedAsRoaming(String mccMnc) { in isMccMncMarkedAsRoaming() argument
3083 return getRoamingOverrideHelper(GSM_ROAMING_LIST_OVERRIDE_PREFIX, mccMnc); in isMccMncMarkedAsRoaming()
3086 public boolean isMccMncMarkedAsNonRoaming(String mccMnc) { in isMccMncMarkedAsNonRoaming() argument
3087 return getRoamingOverrideHelper(GSM_NON_ROAMING_LIST_OVERRIDE_PREFIX, mccMnc); in isMccMncMarkedAsNonRoaming()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DANQPMatcher.java238 private static boolean matchMccMnc(String mccMnc, IMSIParameter imsiParam, in matchMccMnc() argument
244 if (!imsiParam.matchesMccMnc(mccMnc)) { in matchMccMnc()
251 if (imsi.startsWith(mccMnc)) { in matchMccMnc()
/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.java912 public boolean isMccMncMarkedAsRoaming(String mccMnc) { in isMccMncMarkedAsRoaming() argument
916 public boolean isMccMncMarkedAsNonRoaming(String mccMnc) { in isMccMncMarkedAsNonRoaming() argument
/frameworks/base/services/core/java/com/android/server/location/
DGnssLocationProvider.java522 String mccMnc = phone.getSimOperator(); in subscriptionOrSimChanged() local
524 if (!TextUtils.isEmpty(mccMnc)) { in subscriptionOrSimChanged()
525 if (DEBUG) Log.d(TAG, "SIM MCC/MNC is available: " + mccMnc); in subscriptionOrSimChanged()