/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberUtilsTest.java | 26 import android.telephony.PhoneNumberUtils; 40 PhoneNumberUtils.extractNetworkPortion("+17005554141") in testExtractNetworkPortion() 45 PhoneNumberUtils.extractNetworkPortion("+1 (700).555-4141") in testExtractNetworkPortion() 50 PhoneNumberUtils.extractNetworkPortion("1 (700).555-4141") in testExtractNetworkPortion() 56 PhoneNumberUtils.extractNetworkPortion("1 (700).555-4141*#") in testExtractNetworkPortion() 61 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN") in testExtractNetworkPortion() 66 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN,1234") in testExtractNetworkPortion() 71 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN;1234") in testExtractNetworkPortion() 78 PhoneNumberUtils.extractNetworkPortion("**21**+17005554141#") in testExtractNetworkPortion() 84 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 | GsmCdmaCallTrackerTest.java | 35 import android.telephony.PhoneNumberUtils; 51 private String mDialString = PhoneNumberUtils.stripSeparators("+17005554141"); 116 verify(mSimulatedCommandsVerifier).dial(eq(PhoneNumberUtils. in testMOCallDial() 217 String mDialString = PhoneNumberUtils.stripSeparators("+17005554142"); in testMOCallSwitch() 242 String mDialString = PhoneNumberUtils.stripSeparators("+17005554141"); in testMTCallRinging()
|
D | CallManagerTest.java | 21 import android.telephony.PhoneNumberUtils; 145 PhoneNumberUtils.stripSeparators("+17005554141"), 0); in testBasicDial() 149 assertEquals(PhoneNumberUtils.stripSeparators("+17005554141"), in testBasicDial() 287 PhoneNumberUtils.stripSeparators("+17005554141"), 0); in testFgCallActiveDial() 292 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 | 29 import android.telephony.PhoneNumberUtils; 130 mIsEmergencyCall = PhoneNumberUtils.isLocalEmergencyNumber(phone.getContext(), mAddress); in GsmCdmaConnection() 167 mAddress = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in GsmCdmaConnection() 169 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in GsmCdmaConnection() 285 return PhoneNumberUtils.cdmaCheckAndProcessPlusCode(ret.toString()); in formatDialString() 305 String cAddress = PhoneNumberUtils.stringFromStringAndTOA(c.number, c.TOA); in compareTo() 746 if (PhoneNumberUtils.is12Key(c)) { in processPostDialChar() 782 int wIndex = subStr.indexOf(PhoneNumberUtils.WAIT); in getRemainingPostDialString() 783 int pIndex = subStr.indexOf(PhoneNumberUtils.PAUSE); in getRemainingPostDialString() 976 return c == PhoneNumberUtils.PAUSE; in isPause() [all …]
|
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 | 29 import android.telephony.PhoneNumberUtils; 134 String networkPortionNumber = PhoneNumberUtils.extractNetworkPortion(number); in formatNumber() 304 if (!PhoneNumberUtils.isISODigit(c)) { in checkNANP() 364 return (PhoneNumberUtils.isNanp(number)); in isNANP() 535 if (destAddr == null || !PhoneNumberUtils.isGlobalPhoneNumber(destAddr)) { in filterDestAddr()
|
D | VisualVoicemailSmsFilter.java | 24 import android.telephony.PhoneNumberUtils; 308 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; 72 + 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/gsm/ |
D | GsmSmsAddress.java | 19 import android.telephony.PhoneNumberUtils; 74 address = PhoneNumberUtils.calledPartyBCDToString(origBytes, in GsmSmsAddress()
|
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; 251 bcdNumber = PhoneNumberUtils.numberToCalledPartyBCD(mNumber); in buildAdnString() 291 mNumber += PhoneNumberUtils.calledPartyBCDFragmentToString( in appendExtRecord() 329 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() 421 String.valueOf(PhoneNumberUtils.isUriNumber(number))) in startQuery() 439 if (PhoneNumberUtils.isLocalEmergencyNumber(context, number)) { in startQuery() 441 } else if (PhoneNumberUtils.isVoiceMailNumber(context, 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/base/packages/SettingsLib/src/com/android/settingslib/ |
D | DeviceInfoUtils.java | 25 import android.telephony.PhoneNumberUtils; 184 formattedNumber = PhoneNumberUtils.formatNumber(rawNumber); in getFormattedPhoneNumber() 202 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/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 | 45 import android.telephony.PhoneNumberUtils; 416 mCTUT.sendDtmf(PhoneNumberUtils.PAUSE, null); in testImsSendDtmf() 418 verify(mImsCall, times(1)).sendDtmf(eq(PhoneNumberUtils.PAUSE), (Message) isNull()); in testImsSendDtmf() 433 mCTUT.sendDtmf(PhoneNumberUtils.WAIT, null); in testImsSendDtmf() 435 verify(mSecondImsCall, times(1)).sendDtmf(eq(PhoneNumberUtils.WAIT), (Message) isNull()); in testImsSendDtmf()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnection.java | 33 import android.telephony.PhoneNumberUtils; 205 mAddress = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in ImsPhoneConnection() 206 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in ImsPhoneConnection() 453 if (PhoneNumberUtils.is12Key(c)) { in processPostDialChar() 455 } else if (c == PhoneNumberUtils.PAUSE) { in processPostDialChar() 470 } else if (c == PhoneNumberUtils.WAIT) { in processPostDialChar() 472 } else if (c == PhoneNumberUtils.WILD) { in processPostDialChar()
|
D | ImsExternalConnection.java | 30 import android.telephony.PhoneNumberUtils; 234 Uri telUri = PhoneNumberUtils.convertSipUriToTelUri(address); in setExternalConnectionAddress()
|
/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()
|