Lines Matching refs:dialStr

2393     public static String cdmaCheckAndProcessPlusCode(String dialStr) {  in cdmaCheckAndProcessPlusCode()  argument
2394 if (!TextUtils.isEmpty(dialStr)) { in cdmaCheckAndProcessPlusCode()
2395 if (isReallyDialable(dialStr.charAt(0)) && in cdmaCheckAndProcessPlusCode()
2396 isNonSeparator(dialStr)) { in cdmaCheckAndProcessPlusCode()
2400 return cdmaCheckAndProcessPlusCodeByNumberFormat(dialStr, in cdmaCheckAndProcessPlusCode()
2406 return dialStr; in cdmaCheckAndProcessPlusCode()
2417 public static String cdmaCheckAndProcessPlusCodeForSms(String dialStr) { in cdmaCheckAndProcessPlusCodeForSms() argument
2418 if (!TextUtils.isEmpty(dialStr)) { in cdmaCheckAndProcessPlusCodeForSms()
2419 if (isReallyDialable(dialStr.charAt(0)) && isNonSeparator(dialStr)) { in cdmaCheckAndProcessPlusCodeForSms()
2423 return cdmaCheckAndProcessPlusCodeByNumberFormat(dialStr, format, format); in cdmaCheckAndProcessPlusCodeForSms()
2427 return dialStr; in cdmaCheckAndProcessPlusCodeForSms()
2458 cdmaCheckAndProcessPlusCodeByNumberFormat(String dialStr,int currFormat,int defaultFormat) { in cdmaCheckAndProcessPlusCodeByNumberFormat() argument
2459 String retStr = dialStr; in cdmaCheckAndProcessPlusCodeByNumberFormat()
2464 if (dialStr != null && in cdmaCheckAndProcessPlusCodeByNumberFormat()
2465 dialStr.lastIndexOf(PLUS_SIGN_STRING) != -1) { in cdmaCheckAndProcessPlusCodeByNumberFormat()
2469 String tempDialStr = dialStr; in cdmaCheckAndProcessPlusCodeByNumberFormat()
2473 if (DBG) log("checkAndProcessPlusCode,dialStr=" + dialStr); in cdmaCheckAndProcessPlusCodeByNumberFormat()
2502 return dialStr; in cdmaCheckAndProcessPlusCodeByNumberFormat()
2683 public static boolean isNanp (String dialStr) { in isNanp() argument
2685 if (dialStr != null) { in isNanp()
2686 if (dialStr.length() == NANP_LENGTH) { in isNanp()
2687 if (isTwoToNine(dialStr.charAt(0)) && in isNanp()
2688 isTwoToNine(dialStr.charAt(3))) { in isNanp()
2691 char c=dialStr.charAt(i); in isNanp()
2700 Rlog.e("isNanp: null dialStr passed in", dialStr); in isNanp()
2708 private static boolean isOneNanp(String dialStr) { in isOneNanp() argument
2710 if (dialStr != null) { in isOneNanp()
2711 String newDialStr = dialStr.substring(1); in isOneNanp()
2712 if ((dialStr.charAt(0) == '1') && isNanp(newDialStr)) { in isOneNanp()
2716 Rlog.e("isOneNanp: null dialStr passed in", dialStr); in isOneNanp()
2849 appendPwCharBackToOrigDialStr(int dialableIndex,String origStr, String dialStr) { in appendPwCharBackToOrigDialStr() argument
2855 ret = ret.append(dialStr.charAt(0)); in appendPwCharBackToOrigDialStr()
2860 String nonDigitStr = dialStr.substring(0,dialableIndex); in appendPwCharBackToOrigDialStr()