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.java648 private boolean imsiPrefixMatch(String imsi, String prefixXPattern) { in imsiPrefixMatch() argument
649 if (TextUtils.isEmpty(prefixXPattern)) return true; in imsiPrefixMatch()
651 if (imsi.length() < prefixXPattern.length()) { in imsiPrefixMatch()
654 for (int i = 0; i < prefixXPattern.length(); i++) { in imsiPrefixMatch()
655 if ((prefixXPattern.charAt(i) != 'x') && (prefixXPattern.charAt(i) != 'X') in imsiPrefixMatch()
656 && (prefixXPattern.charAt(i) != imsi.charAt(i))) { in imsiPrefixMatch()