Home
last modified time | relevance | path

Searched defs:country (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/location/countrydetector/
DLocationBasedCountryDetectorTest.java46 public TestCountryDetector(String country, String provider) { in TestCountryDetector()
50 public TestCountryDetector(String country, String provider, long queryLocationTimeout) { in TestCountryDetector()
158 public void onCountryDetected(Country country) { in onCountryDetected()
183 final String country = "us"; in testFindingCountryCommon() local
220 final String country = "us"; in testFindingCountryCancelled() local
245 final String country = "us"; in testFindingLocationCancelled() local
263 final String country = "us"; in testFindingLocationFailed() local
286 final String country = "us"; in testFindingCountryFailed() local
323 final String country = "us"; in testFindingCountryWithLastKnownLocation() local
DComprehensiveCountryDetectorTest.java36 public void notifyLocationBasedListener(Country country) { in notifyLocationBasedListener()
95 protected void runAfterDetectionAsync(final Country country, final Country detectedCountry, in runAfterDetectionAsync()
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
DMockableTextToSpeechService.java40 protected int onIsLanguageAvailable(String lang, String country, String variant) { in onIsLanguageAvailable()
50 protected int onLoadLanguage(String lang, String country, String variant) { in onLoadLanguage()
65 int onIsLanguageAvailable(String lang, String country, String variant); in onIsLanguageAvailable()
69 int onLoadLanguage(String lang, String country, String variant); in onLoadLanguage()
/frameworks/base/location/java/android/location/
DCountryListener.java34 void onCountryDetected(Country country); in onCountryDetected()
39 default void accept(Country country) { in accept()
DICountryListener.aidl25 void onCountryDetected(in Country country); in onCountryDetected()
DCountry.java124 public Country(Country country) { in Country() method in Country
242 public boolean equalsIgnoreSource(Country country) { in equalsIgnoreSource()
DCountryDetector.java81 public void onCountryDetected(final Country country) { in onCountryDetected()
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
DComprehensiveCountryDetector.java187 private void addToLogs(Country country) { in addToLogs()
271 Country country = getCountry(); in detectCountry() local
281 protected void runAfterDetectionAsync(final Country country, final Country detectedCountry, in runAfterDetectionAsync()
312 void runAfterDetection(final Country country, final Country detectedCountry, in runAfterDetection()
400 private void notifyIfCountryChanged(final Country country, final Country detectedCountry) { in notifyIfCountryChanged()
DCountryDetectorBase.java69 protected void notifyListener(Country country) { in notifyListener()
DLocationBasedCountryDetector.java76 String country = null; in getCountryFromLocation() local
/frameworks/base/core/java/android/speech/tts/
DITextToSpeechService.aidl134 int isLanguageAvailable(in String lang, in String country, in String variant); in isLanguageAvailable()
149 String[] getFeaturesForLanguage(in String lang, in String country, in String variant); in getFeaturesForLanguage()
166 int loadLanguage(in IBinder caller, in String lang, in String country, in String variant); in loadLanguage()
209 String getDefaultVoiceNameFor(in String lang, in String country, in String variant); in getDefaultVoiceNameFor()
DTtsEngines.java97 normalizeCountry.put(new Locale("", country).getISO3Country(), country); in normalizeCountry.put() argument
386 String language = "", country = "", variant = ""; in parseLocaleString() local
455 String country = ttsLocale.getCountry(); in normalizeTTSLocale() local
DSynthesisRequest.java137 void setLanguage(String language, String country, String variant) { in setLanguage()
DTextToSpeechService.java178 protected abstract int onIsLanguageAvailable(String lang, String country, String variant); in onIsLanguageAvailable()
218 protected abstract int onLoadLanguage(String lang, String country, String variant); in onLoadLanguage()
248 protected Set<String> onGetFeaturesForLanguage(String lang, String country, String variant) { in onGetFeaturesForLanguage()
319 public String onGetDefaultVoiceNameFor(String lang, String country, String variant) { in onGetDefaultVoiceNameFor()
1207 String language, String country, String variant) { in LoadLanguageItem()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DLocaleUtils.java50 String country = MccTable.countryCodeForMcc(mcc); in getLocaleFromMcc() local
76 String country) { in getLocaleForLanguageCountry()
164 final String country = entry.mIso; in defaultLanguageForMcc() local
/frameworks/base/services/tests/servicestests/src/com/android/server/
DCountryDetectorServiceTest.java64 public void onCountryDetected(Country country) { in onCountryDetected()
85 public void notifyReceivers(Country country) { in notifyReceivers()
177 Country country = new Country("US", Country.COUNTRY_SOURCE_NETWORK); in notifyReceivers_twoListenersRegistered_bothNotified() local
/frameworks/base/core/proto/android/content/
Dlocale.proto29 optional string country = 2; field
/frameworks/base/services/people/java/com/android/server/people/data/
DUtils.java36 Country country = detector.detectCountry(); in getCurrentCountryIso() local
/frameworks/base/services/core/java/com/android/server/textservices/
DLocaleUtils.java75 final String country = systemLocale.getCountry(); in getSuitableLocalesForSpellChecker() local
/frameworks/base/services/core/java/com/android/server/
DCountryDetectorService.java151 final Country country = detectCountry(); in addListener() local
176 protected void notifyReceivers(Country country) { in notifyReceivers()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java56 public TimeZoneInfo(TimeZone tz, String country) { in TimeZoneInfo()
197 final String country = this.mCountry; in toString() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java281 private ShortCodePatternMatcher getPatternMatcherFromFile(String country) { in getPatternMatcherFromFile()
304 private ShortCodePatternMatcher getPatternMatcherFromResource(String country) { in getPatternMatcherFromResource()
316 String country) { in getPatternMatcherFromXmlParser()
/frameworks/opt/localepicker/src/com/android/localepicker/
DLocaleStore.java249 final String country = locale.getCountry(); in addSuggestedLocalesForRegion() local
306 final String country = li.getLocale().getCountry(); in fillCache() local
DLocaleHelper.java142 final String country = ULocale.getDisplayCountry(languageTag, uDisplayLocale); in getDisplayCountry() local
/frameworks/base/core/java/com/android/internal/app/
DLocaleHelper.java117 final String country = ULocale.getDisplayCountry(languageTag, uDisplayLocale); in getDisplayCountry() local

12