Searched refs:Country (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/location/java/android/location/
H A DCountry.aidl19 parcelable Country
H A DCountryListener.java29 void onCountryDetected(Country country);
H A DICountryListener.aidl19 import android.location.Country;
25 void onCountryDetected(in Country country);
H A DICountryDetector.aidl19 import android.location.Country;
33 Country detectCountry();
H A DCountry.java30 public class Country implements Parcelable { class in inherits:Parcelable
81 public Country(final String countryIso, final int source) { method in class:Country
91 private Country(final String countryIso, final int source, long timestamp) { method in class:Country
101 public Country(Country country) { method in class: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[] newArra
[all...]
H A DCountryDetector.java74 public void onCountryDetected(final Country country) {
104 public Country detectCountry() {
/frameworks/base/location/tests/locationtests/src/android/location/
H A DCountryTester.java23 Country countryA = new Country("US", Country.COUNTRY_SOURCE_NETWORK);
24 Country countryB = new Country("US", Country.COUNTRY_SOURCE_LOCALE);
25 Country countryC = new Country("CN", Country.COUNTRY_SOURCE_LOCALE);
26 Country country
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
H A DComprehensiveCountryDetectorTest.java19 import android.location.Country;
31 private Country mNotifiedCountry;
36 public void notifyLocationBasedListener(Country country) {
62 public Country detectCountry() {
75 protected Country getNetworkBasedCountry() {
80 protected Country getLastKnownLocationBasedCountry() {
85 protected Country getSimBasedCountry() {
90 protected Country getLocaleCountry() {
95 protected void runAfterDetectionAsync(final Country country, final Country detectedCountr
[all...]
H A DLocationBasedCountryDetectorTest.java18 import android.location.Country;
158 public void onCountryDetected(Country country) {
/frameworks/base/services/java/com/android/server/location/
H A DCountryDetectorBase.java20 import android.location.Country;
37 protected Country mDetectedCountry;
50 public abstract Country detectCountry();
67 protected void notifyListener(Country country) {
H A DComprehensiveCountryDetector.java20 import android.location.Country;
77 private Country mCountry;
79 private Country mCountryFromLocation;
88 private final ConcurrentLinkedQueue<Country> mDebugLogs = new ConcurrentLinkedQueue<Country>();
91 * Most recent {@link Country} result that was added to the debug logs {@link #mDebugLogs}.
92 * We keep track of this value to help prevent adding many of the same {@link Country} objects
95 private Country mLastCountryAddedToLogs;
135 public void onCountryDetected(Country country) {
136 if (DEBUG) Slog.d(TAG, "Country detecte
[all...]
H A DLocationBasedCountryDetector.java21 import android.location.Country;
148 public synchronized Country detectCountry() {
235 mDetectedCountry = new Country(countryIso, Country.COUNTRY_SOURCE_LOCATION);
/frameworks/base/services/tests/servicestests/src/com/android/server/
H A DCountryDetectorServiceTest.java20 import android.location.Country;
28 private Country mCountry;
31 public void onCountryDetected(Country country) throws RemoteException {
35 public Country getCountry() {
53 public void notifyReceivers(Country country) {
82 Country country = new Country("US", Country.COUNTRY_SOURCE_NETWORK);
/frameworks/base/services/java/com/android/server/
H A DCountryDetectorService.java27 import android.location.Country;
100 public Country detectCountry() {
157 protected void notifyReceivers(Country country) {
178 public void onCountryDetected(final Country country) {
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DCallerInfo.java23 import android.location.Country;
569 Country country = detector.detectCountry();

Completed in 1507 milliseconds