Home
last modified time | relevance | path

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

12

/frameworks/base/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/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaConnection.java32 import android.telephony.PhoneNumberUtils;
156 this.address = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in CdmaConnection()
157 this.postDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in CdmaConnection()
219 String cAddress = PhoneNumberUtils.stringFromStringAndTOA(c.number, c.TOA); in compareTo()
344 if (PhoneNumberUtils.is12Key(c)) { in proceedAfterWildChar()
620 if (PhoneNumberUtils.is12Key(c)) { in processPostDialChar()
622 } else if (c == PhoneNumberUtils.PAUSE) { in processPostDialChar()
630 } else if (c == PhoneNumberUtils.WAIT) { in processPostDialChar()
632 } else if (c == PhoneNumberUtils.WILD) { in processPostDialChar()
651 int wIndex = subStr.indexOf(PhoneNumberUtils.WAIT); in getRemainingPostDialString()
[all …]
DCDMAPhone.java37 import android.telephony.PhoneNumberUtils;
371 String newDialString = PhoneNumberUtils.stripSeparators(dialString); in dial()
667 if (!PhoneNumberUtils.is12Key(c)) { in sendDtmf()
678 if (!PhoneNumberUtils.is12Key(c)) { in startDtmf()
693 if (!PhoneNumberUtils.is12Key(dtmfString.charAt(itr))) { in sendBurstDtmf()
1331 String dialableStr = PhoneNumberUtils.extractNetworkPortionAlt(dialStr); in isOtaSpNumber()
DCdmaCallTracker.java24 import android.telephony.PhoneNumberUtils;
194 PhoneNumberUtils.isLocalEmergencyNumber(dialString, phone.getContext()); in dial()
217 || pendingMO.address.indexOf(PhoneNumberUtils.WILD) >= 0) { in dial()
1063 if (PhoneNumberUtils.isLocalEmergencyNumber(dialString, phone.getContext())) { in disableDataCallInEmergencyCall()
DSmsMessage.java21 import android.telephony.PhoneNumberUtils;
791 PhoneNumberUtils.cdmaCheckAndProcessPlusCode(destAddrStr)); in privateGetSubmitPdu()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallForwardInfo.java19 import android.telephony.PhoneNumberUtils;
38 + " \"" + 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()
DAdnRecord.java21 import android.telephony.PhoneNumberUtils;
227 bcdNumber = PhoneNumberUtils.numberToCalledPartyBCD(number); in buildAdnString()
268 number += PhoneNumberUtils.calledPartyBCDFragmentToString( in appendExtRecord()
306 number = PhoneNumberUtils.calledPartyBCDToString( in parseRecord()
DCallerInfoAsyncQuery.java32 import android.telephony.PhoneNumberUtils;
276 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete()
353 if (PhoneNumberUtils.isUriNumber(number)) { in startQuery()
406 if (PhoneNumberUtils.isLocalEmergencyNumber(number, context)) { in startQuery()
408 } else if (PhoneNumberUtils.isVoiceMailNumber(number)) { in startQuery()
DCallerInfo.java28 import android.telephony.PhoneNumberUtils;
257 if (PhoneNumberUtils.isLocalEmergencyNumber(number, context)) { in getCallerInfo()
259 } else if (PhoneNumberUtils.isVoiceMailNumber(number)) { in getCallerInfo()
290 && PhoneNumberUtils.isUriNumber(number)) { in doSecondaryLookupIfNecessary()
292 if (PhoneNumberUtils.isGlobalPhoneNumber(username)) { in doSecondaryLookupIfNecessary()
DPhoneSubInfo.java24 import android.telephony.PhoneNumberUtils;
120 String number = PhoneNumberUtils.extractNetworkPortion(mPhone.getVoiceMailNumber()); in getVoiceMailNumber()
DIccPhoneBookInterfaceManagerProxy.java25 import android.telephony.PhoneNumberUtils;
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
DGsmConnection.java27 import android.telephony.PhoneNumberUtils;
148 this.address = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in GsmConnection()
149 this.postDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in GsmConnection()
180 String cAddress = PhoneNumberUtils.stringFromStringAndTOA(c.number, c.TOA); in compareTo()
292 if (PhoneNumberUtils.is12Key(c)) { in proceedAfterWildChar()
536 if (PhoneNumberUtils.is12Key(c)) { in processPostDialChar()
538 } else if (c == PhoneNumberUtils.PAUSE) { in processPostDialChar()
558 } else if (c == PhoneNumberUtils.WAIT) { in processPostDialChar()
560 } else if (c == PhoneNumberUtils.WILD) { in processPostDialChar()
DSuppServiceNotification.java19 import android.telephony.PhoneNumberUtils;
67 + PhoneNumberUtils.stringFromStringAndTOA(number, type) + "\" "; in toString()
DGsmSmsAddress.java19 import android.telephony.PhoneNumberUtils;
72 address = PhoneNumberUtils.calledPartyBCDToString(origBytes, in GsmSmsAddress()
DSmsMessage.java20 import android.telephony.PhoneNumberUtils;
436 ret.encodedScAddress = PhoneNumberUtils.networkPortionToCalledPartyBCDWithLength( in getSubmitPduHead()
453 daBytes = PhoneNumberUtils.networkPortionToCalledPartyBCD(destinationAddress); in getSubmitPduHead()
499 ret = PhoneNumberUtils in getSCAddress()
DGSMPhone.java33 import android.telephony.PhoneNumberUtils;
713 String newDialString = PhoneNumberUtils.stripSeparators(dialString); in dial()
721 String networkPortion = PhoneNumberUtils.extractNetworkPortionAlt(newDialString); in dial()
762 if (!PhoneNumberUtils.is12Key(c)) { in sendDtmf()
774 if (!PhoneNumberUtils.is12Key(c)) { in startDtmf()
DGsmMmiCode.java23 import android.telephony.PhoneNumberUtils;
499 if (PhoneNumberUtils.isLocalEmergencyNumber(dialString, phone.getContext())) { in isShortCode()
1199 destinations[1] = PhoneNumberUtils.stringFromStringAndTOA(info.number, info.toa); in makeCFQueryResultMessage()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberFormattingTextWatcher.java22 import android.telephony.PhoneNumberUtils;
179 if (PhoneNumberUtils.isNonSeparator(c)) { in reformat()
209 if (!PhoneNumberUtils.isNonSeparator(c)) { in hasSeparator()
DPhoneNumberUtils.java49 public class PhoneNumberUtils class
991 PhoneNumberUtils.extractNetworkPortion(address); in isWellFormedSmsAddress()
1487 if ((i == 0 && c == '+') || PhoneNumberUtils.isISODigit(c)) { in normalizeNumber()
1490 return normalizeNumber(PhoneNumberUtils.convertKeypadLettersToDigits(phoneNumber)); in normalizeNumber()
1899 if (!PhoneNumberUtils.isISODigit(c)) { in isNanp()
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
DSipConnectionBase.java27 import android.telephony.PhoneNumberUtils;
63 postDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in SipConnectionBase()
DSipPhone.java30 import android.telephony.PhoneNumberUtils;
243 if (!PhoneNumberUtils.is12Key(c)) { in sendDtmf()
254 if (!PhoneNumberUtils.is12Key(c)) { in startDtmf()
/frameworks/base/telephony/java/com/android/internal/telephony/test/
DSimulatedGsmCallState.java22 import android.telephony.PhoneNumberUtils;
58 TOA = PhoneNumberUtils.TOA_International; in CallInfo()
60 TOA = PhoneNumberUtils.TOA_Unknown; in CallInfo()
206 PhoneNumberUtils.extractNetworkPortion(number)); in triggerRing()
670 String phNum = PhoneNumberUtils.extractNetworkPortion(address); in onDial()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardUtils.java25 import android.telephony.PhoneNumberUtils;
96 PhoneNumberUtils.formatNumber(text, defaultFormattingType); in formatNumber()
322 return PhoneNumberUtils.FORMAT_JAPAN; in getPhoneNumberFormat()
324 return PhoneNumberUtils.FORMAT_NANP; in getPhoneNumberFormat()
DVCardConfig.java18 import android.telephony.PhoneNumberUtils;

12