Lines Matching defs:dialStr

1441      * The passed-in dialStr should only contain the valid format as described below,
1442 * 1) the 1st character in the dialStr should be one of the really dialable
1445 * 2) the dialStr should already strip out the separator characters,
1446 * every character in the dialStr should be one of the non separator characters
1452 * @param dialStr the original dial string
1461 public static String cdmaCheckAndProcessPlusCode(String dialStr) {
1462 if (!TextUtils.isEmpty(dialStr)) {
1463 if (isReallyDialable(dialStr.charAt(0)) &&
1464 isNonSeparator(dialStr)) {
1468 return cdmaCheckAndProcessPlusCodeByNumberFormat(dialStr,
1474 return dialStr;
1495 * @param dialStr the original dial string
1505 cdmaCheckAndProcessPlusCodeByNumberFormat(String dialStr,int currFormat,int defaultFormt) {
1506 String retStr = dialStr;
1509 if (dialStr != null &&
1510 dialStr.lastIndexOf(PLUS_SIGN_STRING) != -1) {
1516 String tempDialStr = dialStr;
1520 if (DBG) log("checkAndProcessPlusCode,dialStr=" + dialStr);
1538 // This should never happen since we checked the if dialStr is null
1542 return dialStr;
1570 Log.e("checkAndProcessPlusCode:non-NANP not supported", dialStr);
1612 private static boolean isNanp (String dialStr) {
1614 if (dialStr != null) {
1615 if (dialStr.length() == NANP_LENGTH) {
1616 if (isTwoToNine(dialStr.charAt(0)) &&
1617 isTwoToNine(dialStr.charAt(3))) {
1620 char c=dialStr.charAt(i);
1629 Log.e("isNanp: null dialStr passed in", dialStr);
1637 private static boolean isOneNanp(String dialStr) {
1639 if (dialStr != null) {
1640 String newDialStr = dialStr.substring(1);
1641 if ((dialStr.charAt(0) == '1') && isNanp(newDialStr)) {
1645 Log.e("isOneNanp: null dialStr passed in", dialStr);
1694 appendPwCharBackToOrigDialStr(int dialableIndex,String origStr, String dialStr) {
1700 ret = ret.append(dialStr.charAt(0));
1705 String nonDigitStr = dialStr.substring(0,dialableIndex);