OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PhoneNumberType
(Results
1 - 8
of
8
) sorted by null
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
ExampleNumbersTest.java
19
import com.google.i18n.phonenumbers.PhoneNumberUtil.
PhoneNumberType
;
50
private void checkNumbersValidAndCorrectType(
PhoneNumberType
exampleNumberRequestedType,
51
Set<
PhoneNumberType
> possibleExpectedTypes) {
61
PhoneNumberType
exampleNumberType = phoneNumberUtil.getNumberType(exampleNumber);
68
for (
PhoneNumberType
type : possibleExpectedTypes) {
78
Set<
PhoneNumberType
> fixedLineTypes = EnumSet.of(
PhoneNumberType
.FIXED_LINE,
79
PhoneNumberType
.FIXED_LINE_OR_MOBILE);
80
checkNumbersValidAndCorrectType(
PhoneNumberType
.FIXED_LINE, fixedLineTypes);
86
Set<
PhoneNumberType
> mobileTypes = EnumSet.of(PhoneNumberType.MOBILE
[
all
...]
PhoneNumberUtilTest.java
351
PhoneNumberUtil.
PhoneNumberType
.FIXED_LINE));
354
PhoneNumberUtil.
PhoneNumberType
.MOBILE));
356
PhoneNumberUtil.
PhoneNumberType
.FIXED_LINE));
358
PhoneNumberUtil.
PhoneNumberType
.MOBILE));
361
PhoneNumberUtil.
PhoneNumberType
.MOBILE));
384
assertNotNull(phoneUtil.getExampleNumberForType(PhoneNumberUtil.
PhoneNumberType
.FIXED_LINE));
385
assertNotNull(phoneUtil.getExampleNumberForType(PhoneNumberUtil.
PhoneNumberType
.MOBILE));
386
assertNotNull(phoneUtil.getExampleNumberForType(PhoneNumberUtil.
PhoneNumberType
.PREMIUM_RATE));
[
all
...]
/external/libphonenumber/carrier/src/com/google/i18n/phonenumbers/
PhoneNumberToCarrierMapper.java
20
import com.google.i18n.phonenumbers.PhoneNumberUtil.
PhoneNumberType
;
92
PhoneNumberType
numberType = phoneUtil.getNumberType(number);
119
private boolean isMobile(
PhoneNumberType
numberType) {
120
return (numberType ==
PhoneNumberType
.MOBILE
121
|| numberType ==
PhoneNumberType
.FIXED_LINE_OR_MOBILE
122
|| numberType ==
PhoneNumberType
.PAGER);
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/
PhoneNumberOfflineGeocoder.java
21
import com.google.i18n.phonenumbers.PhoneNumberUtil.
PhoneNumberType
;
189
PhoneNumberType
numberType = phoneUtil.getNumberType(number);
190
if (numberType ==
PhoneNumberType
.UNKNOWN) {
212
PhoneNumberType
numberType = phoneUtil.getNumberType(number);
213
if (numberType ==
PhoneNumberType
.UNKNOWN) {
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/
PhoneNumberToTimeZonesMapper.java
19
import com.google.i18n.phonenumbers.PhoneNumberUtil.
PhoneNumberType
;
137
PhoneNumberType
numberType = PhoneNumberUtil.getInstance().getNumberType(number);
138
if (numberType ==
PhoneNumberType
.UNKNOWN) {
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
PhoneNumberUtil.java
398
public enum
PhoneNumberType
{
[
all
...]
/external/libphonenumber/demo/src/com/google/phonenumbers/
PhoneNumberParserServlet.java
30
import com.google.i18n.phonenumbers.PhoneNumberUtil.
PhoneNumberType
;
290
PhoneNumberType
numberType = phoneUtil.getNumberType(number);
406
if (numberType ==
PhoneNumberType
.MOBILE ||
407
numberType ==
PhoneNumberType
.FIXED_LINE_OR_MOBILE ||
408
numberType ==
PhoneNumberType
.PAGER) {
/frameworks/base/
compiled-classes-phone
[
all
...]
Completed in 167 milliseconds