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

  /frameworks/base/services/tests/servicestests/src/com/android/server/location/
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...]
ComprehensiveCountryDetectorTest.java 20 import android.location.CountryListener;
125 private class CountryListenerImpl implements CountryListener {
  /frameworks/base/location/java/android/location/
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) {
CountryListener.java 25 public interface CountryListener {
  /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) {
  /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/providers/ContactsProvider/src/com/android/providers/contacts/
CountryMonitor.java 22 import android.location.CountryListener;
59 countryDetector.addCountryListener(new CountryListener() {
  /frameworks/base/services/java/com/android/server/
CountryDetectorService.java 28 import android.location.CountryListener;
91 private CountryListener mLocationBasedDetectorListener;
177 mLocationBasedDetectorListener = new CountryListener() {
194 protected void setCountryListener(final CountryListener listener) {
  /packages/apps/Mms/src/com/android/mms/
MmsApp.java 27 import android.location.CountryListener;
53 private CountryListener mCountryListener;
79 mCountryListener = new CountryListener() {
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsActor.java 41 import android.location.CountryListener;
101 public void addCountryListener(CountryListener listener, Looper looper) {

Completed in 763 milliseconds