Home
last modified time | relevance | path

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

/aosp12/frameworks/base/telephony/java/android/telephony/
H A DPhoneNumberUtils.java2463 boolean useNanp = (currFormat == defaultFormat) && (currFormat == FORMAT_NANP); in cdmaCheckAndProcessPlusCodeByNumberFormat()
2483 if (useNanp) { in cdmaCheckAndProcessPlusCodeByNumberFormat()
2490 networkDialStr = processPlusCode(networkDialStr, useNanp); in cdmaCheckAndProcessPlusCodeByNumberFormat()
2648 private static String getCurrentIdp(boolean useNanp) { in getCurrentIdp() argument
2650 if (useNanp) { in getCurrentIdp()
2816 private static String processPlusCode(String networkDialStr, boolean useNanp) { in processPlusCode() argument
2820 + "for NANP = " + useNanp); in processPlusCode()
2828 if (useNanp && isOneNanp(newStr)) { in processPlusCode()
2833 retStr = networkDialStr.replaceFirst("[+]", getCurrentIdp(useNanp)); in processPlusCode()