/external/nist-sip/java/gov/nist/javax/sip/header/ |
ContentLanguage.java | 121 if ( "".equals(locale.getCountry())) { 124 return locale.getLanguage() + '-' + locale.getCountry();
|
AcceptLanguage.java | 190 if ( "".equals(language.getCountry())) { 193 this.languageRange = language.getLanguage() + '-' + language.getCountry();
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
LocaleUtils.java | 26 String country = locale.getCountry();
|
/libcore/luni/src/test/java/libcore/java/util/ |
LocaleTest.java | 35 assertEquals("DDEEFF", invalid.getCountry()); 64 assertEquals("YY", unknown.getCountry()); 281 assertEquals("US", b.build().getCountry()); 310 assertEquals("", b.build().getCountry()); 315 assertEquals("", b.build().getCountry()); 368 assertEquals("US", b.build().getCountry()); 401 assertEquals("US", l.getCountry()); 417 assertEquals("FR", l.getCountry()); 462 assertEquals("", l.getCountry()); 538 assertEquals("US", l.getCountry()); [all...] |
/frameworks/base/core/java/android/speech/tts/ |
EventLoggerV1.java | 68 if (!TextUtils.isEmpty(mRequest.getCountry())) { 70 sb.append(mRequest.getCountry());
|
SynthesisRequest.java | 95 public String getCountry() {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
StructuredPostalDataItem.java | 65 public String getCountry() {
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
TelephonyManagerUtils.java | 58 countryIso = locale.getCountry();
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CountryMonitor.java | 55 return Locale.getDefault().getCountry();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
LocaleTest.java | 56 assertTrue("Failed to create Locale", x.getCountry().equals("CV") 83 && (x.getCountry().equals("CV") && x.getVariant().equals("ZZ"))); 146 * java.util.Locale#getCountry() 149 // Test for method java.lang.String java.util.Locale.getCountry() 150 assertTrue("Returned incorrect country: " + testLocale.getCountry(), 151 testLocale.getCountry().equals("CA")); 409 assertEquals("", root.getCountry());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
LocationBasedCountryDetectorTest.java | 169 public String getCountry() { 216 assertEquals("us", countryListener.getCountry().toLowerCase()); 241 assertEquals("us", countryListener.getCountry().toLowerCase()); 282 assertNull(countryListener.getCountry()); 319 assertNull(countryListener.getCountry()); 342 assertEquals("us", countryListener.getCountry().toLowerCase());
|
ComprehensiveCountryDetectorTest.java | 138 public Country getCountry() { 180 assertTrue(sameCountry(listener.getCountry(), locationBasedCountry)); 245 assertTrue(sameCountry(listener.getCountry(), null)); 261 assertTrue(sameCountry(listener.getCountry(), null));
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
NodeSortKey.java | 101 Locale.getDefault().getCountry());
|
/external/apache-xml/src/main/java/org/apache/xml/utils/res/ |
XResourceBundle.java | 103 String country = locale.getCountry();
|
/frameworks/base/core/java/android/text/style/ |
LocaleSpan.java | 58 dest.writeString(mLocale.getCountry());
|
/frameworks/base/location/java/android/location/ |
GeocoderParams.java | 90 parcel.writeString(mLocale.getCountry());
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
HelpUrl.java | 66 return locale.getLanguage() + "-" + locale.getCountry().toLowerCase();
|
/external/chromium_org/third_party/icu/source/common/unicode/ |
locid.h | 119 * itself. Use <code>getCountry</code> to get the ISO Country Code and 404 inline const char * getCountry( ) const; 761 Locale::getCountry() const
|
/external/chromium_org/third_party/libaddressinput/src/java/src/com/android/i18n/addressinput/ |
Util.java | 217 if (language.getCountry().length() > 0) { 219 languageTagBuilder.append(language.getCountry());
|
/external/icu/icu4c/source/common/unicode/ |
locid.h | 119 * itself. Use <code>getCountry</code> to get the ISO Country Code and 404 inline const char * getCountry( ) const; 761 Locale::getCountry() const
|
/packages/apps/Browser/src/com/android/browser/search/ |
SearchEngineInfo.java | 87 if (!TextUtils.isEmpty(locale.getCountry())) { 89 language.append(locale.getCountry());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
CountryDetectorServiceTest.java | 35 public Country getCountry() {
|
/packages/services/Mms/src/com/android/mms/service/ |
PhoneUtils.java | 78 country = Locale.getDefault().getCountry();
|
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
TextToSpeechTests.java | 105 assertEquals("USA", req.getValue().getCountry()); 129 assertEquals("USA", req2.getValue().getCountry()); 165 assertEquals(defaultLocale.getISO3Country(), req.getValue().getCountry());
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
LanguageActivity.java | 194 String country = target.getCountry(); 196 localeNames[i] = localeNames[i] + " (" + target.getCountry() + ")"; 237 String countryCode = Locale.getDefault().getCountry();
|