Searched defs:country (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/tests/
H A DPhoneNumberTestService.java60 final String country = intent.getStringExtra(EXTRA_COUNTRY_CODE);
64 Log.i(TAG, "Input country code: " + country);
65 Log.i(TAG, "Current country code: " + defaultCountry);
67 // Dump for the given country, the current country, US, GB and JP.
69 if (country != null) countries.add(country);
80 private void dump(String number, String country) { argument
81 Log.i(TAG, "Result for: " + number + " / " +country);
89 dump_PhoneNumberUtils_formatNumberToE164(String number, String country) argument
94 dump_PhoneNumberUtil_format(String number, String country, PhoneNumberFormat format) argument
[all...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
H A DGoogleSearch.java78 String country = locale.getCountry();
80 if (!TextUtils.isEmpty(country) && useLangCountryHl(language, country)) {
82 hl.append(country);
85 if (DBG) Log.d(TAG, "language " + language + ", country " + country + " -> hl=" + hl);
90 private static boolean useLangCountryHl(String language, String country) { argument
91 // lang-country is currently only supported for a small number of locales
93 return "GB".equals(country);
95 return "CN".equals(country) || "T
[all...]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPostalSplitterTest.java99 String neighborhood, String city, String region, String postcode, String country) {
108 assertEquals(country, postal.country);
112 String neighborhood, String city, String region, String postcode, String country) {
120 postal.country = country;
98 assertSplitPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
111 assertJoinedPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
H A DPostalSplitterForJapaneseTest.java115 String neighborhood, String city, String region, String postcode, String country) {
124 assertEquals(country, postal.country);
128 String neighborhood, String city, String region, String postcode, String country) {
136 postal.country = country;
114 assertSplitPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
127 assertJoinedPostal(String formattedPostal, String street, String pobox, String neighborhood, String city, String region, String postcode, String country) argument
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DSmartDialPrefix.java37 * middle name, family name etc. Each phone number is also separated into country code, NANP area
52 /** The country code of the user's sim card obtained by calling getSimCountryIso*/
61 /** Set of country names that use NANP code.*/
64 /** Set of supported country codes in front of the phone number. */
83 /** Updates shared preferences with the latest country obtained from getSimCountryIso.*/
86 /** Uses previously stored country code if loading fails. */
90 /** Queries the NANP country list to find out whether user is in a NANP region.*/
110 /** Offset of national number after the country code. */
220 * full phone number, the national number if there is a country code in the phone number, and
255 * Parses a phone number to find out whether it has country cod
561 isCountryNanp(String country) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DPostalSplitter.java39 public String country; field in class:PostalSplitter.Postal
48 country = values.getAsString(StructuredPostal.COUNTRY);
58 values.put(StructuredPostal.COUNTRY, country);
87 postal.region, postal.postcode, postal.country
106 final boolean hasCountry = !TextUtils.isEmpty(postal.country);
108 // First block: [country][ ][postcode]
120 builder.append(postal.country);
172 final boolean hasCountry = !TextUtils.isEmpty(postal.country);
176 // Third block: [country]
220 builder.append(postal.country);
[all...]
/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DContactsSyncParser.java188 work.country = getValue();
203 home.country = getValue();
218 other.country = getValue();
328 work.state, work.country, work.code);
332 home.state, home.country, home.code);
336 other.state, other.country, other.code);
679 String country; field in class:ContactsSyncParser.Address
685 return city != null || country != null || code != null || state != null
1169 String country, String code) {
1175 cvCompareString(cv, StructuredPostal.COUNTRY, country)
1168 addPostal(Entity entity, int type, String street, String city, String state, String country, String code) argument
[all...]

Completed in 217 milliseconds