/external/chromium_org/base/android/java/src/org/chromium/base/ |
LocaleUtils.java | 26 String country = locale.getCountry(); local 39 return country.isEmpty() ? language : language + "-" + country;
|
/external/chromium_org/chrome/browser/ui/autofill/ |
country_combobox_model.cc | 34 // Insert the default country at the top as well as in the ordered list. 88 AutofillCountry* country = countries_[index]; local 89 if (country)
|
/external/chromium_org/components/autofill/core/browser/ |
address_unittest.cc | 17 // Test that country data can be properly returned as either a country code or a 18 // localized country name. 23 // Make sure that nothing breaks when the country code is missing. 24 base::string16 country = local 26 EXPECT_EQ(base::string16(), country); local 30 country = address.GetInfo(AutofillType(ADDRESS_HOME_COUNTRY), "en-US"); 31 EXPECT_EQ(ASCIIToUTF16("United States"), country); 32 country = address.GetInfo( 34 EXPECT_EQ(ASCIIToUTF16("United States"), country); 59 base::string16 country = local 90 EXPECT_EQ(base::string16(), country); local 111 EXPECT_EQ(base::string16(), country); local [all...] |
/external/svox/pico/src/com/svox/pico/ |
GetSampleText.java | 41 String country = i.getExtras().getString("country"); local 45 if (country.equals("GBR")){
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CountryMonitor.java | 20 import android.location.Country; 28 * This class monitors the change of country. 30 * {@link #getCountryIso()} is used to get the ISO 3166-1 two letters country 31 * code of current country. 42 * Get the current country code 44 * @return the ISO 3166-1 two letters country code of current country. 50 Country country = null; local 51 if (countryDetector != null) country = countryDetector.detectCountry() [all...] |
PostalSplitter.java | 39 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); [all...] |
/packages/services/Mms/src/com/android/mms/service/ |
PhoneUtils.java | 44 final String country = getSimOrDefaultLocaleCountry(telephonyManager, subId); local 46 final Phonenumber.PhoneNumber parsed = getParsedNumber(phoneNumberUtil, phoneText, country); 57 String phoneText, String country) { 59 final Phonenumber.PhoneNumber phoneNumber = phoneNumberUtil.parse(phoneText, country); 64 + " for country " + country); 73 // Get the country/region either from the SIM ID or from locale 76 String country = getSimCountry(telephonyManager, subId); local 77 if (TextUtils.isEmpty(country)) { 78 country = Locale.getDefault().getCountry() 86 final String country = telephonyManager.getSimCountryIso(subId); local [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
TimeUtilsTest.java | 91 String country = world[i]; local 99 guess = guessTimeZone(c, country); 104 private static TimeZone guessTimeZone(Calendar c, String country) { 108 country);
|
/external/chromium_org/chrome/common/ |
spellcheck_common.cc | 160 const char* country = "USA"; local 167 country = uloc_getISO3Country(id); 170 *country_code = std::string(country);
|