HomeSort by relevance Sort by last modified time
    Searched refs:countryDetector (Results 1 - 4 of 4) sorted by null

  /frameworks/base/services/tests/servicestests/src/com/android/server/location/
ComprehensiveCountryDetectorTest.java 146 TestCountryDetector countryDetector = new TestCountryDetector() {
153 countryDetector.setCountryListener(listener);
154 Country country = countryDetector.detectCountry();
157 assertFalse(countryDetector.locationBasedDetectorStarted());
158 assertFalse(countryDetector.locationRefreshStarted());
159 countryDetector.stop();
167 TestCountryDetector countryDetector = new TestCountryDetector() {
174 countryDetector.setCountryListener(listener);
175 Country country = countryDetector.detectCountry();
177 assertTrue(countryDetector.locationBasedDetectorStarted())
    [all...]
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
CountryMonitor.java 21 import android.location.CountryDetector;
46 final CountryDetector countryDetector =
47 (CountryDetector) mContext.getSystemService(Context.COUNTRY_DETECTOR);
48 mCurrentCountryIso = countryDetector.detectCountry().getCountryIso();
49 countryDetector.addCountryListener(new CountryListener() {
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/
PhoneNumberTestService.java 22 import android.location.CountryDetector;
115 final CountryDetector countryDetector =
116 (CountryDetector) getSystemService(Context.COUNTRY_DETECTOR);
117 return countryDetector.detectCountry().getCountryIso();
  /frameworks/base/services/java/com/android/server/
SystemServer.java 355 CountryDetectorService countryDetector = null;
576 countryDetector = new CountryDetectorService(context);
577 ServiceManager.addService(Context.COUNTRY_DETECTOR, countryDetector);
    [all...]

Completed in 581 milliseconds