Lines Matching refs:dialStr

1918      * The passed-in dialStr should only contain the valid format as described below,
1919 * 1) the 1st character in the dialStr should be one of the really dialable
1922 * 2) the dialStr should already strip out the separator characters,
1923 * every character in the dialStr should be one of the non separator characters
1929 * @param dialStr the original dial string
1938 public static String cdmaCheckAndProcessPlusCode(String dialStr) {
1939 if (!TextUtils.isEmpty(dialStr)) {
1940 if (isReallyDialable(dialStr.charAt(0)) &&
1941 isNonSeparator(dialStr)) {
1945 return cdmaCheckAndProcessPlusCodeByNumberFormat(dialStr,
1951 return dialStr;
1972 * @param dialStr the original dial string
1982 cdmaCheckAndProcessPlusCodeByNumberFormat(String dialStr,int currFormat,int defaultFormat) {
1983 String retStr = dialStr;
1986 if (dialStr != null &&
1987 dialStr.lastIndexOf(PLUS_SIGN_STRING) != -1) {
1993 String tempDialStr = dialStr;
1997 if (DBG) log("checkAndProcessPlusCode,dialStr=" + dialStr);
2015 // This should never happen since we checked the if dialStr is null
2019 return dialStr;
2047 Log.e("checkAndProcessPlusCode:non-NANP not supported", dialStr);
2089 private static boolean isNanp (String dialStr) {
2091 if (dialStr != null) {
2092 if (dialStr.length() == NANP_LENGTH) {
2093 if (isTwoToNine(dialStr.charAt(0)) &&
2094 isTwoToNine(dialStr.charAt(3))) {
2097 char c=dialStr.charAt(i);
2106 Log.e("isNanp: null dialStr passed in", dialStr);
2114 private static boolean isOneNanp(String dialStr) {
2116 if (dialStr != null) {
2117 String newDialStr = dialStr.substring(1);
2118 if ((dialStr.charAt(0) == '1') && isNanp(newDialStr)) {
2122 Log.e("isOneNanp: null dialStr passed in", dialStr);
2212 appendPwCharBackToOrigDialStr(int dialableIndex,String origStr, String dialStr) {
2218 ret = ret.append(dialStr.charAt(0));
2223 String nonDigitStr = dialStr.substring(0,dialableIndex);