Home
last modified time | relevance | path

Searched refs:getCountry (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/location/
DLocationBasedCountryDetectorTest.java169 public String getCountry() { in getCountry() method in LocationBasedCountryDetectorTest.CountryListenerImpl
216 assertEquals("us", countryListener.getCountry().toLowerCase()); in testFindingCountryCommon()
241 assertEquals("us", countryListener.getCountry().toLowerCase()); in testFindingCountryCancelled()
282 assertNull(countryListener.getCountry()); in testFindingLocationFailed()
319 assertNull(countryListener.getCountry()); in testFindingCountryFailed()
342 assertEquals("us", countryListener.getCountry().toLowerCase()); in testFindingCountryWithLastKnownLocation()
DComprehensiveCountryDetectorTest.java138 public Country getCountry() {
180 assertTrue(sameCountry(listener.getCountry(), locationBasedCountry));
245 assertTrue(sameCountry(listener.getCountry(), null));
261 assertTrue(sameCountry(listener.getCountry(), null));
/frameworks/base/core/java/android/speech/tts/
DEventLoggerV1.java68 if (!TextUtils.isEmpty(mRequest.getCountry())) { in getLocaleString()
70 sb.append(mRequest.getCountry()); in getLocaleString()
DSynthesisRequest.java95 public String getCountry() { in getCountry() method in SynthesisRequest
DTextToSpeechService.java257 if (locale.getCountry().isEmpty()) { in getExpectedLanguageAvailableStatus()
978 request.setLanguage(getLanguage(), getCountry(), getVariant()); in setRequestParams()
1004 private String getCountry() { in getCountry() method in TextToSpeechService.SynthesisSpeechItemV1
DTtsEngines.java448 String country = ttsLocale.getCountry(); in normalizeTTSLocale()
/frameworks/base/services/core/java/com/android/server/location/
DComprehensiveCountryDetector.java168 private Country getCountry() { in getCountry() method in ComprehensiveCountryDetector
257 return new Country(defaultLocale.getCountry(), Country.COUNTRY_SOURCE_LOCALE); in getLocaleCountry()
271 Country country = getCountry(); in detectCountry()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java112 assertEquals("USA", req.getValue().getCountry()); in testSetLanguage_availableLanguage()
136 assertEquals("USA", req2.getValue().getCountry()); in testSetLanguage_unavailableLanguage()
179 assertEquals(defaultLocale.getISO3Country(), req.getValue().getCountry()); in testDefaultLanguage_setsVoiceName()
/frameworks/base/location/java/android/location/
DGeocoderParams.java90 parcel.writeString(mLocale.getCountry()); in writeToParcel()
DAddress.java535 parcel.writeString(mLocale.getCountry()); in writeToParcel()
/frameworks/base/core/java/android/text/style/
DLocaleSpan.java68 dest.writeString(mLocale.getCountry()); in writeToParcelInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DCountryDetectorServiceTest.java35 public Country getCountry() { in getCountry() method in CountryDetectorServiceTest.CountryListenerTester
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberFormattingTextWatcher.java60 this(Locale.getDefault().getCountry()); in PhoneNumberFormattingTextWatcher()
DPhoneNumberUtils.java1185 String country = locale.getCountry(); in getFormatTypeForLocale()
2053 countryIso = locale.getCountry(); in isLocalEmergencyNumberInternal()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java292 l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getLocaleForLanguageCountry()
297 if (l.getCountry().equals(target.getCountry())) { in getLocaleForLanguageCountry()
DPhoneBase.java453 if (carrierLocale != null && !TextUtils.isEmpty(carrierLocale.getCountry())) { in PhoneBase()
454 final String country = carrierLocale.getCountry(); in PhoneBase()
/frameworks/base/core/java/android/content/res/
DConfiguration.java1154 dest.writeString(locale.getCountry()); in writeToParcel()
1244 n = this.locale.getCountry().compareTo(that.locale.getCountry()); in compareTo()
1376 boolean c = (locale.getCountry().length() != 0); in localeToResourceQualifier()
1383 sb.append("-r").append(locale.getCountry()); in localeToResourceQualifier()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java107 || l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getAllAssetLocales()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java298 String country = loc.getCountry(); in getLocaleData()
/frameworks/base/core/java/com/android/internal/inputmethod/
DInputMethodUtils.java412 !TextUtils.equals(subtypeLocale.getCountry(), locale.getCountry())) { in containsSubtypeOf()
1355 final String country = systemLocale.getCountry(); in getSuitableLocalesForSpellChecker()
/frameworks/base/core/java/android/text/util/
DLinkify.java456 Locale.getDefault().getCountry(), Leniency.POSSIBLE, Long.MAX_VALUE); in gatherTelLinks()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java609 countryIso = locale.getCountry(); in getCurrentCountryIso()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java194 String country = locale.getCountry(); in MtpDatabase()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java714 public String getCountry() { in getCountry() method in VCardEntry.PostalData
/frameworks/base/api/
Dcurrent.txt29090 method public java.lang.String getCountry();
51182 method public java.lang.String getCountry();

12