OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:countryCallingCode
(Results
1 - 7
of
7
) sorted by null
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/
MetadataManager.java
67
private static void loadMetadataFromFile(int
countryCallingCode
) {
69
ALTERNATE_FORMATS_FILE_PREFIX + "_" +
countryCallingCode
);
85
static PhoneMetadata getAlternateFormatsForCountry(int
countryCallingCode
) {
86
if (!countryCodeSet.contains(
countryCallingCode
)) {
90
if (!callingCodeToAlternateFormatsMap.containsKey(
countryCallingCode
)) {
91
loadMetadataFromFile(
countryCallingCode
);
94
return callingCodeToAlternateFormatsMap.get(
countryCallingCode
);
PhoneNumberUtil.java
581
void loadMetadataFromFile(String filePrefix, String regionCode, int
countryCallingCode
) {
584
(isNonGeoRegion ? String.valueOf(
countryCallingCode
) : regionCode);
605
countryCodeToNonGeographicalMetadataMap.put(
countryCallingCode
, metadata);
[
all
...]
AsYouTypeFormatter.java
136
int
countryCallingCode
= phoneUtil.getCountryCodeForRegion(regionCode);
137
String mainCountry = phoneUtil.getRegionCodeForCountryCode(
countryCallingCode
);
/external/libphonenumber/java/src/com/android/i18n/phonenumbers/geocoding/
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
154
String getFileName(int
countryCallingCode
, String language, String script, String region) {
158
int index = Arrays.binarySearch(countryCallingCodes,
countryCallingCode
);
167
fileName.append(
countryCallingCode
).append('_').append(languageCode);
PhoneNumberOfflineGeocoder.java
46
// The mappingFileProvider knows for which combination of
countryCallingCode
and language a phone
273
int
countryCallingCode
= number.getCountryCode();
276
int phonePrefix = (
countryCallingCode
!= 1) ?
277
countryCallingCode
: (1000 + (int) (number.getNationalNumber() / 10000000));
/external/libphonenumber/java/test/com/android/i18n/phonenumbers/
PhoneNumberUtilTest.java
[
all
...]
/frameworks/base/telephony/java/android/telephony/
PhoneNumberUtils.java
581
if (cccA.
countryCallingCode
!= cccB.
countryCallingCode
) {
[
all
...]
Completed in 194 milliseconds