Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierResolver.java647 private boolean imsiPrefixMatch(String imsi, String prefixXPattern) { in imsiPrefixMatch() argument
648 if (TextUtils.isEmpty(prefixXPattern)) return true; in imsiPrefixMatch()
650 if (imsi.length() < prefixXPattern.length()) { in imsiPrefixMatch()
653 for (int i = 0; i < prefixXPattern.length(); i++) { in imsiPrefixMatch()
654 if ((prefixXPattern.charAt(i) != 'x') && (prefixXPattern.charAt(i) != 'X') in imsiPrefixMatch()
655 && (prefixXPattern.charAt(i) != imsi.charAt(i))) { in imsiPrefixMatch()