/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberUtilsTest.java | 22 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 …]
|
D | GsmCdmaConnectionTest.java | 21 import android.telephony.PhoneNumberUtils; 60 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null); in testFormatDialString() 63 String.format("+1 (700).555-41NN1234%c", PhoneNumberUtils.PAUSE)); in testFormatDialString() 75 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null); in testSanityGSM() 92 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null); in testSanityCDMA() 109 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null); in testConnectionStateUpdate() 126 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null); in testCDMAPostDialPause() 142 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null); in testGSMPostDialPause() 160 String.format("+1 (700).555-41NN%c1234", PhoneNumberUtils.WAIT),mCT,null); in testPostDialWait() 176 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null); in testHangUpConnection()
|
D | GsmCdmaCallTrackerTest.java | 21 import android.telephony.PhoneNumberUtils; 47 private String mDialString = PhoneNumberUtils.stripSeparators("+17005554141"); 110 verify(mSimulatedCommandsVerifier).dial(eq(PhoneNumberUtils. in testMOCallDial() 206 String mDialString = PhoneNumberUtils.stripSeparators("+17005554142"); in testMOCallSwitch() 229 String mDialString = PhoneNumberUtils.stripSeparators("+17005554141"); in testMTCallRinging()
|
D | CallManagerTest.java | 21 import android.telephony.PhoneNumberUtils; 144 PhoneNumberUtils.stripSeparators("+17005554141"), 0); in testBasicDial() 148 assertEquals(PhoneNumberUtils.stripSeparators("+17005554141"), in testBasicDial() 286 PhoneNumberUtils.stripSeparators("+17005554141"), 0); in testFgCallActiveDial() 291 assertEquals(PhoneNumberUtils.stripSeparators("+17005554141"), in testFgCallActiveDial()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberFormattingTextWatcher.java | 22 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/ |
D | GsmCdmaConnection.java | 30 import android.telephony.PhoneNumberUtils; 164 mAddress = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in GsmCdmaConnection() 165 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in GsmCdmaConnection() 279 return PhoneNumberUtils.cdmaCheckAndProcessPlusCode(ret.toString()); in formatDialString() 299 String cAddress = PhoneNumberUtils.stringFromStringAndTOA(c.number, c.TOA); in compareTo() 732 if (PhoneNumberUtils.is12Key(c)) { in processPostDialChar() 768 int wIndex = subStr.indexOf(PhoneNumberUtils.WAIT); in getRemainingPostDialString() 769 int pIndex = subStr.indexOf(PhoneNumberUtils.PAUSE); in getRemainingPostDialString() 958 return c == PhoneNumberUtils.PAUSE; in isPause() 962 return c == PhoneNumberUtils.WAIT; in isWait() [all …]
|
D | CallForwardInfo.java | 19 import android.telephony.PhoneNumberUtils; 39 + " \"" + PhoneNumberUtils.stringFromStringAndTOA(number, toa) + "\" " in toString()
|
D | DriverCall.java | 21 import android.telephony.PhoneNumberUtils; 77 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString()); in fromCLCCLine() 88 ret.number = PhoneNumberUtils.stringFromStringAndTOA( in fromCLCCLine()
|
D | SmsNumberUtils.java | 27 import android.telephony.PhoneNumberUtils; 132 String networkPortionNumber = PhoneNumberUtils.extractNetworkPortion(number); in formatNumber() 302 if (!PhoneNumberUtils.isISODigit(c)) { in checkNANP() 362 return (PhoneNumberUtils.isNanp(number)); in isNANP() 533 if (destAddr == null || !PhoneNumberUtils.isGlobalPhoneNumber(destAddr)) { in filterDestAddr()
|
D | GsmCdmaCallTracker.java | 32 import android.telephony.PhoneNumberUtils; 303 || mPendingMO.getAddress().indexOf(PhoneNumberUtils.WILD) >= 0) { in dial() 347 if (PhoneNumberUtils.isLocalEmergencyNumber(mPhone.getContext(), dialString)) { in disableDataCallInEmergencyCall() 395 PhoneNumberUtils.isLocalEmergencyNumber(mPhone.getContext(), dialString); in dial() 414 || mPendingMO.getAddress().indexOf(PhoneNumberUtils.WILD) >= 0 ) { in dial()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | SuppServiceNotification.java | 19 import android.telephony.PhoneNumberUtils; 72 + PhoneNumberUtils.stringFromStringAndTOA(number, type) + "\" "; in toString()
|
D | GsmSmsAddress.java | 19 import android.telephony.PhoneNumberUtils; 74 address = PhoneNumberUtils.calledPartyBCDToString(origBytes, in GsmSmsAddress()
|
D | UsimDataDownloadHandler.java | 24 import android.telephony.PhoneNumberUtils; 87 PhoneNumberUtils.networkPortionToCalledPartyBCDWithLength( in handleUsimDataDownload()
|
D | SmsMessage.java | 19 import android.telephony.PhoneNumberUtils; 466 ret.encodedScAddress = PhoneNumberUtils.networkPortionToCalledPartyBCDWithLength( in getSubmitPduHead() 483 daBytes = PhoneNumberUtils.networkPortionToCalledPartyBCD(destinationAddress); in getSubmitPduHead() 528 ret = PhoneNumberUtils in getSCAddress()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AdnRecord.java | 21 import android.telephony.PhoneNumberUtils; 246 bcdNumber = PhoneNumberUtils.numberToCalledPartyBCD(mNumber); in buildAdnString() 287 mNumber += PhoneNumberUtils.calledPartyBCDFragmentToString( in appendExtRecord() 325 mNumber = PhoneNumberUtils.calledPartyBCDToString( in parseRecord()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfoAsyncQuery.java | 33 import android.telephony.PhoneNumberUtils; 320 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete() 419 String.valueOf(PhoneNumberUtils.isUriNumber(number))) in startQuery() 437 if (PhoneNumberUtils.isLocalEmergencyNumber(context, number)) { in startQuery() 439 } else if (PhoneNumberUtils.isVoiceMailNumber(subId, number)) { in startQuery()
|
D | CallerInfo.java | 32 import android.telephony.PhoneNumberUtils; 354 if (PhoneNumberUtils.isLocalEmergencyNumber(context, number)) { in getCallerInfo() 356 } else if (PhoneNumberUtils.isVoiceMailNumber(subId, number)) { in getCallerInfo() 388 && PhoneNumberUtils.isUriNumber(number)) { in doSecondaryLookupIfNecessary() 389 String username = PhoneNumberUtils.getUsernameFromUriNumber(number); in doSecondaryLookupIfNecessary() 390 if (PhoneNumberUtils.isGlobalPhoneNumber(username)) { in doSecondaryLookupIfNecessary()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 33 import android.telephony.PhoneNumberUtils; 196 mAddress = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in ImsPhoneConnection() 197 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in ImsPhoneConnection() 441 if (PhoneNumberUtils.is12Key(c)) { in processPostDialChar() 443 } else if (c == PhoneNumberUtils.PAUSE) { in processPostDialChar() 458 } else if (c == PhoneNumberUtils.WAIT) { in processPostDialChar() 460 } else if (c == PhoneNumberUtils.WILD) { in processPostDialChar()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipConnectionBase.java | 28 import android.telephony.PhoneNumberUtils; 56 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in SipConnectionBase()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnectionTest.java | 24 import android.telephony.PhoneNumberUtils; 107 PhoneNumberUtils.PAUSE), mImsCT, mForeGroundCall, false); in testImsConnectionSanity() 192 PhoneNumberUtils.WAIT), mImsCT, mForeGroundCall, false); in testPostDialWait() 215 PhoneNumberUtils.PAUSE), mImsCT, mForeGroundCall, false); in testPostDialPause()
|
D | ImsPhoneCallTrackerTest.java | 23 import android.telephony.PhoneNumberUtils; 391 mCTUT.sendDtmf(PhoneNumberUtils.PAUSE, null); in testImsSendDtmf() 393 verify(mImsCall, times(1)).sendDtmf(eq(PhoneNumberUtils.PAUSE), (Message) isNull()); in testImsSendDtmf() 408 mCTUT.sendDtmf(PhoneNumberUtils.WAIT, null); in testImsSendDtmf() 410 verify(mSecondImsCall, times(1)).sendDtmf(eq(PhoneNumberUtils.WAIT), (Message) isNull()); in testImsSendDtmf()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | SimulatedGsmCallState.java | 22 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/base/telecomm/java/android/telecom/ |
D | Log.java | 21 import android.telephony.PhoneNumberUtils; 177 if (PhoneNumberUtils.isStartsPostDial(c)) { in piiUri() 179 } else if (PhoneNumberUtils.isDialable(c)) { in piiUri()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaServiceCategoryProgramHandler.java | 28 import android.telephony.PhoneNumberUtils; 163 PhoneNumberUtils.cdmaCheckAndProcessPlusCodeForSms(sender));
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardUtils.java | 20 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()
|