/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
D | LocationBasedCountryDetectorTest.java | 169 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()
|
D | ComprehensiveCountryDetectorTest.java | 138 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/ |
D | EventLoggerV1.java | 68 if (!TextUtils.isEmpty(mRequest.getCountry())) { in getLocaleString() 70 sb.append(mRequest.getCountry()); in getLocaleString()
|
D | SynthesisRequest.java | 95 public String getCountry() { in getCountry() method in SynthesisRequest
|
D | TextToSpeechService.java | 257 if (locale.getCountry().isEmpty()) { in getExpectedLanguageAvailableStatus() 978 request.setLanguage(getLanguage(), getCountry(), getVariant()); in setRequestParams() 1004 private String getCountry() { in getCountry() method in TextToSpeechService.SynthesisSpeechItemV1
|
D | TtsEngines.java | 448 String country = ttsLocale.getCountry(); in normalizeTTSLocale()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ComprehensiveCountryDetector.java | 168 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/ |
D | TextToSpeechTests.java | 112 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/ |
D | GeocoderParams.java | 90 parcel.writeString(mLocale.getCountry()); in writeToParcel()
|
D | Address.java | 535 parcel.writeString(mLocale.getCountry()); in writeToParcel()
|
/frameworks/base/core/java/android/text/style/ |
D | LocaleSpan.java | 68 dest.writeString(mLocale.getCountry()); in writeToParcelInternal()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CountryDetectorServiceTest.java | 35 public Country getCountry() { in getCountry() method in CountryDetectorServiceTest.CountryListenerTester
|
/frameworks/base/telephony/java/android/telephony/ |
D | PhoneNumberFormattingTextWatcher.java | 60 this(Locale.getDefault().getCountry()); in PhoneNumberFormattingTextWatcher()
|
D | PhoneNumberUtils.java | 1185 String country = locale.getCountry(); in getFormatTypeForLocale() 2053 countryIso = locale.getCountry(); in isLocalEmergencyNumberInternal()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | MccTable.java | 292 l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getLocaleForLanguageCountry() 297 if (l.getCountry().equals(target.getCountry())) { in getLocaleForLanguageCountry()
|
D | PhoneBase.java | 453 if (carrierLocale != null && !TextUtils.isEmpty(carrierLocale.getCountry())) { in PhoneBase() 454 final String country = carrierLocale.getCountry(); in PhoneBase()
|
/frameworks/base/core/java/android/content/res/ |
D | Configuration.java | 1154 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/ |
D | LocalePicker.java | 107 || l.getLanguage().isEmpty() || l.getCountry().isEmpty()) { in getAllAssetLocales()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 298 String country = loc.getCountry(); in getLocaleData()
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodUtils.java | 412 !TextUtils.equals(subtypeLocale.getCountry(), locale.getCountry())) { in containsSubtypeOf() 1355 final String country = systemLocale.getCountry(); in getSuitableLocalesForSpellChecker()
|
/frameworks/base/core/java/android/text/util/ |
D | Linkify.java | 456 Locale.getDefault().getCountry(), Leniency.POSSIBLE, Long.MAX_VALUE); in gatherTelLinks()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfo.java | 609 countryIso = locale.getCountry(); in getCurrentCountryIso()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 194 String country = locale.getCountry(); in MtpDatabase()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardEntry.java | 714 public String getCountry() { in getCountry() method in VCardEntry.PostalData
|
/frameworks/base/api/ |
D | current.txt | 29090 method public java.lang.String getCountry(); 51182 method public java.lang.String getCountry();
|