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/
DEventLogger.java165 if (!TextUtils.isEmpty(mRequest.getCountry())) { in getLocaleString()
167 sb.append(mRequest.getCountry()); in getLocaleString()
DSynthesisRequest.java68 public String getCountry() { in getCountry() method in SynthesisRequest
DTextToSpeechService.java585 request.setLanguage(getLanguage(), getCountry(), getVariant()); in setRequestParams()
614 private String getCountry() { in getCountry() method in TextToSpeechService.SynthesisSpeechItem
/frameworks/base/services/java/com/android/server/location/
DComprehensiveCountryDetector.java169 private Country getCountry() { in getCountry() method in ComprehensiveCountryDetector
258 return new Country(defaultLocale.getCountry(), Country.COUNTRY_SOURCE_LOCALE); in getLocaleCountry()
272 Country country = getCountry(); in detectCountry()
/frameworks/base/core/java/android/text/style/
DLocaleSpan.java58 dest.writeString(mLocale.getCountry()); in writeToParcel()
/frameworks/base/location/java/android/location/
DGeocoderParams.java90 parcel.writeString(mLocale.getCountry()); in writeToParcel()
DAddress.java535 parcel.writeString(mLocale.getCountry()); in writeToParcel()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DTextToSpeechTests.java94 assertEquals("USA", req.getValue().getCountry()); in testSetLanguage_availableLanguage()
115 assertEquals("USA", req2.getValue().getCountry()); in testSetLanguage_unavailableLanguage()
/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.java1173 String country = locale.getCountry(); in getFormatTypeForLocale()
1807 countryIso = locale.getCountry(); in isLocalEmergencyNumberInternal()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java133 String country = loc.getCountry(); in getLocaleData()
/frameworks/base/core/java/android/webkit/
DWebSettingsClassic.java169 public String getCountry() { return mCountry; } in getCountry() method in WebSettingsClassic.AutoFillProfile
360 String country = locale.getCountry(); in addLocaleToHttpAcceptLanguage()
412 final String country = locale.getCountry(); in getDefaultUserAgentForLocale()
/frameworks/base/core/java/android/content/res/
DConfiguration.java1045 dest.writeString(locale.getCountry()); in writeToParcel()
1135 n = this.locale.getCountry().compareTo(that.locale.getCountry()); in compareTo()
DResources.java1465 if (mConfiguration.locale.getCountry() != null) { in updateConfiguration()
1466 locale += "-" + mConfiguration.locale.getCountry(); in updateConfiguration()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCallerInfo.java573 countryIso = locale.getCountry(); in getCurrentCountryIso()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java161 String country = locale.getCountry(); in MtpDatabase()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardEntry.java713 public String getCountry() { in getCountry() method in VCardEntry.PostalData
/frameworks/base/services/java/com/android/server/am/
DActivityManagerService.java12425 SystemProperties.set("user.region", l.getCountry()); in saveLocaleLocked()
12430 SystemProperties.set("persist.sys.country", l.getCountry()); in saveLocaleLocked()
/frameworks/base/api/
D14.txt18761 method public java.lang.String getCountry();
36644 method public java.lang.String getCountry();
D15.txt18890 method public java.lang.String getCountry();
36799 method public java.lang.String getCountry();
D16.txt19882 method public java.lang.String getCountry();
38081 method public java.lang.String getCountry();
D17.txt20527 method public java.lang.String getCountry();
38945 method public java.lang.String getCountry();

12