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
93
) 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
31
import android.telephony.
PhoneNumberUtils
;
39
@TestTargetClass(
PhoneNumberUtils
.class)
60
assertNull(
PhoneNumberUtils
.extractNetworkPortion(null));
61
assertEquals("+17005554141",
PhoneNumberUtils
.extractNetworkPortion("+17005554141"));
63
PhoneNumberUtils
.extractNetworkPortion("+1 (700).555-4141*#N"));
64
assertEquals("170055541",
PhoneNumberUtils
.extractNetworkPortion(
65
String.format("1 (700).555-41%c1234",
PhoneNumberUtils
.PAUSE)));
67
PhoneNumberUtils
.extractNetworkPortion("**21**+17005554141#"));
70
assertNull(
PhoneNumberUtils
.extractPostDialPortion(null));
71
assertEquals("",
PhoneNumberUtils
.extractPostDialPortion("+17005554141"))
[
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
;
CallerInfoAsyncQuery.java
32
import android.telephony.
PhoneNumberUtils
;
276
mCallerInfo.phoneNumber =
PhoneNumberUtils
.formatNumber(cw.number,
353
if (
PhoneNumberUtils
.isUriNumber(number)) {
406
if (
PhoneNumberUtils
.isLocalEmergencyNumber(number, context)) {
408
} else if (
PhoneNumberUtils
.isVoiceMailNumber(number)) {
CallerInfo.java
28
import android.telephony.
PhoneNumberUtils
;
257
if (
PhoneNumberUtils
.isLocalEmergencyNumber(number, context)) {
259
} else if (
PhoneNumberUtils
.isVoiceMailNumber(number)) {
290
&&
PhoneNumberUtils
.isUriNumber(number)) {
291
String username =
PhoneNumberUtils
.getUsernameFromUriNumber(number);
292
if (
PhoneNumberUtils
.isGlobalPhoneNumber(username)) {
/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/
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);
PhoneNumberHelper.java
24
import android.telephony.
PhoneNumberUtils
;
92
return
PhoneNumberUtils
.isVoiceMailNumber(number.toString());
97
return
PhoneNumberUtils
.isUriNumber(number.toString());
CallLogGroupBuilder.java
24
import android.telephony.
PhoneNumberUtils
;
124
if (
PhoneNumberUtils
.isUriNumber(number1) ||
PhoneNumberUtils
.isUriNumber(number2)) {
127
return
PhoneNumberUtils
.compare(number1, number2);
IntentProvider.java
27
import android.telephony.
PhoneNumberUtils
;
45
if (
PhoneNumberUtils
.isUriNumber(number)) {
/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
;
49
PhoneNumberUtils
.formatNumberToE164(number, mDbHelper.getCurrentCountryIso());
75
numberE164 =
PhoneNumberUtils
.formatNumberToE164(number,
117
String normalizedNumber =
PhoneNumberUtils
.normalizeNumber(number);
124
PhoneNumberUtils
.toCallerIDMinMatch(normalizedNumber));
130
PhoneNumberUtils
.toCallerIDMinMatch(numberE164));
164
String normalizedNumber =
PhoneNumberUtils
.normalizeNumber(number);
171
String numberE164 =
PhoneNumberUtils
.formatNumberToE164(
/frameworks/base/telephony/java/android/telephony/
PhoneNumberFormattingTextWatcher.java
22
import android.telephony.
PhoneNumberUtils
;
179
if (
PhoneNumberUtils
.isNonSeparator(c)) {
209
if (!
PhoneNumberUtils
.isNonSeparator(c)) {
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
CdmaConnection.java
32
import android.telephony.
PhoneNumberUtils
;
156
this.address =
PhoneNumberUtils
.extractNetworkPortionAlt(dialString);
157
this.postDialString =
PhoneNumberUtils
.extractPostDialPortion(dialString);
219
String cAddress =
PhoneNumberUtils
.stringFromStringAndTOA(c.number, c.TOA);
344
if (
PhoneNumberUtils
.is12Key(c)) {
620
if (
PhoneNumberUtils
.is12Key(c)) {
622
} else if (c ==
PhoneNumberUtils
.PAUSE) {
630
} else if (c ==
PhoneNumberUtils
.WAIT) {
632
} else if (c ==
PhoneNumberUtils
.WILD) {
651
int wIndex = subStr.indexOf(
PhoneNumberUtils
.WAIT)
[
all
...]
/packages/apps/Phone/src/com/android/phone/
OutgoingCallBroadcaster.java
30
import android.telephony.
PhoneNumberUtils
;
171
} else if (
PhoneNumberUtils
.isPotentialLocalEmergencyNumber(number, context)) {
194
number =
PhoneNumberUtils
.convertKeypadLettersToDigits(number);
195
number =
PhoneNumberUtils
.stripSeparators(number);
346
String number =
PhoneNumberUtils
.getNumberFromIntent(intent, this);
348
// TODO put uriNumber under
PhoneNumberUtils
350
if (!
PhoneNumberUtils
.isUriNumber(number)) {
351
number =
PhoneNumberUtils
.convertKeypadLettersToDigits(number);
352
number =
PhoneNumberUtils
.stripSeparators(number);
384
(number != null) &&
PhoneNumberUtils
.isLocalEmergencyNumber(number, this)
[
all
...]
SpecialCharSequenceMgr.java
26
import android.telephony.
PhoneNumberUtils
;
97
String dialString =
PhoneNumberUtils
.stripSeparators(input);
121
String dialString =
PhoneNumberUtils
.stripSeparators(input);
/frameworks/base/telephony/java/com/android/internal/telephony/sip/
SipConnectionBase.java
27
import android.telephony.
PhoneNumberUtils
;
63
postDialString =
PhoneNumberUtils
.extractPostDialPortion(dialString);
/packages/apps/Mms/src/com/android/mms/util/
AddressUtils.java
31
import android.telephony.
PhoneNumberUtils
;
/packages/apps/Mms/tests/src/com/android/mms/ui/
MultiPartSmsTests.java
29
import android.telephony.
PhoneNumberUtils
;
Completed in 118 milliseconds
1
2
3
4