/cts/tests/tests/telephony/src/android/telephony/cts/ |
PhoneNumberUtilsTest.java | 27 import android.telephony.PhoneNumberUtils; 46 assertNull(PhoneNumberUtils.extractNetworkPortion(null)); 47 assertEquals("+17005554141", PhoneNumberUtils.extractNetworkPortion("+17005554141")); 49 PhoneNumberUtils.extractNetworkPortion("+1 (700).555-4141*#N")); 50 assertEquals("170055541", PhoneNumberUtils.extractNetworkPortion( 51 String.format("1 (700).555-41%c1234", PhoneNumberUtils.PAUSE))); 53 PhoneNumberUtils.extractNetworkPortion("**21**+17005554141#")); 56 assertNull(PhoneNumberUtils.extractPostDialPortion(null)); 57 assertEquals("", PhoneNumberUtils.extractPostDialPortion("+17005554141")); 58 assertEquals(String.format("%c1234", PhoneNumberUtils.PAUSE) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
PhoneNumberUtilsTest.java | 24 import android.telephony.PhoneNumberUtils; 32 PhoneNumberUtils.extractNetworkPortion("+17005554141") 37 PhoneNumberUtils.extractNetworkPortion("+1 (700).555-4141") 42 PhoneNumberUtils.extractNetworkPortion("1 (700).555-4141") 48 PhoneNumberUtils.extractNetworkPortion("1 (700).555-4141*#") 53 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN") 58 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN,1234") 63 PhoneNumberUtils.extractNetworkPortion("1 (700).555-41NN;1234") 70 PhoneNumberUtils.extractNetworkPortion("**21**+17005554141#") 76 assertEquals("", PhoneNumberUtils.extractNetworkPortion("")) [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/settings/ |
BlockedNumbersUtil.java | 20 import android.telephony.PhoneNumberUtils; 48 String formattedNumber = PhoneNumberUtils.formatNumber(number, getLocaleDefaultToUS()); 53 PhoneNumberUtils.addTtsSpan(messageSpannable, startingPosition,
|
BlockedNumbersAdapter.java | 25 import android.telephony.PhoneNumberUtils; 44 String formattedNumber = PhoneNumberUtils.formatNumber(rawNumber, 50 PhoneNumberUtils.addTtsSpan(numberSpannable, 0, numberSpannable.length()); 67 PhoneNumberUtils.addTtsSpan(messageSpannable, startingPosition,
|
/frameworks/base/telephony/java/android/telephony/ |
PhoneNumberFormattingTextWatcher.java | 22 import android.telephony.PhoneNumberUtils; 120 PhoneNumberUtils.ttsSpanAsPhoneNumber(s, 0, s.length()); 138 if (PhoneNumberUtils.isNonSeparator(c)) { 168 if (!PhoneNumberUtils.isNonSeparator(c)) {
|
PhoneNumberUtils.java | 51 public class PhoneNumberUtils 79 static final String LOG_TAG = "PhoneNumberUtils"; 997 PhoneNumberUtils.extractNetworkPortion(address); [all...] |
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
DeviceInfoUtils.java | 25 import android.telephony.PhoneNumberUtils; 185 formattedNumber = PhoneNumberUtils.formatNumber(rawNumber); 203 sb.append(PhoneNumberUtils.formatNumber(rawNumber));
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/ |
PhoneNumberUtilsCompat.java | 23 import android.telephony.PhoneNumberUtils; 29 * This class contains static utility methods extracted from PhoneNumberUtils, and the 31 * for pre-M devices. We need maintain this class and keep it synced with PhoneNumberUtils. 43 return PhoneNumberUtils.normalizeNumber(phoneNumber); 50 * Implementation copied from {@link PhoneNumberUtils#normalizeNumber} 67 return normalizeNumber(PhoneNumberUtils.convertKeypadLettersToDigits(phoneNumber)); 76 return PhoneNumberUtils.formatNumber(phoneNumber, phoneNumberE164, defaultCountryIso); 79 return PhoneNumberUtils.formatNumber(phoneNumber); 85 return PhoneNumberUtils.createTtsSpannable(phoneNumber); 93 return PhoneNumberUtils.createTtsSpan(phoneNumber) [all...] |
/packages/apps/Dialer/src/com/android/dialer/list/ |
SmartDialNumberListAdapter.java | 23 import android.telephony.PhoneNumberUtils; 69 mNameMatcher.setQuery(PhoneNumberUtils.normalizeNumber(getQueryString()));
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
RespondViaSmsManager.java | 35 import android.telephony.PhoneNumberUtils; 155 PhoneNumberUtils.addTtsSpan(styledConfirmationMsg, startingPosition, endingPosition);
|
/packages/apps/Settings/src/com/android/settings/sim/ |
SimPreferenceDialog.java | 27 import android.telephony.PhoneNumberUtils; 142 numberView.setText(PhoneNumberUtils.formatNumber(rawNumber));
|
/packages/services/Telephony/src/com/android/phone/ |
CallForwardEditPreference.java | 15 import android.telephony.PhoneNumberUtils; 167 PhoneNumberUtils.addTtsSpan(spannableSummaryOn,
|
EmergencyDialer.java | 36 import android.telephony.PhoneNumberUtils; 224 String number = PhoneNumberUtils.getNumberFromIntent(getIntent(), this); 520 if (PhoneNumberUtils.isConvertToEmergencyNumberEnabled()) { 521 mLastNumber = PhoneNumberUtils.convertToEmergencyNumber(mLastNumber); 523 if (PhoneNumberUtils.isLocalEmergencyNumber(this, mLastNumber)) { 588 PhoneNumberUtils.addTtsSpan(result, startingPosition, endingPosition); 660 PhoneNumberUtils.ttsSpanAsPhoneNumber(mDigits.getText(), 0, mDigits.getText().length());
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardUtils.java | 20 import android.telephony.PhoneNumberUtils; 88 * Ported methods which are hidden in {@link PhoneNumberUtils}. 93 PhoneNumberUtils.formatNumber(text, defaultFormattingType); 328 return PhoneNumberUtils.FORMAT_JAPAN; 330 return PhoneNumberUtils.FORMAT_NANP; [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsTest.java | 44 import android.telephony.PhoneNumberUtils; 288 assertEquals(PhoneNumberUtils.getStrippedReversed(insertPhonesNumber), 308 assertEquals(PhoneNumberUtils.getStrippedReversed(updatePhonesNumber), [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
ContactFragment.java | 65 import android.telephony.PhoneNumberUtils; 722 data.setText(PhoneNumberUtils.formatNumber(entry.data));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
RIL.java | 43 import android.telephony.PhoneNumberUtils; [all...] |
/external/libgdx/backends/gdx-backend-android/libs/ |
android-4.4.jar | |
/external/robolectric/v1/lib/main/ |
android.jar | |
/prebuilts/sdk/11/ |
android.jar | |
/prebuilts/sdk/12/ |
android.jar | |
/prebuilts/sdk/13/ |
android.jar | |
/prebuilts/sdk/14/ |
android.jar | |
/prebuilts/sdk/15/ |
android.jar | |
/prebuilts/sdk/17/ |
android.jar | |