Home
last modified time | relevance | path

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

123

/aosp12/packages/services/Mms/src/com/android/mms/service/
H A DPhoneUtils.java43 final String country = getSimOrDefaultLocaleCountry(telephonyManager); in getNationalNumber() local
56 String phoneText, String country) { in getParsedNumber()
74 String country = getSimCountry(telephonyManager); in getSimOrDefaultLocaleCountry() local
84 final String country = telephonyManager.getSimCountryIso(); in getSimCountry() local
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/tests/
H A DPhoneNumberTestService.java60 final String country = intent.getStringExtra(EXTRA_COUNTRY_CODE); in onHandleIntent() local
80 private void dump(String number, String country) { in dump()
89 private void dump_PhoneNumberUtils_formatNumberToE164(String number, String country) { in dump_PhoneNumberUtils_formatNumberToE164()
94 private void dump_PhoneNumberUtil_format(String number, String country, in dump_PhoneNumberUtil_format()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/location/countrydetector/
H A 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
H A DComprehensiveCountryDetectorTest.java36 public void notifyLocationBasedListener(Country country) { in notifyLocationBasedListener()
95 protected void runAfterDetectionAsync(final Country country, final Country detectedCountry, in runAfterDetectionAsync()
/aosp12/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/zonetree/
H A DCountryZoneTreeTest.java50 Country country = parseCountry(countryText); in testSimpleCountry() local
73 Country country = parseCountry(countryText); in testCountryRequiringPriority() local
100 Country country = parseCountry(countryText); in testCountryWithPriority() local
149 Country country = parseCountry(countryText); in australiaTreeTest() local
/aosp12/frameworks/base/tests/TtsTests/src/com/android/speech/tts/
H A 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()
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiCountryCode.java143 public void onDriverCountryCodeChanged(String country) { in onDriverCountryCodeChanged()
153 public void onSetCountryCodeSucceeded(String country) { in onSetCountryCodeSucceeded()
188 String country = SystemProperties.get(BOOT_DEFAULT_WIFI_COUNTRY_CODE); in getOemDefaultCountryCode() local
219 default void onSetCountryCodeSucceeded(String country) {} in onSetCountryCodeSucceeded()
422 String country = pickCountryCode(); in updateCountryCode() local
448 private boolean setCountryCodeNative(String country) { in setCountryCodeNative()
492 private void updateDriverCountryCodeAndNotifyListener(String country) { in updateDriverCountryCodeAndNotifyListener()
/aosp12/frameworks/base/services/core/java/com/android/server/location/countrydetector/
H A 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()
/aosp12/frameworks/base/core/java/android/speech/tts/
H A 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()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
H A DLocaleUtils.java50 String country = MccTable.countryCodeForMcc(mcc); in getLocaleFromMcc() local
76 String country) { in getLocaleForLanguageCountry()
164 final String country = entry.mIso; in defaultLanguageForMcc() local
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/
H A 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
/aosp12/packages/apps/Messaging/src/com/android/messaging/util/
H A DPhoneUtils.java270 final String country = mTelephonyManager.getSimCountryIso(); in getSimCountry() local
422 final String country = subInfo.getCountryIso(); in getSimCountry() local
688 final String country = Locale.getDefault().getCountry(); in getLocaleCountry() local
701 String country = getSimCountry(); in getSimOrDefaultLocaleCountry() local
709 private static ArrayMap<String, String> getOrAddCountryMapInCacheLocked(String country) { in getOrAddCountryMapInCacheLocked()
722 private static String getCanonicalFromCache(final String phoneText, String country) { in getCanonicalFromCache()
730 private static void putCanonicalToCache(final String phoneText, String country, in putCanonicalToCache()
745 private static String getValidE164Number(final String phoneText, final String country) { in getValidE164Number()
788 private String getCanonicalByCountry(final String phoneText, final String country) { in getCanonicalByCountry()
840 final String country = getSimCountry(); in getSimNumberNoCountryCode() local
/aosp12/frameworks/base/location/java/android/location/
H A DCountryListener.java32 void onCountryDetected(Country country); in onCountryDetected()
H A DICountryListener.aidl25 void onCountryDetected(in Country country); in onCountryDetected()
H A DCountry.java103 public Country(Country country) { in Country() method in Country
198 public boolean equalsIgnoreSource(Country country) { in equalsIgnoreSource()
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DPostalSplitterTest.java99 String neighborhood, String city, String region, String postcode, String country) { in assertSplitPostal()
112 String neighborhood, String city, String region, String postcode, String country) { in assertJoinedPostal()
H A DPostalSplitterForJapaneseTest.java115 String neighborhood, String city, String region, String postcode, String country) { in assertSplitPostal()
128 String neighborhood, String city, String region, String postcode, String country) { in assertJoinedPostal()
/aosp12/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
H A DGoogleSearch.java78 String country = locale.getCountry(); in getLanguage() local
90 private static boolean useLangCountryHl(String language, String country) { in useLangCountryHl()
/aosp12/frameworks/base/core/proto/android/content/
H A Dlocale.proto29 optional string country = 2; field
/aosp12/packages/apps/Messaging/src/android/support/v7/mms/
H A DPhoneNumberHelper.java38 static String getNumberNoCountryCode(final String number, final String country) { in getNumberNoCountryCode()
/aosp12/frameworks/base/services/people/java/com/android/server/people/data/
H A DUtils.java36 Country country = detector.detectCountry(); in getCurrentCountryIso() local
/aosp12/frameworks/base/services/core/java/com/android/server/textservices/
H A DLocaleUtils.java75 final String country = systemLocale.getCountry(); in getSuitableLocalesForSpellChecker() local
/aosp12/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
H A DTzLookupFile.java163 void addCountry(Country country) { in addCountry()
188 static TzIdsProto.CountryMapping createCountryMappingProto(Country country) { in createCountryMappingProto()
227 static void writeXml(Country country, XMLStreamWriter writer) in writeXml()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DCountryMonitor.java62 Country country = null; in getCountryIso() local
/aosp12/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
H A DTzLookupGeneratorTest.java431 Country country = parseCountry(countryZonesText); in checkNormalLinks() local
484 Country country = parseCountry(countryZonesWithOldIdText); in usingOldIdsInCountryTextIsValid() local
564 Country country = parseCountry(countryZonesWithOldIdText); in usingOldLinksMissingAlias() local
607 CountryZonesFile.Country country = countryBuilder.build(); in shownInPicker_false() local
625 CountryZonesFile.Country country = countryBuilder.build(); in shownInPicker_true() local
636 CountryZonesFile.Country country = createValidCountryUs(); in notAfter() local
737 private OutputData generateOutputData(CountryZonesFile.Country country, in generateOutputData()
766 private void generateTzLookupXmlExpectFailure(CountryZonesFile.Country country, in generateTzLookupXmlExpectFailure()

123