OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PhoneMetadata
(Results
1 - 13
of
13
) sorted by null
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
MetadataSource.java
19
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
31
PhoneMetadata
getMetadataForRegion(String regionCode);
38
PhoneMetadata
getMetadataForNonGeographicalRegion(int countryCallingCode);
MultiFileMetadataSourceImpl.java
19
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
38
private final ConcurrentHashMap<String,
PhoneMetadata
> geographicalRegions =
39
new ConcurrentHashMap<String,
PhoneMetadata
>();
47
private final ConcurrentHashMap<Integer,
PhoneMetadata
> nonGeographicalRegions =
48
new ConcurrentHashMap<Integer,
PhoneMetadata
>();
63
public
PhoneMetadata
getMetadataForRegion(String regionCode) {
69
public
PhoneMetadata
getMetadataForNonGeographicalRegion(int countryCallingCode) {
MetadataManager.java
19
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
20
import com.google.i18n.phonenumbers.
Phonemetadata
.PhoneMetadataCollection;
60
private static final ConcurrentHashMap<Integer,
PhoneMetadata
> alternateFormatsMap =
61
new ConcurrentHashMap<Integer,
PhoneMetadata
>();
64
private static final ConcurrentHashMap<String,
PhoneMetadata
> shortNumberMetadataMap =
65
new ConcurrentHashMap<String,
PhoneMetadata
>();
79
static
PhoneMetadata
getAlternateFormatsForCountry(int countryCallingCode) {
87
static
PhoneMetadata
getShortNumberMetadataForRegion(String regionCode) {
108
static <T>
PhoneMetadata
getMetadataFromMultiFilePrefix(T key
[
all
...]
SingleFileMetadataSourceImpl.java
19
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
49
public
PhoneMetadata
getMetadataForRegion(String regionCode) {
55
public
PhoneMetadata
getMetadataForNonGeographicalRegion(int countryCallingCode) {
Phonemetadata.java
19
* hand created based on the class file compiled from
phonemetadata
.proto. Please refer to that file
35
public final class
Phonemetadata
{
36
private
Phonemetadata
() {}
380
public static class
PhoneMetadata
implements Externalizable {
382
public
PhoneMetadata
() {}
389
public static final class Builder extends
PhoneMetadata
{
390
public
PhoneMetadata
build() {
403
public
PhoneMetadata
setGeneralDesc(PhoneNumberDesc value) {
417
public
PhoneMetadata
setFixedLine(PhoneNumberDesc value) {
431
public
PhoneMetadata
setMobile(PhoneNumberDesc value)
[
all
...]
ShortNumberInfo.java
21
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
22
import com.google.i18n.phonenumbers.
Phonemetadata
.PhoneNumberDesc;
123
PhoneMetadata
phoneMetadata
=
125
if (
phoneMetadata
== null) {
129
return
phoneMetadata
.getGeneralDesc().getPossibleLengthList().contains(numberLength);
145
PhoneMetadata
phoneMetadata
= MetadataManager.getShortNumberMetadataForRegion(region);
146
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
;
29
PhoneMetadata
germanyMetadata = MetadataManager.getAlternateFormatsForCountry(49);
35
PhoneMetadata
noAlternateFormats = MetadataManager.getAlternateFormatsForCountry(999);
41
PhoneMetadata
franceMetadata = MetadataManager.getShortNumberMetadataForRegion("FR");
47
PhoneMetadata
noShortNumberMetadata = MetadataManager.getShortNumberMetadataForRegion("XXX");
52
ConcurrentHashMap<String,
PhoneMetadata
> map = new ConcurrentHashMap<String,
PhoneMetadata
>();
53
PhoneMetadata
metadata = MetadataManager.getMetadataFromMultiFilePrefix("CA", map,
60
ConcurrentHashMap<Integer,
PhoneMetadata
> map = new ConcurrentHashMap<Integer, PhoneMetadata>()
[
all
...]
MultiFileMetadataSourceImplTest.java
19
import com.google.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
33
PhoneMetadata
uaeMetadata = SOURCE.getMetadataForRegion("AE");
49
PhoneMetadata
intlMetadata = SOURCE.getMetadataForNonGeographicalRegion(800);
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);
160
PhoneMetadata
metadata = phoneUtil.getMetadataForRegion(RegionCode.DE);
185
PhoneMetadata
metadata = phoneUtil.getMetadataForRegion(RegionCode.AR);
201
PhoneMetadata
metadata = phoneUtil.getMetadataForNonGeographicalRegion(800);
[
all
...]
/frameworks/base/config/
compiled-classes-phone
[
all
...]
Completed in 238 milliseconds