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
100
) sorted by null
1
2
3
4
/frameworks/base/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
...]
/frameworks/base/telephony/java/com/android/internal/telephony/
CallForwardInfo.java
19
import android.telephony.
PhoneNumberUtils
;
38
+ " \"" +
PhoneNumberUtils
.stringFromStringAndTOA(number, toa) + "\" "
DriverCall.java
21
import android.telephony.
PhoneNumberUtils
;
77
ret.number =
PhoneNumberUtils
.extractNetworkPortionAlt(p.nextString());
88
ret.number =
PhoneNumberUtils
.stringFromStringAndTOA(
AdnRecord.java
21
import android.telephony.
PhoneNumberUtils
;
227
bcdNumber =
PhoneNumberUtils
.numberToCalledPartyBCD(number);
268
number +=
PhoneNumberUtils
.calledPartyBCDFragmentToString(
306
number =
PhoneNumberUtils
.calledPartyBCDToString(
IccPhoneBookInterfaceManagerProxy.java
25
import android.telephony.
PhoneNumberUtils
;
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/
SuppServiceNotification.java
19
import android.telephony.
PhoneNumberUtils
;
67
+
PhoneNumberUtils
.stringFromStringAndTOA(number, type) + "\" ";
GsmSmsAddress.java
19
import android.telephony.
PhoneNumberUtils
;
72
address =
PhoneNumberUtils
.calledPartyBCDToString(origBytes,
GsmConnection.java
27
import android.telephony.
PhoneNumberUtils
;
148
this.address =
PhoneNumberUtils
.extractNetworkPortionAlt(dialString);
149
this.postDialString =
PhoneNumberUtils
.extractPostDialPortion(dialString);
180
String cAddress =
PhoneNumberUtils
.stringFromStringAndTOA(c.number, c.TOA);
292
if (
PhoneNumberUtils
.is12Key(c)) {
536
if (
PhoneNumberUtils
.is12Key(c)) {
538
} else if (c ==
PhoneNumberUtils
.PAUSE) {
558
} else if (c ==
PhoneNumberUtils
.WAIT) {
560
} else if (c ==
PhoneNumberUtils
.WILD) {
/packages/apps/Contacts/src/com/android/contacts/calllog/
PhoneNumberHelper.java
25
import android.telephony.
PhoneNumberUtils
;
85
return
PhoneNumberUtils
.isVoiceMailNumber(number.toString());
93
return
PhoneNumberUtils
.isUriNumber(number.toString());
ContactInfoHelper.java
26
import android.telephony.
PhoneNumberUtils
;
56
if (
PhoneNumberUtils
.isUriNumber(number)) {
62
String username =
PhoneNumberUtils
.getUsernameFromUriNumber(number);
63
if (
PhoneNumberUtils
.isGlobalPhoneNumber(username)) {
174
String numberE164 =
PhoneNumberUtils
.formatNumberToE164(number, countryIso);
207
if (
PhoneNumberUtils
.isUriNumber(number)) {
213
return
PhoneNumberUtils
.formatNumber(number, normalizedNumber, countryIso);
CallLogGroupBuilder.java
24
import android.telephony.
PhoneNumberUtils
;
124
if (
PhoneNumberUtils
.isUriNumber(number1) ||
PhoneNumberUtils
.isUriNumber(number2)) {
127
return
PhoneNumberUtils
.compare(number1, number2);
/external/sqlite/android/
Android.mk
4
PhoneNumberUtils
.cpp \
47
# Test for
PhoneNumberUtils
50
# > g++ -Wall external/sqlite/android/
PhoneNumberUtils
.cpp \
59
# Please add tests if you modify the implementation of
PhoneNumberUtils
.cpp and add
68
PhoneNumberUtils
.cpp \
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForPhoneNumber.java
28
import android.telephony.
PhoneNumberUtils
;
94
final String newNumberE164 =
PhoneNumberUtils
.formatNumberToE164(number,
121
String normalizedNumber =
PhoneNumberUtils
.normalizeNumber(number);
128
PhoneNumberUtils
.toCallerIDMinMatch(normalizedNumber));
134
PhoneNumberUtils
.toCallerIDMinMatch(numberE164));
168
String normalizedNumber =
PhoneNumberUtils
.normalizeNumber(number);
175
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/base/telephony/java/com/android/internal/telephony/cdma/
CdmaConnection.java
32
import android.telephony.
PhoneNumberUtils
;
157
this.address =
PhoneNumberUtils
.extractNetworkPortionAlt(dialString);
158
this.postDialString =
PhoneNumberUtils
.extractPostDialPortion(dialString);
220
String cAddress =
PhoneNumberUtils
.stringFromStringAndTOA(c.number, c.TOA);
345
if (
PhoneNumberUtils
.is12Key(c)) {
622
if (
PhoneNumberUtils
.is12Key(c)) {
624
} else if (c ==
PhoneNumberUtils
.PAUSE) {
632
} else if (c ==
PhoneNumberUtils
.WAIT) {
634
} else if (c ==
PhoneNumberUtils
.WILD) {
653
int wIndex = subStr.indexOf(
PhoneNumberUtils
.WAIT)
[
all
...]
/packages/apps/Phone/src/com/android/phone/
OutgoingCallBroadcaster.java
32
import android.telephony.
PhoneNumberUtils
;
199
} else if (
PhoneNumberUtils
.isPotentialLocalEmergencyNumber(number, context)) {
222
number =
PhoneNumberUtils
.convertKeypadLettersToDigits(number);
223
number =
PhoneNumberUtils
.stripSeparators(number);
399
String number =
PhoneNumberUtils
.getNumberFromIntent(intent, this);
401
// TODO put uriNumber under
PhoneNumberUtils
403
if (!
PhoneNumberUtils
.isUriNumber(number)) {
404
number =
PhoneNumberUtils
.convertKeypadLettersToDigits(number);
405
number =
PhoneNumberUtils
.stripSeparators(number);
439
(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);
SpecialCharSequenceMgr.java
26
import android.telephony.
PhoneNumberUtils
;
99
String dialString =
PhoneNumberUtils
.stripSeparators(input);
123
String dialString =
PhoneNumberUtils
.stripSeparators(input);
/packages/apps/Contacts/src/com/android/contacts/
ContactsUtils.java
37
import android.telephony.
PhoneNumberUtils
;
46
private static final String WAIT_SYMBOL_AS_STRING = String.valueOf(
PhoneNumberUtils
.WAIT);
114
* {@link
PhoneNumberUtils
#compare(Context, String, String)} instead
136
final String number1 =
PhoneNumberUtils
.convertKeypadLettersToDigits(number1WithLetters);
137
final String number2 =
PhoneNumberUtils
.convertKeypadLettersToDigits(number2WithLetters);
144
!
PhoneNumberUtils
.isNonSeparator(number1.charAt(index1))) {
148
!
PhoneNumberUtils
.isNonSeparator(number2.charAt(index2))) {
230
if (
PhoneNumberUtils
.isVoiceMailNumber(number)) {
233
if (
PhoneNumberUtils
.isUriNumber(number)) {
/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));
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
SipConnectionBase.java
27
import android.telephony.
PhoneNumberUtils
;
63
postDialString =
PhoneNumberUtils
.extractPostDialPortion(dialString);
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
PhoneNumberTestService.java
28
import android.telephony.
PhoneNumberUtils
;
91
+ ") = " +
PhoneNumberUtils
.formatNumberToE164(number, country));
/packages/apps/Mms/tests/src/com/android/mms/ui/
MultiPartSmsTests.java
29
import android.telephony.
PhoneNumberUtils
;
Completed in 3414 milliseconds
1
2
3
4