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

  /frameworks/base/location/java/android/location/
CountryListener.java 25 public interface CountryListener {
CountryDetector.java 53 * The class to wrap the ICountryListener.Stub and CountryListener objects
54 * together. The CountryListener will be notified through the specific
59 private final CountryListener mListener;
63 public ListenerTransport(CountryListener listener, Looper looper) {
83 private final HashMap<CountryListener, ListenerTransport> mListeners;
93 mListeners = new HashMap<CountryListener, ListenerTransport>();
120 public void addCountryListener(CountryListener listener, Looper looper) {
137 public void removeCountryListener(CountryListener listener) {
  /frameworks/base/services/core/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;
49 * {@link #setCountryListener(CountryListener)}
132 private CountryListener mLocationBasedCountryDetectionListener = new CountryListener() {
293 public void setCountryListener(CountryListener listener) {
294 CountryListener prevListener = mListener;
357 private synchronized void startLocationBasedDetector(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/tests/servicestests/src/com/android/server/
CountryDetectorServiceTest.java 21 import android.location.CountryListener;
46 private CountryListener mListener;
58 protected void setCountryListener(final CountryListener listener) {
  /frameworks/base/services/core/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) {
  /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/services/Telecomm/tests/src/com/android/server/telecom/tests/
CallLogManagerTest.java 28 import android.location.CountryListener;
639 ArgumentCaptor<CountryListener> captor = verifyCountryIso(mockDetector, resultIso);
642 CountryListener listener = captor.getValue();
649 private ArgumentCaptor<CountryListener> verifyCountryIso(CountryDetector mockDetector,
651 ArgumentCaptor<CountryListener> captor = ArgumentCaptor.forClass(CountryListener.class);
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
CallLogManager.java 24 import android.location.CountryListener;
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsActor.java 44 import android.location.CountryListener;
113 public void addCountryListener(CountryListener listener, Looper looper) {
  /frameworks/base/
compiled-classes-phone     [all...]

Completed in 388 milliseconds