Home
last modified time | relevance | path

Searched refs:Country (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Uwb/tests/cts/hostsidetests/multidevices/uwb/
DREADME.md6 The devices need to also obtain a valid country code to enable UWB. Country code
8 1. Country code from telephony connection (insert a working SIM card in the
10 2. Country code from Wi-Fi access points which support 80211.d (have one or more
12 3. Country code from location (turn on [location](
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DCountryMonitor.java22 import android.location.Country;
62 Country country = null; in getCountryIso()
72 public void onCountryDetected(Country country) { in getCountryIso()
/packages/modules/Telephony/services/QualifiedNetworksService/tests/src/com/android/telephony/qns/
DIwlanNetworkStatusTrackerTest.java24 import android.location.Country;
378 ArgumentCaptor<Consumer<Country>> capture = ArgumentCaptor.forClass(Consumer.class); in testIsInternationalRoaming()
381 Consumer<Country> countryConsumer = capture.getValue(); in testIsInternationalRoaming()
383 countryConsumer.accept(new Country("US", Country.COUNTRY_SOURCE_LOCATION)); in testIsInternationalRoaming()
389 countryConsumer.accept(new Country("CA", Country.COUNTRY_SOURCE_LOCATION)); in testIsInternationalRoaming()
DQnsTest.java29 import android.location.Country;
172 .thenReturn(new Country("US", Country.COUNTRY_SOURCE_LOCATION)); in stubManagers()
/packages/services/Iwlan/src/com/google/android/iwlan/
DIwlanHelper.java22 import android.location.Country;
263 private static void updateCountryCodeFromCountryDetector(Country country) { in updateCountryCodeFromCountryDetector()
268 if (country.getSource() == Country.COUNTRY_SOURCE_NETWORK in updateCountryCodeFromCountryDetector()
269 || country.getSource() == Country.COUNTRY_SOURCE_LOCATION) { in updateCountryCodeFromCountryDetector()
/packages/providers/BlockedNumberProvider/src/com/android/providers/blockednumber/
DUtils.java23 import android.location.Country;
53 final Country country = detector.detectCountry(); in getCurrentCountryIso()
/packages/apps/Dialer/java/com/android/dialer/searchfragment/
DREADME.md57 * Country-code agnostic matching for E164 normalized numbers (9177 matches
59 * Country-code agnostic matching (510333 matches 1-[510-333]-7596)
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DCallLogManagerTest.java45 import android.location.Country;
988 Country testCountry = new Country(TEST_ISO, Country.COUNTRY_SOURCE_LOCALE); in testCountryIso_newCountryDetected()
989 Country testCountry2 = new Country(TEST_ISO_2, Country.COUNTRY_SOURCE_LOCALE); in testCountryIso_newCountryDetected()
997 ArgumentCaptor<Consumer<Country>> capture = ArgumentCaptor.forClass(Consumer.class); in testCountryIso_newCountryDetected()
1000 Consumer<Country> countryConsumer = capture.getValue(); in testCountryIso_newCountryDetected()
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DIwlanNetworkStatusTracker.java21 import android.location.Country;
628 private void updateCountryCode(Country country) { in updateCountryCode()
632 if (country.getSource() == Country.COUNTRY_SOURCE_NETWORK in updateCountryCode()
633 || country.getSource() == Country.COUNTRY_SOURCE_LOCATION) { in updateCountryCode()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallLogManager.java30 import android.location.Country;
125 private Country mCurrentCountry;
633 private String getCountryIsoFromCountry(Country country) { in getCountryIsoFromCountry()
668 private void countryCodeConsumer(Country newCountry) { in countryCodeConsumer()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java49 import android.location.Country;
111 private Country mMockCountry = new Country("us", 0);
123 public Country detectCountry() {
/packages/modules/Wifi/service/tests/wifitests/assets/
Druckus.PerProviderSubscription.conf23 7:Country=2:US
Dr1.PerProviderSubscription.conf40 7:Country=2:US
Dr2.PerProviderSubscription.conf23 7:Country=2:US
/packages/providers/BlockedNumberProvider/tests/src/com/android/providers/blockednumber/
DBlockedNumberProviderTest.java40 import android.location.Country;
85 .thenReturn(new Country("US", Country.COUNTRY_SOURCE_LOCATION)); in setUp()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DNetworkDetail.java218 InformationElementUtil.Country country = in NetworkDetail()
219 new InformationElementUtil.Country(); in NetworkDetail()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DInformationElementUtilTest.java2531 InformationElementUtil.Country country = new InformationElementUtil.Country(); in getCountryCodeWithCountryIE()
/packages/modules/AdServices/adservices/apk/assets/classifier/
Dtopic_id_to_name.csv32 10031 /Arts & Entertainment/Music & Audio/Country Music
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DInformationElementUtil.java2764 public static class Country { class in InformationElementUtil