Searched defs:country (Results 1 - 6 of 6) 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/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/exchange2/src/com/android/exchange/adapter/
H A DContactsSyncAdapter.java338 String country; field in class:ContactsSyncAdapter.Address
344 return city != null || country != null || code != null || state != null
525 work.country = getValue();
540 home.country = getValue();
555 other.country = getValue();
679 work.state, work.country, work.code);
683 home.state, home.country, home.code);
687 other.state, other.country, other.code);
1394 String country, String code) {
1400 cvCompareString(cv, StructuredPostal.COUNTRY, country)
1393 addPostal(Entity entity, int type, String street, String city, String state, String country, String code) argument
[all...]

Completed in 140 milliseconds