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
;
49
private void checkNumbersValidAndCorrectType(
PhoneNumberType
exampleNumberRequestedType,
50
Set<
PhoneNumberType
> possibleExpectedTypes) {
60
PhoneNumberType
exampleNumberType = phoneNumberUtil.getNumberType(exampleNumber);
67
for (
PhoneNumberType
type : possibleExpectedTypes) {
77
Set<
PhoneNumberType
> fixedLineTypes = EnumSet.of(
PhoneNumberType
.FIXED_LINE,
78
PhoneNumberType
.FIXED_LINE_OR_MOBILE);
79
checkNumbersValidAndCorrectType(
PhoneNumberType
.FIXED_LINE, fixedLineTypes);
85
Set<
PhoneNumberType
> mobileTypes = EnumSet.of(PhoneNumberType.MOBILE
[
all
...]
PhoneNumberUtilTest.java
312
PhoneNumberUtil.
PhoneNumberType
.FIXED_LINE));
315
PhoneNumberUtil.
PhoneNumberType
.MOBILE));
319
PhoneNumberUtil.
PhoneNumberType
.FIXED_LINE));
321
PhoneNumberUtil.
PhoneNumberType
.MOBILE));
324
PhoneNumberUtil.
PhoneNumberType
.MOBILE));
[
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/
PhoneNumberToTimeZonesMapper.java
19
import com.google.i18n.phonenumbers.PhoneNumberUtil.
PhoneNumberType
;
137
PhoneNumberType
numberType = PhoneNumberUtil.getInstance().getNumberType(number);
138
if (numberType ==
PhoneNumberType
.UNKNOWN) {
153
private boolean canBeGeocoded(
PhoneNumberType
numberType) {
154
return (numberType ==
PhoneNumberType
.FIXED_LINE ||
155
numberType ==
PhoneNumberType
.MOBILE ||
156
numberType ==
PhoneNumberType
.FIXED_LINE_OR_MOBILE);
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/geocoding/
PhoneNumberOfflineGeocoder.java
21
import com.google.i18n.phonenumbers.PhoneNumberUtil.
PhoneNumberType
;
186
PhoneNumberType
numberType = phoneUtil.getNumberType(number);
187
if (numberType ==
PhoneNumberType
.UNKNOWN) {
209
PhoneNumberType
numberType = phoneUtil.getNumberType(number);
210
if (numberType ==
PhoneNumberType
.UNKNOWN) {
223
private boolean canBeGeocoded(
PhoneNumberType
numberType) {
224
return (numberType ==
PhoneNumberType
.FIXED_LINE ||
225
numberType ==
PhoneNumberType
.MOBILE ||
226
numberType ==
PhoneNumberType
.FIXED_LINE_OR_MOBILE);
/external/libphonenumber/demo/src/com/google/phonenumbers/
PhoneNumberParserServlet.java
27
import com.google.i18n.phonenumbers.PhoneNumberUtil.
PhoneNumberType
;
189
PhoneNumberType
numberType = phoneUtil.getNumberType(number);
278
if (numberType ==
PhoneNumberType
.MOBILE ||
279
numberType ==
PhoneNumberType
.FIXED_LINE_OR_MOBILE ||
280
numberType ==
PhoneNumberType
.PAGER) {
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
PhoneNumberUtil.java
379
public enum
PhoneNumberType
{
[
all
...]
/frameworks/base/
compiled-classes-phone
[
all
...]
Completed in 249 milliseconds