Home
last modified time | relevance | path

Searched defs:country (Results 1 – 25 of 32) 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.java389 String country = world[i]; in testWorld() local
413 String country = world[i]; in testWorldWeird() local
426 private static TimeZone guess(Calendar c, String country) { in guess()
/frameworks/base/core/java/android/speech/tts/
DITextToSpeechService.aidl114 int isLanguageAvailable(in String lang, in String country, in String variant); in isLanguageAvailable()
129 String[] getFeaturesForLanguage(in String lang, in String country, in String variant); in getFeaturesForLanguage()
144 int loadLanguage(in String lang, in String country, in String variant); in loadLanguage()
DSynthesisRequest.java103 void setLanguage(String language, String country, String variant) { in setLanguage()
DTextToSpeechService.java142 protected abstract int onIsLanguageAvailable(String lang, String country, String variant); in onIsLanguageAvailable()
177 protected abstract int onLoadLanguage(String lang, String country, String variant); in onLoadLanguage()
208 protected Set<String> onGetFeaturesForLanguage(String lang, String country, String variant) { in onGetFeaturesForLanguage()
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.java123 String country = loc.getCountry(); in getLocaleData() local
147 String country = size > 4 ? new String(data, 3, 2) : ""; in setLocaleData() local
/frameworks/base/core/java/android/util/
DTimeUtils.java60 public static TimeZone getTimeZone(int offset, boolean dst, long when, String country) { in getTimeZone()
106 public static ArrayList<TimeZone> getTimeZonesWithUniqueOffsets(String country) { in getTimeZonesWithUniqueOffsets()
155 public static ArrayList<TimeZone> getTimeZones(String country) { in getTimeZones()
/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.java103 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/telephony/java/com/android/internal/telephony/cdma/
DCdmaLteUiccRecords.java353 String country = null; in setLocaleFromCsim() local
/frameworks/base/core/java/android/webkit/
DWebSettingsClassic.java144 String city, String state, String zipCode, String country, in AutoFillProfile()
359 String country = locale.getCountry(); in addLocaleToHttpAcceptLanguage() local
396 final String country = locale.getCountry(); in getCurrentUserAgent() local
/frameworks/base/native/android/
Dconfiguration.cpp141 void AConfiguration_setCountry(AConfiguration* config, const char* country) { in AConfiguration_setCountry()
/frameworks/base/telephony/java/android/telephony/
DPhoneNumberUtils.java1173 String country = locale.getCountry(); in getFormatTypeForLocale() local
2071 private static int getFormatTypeFromCountryCode (String country) { in getFormatTypeFromCountryCode()

12