OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PhoneMetadata
(Results
1 - 11
of
11
) sorted by null
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
MetadataSource.java
19
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
30
PhoneMetadata
getMetadataForRegion(String regionCode);
37
PhoneMetadata
getMetadataForNonGeographicalRegion(int countryCallingCode);
MetadataManager.java
19
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
20
import com.google.i18n.phonenumbers.
Phonemetadata
.PhoneMetadataCollection;
47
private static final Map<Integer,
PhoneMetadata
> callingCodeToAlternateFormatsMap =
48
Collections.synchronizedMap(new HashMap<Integer,
PhoneMetadata
>());
49
private static final Map<String,
PhoneMetadata
> regionCodeToShortNumberMetadataMap =
50
Collections.synchronizedMap(new HashMap<String,
PhoneMetadata
>());
82
for (
PhoneMetadata
metadata : alternateFormats.getMetadataList()) {
92
static
PhoneMetadata
getAlternateFormatsForCountry(int countryCallingCode) {
112
for (
PhoneMetadata
metadata : shortNumberMetadata.getMetadataList())
[
all
...]
MultiFileMetadataSourceImpl.java
19
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
20
import com.google.i18n.phonenumbers.
Phonemetadata
.PhoneMetadataCollection;
43
// A mapping from a region code to the
PhoneMetadata
for that region.
46
private final Map<String,
PhoneMetadata
> regionToMetadataMap =
47
Collections.synchronizedMap(new HashMap<String,
PhoneMetadata
>());
49
// A mapping from a country calling code for a non-geographical entity to the
PhoneMetadata
for
54
private final Map<Integer,
PhoneMetadata
> countryCodeToNonGeographicalMetadataMap =
55
Collections.synchronizedMap(new HashMap<Integer,
PhoneMetadata
>());
75
public
PhoneMetadata
getMetadataForRegion(String regionCode)
[
all
...]
Phonemetadata.java
19
* hand created based on the class file compiled from
phonemetadata
.proto. Please refer to that file
30
public final class
Phonemetadata
{
31
private
Phonemetadata
() {}
292
public static class
PhoneMetadata
implements Externalizable {
294
public
PhoneMetadata
() {}
301
public static final class Builder extends
PhoneMetadata
{
302
public
PhoneMetadata
build() {
315
public
PhoneMetadata
setGeneralDesc(PhoneNumberDesc value) {
329
public
PhoneMetadata
setFixedLine(PhoneNumberDesc value) {
343
public
PhoneMetadata
setMobile(PhoneNumberDesc value)
[
all
...]
ShortNumberInfo.java
21
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
22
import com.google.i18n.phonenumbers.
Phonemetadata
.PhoneNumberDesc;
129
PhoneMetadata
phoneMetadata
=
131
if (
phoneMetadata
== null) {
134
return matcherApi.matchesPossibleNumber(shortNumber,
phoneMetadata
.getGeneralDesc());
149
PhoneMetadata
phoneMetadata
=
151
if (
phoneMetadata
== null)
[
all
...]
AsYouTypeFormatter.java
19
import com.google.i18n.phonenumbers.
Phonemetadata
.NumberFormat;
20
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
64
private static final
PhoneMetadata
EMPTY_METADATA =
65
new
PhoneMetadata
().setInternationalPrefix("NA");
66
private
PhoneMetadata
defaultMetadata;
67
private
PhoneMetadata
currentMetadata;
135
private
PhoneMetadata
getMetadataForRegion(String regionCode) {
138
PhoneMetadata
metadata = phoneUtil.getMetadataForRegion(mainCountry);
PhoneNumberUtil.java
19
import com.google.i18n.phonenumbers.
Phonemetadata
.NumberFormat;
20
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
21
import com.google.i18n.phonenumbers.
Phonemetadata
.PhoneNumberDesc;
[
all
...]
PhoneNumberMatcher.java
22
import com.google.i18n.phonenumbers.
Phonemetadata
.NumberFormat;
23
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
585
PhoneMetadata
alternateFormats =
661
PhoneMetadata
metadata = util.getMetadataForRegion(phoneNumberRegion);
[
all
...]
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
MetadataManagerTest.java
19
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
30
PhoneMetadata
germanyAlternateFormats = MetadataManager.getAlternateFormatsForCountry(49);
37
PhoneMetadata
franceShortNumberMetadata = MetadataManager.getShortNumberMetadataForRegion("FR");
43
PhoneMetadata
noAlternateFormats = MetadataManager.getAlternateFormatsForCountry(999);
48
PhoneMetadata
noShortNumberMetadata = MetadataManager.getShortNumberMetadataForRegion("XXX");
PhoneNumberUtilTest.java
20
import com.google.i18n.phonenumbers.
Phonemetadata
.NumberFormat;
21
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
22
import com.google.i18n.phonenumbers.
Phonemetadata
.PhoneNumberDesc;
136
PhoneMetadata
metadata = phoneUtil.getMetadataForRegion(RegionCode.US);
157
PhoneMetadata
metadata = phoneUtil.getMetadataForRegion(RegionCode.DE);
177
PhoneMetadata
metadata = phoneUtil.getMetadataForRegion(RegionCode.AR);
193
PhoneMetadata
metadata = phoneUtil.getMetadataForNonGeographicalRegion(800);
[
all
...]
/frameworks/base/
compiled-classes-phone
[
all
...]
Completed in 2094 milliseconds