OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PhoneNumberUtils
(Results
1 - 25
of
123
) sorted by null
1
2
3
4
5
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
PhoneNumberUtilsTest.java
22
import android.telephony.
PhoneNumberUtils
;
30
PhoneNumberUtils
.extractNetworkPortion("+17005554141")
35
PhoneNumberUtils
.extractNetworkPortion("+1 (700).555-4141")
40
PhoneNumberUtils
.extractNetworkPortion("1 (700).555-4141")
46
PhoneNumberUtils
.extractNetworkPortion("1 (700).555-4141*#")
51
PhoneNumberUtils
.extractNetworkPortion("1 (700).555-41NN")
56
PhoneNumberUtils
.extractNetworkPortion("1 (700).555-41NN,1234")
61
PhoneNumberUtils
.extractNetworkPortion("1 (700).555-41NN;1234")
68
PhoneNumberUtils
.extractNetworkPortion("**21**+17005554141#")
74
assertEquals("",
PhoneNumberUtils
.extractNetworkPortion(""))
[
all
...]
/packages/apps/Mms/tests/src/com/android/mms/util/
PhoneNumberComparisonTest.java
22
import android.telephony.
PhoneNumberUtils
;
32
assertFalse(
PhoneNumberUtils
.compare("321", "54321"));
33
assertFalse(
PhoneNumberUtils
.compare("4321", "54321"));
34
assertFalse(
PhoneNumberUtils
.compare("54321", "654321"));
37
assertFalse(
PhoneNumberUtils
.compare("54321", "6505554321"));
38
assertFalse(
PhoneNumberUtils
.compare("54321", "+16505554321"));
39
assertFalse(
PhoneNumberUtils
.compare("654321", "6505654321"));
40
assertFalse(
PhoneNumberUtils
.compare("654321", "+16505654321"));
/cts/tests/tests/telephony/src/android/telephony/cts/
PhoneNumberUtilsTest.java
27
import android.telephony.
PhoneNumberUtils
;
43
assertNull(
PhoneNumberUtils
.extractNetworkPortion(null));
44
assertEquals("+17005554141",
PhoneNumberUtils
.extractNetworkPortion("+17005554141"));
46
PhoneNumberUtils
.extractNetworkPortion("+1 (700).555-4141*#N"));
47
assertEquals("170055541",
PhoneNumberUtils
.extractNetworkPortion(
48
String.format("1 (700).555-41%c1234",
PhoneNumberUtils
.PAUSE)));
50
PhoneNumberUtils
.extractNetworkPortion("**21**+17005554141#"));
53
assertNull(
PhoneNumberUtils
.extractPostDialPortion(null));
54
assertEquals("",
PhoneNumberUtils
.extractPostDialPortion("+17005554141"));
55
assertEquals(String.format("%c1234",
PhoneNumberUtils
.PAUSE)
[
all
...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
PhoneNumberUtilTest.java
3
import android.telephony.
PhoneNumberUtils
;
15
assertThat(
PhoneNumberUtils
.formatNumber("12345678901"), equalTo("12345678901-formatted"));
20
assertThat(
PhoneNumberUtils
.stripSeparators("12345678901"), equalTo("12345678901-stripped"));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
CallForwardInfo.java
19
import android.telephony.
PhoneNumberUtils
;
39
+ " \"" +
PhoneNumberUtils
.stringFromStringAndTOA(number, toa) + "\" "
DriverCall.java
21
import android.telephony.
PhoneNumberUtils
;
77
ret.number =
PhoneNumberUtils
.extractNetworkPortionAlt(p.nextString());
88
ret.number =
PhoneNumberUtils
.stringFromStringAndTOA(
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowPhoneNumberUtils.java
3
import android.telephony.
PhoneNumberUtils
;
7
@Implements(
PhoneNumberUtils
.class)
/packages/apps/Dialer/src/com/android/dialer/dialpad/
UnicodeDialerKeyListener.java
19
import android.telephony.
PhoneNumberUtils
;
34
final String converted =
PhoneNumberUtils
.convertKeypadLettersToDigits(
35
PhoneNumberUtils
.replaceUnicodeDigits(source.toString()));
36
//
PhoneNumberUtils
.replaceUnicodeDigits performs a character for character replacement,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
SuppServiceNotification.java
19
import android.telephony.
PhoneNumberUtils
;
68
+
PhoneNumberUtils
.stringFromStringAndTOA(number, type) + "\" ";
GsmSmsAddress.java
19
import android.telephony.
PhoneNumberUtils
;
74
address =
PhoneNumberUtils
.calledPartyBCDToString(origBytes,
/external/sqlite/android/
Android.mk
4
PhoneNumberUtils
.cpp \
29
# Test for
PhoneNumberUtils
32
# > g++ -Wall external/sqlite/android/
PhoneNumberUtils
.cpp \
41
# Please add tests if you modify the implementation of
PhoneNumberUtils
.cpp and add
50
PhoneNumberUtils
.cpp \
/packages/apps/InCallUI/src/com/android/incallui/
DialpadPresenter.java
19
import android.telephony.
PhoneNumberUtils
;
56
if (
PhoneNumberUtils
.is12Key(c)) {
/packages/apps/Dialer/src/com/android/dialer/calllog/
PhoneNumberUtilsWrapper.java
20
import android.telephony.
PhoneNumberUtils
;
53
return number!= null &&
PhoneNumberUtils
.isVoiceMailNumber(number.toString());
61
return number != null &&
PhoneNumberUtils
.isUriNumber(number.toString());
CallLogGroupBuilder.java
21
import android.telephony.
PhoneNumberUtils
;
120
if (
PhoneNumberUtils
.isUriNumber(number1) ||
PhoneNumberUtils
.isUriNumber(number2)) {
123
return
PhoneNumberUtils
.compare(number1, number2);
ContactInfoHelper.java
25
import android.telephony.
PhoneNumberUtils
;
69
if (
PhoneNumberUtils
.isUriNumber(number)) {
75
String username =
PhoneNumberUtils
.getUsernameFromUriNumber(number);
76
if (
PhoneNumberUtils
.isGlobalPhoneNumber(username)) {
216
String numberE164 =
PhoneNumberUtils
.formatNumberToE164(number, countryIso);
251
if (
PhoneNumberUtils
.isUriNumber(number)) {
257
return
PhoneNumberUtils
.formatNumber(number, normalizedNumber, countryIso);
/packages/apps/ContactsCommon/src/com/android/contacts/common/
CallUtil.java
22
import android.telephony.
PhoneNumberUtils
;
88
if (
PhoneNumberUtils
.isUriNumber(number)) {
MoreContactUtils.java
27
import android.telephony.
PhoneNumberUtils
;
39
private static final String WAIT_SYMBOL_AS_STRING = String.valueOf(
PhoneNumberUtils
.WAIT);
44
* {@link android.telephony.
PhoneNumberUtils
#compare(android.content.Context, String, String)}
78
final String dataPart1 =
PhoneNumberUtils
.convertKeypadLettersToDigits(dataParts1[i]);
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
PhoneDataItem.java
23
import android.telephony.
PhoneNumberUtils
;
61
final String formattedPhoneNumber =
PhoneNumberUtils
.formatNumber(phoneNumber,
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForPhoneNumber.java
23
import android.telephony.
PhoneNumberUtils
;
94
final String newNumberE164 =
PhoneNumberUtils
.formatNumberToE164(number,
119
String normalizedNumber =
PhoneNumberUtils
.normalizeNumber(number);
126
PhoneNumberUtils
.toCallerIDMinMatch(normalizedNumber));
132
PhoneNumberUtils
.toCallerIDMinMatch(numberE164));
166
String normalizedNumber =
PhoneNumberUtils
.normalizeNumber(number);
173
String numberE164 =
PhoneNumberUtils
.formatNumberToE164(
/frameworks/base/telephony/java/android/telephony/
PhoneNumberFormattingTextWatcher.java
22
import android.telephony.
PhoneNumberUtils
;
139
if (
PhoneNumberUtils
.isNonSeparator(c)) {
169
if (!
PhoneNumberUtils
.isNonSeparator(c)) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
CdmaConnection.java
31
import android.telephony.
PhoneNumberUtils
;
158
mAddress =
PhoneNumberUtils
.extractNetworkPortionAlt(dialString);
159
mPostDialString =
PhoneNumberUtils
.extractPostDialPortion(dialString);
221
String cAddress =
PhoneNumberUtils
.stringFromStringAndTOA(c.number, c.TOA);
614
if (
PhoneNumberUtils
.is12Key(c)) {
616
} else if (c ==
PhoneNumberUtils
.PAUSE) {
624
} else if (c ==
PhoneNumberUtils
.WAIT) {
626
} else if (c ==
PhoneNumberUtils
.WILD) {
646
int wIndex = subStr.indexOf(
PhoneNumberUtils
.WAIT);
647
int pIndex = subStr.indexOf(
PhoneNumberUtils
.PAUSE)
[
all
...]
/packages/services/Telephony/src/com/android/phone/
OutgoingCallBroadcaster.java
38
import android.telephony.
PhoneNumberUtils
;
241
} else if (
PhoneNumberUtils
.isPotentialLocalEmergencyNumber(number, context)) {
264
number =
PhoneNumberUtils
.convertKeypadLettersToDigits(number);
265
number =
PhoneNumberUtils
.stripSeparators(number);
443
String number =
PhoneNumberUtils
.getNumberFromIntent(intent, this);
445
// TODO put uriNumber under
PhoneNumberUtils
447
if (!
PhoneNumberUtils
.isUriNumber(number)) {
448
number =
PhoneNumberUtils
.convertKeypadLettersToDigits(number);
449
number =
PhoneNumberUtils
.stripSeparators(number);
503
(number != null) &&
PhoneNumberUtils
.isLocalEmergencyNumber(number, this)
[
all
...]
CallerInfoCache.java
31
import android.telephony.
PhoneNumberUtils
;
227
normalizedNumber =
PhoneNumberUtils
.normalizeNumber(number);
232
if (
PhoneNumberUtils
.isUriNumber(number)) {
316
if (
PhoneNumberUtils
.isUriNumber(number)) {
321
final String normalizedNumber =
PhoneNumberUtils
.normalizeNumber(number);
/packages/apps/Dialer/src/com/android/dialer/list/
DialerPhoneNumberListAdapter.java
5
import android.telephony.
PhoneNumberUtils
;
166
mFormattedQueryString =
PhoneNumberUtils
.formatNumber(
167
PhoneNumberUtils
.convertAndStrip(queryString), mCountryIso);
/packages/apps/Tag/src/com/android/apps/tag/record/
UriRecord.java
36
import android.telephony.
PhoneNumberUtils
;
87
return context.getString(R.string.action_call,
PhoneNumberUtils
.formatNumber(ssp));
89
return context.getString(R.string.action_text,
PhoneNumberUtils
.formatNumber(ssp));
Completed in 118 milliseconds
1
2
3
4
5