Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/location/
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.java38 protected int onIsLanguageAvailable(String lang, String country, String variant) { in onIsLanguageAvailable()
48 protected int onLoadLanguage(String lang, String country, String variant) { in onLoadLanguage()
63 int onIsLanguageAvailable(String lang, String country, String variant); in onIsLanguageAvailable()
67 int onLoadLanguage(String lang, String country, String variant); in onLoadLanguage()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DCountryDetectorServiceTest.java31 public void onCountryDetected(Country country) throws RemoteException { in onCountryDetected()
53 public void notifyReceivers(Country country) { in notifyReceivers()
82 Country country = new Country("US", Country.COUNTRY_SOURCE_NETWORK); in testNotifyListeners() local
/frameworks/base/services/java/com/android/server/location/
DComprehensiveCountryDetector.java188 private void addToLogs(Country country) { in addToLogs()
272 Country country = getCountry(); in detectCountry() local
282 protected void runAfterDetectionAsync(final Country country, final Country detectedCountry, in runAfterDetectionAsync()
313 void runAfterDetection(final Country country, final Country detectedCountry, in runAfterDetection()
394 private void notifyIfCountryChanged(final Country country, final Country detectedCountry) { in notifyIfCountryChanged()
DCountryDetectorBase.java67 protected void notifyListener(Country country) { in notifyListener()
DLocationBasedCountryDetector.java75 String country = null; in getCountryFromLocation() local
/frameworks/base/core/tests/coretests/src/android/util/
DTimeUtilsTest.java387 String country = world[i]; in testWorld() local
411 String country = world[i]; in testWorldWeird() local
424 private static TimeZone guess(Calendar c, String country) { in guess()
/frameworks/base/core/java/android/speech/tts/
DITextToSpeechService.aidl128 int isLanguageAvailable(in String lang, in String country, in String variant); in isLanguageAvailable()
143 String[] getFeaturesForLanguage(in String lang, in String country, in String variant); in getFeaturesForLanguage()
160 int loadLanguage(in IBinder caller, in String lang, in String country, in String variant); in loadLanguage()
DSynthesisRequest.java103 void setLanguage(String language, String country, String variant) { in setLanguage()
DTextToSpeechService.java146 protected abstract int onIsLanguageAvailable(String lang, String country, String variant); in onIsLanguageAvailable()
183 protected abstract int onLoadLanguage(String lang, String country, String variant); in onLoadLanguage()
214 protected Set<String> onGetFeaturesForLanguage(String lang, String country, String variant) { in onGetFeaturesForLanguage()
751 Bundle params, String language, String country, String variant) { in LoadLanguageItem()
DTtsEngines.java337 final String country = Settings.Secure.getString(cr, Settings.Secure.TTS_DEFAULT_COUNTRY); in getV1Locale() local
/frameworks/base/location/java/android/location/
DICountryListener.aidl25 void onCountryDetected(in Country country); in onCountryDetected()
DCountryListener.java29 void onCountryDetected(Country country); in onCountryDetected()
DCountry.java101 public Country(Country country) { in Country() method in Country
194 public boolean equalsIgnoreSource(Country country) { in equalsIgnoreSource()
DCountryDetector.java74 public void onCountryDetected(final Country country) { in onCountryDetected()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java138 String country = loc.getCountry(); in getLocaleData() local
162 String country = size > 4 ? new String(data, 3, 2) : ""; in setLocaleData() local
/frameworks/base/core/java/android/util/
DTimeUtils.java63 public static TimeZone getTimeZone(int offset, boolean dst, long when, String country) { in getTimeZone()
109 public static ArrayList<TimeZone> getTimeZonesWithUniqueOffsets(String country) { in getTimeZonesWithUniqueOffsets()
158 public static ArrayList<TimeZone> getTimeZones(String country) { in getTimeZones()
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/
DTimeZoneInfo.java57 public TimeZoneInfo(TimeZone tz, String country) { in TimeZoneInfo()
231 final String country = this.mCountry; in toString() local
DTimeZoneData.java406 String country = mCountryCodeToNameMap.get(countryCode); in loadTzsInZoneTab() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSmsUsageMonitor.java278 private ShortCodePatternMatcher getPatternMatcherFromFile(String country) { in getPatternMatcherFromFile()
301 private ShortCodePatternMatcher getPatternMatcherFromResource(String country) { in getPatternMatcherFromResource()
313 String country) { in getPatternMatcherFromXmlParser()
/frameworks/base/services/java/com/android/server/
DCountryDetectorService.java157 protected void notifyReceivers(Country country) { in notifyReceivers()
/frameworks/base/core/java/com/android/internal/app/
DLocalePicker.java137 String country = s.substring(3, 5); in constructAdapter() local
/frameworks/base/wifi/java/android/net/wifi/
DIWifiManager.aidl62 void setCountryCode(String country, boolean persist); in setCountryCode()
/frameworks/base/core/java/android/webkit/
DWebSettingsClassic.java145 String city, String state, String zipCode, String country, in AutoFillProfile()
360 String country = locale.getCountry(); in addLocaleToHttpAcceptLanguage() local
412 final String country = locale.getCountry(); in getDefaultUserAgentForLocale() local

12