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

  /frameworks/base/location/java/android/location/
CountryListener.java 25 public interface CountryListener {
CountryDetector.java 55 * The class to wrap the ICountryListener.Stub and CountryListener objects
56 * together. The CountryListener will be notified through the specific
61 private final CountryListener mListener;
65 public ListenerTransport(CountryListener listener, Looper looper) {
85 private final HashMap<CountryListener, ListenerTransport> mListeners;
95 mListeners = new HashMap<CountryListener, ListenerTransport>();
122 public void addCountryListener(CountryListener listener, Looper looper) {
139 public void removeCountryListener(CountryListener listener) {
  /frameworks/base/services/java/com/android/server/location/
CountryDetectorBase.java 21 import android.location.CountryListener;
36 protected CountryListener mListener;
57 public void setCountryListener(CountryListener listener) {
ComprehensiveCountryDetector.java 21 import android.location.CountryListener;
50 * {@link #setCountryListener(CountryListener)}
133 private CountryListener mLocationBasedCountryDetectionListener = new CountryListener() {
294 public void setCountryListener(CountryListener listener) {
295 CountryListener prevListener = mListener;
358 private synchronized void startLocationBasedDetector(CountryListener listener) {
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
CountryMonitor.java 22 import android.location.CountryListener;
49 countryDetector.addCountryListener(new CountryListener() {
  /frameworks/base/services/tests/servicestests/src/com/android/server/
CountryDetectorServiceTest.java 21 import android.location.CountryListener;
46 private CountryListener mListener;
58 protected void setCountryListener(final CountryListener listener) {
  /packages/apps/Mms/src/com/android/mms/
MmsApp.java 40 import android.location.CountryListener;
53 private CountryListener mCountryListener;
68 mCountryListener = new CountryListener() {
  /frameworks/base/services/java/com/android/server/
CountryDetectorService.java 27 import android.location.CountryListener;
92 private CountryListener mLocationBasedDetectorListener;
178 mLocationBasedDetectorListener = new CountryListener() {
198 protected void setCountryListener(final CountryListener listener) {
  /frameworks/base/services/tests/servicestests/src/com/android/server/location/
ComprehensiveCountryDetectorTest.java 20 import android.location.CountryListener;
125 private class CountryListenerImpl implements CountryListener {
LocationBasedCountryDetectorTest.java 19 import android.location.CountryListener;
155 private class CountryListenerImpl implements CountryListener {
185 CountryListenerImpl countryListener = new CountryListenerImpl();
192 detector.setCountryListener(countryListener);
215 assertTrue(countryListener.notified());
216 assertEquals("us", countryListener.getCountry().toLowerCase());
222 CountryListenerImpl countryListener = new CountryListenerImpl();
224 detector.setCountryListener(countryListener);
240 assertTrue(countryListener.notified());
241 assertEquals("us", countryListener.getCountry().toLowerCase())
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsActor.java 41 import android.location.CountryListener;
98 public void addCountryListener(CountryListener listener, Looper looper) {

Completed in 578 milliseconds