OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:PhoneMetadata
(Results
1 - 16
of
16
) sorted by null
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
MetadataManagerTest.java
19
import com.android.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
32
PhoneMetadata
germanyAlternateFormats = MetadataManager.getAlternateFormatsForCountry(49);
38
PhoneMetadata
noAlternateFormats = MetadataManager.getAlternateFormatsForCountry(999);
PhoneNumberUtilTest.java
20
import com.android.i18n.phonenumbers.
Phonemetadata
.NumberFormat;
21
import com.android.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
22
import com.android.i18n.phonenumbers.
Phonemetadata
.PhoneNumberDesc;
145
PhoneMetadata
metadata = phoneUtil.getMetadataForRegion(RegionCode.US);
166
PhoneMetadata
metadata = phoneUtil.getMetadataForRegion(RegionCode.DE);
186
PhoneMetadata
metadata = phoneUtil.getMetadataForRegion(RegionCode.AR);
202
PhoneMetadata
metadata = phoneUtil.getMetadataForNonGeographicalRegion(800);
[
all
...]
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/
shortnumberinfo.h
27
#include "phonenumbers/
phonemetadata
.pb.h"
61
// A mapping from a RegionCode to the
PhoneMetadata
for that region.
62
scoped_ptr<map<string,
PhoneMetadata
> >
65
const i18n::phonenumbers::
PhoneMetadata
* GetMetadataForRegion(
shortnumberinfo.cc
25
#include "phonenumbers/
phonemetadata
.pb.h"
49
region_to_short_metadata_map_(new map<string,
PhoneMetadata
>()) {
55
for (RepeatedPtrField<
PhoneMetadata
>::const_iterator it =
66
const
PhoneMetadata
* ShortNumberInfo::GetMetadataForRegion(
68
map<string,
PhoneMetadata
>::const_iterator it =
99
const
PhoneMetadata
* metadata = GetMetadataForRegion(region_code);
asyoutypeformatter.h
43
#include "phonenumbers/
phonemetadata
.pb.h"
90
const
PhoneMetadata
* GetMetadataForRegion(const string& region_code) const;
203
const
PhoneMetadata
empty_metadata_;
204
const
PhoneMetadata
* const default_metadata_;
205
const
PhoneMetadata
* current_metadata_;
phonenumberutil.h
53
class
PhoneMetadata
;
632
// A mapping from a region code to a
PhoneMetadata
for that region.
633
scoped_ptr<map<string,
PhoneMetadata
> > region_to_metadata_map_;
636
//
PhoneMetadata
for that country calling code. Examples of the country
639
scoped_ptr<map<int,
PhoneMetadata
> >
678
const i18n::phonenumbers::
PhoneMetadata
* GetMetadataForRegion(
681
const i18n::phonenumbers::
PhoneMetadata
* GetMetadataForNonGeographicalRegion(
684
const i18n::phonenumbers::
PhoneMetadata
* GetMetadataForRegionOrCallingCode(
[
all
...]
phonenumberutil.cc
40
#include "phonenumbers/
phonemetadata
.pb.h"
123
const
PhoneMetadata
& metadata,
200
const string& national_number, const
PhoneMetadata
& metadata,
668
region_to_metadata_map_(new map<string,
PhoneMetadata
>()),
670
new map<int,
PhoneMetadata
>) {
682
for (RepeatedPtrField<
PhoneMetadata
>::const_iterator it =
[
all
...]
phonenumbermatcher.cc
46
#include "phonenumbers/
phonemetadata
.pb.h"
325
map<int, const
PhoneMetadata
*> calling_code_to_alternate_formats_map_;
334
for (RepeatedPtrField<
PhoneMetadata
>::const_iterator it =
343
const
PhoneMetadata
* GetAlternateFormatsForCountry(int country_calling_code)
345
map<int, const
PhoneMetadata
*>::const_iterator it =
676
const
PhoneMetadata
* alternate_formats =
740
const
PhoneMetadata
* metadata =
[
all
...]
asyoutypeformatter.cc
25
#include "phonenumbers/
phonemetadata
.pb.h"
118
PhoneMetadata
CreateEmptyMetadata() {
119
PhoneMetadata
metadata;
156
const
PhoneMetadata
* AsYouTypeFormatter::GetMetadataForRegion(
161
const
PhoneMetadata
* const metadata =
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
MetadataManager.java
19
import com.android.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
20
import com.android.i18n.phonenumbers.
Phonemetadata
.PhoneMetadataCollection;
46
private static final Map<Integer,
PhoneMetadata
> callingCodeToAlternateFormatsMap =
47
Collections.synchronizedMap(new HashMap<Integer,
PhoneMetadata
>());
75
for (
PhoneMetadata
metadata : alternateFormats.getMetadataList()) {
85
static
PhoneMetadata
getAlternateFormatsForCountry(int countryCallingCode) {
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
...]
ShortNumberUtil.java
19
import com.android.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
80
PhoneMetadata
metadata = phoneUtil.getMetadataForRegion(regionCode);
AsYouTypeFormatter.java
19
import com.android.i18n.phonenumbers.
Phonemetadata
.NumberFormat;
20
import com.android.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.android.i18n.phonenumbers.
Phonemetadata
.NumberFormat;
20
import com.android.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
21
import com.android.i18n.phonenumbers.
Phonemetadata
.PhoneMetadataCollection;
22
import com.android.i18n.phonenumbers.
Phonemetadata
.PhoneNumberDesc;
358
// A mapping from a region code to the
PhoneMetadata
for that region.
359
private final Map<String,
PhoneMetadata
> regionToMetadataMap =
360
Collections.synchronizedMap(new HashMap<String,
PhoneMetadata
>());
362
// A mapping from a country calling code for a non-geographical entity to the
PhoneMetadata
for
365
private final Map<Integer,
PhoneMetadata
> countryCodeToNonGeographicalMetadataMap
[
all
...]
PhoneNumberMatcher.java
22
import com.android.i18n.phonenumbers.
Phonemetadata
.NumberFormat;
23
import com.android.i18n.phonenumbers.
Phonemetadata
.
PhoneMetadata
;
558
PhoneMetadata
alternateFormats =
613
PhoneMetadata
metadata = util.getMetadataForRegion(phoneNumberRegion);
/external/chromium_org/third_party/libphonenumber/src/resources/
phonemetadata.proto
116
message
PhoneMetadata
{
281
repeated
PhoneMetadata
metadata = 1;
Completed in 946 milliseconds