/frameworks/base/packages/Osu/src/com/android/hotspot2/ |
D | IMSIParameter.java | 47 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/ |
D | IMSIParameter.java | 106 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()
|
D | SIMAccessor.java | 19 public List<String> getMatchingImsis(IMSIParameter mccMnc) { in getMatchingImsis() argument 20 if (mccMnc == null) { in getMatchingImsis() 26 if (imsi != null && mccMnc.matchesImsi(imsi)) { in getMatchingImsis()
|
D | WifiStateMachine.java | 5469 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/ |
D | TelephonyUtil.java | 46 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/ |
D | VisualVoicemailSmsFilter.java | 185 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()
|
D | SubscriptionController.java | 1074 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()
|
D | Phone.java | 3082 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/ |
D | ANQPMatcher.java | 238 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/ |
D | HomeSP.java | 120 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/ |
D | SubscriptionControllerMock.java | 173 public int setMccMnc(String mccMnc, int subId) { in setMccMnc() argument
|
D | PhoneMock.java | 912 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/ |
D | GnssLocationProvider.java | 522 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()
|