/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
D | ComprehensiveCountryDetectorTest.java | 19 import android.location.Country; 31 private Country mNotifiedCountry; 36 public void notifyLocationBasedListener(Country country) { in notifyLocationBasedListener() 62 public Country detectCountry() { in createLocationBasedCountryDetector() 75 protected Country getNetworkBasedCountry() { in getNetworkBasedCountry() 80 protected Country getLastKnownLocationBasedCountry() { in getLastKnownLocationBasedCountry() 85 protected Country getSimBasedCountry() { in getSimBasedCountry() 90 protected Country getLocaleCountry() { in getLocaleCountry() 95 protected void runAfterDetectionAsync(final Country country, final Country detectedCountry, in runAfterDetectionAsync() 127 private Country mCountry; [all …]
|
D | LocationBasedCountryDetectorTest.java | 18 import android.location.Country; 158 public void onCountryDetected(Country country) { in onCountryDetected()
|
/frameworks/base/location/tests/locationtests/src/android/location/ |
D | CountryTester.java | 23 Country countryA = new Country("US", Country.COUNTRY_SOURCE_NETWORK); in testCountryEquals() 24 Country countryB = new Country("US", Country.COUNTRY_SOURCE_LOCALE); in testCountryEquals() 25 Country countryC = new Country("CN", Country.COUNTRY_SOURCE_LOCALE); in testCountryEquals() 26 Country countryD = new Country("us", Country.COUNTRY_SOURCE_NETWORK); in testCountryEquals()
|
/frameworks/base/services/java/com/android/server/location/ |
D | ComprehensiveCountryDetector.java | 20 import android.location.Country; 77 private Country mCountry; 79 private Country mCountryFromLocation; 88 private final ConcurrentLinkedQueue<Country> mDebugLogs = new ConcurrentLinkedQueue<Country>(); 95 private Country mLastCountryAddedToLogs; 135 public void onCountryDetected(Country country) { 150 public Country detectCountry() { in detectCountry() 169 private Country getCountry() { in getCountry() 170 Country result = null; in getCountry() 188 private void addToLogs(Country country) { in addToLogs() [all …]
|
D | CountryDetectorBase.java | 20 import android.location.Country; 37 protected Country mDetectedCountry; 50 public abstract Country detectCountry(); in detectCountry() 67 protected void notifyListener(Country country) { in notifyListener()
|
D | LocationBasedCountryDetector.java | 21 import android.location.Country; 148 public synchronized Country detectCountry() { in detectCountry() 235 mDetectedCountry = new Country(countryIso, Country.COUNTRY_SOURCE_LOCATION); in queryCountryCode()
|
/frameworks/base/location/java/android/location/ |
D | Country.java | 30 public class Country implements Parcelable { class 81 public Country(final String countryIso, final int source) { in Country() method in Country 91 private Country(final String countryIso, final int source, long timestamp) { in Country() method in Country 101 public Country(Country country) { in Country() method in Country 136 public static final Parcelable.Creator<Country> CREATOR = new Parcelable.Creator<Country>() { 137 public Country createFromParcel(Parcel in) { 138 return new Country(in.readString(), in.readInt(), in.readLong()); 141 public Country[] newArray(int size) { 142 return new Country[size]; 166 if (object instanceof Country) { in equals() [all …]
|
D | ICountryListener.aidl | 19 import android.location.Country; 25 void onCountryDetected(in Country country); in onCountryDetected()
|
D | ICountryDetector.aidl | 19 import android.location.Country; 33 Country detectCountry(); in detectCountry()
|
D | CountryDetector.java | 74 public void onCountryDetected(final Country country) { in onCountryDetected() 104 public Country detectCountry() { in detectCountry()
|
D | Country.aidl | 19 parcelable Country;
|
D | CountryListener.java | 29 void onCountryDetected(Country country); in onCountryDetected()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | CountryDetectorServiceTest.java | 20 import android.location.Country; 28 private Country mCountry; 31 public void onCountryDetected(Country country) throws RemoteException { in onCountryDetected() 35 public Country getCountry() { in getCountry() 53 public void notifyReceivers(Country country) { in notifyReceivers() 82 Country country = new Country("US", Country.COUNTRY_SOURCE_NETWORK); in testNotifyListeners()
|
/frameworks/base/services/java/com/android/server/ |
D | CountryDetectorService.java | 27 import android.location.Country; 100 public Country detectCountry() { in detectCountry() 157 protected void notifyReceivers(Country country) { in notifyReceivers() 178 public void onCountryDetected(final Country country) { in initialize()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | CallerInfo.java | 23 import android.location.Country; 569 Country country = detector.detectCountry(); in getCurrentCountryIso()
|
/frameworks/base/docs/html/google/play/ |
D | filters.jd | 389 <td valign="top">Country Targeting</td> <td valign="top"> <p>When you upload your app to
|