/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberUtilsTest.java | 26 import android.telephony.PhoneNumberUtils; 41 PhoneNumberUtils.extractNetworkPortion("+17005554141") in testExtractNetworkPortion() 46 PhoneNumberUtils.extractNetworkPortion("+1 (700).555-4141") in testExtractNetworkPortion() 51 PhoneNumberUtils.extractNetworkPortion("1 (700).555-4141") in testExtractNetworkPortion() 57 PhoneNumberUtils.extractNetworkPortion("1 (700).555-4141*#") in testExtractNetworkPortion() 62 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN") in testExtractNetworkPortion() 67 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN,1234") in testExtractNetworkPortion() 72 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN;1234") in testExtractNetworkPortion() 79 PhoneNumberUtils.extractNetworkPortion("**21**+17005554141#") in testExtractNetworkPortion() 85 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() 64 String.format("+1 (700).555-41NN1234%c", PhoneNumberUtils.PAUSE)); in testFormatDialString() 76 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testSanityGSM() 94 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testSanityCDMA() 112 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testConnectionStateUpdate() 130 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testCDMAPostDialPause() 147 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testGSMPostDialPause() 166 String.format("+1 (700).555-41NN%c1234", PhoneNumberUtils.WAIT),mCT,null, in testPostDialWait() 183 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testHangUpConnection()
|
D | CallManagerTest.java | 21 import android.telephony.PhoneNumberUtils; 145 PhoneNumberUtils.stripSeparators("+17005554141"), 0); in testBasicDial() 150 assertEquals(PhoneNumberUtils.stripSeparators("+17005554141"), in testBasicDial() 288 PhoneNumberUtils.stripSeparators("+17005554141"), 0); in testFgCallActiveDial() 294 assertEquals(PhoneNumberUtils.stripSeparators("+17005554141"), in testFgCallActiveDial()
|
D | GsmCdmaCallTrackerTest.java | 35 import android.telephony.PhoneNumberUtils; 51 private String mDialString = PhoneNumberUtils.stripSeparators("+17005554141"); 116 verify(mSimulatedCommandsVerifier).dial(eq(PhoneNumberUtils. in testMOCallDial() 218 String mDialString = PhoneNumberUtils.stripSeparators("+17005554142"); in testMOCallSwitch() 243 String mDialString = PhoneNumberUtils.stripSeparators("+17005554141"); in testMTCallRinging()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AdnRecord.java | 21 import android.telephony.PhoneNumberUtils; 251 bcdNumber = PhoneNumberUtils.numberToCalledPartyBCD( in buildAdnString() 252 mNumber, PhoneNumberUtils.BCD_EXTENDED_TYPE_EF_ADN); in buildAdnString() 292 mNumber += PhoneNumberUtils.calledPartyBCDFragmentToString( in appendExtRecord() 296 PhoneNumberUtils.BCD_EXTENDED_TYPE_EF_ADN); in appendExtRecord() 333 mNumber = PhoneNumberUtils.calledPartyBCDToString( in parseRecord() 337 PhoneNumberUtils.BCD_EXTENDED_TYPE_EF_ADN); in parseRecord()
|
/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/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmSmsAddress.java | 19 import android.telephony.PhoneNumberUtils; 75 address = PhoneNumberUtils.calledPartyBCDToString( in GsmSmsAddress() 79 PhoneNumberUtils.BCD_EXTENDED_TYPE_CALLED_PARTY); in GsmSmsAddress()
|
D | SmsMessage.java | 19 import android.telephony.PhoneNumberUtils; 580 ret.encodedScAddress = PhoneNumberUtils.networkPortionToCalledPartyBCDWithLength( in getSubmitPduHead() 597 daBytes = PhoneNumberUtils.networkPortionToCalledPartyBCD(destinationAddress); in getSubmitPduHead() 645 ret = PhoneNumberUtils.calledPartyBCDToString( in getSCAddress() 646 mPdu, mCur, len, PhoneNumberUtils.BCD_EXTENDED_TYPE_CALLED_PARTY); in getSCAddress()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaConnection.java | 29 import android.telephony.PhoneNumberUtils; 130 mIsEmergencyCall = PhoneNumberUtils.isLocalEmergencyNumber(phone.getContext(), mAddress); in GsmCdmaConnection() 169 mAddress = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in GsmCdmaConnection() 171 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in GsmCdmaConnection() 292 return PhoneNumberUtils.cdmaCheckAndProcessPlusCode(ret.toString()); in formatDialString() 312 String cAddress = PhoneNumberUtils.stringFromStringAndTOA(c.number, c.TOA); in compareTo() 781 if (PhoneNumberUtils.is12Key(c)) { in processPostDialChar() 817 int wIndex = subStr.indexOf(PhoneNumberUtils.WAIT); in getRemainingPostDialString() 818 int pIndex = subStr.indexOf(PhoneNumberUtils.PAUSE); in getRemainingPostDialString() 1021 return c == PhoneNumberUtils.PAUSE; in isPause() [all …]
|
D | DriverCall.java | 21 import android.telephony.PhoneNumberUtils; 102 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString()); in fromCLCCLine() 113 ret.number = PhoneNumberUtils.stringFromStringAndTOA( in fromCLCCLine()
|
D | SmsNumberUtils.java | 26 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()
|
D | VisualVoicemailSmsFilter.java | 24 import android.telephony.PhoneNumberUtils; 311 if (PhoneNumberUtils.compare(number, message.getOriginatingAddress())) { in isSmsFromNumbers()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | SuppServiceNotification.java | 19 import android.telephony.PhoneNumberUtils; 205 + PhoneNumberUtils.stringFromStringAndTOA(number, type) + "\" "; in toString()
|
D | UsimDataDownloadHandler.java | 24 import android.telephony.PhoneNumberUtils; 87 PhoneNumberUtils.networkPortionToCalledPartyBCDWithLength( in handleUsimDataDownload()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
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()
|
D | CallerInfoAsyncQuery.java | 34 import android.telephony.PhoneNumberUtils; 343 mCallerInfo.phoneNumber = PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete() 462 String.valueOf(PhoneNumberUtils.isUriNumber(number))) in startQuery() 480 if (PhoneNumberUtils.isLocalEmergencyNumber(context, number)) { in startQuery() 482 } else if (PhoneNumberUtils.isVoiceMailNumber(context, subId, number)) { in startQuery()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | DeviceInfoUtils.java | 27 import android.telephony.PhoneNumberUtils; 180 formattedNumber = PhoneNumberUtils.formatNumber(rawNumber); in getFormattedPhoneNumber() 198 sb.append(PhoneNumberUtils.formatNumber(rawNumber)); in getFormattedPhoneNumbers()
|
/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/src/java/com/android/internal/telephony/imsphone/ |
D | ImsExternalConnection.java | 30 import android.telephony.PhoneNumberUtils; 238 Uri telUri = PhoneNumberUtils.convertSipUriToTelUri(address); in setExternalConnectionAddress()
|
D | ImsPhoneConnection.java | 34 import android.telephony.PhoneNumberUtils; 225 mAddress = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in ImsPhoneConnection() 226 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in ImsPhoneConnection() 500 if (PhoneNumberUtils.is12Key(c)) { in processPostDialChar() 504 } else if (c == PhoneNumberUtils.PAUSE) { in processPostDialChar() 519 } else if (c == PhoneNumberUtils.WAIT) { in processPostDialChar() 521 } else if (c == PhoneNumberUtils.WILD) { in processPostDialChar()
|
/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 | 50 import android.telephony.PhoneNumberUtils; 580 mCTUT.sendDtmf(PhoneNumberUtils.PAUSE, null); in testImsSendDtmf() 582 verify(mImsCall, times(1)).sendDtmf(eq(PhoneNumberUtils.PAUSE), (Message) isNull()); in testImsSendDtmf() 596 mCTUT.sendDtmf(PhoneNumberUtils.WAIT, null); in testImsSendDtmf() 598 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/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CdmaServiceCategoryProgramHandler.java | 28 import android.telephony.PhoneNumberUtils; 164 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()
|