OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:countryCallingCode
(Results
1 - 19
of
19
) sorted by null
/external/libphonenumber/libphonenumber/src/com/google/i18n/phonenumbers/
MetadataSource.java
35
* @param
countryCallingCode
the country calling code.
38
PhoneMetadata getMetadataForNonGeographicalRegion(int
countryCallingCode
);
MultiFileMetadataSourceImpl.java
69
public PhoneMetadata getMetadataForNonGeographicalRegion(int
countryCallingCode
) {
70
if (!isNonGeographical(
countryCallingCode
)) {
74
return MetadataManager.getMetadataFromMultiFilePrefix(
countryCallingCode
, nonGeographicalRegions,
80
private boolean isNonGeographical(int
countryCallingCode
) {
82
CountryCodeToRegionCodeMap.getCountryCodeToRegionCodeMap().get(
countryCallingCode
);
SingleFileMetadataSourceImpl.java
55
public PhoneMetadata getMetadataForNonGeographicalRegion(int
countryCallingCode
) {
63
phoneNumberMetadataFileName, metadataLoader).get(
countryCallingCode
);
PhoneNumberUtil.java
[
all
...]
MetadataManager.java
79
static PhoneMetadata getAlternateFormatsForCountry(int
countryCallingCode
) {
80
if (!alternateFormatsCountryCodes.contains(
countryCallingCode
)) {
83
return getMetadataFromMultiFilePrefix(
countryCallingCode
, alternateFormatsMap,
166
PhoneMetadata get(int
countryCallingCode
) {
167
return countryCallingCodeToMetadata.get(
countryCallingCode
);
ShortNumberInfo.java
95
private List<String> getRegionCodesForCountryCode(int
countryCallingCode
) {
96
List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(
countryCallingCode
);
AsYouTypeFormatter.java
126
int
countryCallingCode
= phoneUtil.getCountryCodeForRegion(regionCode);
127
String mainCountry = phoneUtil.getRegionCodeForCountryCode(
countryCallingCode
);
/external/libphonenumber/repackaged/libphonenumber/src/com/android/i18n/phonenumbers/
MetadataSource.java
36
* @param
countryCallingCode
the country calling code.
39
PhoneMetadata getMetadataForNonGeographicalRegion(int
countryCallingCode
);
MultiFileMetadataSourceImpl.java
70
public PhoneMetadata getMetadataForNonGeographicalRegion(int
countryCallingCode
) {
71
if (!isNonGeographical(
countryCallingCode
)) {
75
return MetadataManager.getMetadataFromMultiFilePrefix(
countryCallingCode
, nonGeographicalRegions,
81
private boolean isNonGeographical(int
countryCallingCode
) {
83
CountryCodeToRegionCodeMap.getCountryCodeToRegionCodeMap().get(
countryCallingCode
);
SingleFileMetadataSourceImpl.java
56
public PhoneMetadata getMetadataForNonGeographicalRegion(int
countryCallingCode
) {
64
phoneNumberMetadataFileName, metadataLoader).get(
countryCallingCode
);
PhoneNumberUtil.java
[
all
...]
MetadataManager.java
80
static PhoneMetadata getAlternateFormatsForCountry(int
countryCallingCode
) {
81
if (!alternateFormatsCountryCodes.contains(
countryCallingCode
)) {
84
return getMetadataFromMultiFilePrefix(
countryCallingCode
, alternateFormatsMap,
167
PhoneMetadata get(int
countryCallingCode
) {
168
return countryCallingCodeToMetadata.get(
countryCallingCode
);
ShortNumberInfo.java
98
private List<String> getRegionCodesForCountryCode(int
countryCallingCode
) {
99
List<String> regionCodes = countryCallingCodeToRegionCodeMap.get(
countryCallingCode
);
AsYouTypeFormatter.java
128
int
countryCallingCode
= phoneUtil.getCountryCodeForRegion(regionCode);
129
String mainCountry = phoneUtil.getRegionCodeForCountryCode(
countryCallingCode
);
/external/libphonenumber/internal/prefixmapper/src/com/google/i18n/phonenumbers/prefixmapper/
PrefixFileReader.java
38
// The mappingFileProvider knows for which combination of
countryCallingCode
and language a phone
118
int
countryCallingCode
= number.getCountryCode();
121
int phonePrefix = (
countryCallingCode
!= 1)
122
?
countryCallingCode
: (1000 + (int) (number.getNationalNumber() / 10000000));
MappingFileProvider.java
77
for (int
countryCallingCode
: availableDataFiles.keySet()) {
78
countryCallingCodes[index++] =
countryCallingCode
;
79
availableLanguages.add(new HashSet<String>(availableDataFiles.get(
countryCallingCode
)));
143
* Gets the name of the file that contains the mapping data for the {@code
countryCallingCode
} in
146
* @param
countryCallingCode
the country calling code of phone numbers which the data file
156
String getFileName(int
countryCallingCode
, String language, String script, String region) {
160
int index = Arrays.binarySearch(countryCallingCodes,
countryCallingCode
);
169
fileName.append(
countryCallingCode
).append('_').append(languageCode);
/external/libphonenumber/repackaged/internal/prefixmapper/src/com/android/i18n/phonenumbers/prefixmapper/
PrefixFileReader.java
40
// The mappingFileProvider knows for which combination of
countryCallingCode
and language a phone
120
int
countryCallingCode
= number.getCountryCode();
123
int phonePrefix = (
countryCallingCode
!= 1)
124
?
countryCallingCode
: (1000 + (int) (number.getNationalNumber() / 10000000));
MappingFileProvider.java
79
for (int
countryCallingCode
: availableDataFiles.keySet()) {
80
countryCallingCodes[index++] =
countryCallingCode
;
81
availableLanguages.add(new HashSet<String>(availableDataFiles.get(
countryCallingCode
)));
145
* Gets the name of the file that contains the mapping data for the {@code
countryCallingCode
} in
148
* @param
countryCallingCode
the country calling code of phone numbers which the data file
158
String getFileName(int
countryCallingCode
, String language, String script, String region) {
162
int index = Arrays.binarySearch(countryCallingCodes,
countryCallingCode
);
171
fileName.append(
countryCallingCode
).append('_').append(languageCode);
/external/libphonenumber/libphonenumber/test/com/google/i18n/phonenumbers/
PhoneNumberUtilTest.java
[
all
...]
Completed in 196 milliseconds