/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | PhoneNumberUtilsTest.java | 25 import android.telephony.PhoneNumberUtils; 45 mOldMinMatch = PhoneNumberUtils.getMinMatchForTest(); in setUp() 46 PhoneNumberUtils.setMinMatchForTest(MIN_MATCH); in setUp() 51 PhoneNumberUtils.setMinMatchForTest(mOldMinMatch); in tearDown() 59 PhoneNumberUtils.extractNetworkPortion("+17005554141") in testExtractNetworkPortion() 64 PhoneNumberUtils.extractNetworkPortion("+1 (700).555-4141") in testExtractNetworkPortion() 69 PhoneNumberUtils.extractNetworkPortion("1 (700).555-4141") in testExtractNetworkPortion() 75 PhoneNumberUtils.extractNetworkPortion("1 (700).555-4141*#") in testExtractNetworkPortion() 80 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN") in testExtractNetworkPortion() 85 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN,1234") in testExtractNetworkPortion() [all …]
|
D | GsmCdmaConnectionTest.java | 27 import android.telephony.PhoneNumberUtils; 67 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testFormatDialString() 71 String.format("+1 (700).555-41NN1234%c", PhoneNumberUtils.PAUSE)); in testFormatDialString() 96 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testSanityGSM() 114 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testSanityCDMA() 131 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testConnectionStateUpdate() 151 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testCDMAPostDialPause() 169 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testGSMPostDialPause() 189 String.format("+1 (700).555-41NN%c1234", PhoneNumberUtils.WAIT),mCT,null, in testPostDialWait() 206 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testHangUpConnection()
|
D | CallManagerTest.java | 36 import android.telephony.PhoneNumberUtils; 110 PhoneNumberUtils.stripSeparators("+17005554141"), 0); in testBasicDial() 115 assertEquals(PhoneNumberUtils.stripSeparators("+17005554141"), in testBasicDial() 202 PhoneNumberUtils.stripSeparators("+17005554141"), 0); in testFgCallActiveDial() 208 assertEquals(PhoneNumberUtils.stripSeparators("+17005554141"), in testFgCallActiveDial()
|
D | GsmCdmaCallTrackerTest.java | 33 import android.telephony.PhoneNumberUtils; 56 private String mDialString = PhoneNumberUtils.stripSeparators("+17005554141"); 105 eq(PhoneNumberUtils.extractNetworkPortionAlt(mDialString)), eq(false), in testMOCallDial() 204 String mDialString = PhoneNumberUtils.stripSeparators("+17005554142"); in testMOCallSwitch() 234 String mDialString = PhoneNumberUtils.stripSeparators("+17005554141"); in setupRingingCall()
|
D | SimulatedGsmCallState.java | 23 import android.telephony.PhoneNumberUtils; 60 mTOA = PhoneNumberUtils.TOA_International; in CallInfo() 62 mTOA = PhoneNumberUtils.TOA_Unknown; in CallInfo() 209 PhoneNumberUtils.extractNetworkPortion(number)); in triggerRing() 679 String phNum = PhoneNumberUtils.extractNetworkPortion(address); in onDial()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | AdnRecord.java | 22 import android.telephony.PhoneNumberUtils; 274 bcdNumber = PhoneNumberUtils.numberToCalledPartyBCD( in buildAdnString() 275 mNumber, PhoneNumberUtils.BCD_EXTENDED_TYPE_EF_ADN); in buildAdnString() 315 mNumber += PhoneNumberUtils.calledPartyBCDFragmentToString( in appendExtRecord() 319 PhoneNumberUtils.BCD_EXTENDED_TYPE_EF_ADN); in appendExtRecord() 356 mNumber = PhoneNumberUtils.calledPartyBCDToString( in parseRecord() 360 PhoneNumberUtils.BCD_EXTENDED_TYPE_EF_ADN); in parseRecord()
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
D | GsmSmsAddress.java | 20 import android.telephony.PhoneNumberUtils; 78 address = PhoneNumberUtils.calledPartyBCDToString( in GsmSmsAddress() 82 PhoneNumberUtils.BCD_EXTENDED_TYPE_CALLED_PARTY); in GsmSmsAddress()
|
D | SmsMessage.java | 31 import android.telephony.PhoneNumberUtils; 587 ret.encodedScAddress = PhoneNumberUtils.networkPortionToCalledPartyBCDWithLength( in getSubmitPduHead() 604 daBytes = PhoneNumberUtils.networkPortionToCalledPartyBCD(destinationAddress); in getSubmitPduHead() 662 PhoneNumberUtils.networkPortionToCalledPartyBCDWithLength(scAddress); in getDeliverPdu() 670 oaBytes = PhoneNumberUtils.networkPortionToCalledPartyBCD(originatingAddress); in getDeliverPdu() 811 ret = PhoneNumberUtils.calledPartyBCDToString( in getSCAddress() 812 mPdu, mCur, len, PhoneNumberUtils.BCD_EXTENDED_TYPE_CALLED_PARTY); in getSCAddress()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaConnection.java | 30 import android.telephony.PhoneNumberUtils; 178 mAddress = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in GsmCdmaConnection() 183 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in GsmCdmaConnection() 309 return PhoneNumberUtils.cdmaCheckAndProcessPlusCode(ret.toString()); in formatDialString() 329 String cAddress = PhoneNumberUtils.stringFromStringAndTOA(c.number, c.TOA); in compareTo() 832 if (PhoneNumberUtils.is12Key(c)) { in processPostDialChar() 868 int wIndex = subStr.indexOf(PhoneNumberUtils.WAIT); in getRemainingPostDialString() 869 int pIndex = subStr.indexOf(PhoneNumberUtils.PAUSE); in getRemainingPostDialString() 1076 return c == PhoneNumberUtils.PAUSE; in isPause() 1081 return c == PhoneNumberUtils.WAIT; in isWait() [all …]
|
D | DriverCall.java | 20 import android.telephony.PhoneNumberUtils; 118 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString()); in fromCLCCLine() 129 ret.number = PhoneNumberUtils.stringFromStringAndTOA( in fromCLCCLine()
|
/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; 90 PhoneNumberUtils.networkPortionToCalledPartyBCDWithLength( in handleUsimDataDownload()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberFormattingTextWatcher.java | 121 PhoneNumberUtils.ttsSpanAsPhoneNumber(s, 0, s.length()); in afterTextChanged() 139 if (PhoneNumberUtils.isNonSeparator(c)) { in reformat() 169 if (!PhoneNumberUtils.isNonSeparator(c)) { in hasSeparator()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | CallerInfo.java | 35 import android.telephony.PhoneNumberUtils; 408 if (PhoneNumberUtils.isLocalEmergencyNumber(context, number)) { in getCallerInfo() 410 } else if (PhoneNumberUtils.isVoiceMailNumber(null, subId, number)) { in getCallerInfo() 495 && PhoneNumberUtils.isUriNumber(number)) { in doSecondaryLookupIfNecessary() 496 String username = PhoneNumberUtils.getUsernameFromUriNumber(number); in doSecondaryLookupIfNecessary() 497 if (PhoneNumberUtils.isGlobalPhoneNumber(username)) { in doSecondaryLookupIfNecessary()
|
D | CallerInfoAsyncQuery.java | 34 import android.telephony.PhoneNumberUtils; 341 mCallerInfo.setPhoneNumber(PhoneNumberUtils.formatNumber(cw.number, in onQueryComplete() 460 String.valueOf(PhoneNumberUtils.isUriNumber(number))) in startQuery() 478 if (PhoneNumberUtils.isLocalEmergencyNumber(context, number)) { in startQuery() 480 } else if (PhoneNumberUtils.isVoiceMailNumber(context, subId, number)) { in startQuery()
|
D | Log.java | 26 import android.telephony.PhoneNumberUtils; 429 boolean isDialable = PhoneNumberUtils.isDialable(c); in obfuscatePhoneNumber() 445 if (PhoneNumberUtils.isDialable(c)) { in getDialableCount()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | DeviceInfoUtils.java | 27 import android.telephony.PhoneNumberUtils; 187 formattedNumber = PhoneNumberUtils.formatNumber(rawNumber); in getFormattedPhoneNumber() 204 sb.append(PhoneNumberUtils.formatNumber(rawNumber)).append("\n"); in getFormattedPhoneNumbers()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/ |
D | EmergencyNumberTracker.java | 31 import android.telephony.PhoneNumberUtils; 715 number = PhoneNumberUtils.stripSeparators(number); in isEmergencyNumber() 751 emergencyNumber = PhoneNumberUtils.stripSeparators(emergencyNumber); in getEmergencyNumber() 770 emergencyNumber = PhoneNumberUtils.stripSeparators(emergencyNumber); in getEmergencyServiceCategories() 790 emergencyNumber = PhoneNumberUtils.stripSeparators(emergencyNumber); in getEmergencyCallRouting() 879 number = PhoneNumberUtils.stripSeparators(number); in isEmergencyNumberForTest() 892 number = PhoneNumberUtils.stripSeparators(number); in isEmergencyNumberFromDatabase() 909 number = PhoneNumberUtils.stripSeparators(number); in getLabeledEmergencyNumberForEcclist() 939 if (PhoneNumberUtils.isUriNumber(number)) { in isEmergencyNumberFromEccList() 945 number = PhoneNumberUtils.extractNetworkPortionAlt(number); in isEmergencyNumberFromEccList()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipConnectionBase.java | 20 import android.telephony.PhoneNumberUtils; 55 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in SipConnectionBase()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/ |
D | VendorGsmCdmaPhone.java | 22 import android.telephony.PhoneNumberUtils; 120 if (!(PhoneNumberUtils.is12Key(c) || (c == 'D'))) { in startDtmf()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | SmsNumberUtils.java | 26 import android.telephony.PhoneNumberUtils; 140 String networkPortionNumber = PhoneNumberUtils.extractNetworkPortion(number); in formatNumber() 312 if (!PhoneNumberUtils.isISODigit(c)) { in checkNANP() 385 if (!PhoneNumberUtils.isISODigit(c)) { in isNANP() 570 if (destAddr == null || !PhoneNumberUtils.isGlobalPhoneNumber(destAddr)) { in filterDestAddr()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsExternalConnection.java | 23 import android.telephony.PhoneNumberUtils; 251 Uri telUri = PhoneNumberUtils.convertSipUriToTelUri(address); in setExternalConnectionAddress()
|
D | ImsPhoneConnection.java | 35 import android.telephony.PhoneNumberUtils; 240 mAddress = PhoneNumberUtils.extractNetworkPortionAlt(dialString); in ImsPhoneConnection() 241 mPostDialString = PhoneNumberUtils.extractPostDialPortion(dialString); in ImsPhoneConnection() 590 if (PhoneNumberUtils.is12Key(c)) { in processPostDialChar() 594 } else if (c == PhoneNumberUtils.PAUSE) { in processPostDialChar() 609 } else if (c == PhoneNumberUtils.WAIT) { in processPostDialChar() 611 } else if (c == PhoneNumberUtils.WILD) { in processPostDialChar()
|
/frameworks/opt/net/ims/src/java/com/android/ims/internal/ |
D | ConferenceParticipant.java | 24 import android.telephony.PhoneNumberUtils; 351 formattedNumber = PhoneNumberUtils.formatNumberToE164(number, countryIso); in getParticipantAddress()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneConnectionTest.java | 39 import android.telephony.PhoneNumberUtils; 129 PhoneNumberUtils.PAUSE), mImsCT, mForeGroundCall, false); in testImsIncomingConnectionCorrectness() 215 PhoneNumberUtils.WAIT), mImsCT, mForeGroundCall, false); in testPostDialWait() 238 PhoneNumberUtils.PAUSE), mImsCT, mForeGroundCall, false); in testPostDialPause()
|