Home
last modified time | relevance | path

Searched refs:PhoneNumberUtils (Results 1 – 25 of 53) sorted by relevance

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DPhoneNumberUtilsTest.java22 import android.telephony.PhoneNumberUtils;
30 PhoneNumberUtils.extractNetworkPortion("+17005554141") in testExtractNetworkPortion()
35 PhoneNumberUtils.extractNetworkPortion("+1 (700).555-4141") in testExtractNetworkPortion()
40 PhoneNumberUtils.extractNetworkPortion("1 (700).555-4141") in testExtractNetworkPortion()
46 PhoneNumberUtils.extractNetworkPortion("1 (700).555-4141*#") in testExtractNetworkPortion()
51 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN") in testExtractNetworkPortion()
56 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN,1234") in testExtractNetworkPortion()
61 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN;1234") in testExtractNetworkPortion()
68 PhoneNumberUtils.extractNetworkPortion("**21**+17005554141#") in testExtractNetworkPortion()
74 assertEquals("", PhoneNumberUtils.extractNetworkPortion("")); in testExtractNetworkPortion()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaConnection.java32 import android.telephony.PhoneNumberUtils;
143 mAddress = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in CdmaConnection()
144 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in CdmaConnection()
206 String cAddress = PhoneNumberUtils.stringFromStringAndTOA(c.number, c.TOA); in compareTo()
586 if (PhoneNumberUtils.is12Key(c)) { in processPostDialChar()
588 } else if (c == PhoneNumberUtils.PAUSE) { in processPostDialChar()
596 } else if (c == PhoneNumberUtils.WAIT) { in processPostDialChar()
598 } else if (c == PhoneNumberUtils.WILD) { in processPostDialChar()
618 int wIndex = subStr.indexOf(PhoneNumberUtils.WAIT); in getRemainingPostDialString()
619 int pIndex = subStr.indexOf(PhoneNumberUtils.PAUSE); in getRemainingPostDialString()
[all …]
DCdmaServiceCategoryProgramHandler.java28 import android.telephony.PhoneNumberUtils;
163 PhoneNumberUtils.cdmaCheckAndProcessPlusCodeForSms(sender));
DCDMAPhone.java39 import android.telephony.PhoneNumberUtils;
430 && !PhoneNumberUtils.isEmergencyNumber(dialString)) in dial()
431 || (PhoneNumberUtils.isEmergencyNumber(dialString) in dial()
458 String newDialString = PhoneNumberUtils.stripSeparators(dialString); in dialInternal()
824 if (!PhoneNumberUtils.is12Key(c)) { in sendDtmf()
836 if (!PhoneNumberUtils.is12Key(c)) { in startDtmf()
853 if (!PhoneNumberUtils.is12Key(dtmfString.charAt(itr))) { in sendBurstDtmf()
1622 String dialableStr = PhoneNumberUtils.extractNetworkPortionAlt(dialStr); in isOtaSpNumber()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberFormattingTextWatcher.java22 import android.telephony.PhoneNumberUtils;
120 PhoneNumberUtils.ttsSpanAsPhoneNumber(s, 0, s.length()); in afterTextChanged()
138 if (PhoneNumberUtils.isNonSeparator(c)) { in reformat()
168 if (!PhoneNumberUtils.isNonSeparator(c)) { in hasSeparator()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallForwardInfo.java19 import android.telephony.PhoneNumberUtils;
39 + " \"" + PhoneNumberUtils.stringFromStringAndTOA(number, toa) + "\" " in toString()
DDriverCall.java21 import android.telephony.PhoneNumberUtils;
77 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString()); in fromCLCCLine()
88 ret.number = PhoneNumberUtils.stringFromStringAndTOA( in fromCLCCLine()
DSmsNumberUtils.java31 import android.telephony.PhoneNumberUtils;
135 String networkPortionNumber = PhoneNumberUtils.extractNetworkPortion(number); in formatNumber()
305 if (!PhoneNumberUtils.isISODigit(c)) { in checkNANP()
365 return (PhoneNumberUtils.isNanp(number)); in isNANP()
536 if (destAddr == null || !PhoneNumberUtils.isGlobalPhoneNumber(destAddr)) { in filterDestAddr()
DPhoneSubInfo.java25 import android.telephony.PhoneNumberUtils;
151 String number = PhoneNumberUtils.extractNetworkPortion(mPhone.getVoiceMailNumber()); in getVoiceMailNumber()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DSuppServiceNotification.java19 import android.telephony.PhoneNumberUtils;
68 + PhoneNumberUtils.stringFromStringAndTOA(number, type) + "\" "; in toString()
DGsmConnection.java28 import android.telephony.PhoneNumberUtils;
143 mAddress = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in GsmConnection()
144 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in GsmConnection()
183 String cAddress = PhoneNumberUtils.stringFromStringAndTOA(c.number, c.TOA); in compareTo()
548 if (PhoneNumberUtils.is12Key(c)) { in processPostDialChar()
550 } else if (c == PhoneNumberUtils.PAUSE) { in processPostDialChar()
565 } else if (c == PhoneNumberUtils.WAIT) { in processPostDialChar()
567 } else if (c == PhoneNumberUtils.WILD) { in processPostDialChar()
DGsmSmsAddress.java19 import android.telephony.PhoneNumberUtils;
74 address = PhoneNumberUtils.calledPartyBCDToString(origBytes, in GsmSmsAddress()
DUsimDataDownloadHandler.java24 import android.telephony.PhoneNumberUtils;
87 PhoneNumberUtils.networkPortionToCalledPartyBCDWithLength( in handleUsimDataDownload()
DSmsMessage.java19 import android.telephony.PhoneNumberUtils;
466 ret.encodedScAddress = PhoneNumberUtils.networkPortionToCalledPartyBCDWithLength( in getSubmitPduHead()
483 daBytes = PhoneNumberUtils.networkPortionToCalledPartyBCD(destinationAddress); in getSubmitPduHead()
528 ret = PhoneNumberUtils in getSCAddress()
DGSMPhone.java34 import android.telephony.PhoneNumberUtils;
826 && !PhoneNumberUtils.isEmergencyNumber(dialString)) in dial()
827 || (PhoneNumberUtils.isEmergencyNumber(dialString) in dial()
854 String newDialString = PhoneNumberUtils.stripSeparators(dialString); in dialInternal()
862 String networkPortion = PhoneNumberUtils.extractNetworkPortionAlt(newDialString); in dialInternal()
907 if (!PhoneNumberUtils.is12Key(c)) { in sendDtmf()
920 if (!PhoneNumberUtils.is12Key(c)) { in startDtmf()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DAdnRecord.java21 import android.telephony.PhoneNumberUtils;
234 bcdNumber = PhoneNumberUtils.numberToCalledPartyBCD(mNumber); in buildAdnString()
275 mNumber += PhoneNumberUtils.calledPartyBCDFragmentToString( in appendExtRecord()
313 mNumber = PhoneNumberUtils.calledPartyBCDToString( in parseRecord()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneConnection.java30 import android.telephony.PhoneNumberUtils;
162 mAddress = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in ImsPhoneConnection()
163 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in ImsPhoneConnection()
371 if (PhoneNumberUtils.is12Key(c)) { in processPostDialChar()
373 } else if (c == PhoneNumberUtils.PAUSE) { in processPostDialChar()
388 } else if (c == PhoneNumberUtils.WAIT) { in processPostDialChar()
390 } else if (c == PhoneNumberUtils.WILD) { in processPostDialChar()
DImsPhone.java32 import android.telephony.PhoneNumberUtils;
476 String newDialString = PhoneNumberUtils.stripSeparators(dialString); in dialInternal()
488 String networkPortion = PhoneNumberUtils.extractNetworkPortionAlt(newDialString); in dialInternal()
514 if (!PhoneNumberUtils.is12Key(c)) { in sendDtmf()
527 if (!(PhoneNumberUtils.is12Key(c) || (c >= 'A' && c <= 'D'))) { in startDtmf()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java31 import android.telephony.PhoneNumberUtils;
328 if (PhoneNumberUtils.isLocalEmergencyNumber(context, number)) { in getCallerInfo()
330 } else if (PhoneNumberUtils.isVoiceMailNumber(subId, number)) { in getCallerInfo()
362 && PhoneNumberUtils.isUriNumber(number)) { in doSecondaryLookupIfNecessary()
363 String username = PhoneNumberUtils.getUsernameFromUriNumber(number); in doSecondaryLookupIfNecessary()
364 if (PhoneNumberUtils.isGlobalPhoneNumber(username)) { in doSecondaryLookupIfNecessary()
DCallerInfoAsyncQuery.java33 import android.telephony.PhoneNumberUtils;
321 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete()
420 String.valueOf(PhoneNumberUtils.isUriNumber(number))) in startQuery()
438 if (PhoneNumberUtils.isLocalEmergencyNumber(context, number)) { in startQuery()
440 } else if (PhoneNumberUtils.isVoiceMailNumber(subId, number)) { in startQuery()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipConnectionBase.java28 import android.telephony.PhoneNumberUtils;
60 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in SipConnectionBase()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedGsmCallState.java22 import android.telephony.PhoneNumberUtils;
58 mTOA = PhoneNumberUtils.TOA_International; in CallInfo()
60 mTOA = PhoneNumberUtils.TOA_Unknown; in CallInfo()
207 PhoneNumberUtils.extractNetworkPortion(number)); in triggerRing()
671 String phNum = PhoneNumberUtils.extractNetworkPortion(address); in onDial()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardUtils.java20 import android.telephony.PhoneNumberUtils;
93 PhoneNumberUtils.formatNumber(text, defaultFormattingType); in formatNumber()
328 return PhoneNumberUtils.FORMAT_JAPAN; in getPhoneNumberFormat()
330 return PhoneNumberUtils.FORMAT_NANP; in getPhoneNumberFormat()
/frameworks/base/core/java/android/provider/
DCallLog.java37 import android.telephony.PhoneNumberUtils;
610 final String normalizedNumber = PhoneNumberUtils.formatNumberToE164(number, in updateNormalizedNumber()
/frameworks/base/core/java/android/text/util/
DLinkify.java19 import android.telephony.PhoneNumberUtils;
456 spec.url = "tel:" + PhoneNumberUtils.normalizeNumber(match.rawString()); in gatherTelLinks()

123