HomeSort by relevance Sort by last modified time
    Searched full:gps_provider (Results 1 - 25 of 31) sorted by null

1 2

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
LocationManagerTest.java 21 import static android.location.LocationManager.GPS_PROVIDER;
42 Boolean enabled = locationManager.isProviderEnabled(GPS_PROVIDER);
53 shadowLocationManager.setProviderEnabled(GPS_PROVIDER, true);
54 shadowLocationManager.setProviderEnabled(GPS_PROVIDER, false);
55 assertFalse(locationManager.isProviderEnabled(GPS_PROVIDER));
76 shadowLocationManager.setProviderEnabled(GPS_PROVIDER, false);
88 shadowLocationManager.setProviderEnabled(GPS_PROVIDER, true);
91 assertTrue(providers.contains(GPS_PROVIDER));
97 assertTrue(providers.contains(GPS_PROVIDER));
115 Location gpsLocation = new Location(GPS_PROVIDER);
    [all...]
LocationTest.java 21 location = new Location(LocationManager.GPS_PROVIDER);
69 Location defaultLocation = new Location(LocationManager.GPS_PROVIDER);
86 Location l = new Location(LocationManager.GPS_PROVIDER);
112 assertEquals(LocationManager.GPS_PROVIDER, l.getProvider());
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
GpsTestActivity.java 98 LocationManager.GPS_PROVIDER, 0, 8, false);
104 LocationManager.GPS_PROVIDER, 1 * 1000, 8, false);
110 LocationManager.GPS_PROVIDER, 5 * 1000, 8, false);
116 LocationManager.GPS_PROVIDER, 15 * 1000, 8, false);
  /frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
ExternalSharedPermsFLTest.java 35 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,
  /packages/apps/Camera/src/com/android/camera/
LocationManager.java 37 new LocationListener(android.location.LocationManager.GPS_PROVIDER),
93 android.location.LocationManager.GPS_PROVIDER,
142 android.location.LocationManager.GPS_PROVIDER.equals(mProvider)) {
169 android.location.LocationManager.GPS_PROVIDER.equals(provider)) {
  /packages/apps/Camera2/src/com/android/camera/
LocationManager.java 37 new LocationListener(android.location.LocationManager.GPS_PROVIDER),
93 android.location.LocationManager.GPS_PROVIDER,
142 android.location.LocationManager.GPS_PROVIDER.equals(mProvider)) {
169 android.location.LocationManager.GPS_PROVIDER.equals(provider)) {
  /packages/apps/LegacyCamera/src/com/android/camera/
LocationManager.java 37 new LocationListener(android.location.LocationManager.GPS_PROVIDER),
93 android.location.LocationManager.GPS_PROVIDER,
142 android.location.LocationManager.GPS_PROVIDER.equals(mProvider)) {
169 android.location.LocationManager.GPS_PROVIDER.equals(provider)) {
  /development/apps/SdkSetup/src/com/android/sdksetup/
DefaultActivity.java 46 LocationManager.GPS_PROVIDER);
  /frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
ExternalSharedPermsTest.java 40 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,
  /frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
ExternalSharedPermsDiffKeyTest.java 38 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,
  /external/chromium_org/content/browser/geolocation/
gps_location_provider_unittest_linux.cc 172 GpsLocationProviderLinux* gps_provider = local
174 gps_provider->SetGpsdReconnectIntervalMillis(1000);
175 gps_provider->SetPollPeriodMovingMillis(200);
  /cts/tests/tests/location2/src/android/location2/cts/
LocationManagerTest.java 81 doTestGetFineProvider_notAllowed(LocationManager.GPS_PROVIDER);
214 assertFalse(hasProvider(providers, LocationManager.GPS_PROVIDER));
244 addTestProvider(LocationManager.GPS_PROVIDER, Criteria.ACCURACY_FINE, false, true, false);
250 mManager.sendExtraCommand(LocationManager.GPS_PROVIDER, "unknown", new Bundle());
254 removeTestProvider(LocationManager.GPS_PROVIDER);
  /cts/tests/tests/location/src/android/location/cts/
LocationManagerTest.java 191 return hasProvider(providers, LocationManager.GPS_PROVIDER);
213 p = mManager.getProvider(LocationManager.GPS_PROVIDER);
216 assertEquals(LocationManager.GPS_PROVIDER, p.getName());
272 boolean gps = Settings.Secure.isLocationProviderEnabled(cr, LocationManager.GPS_PROVIDER);
278 forceClearTestProvider(LocationManager.GPS_PROVIDER);
280 boolean lmGps = mManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
328 mManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,
450 mManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,
499 mManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,
    [all...]
  /cts/tests/tests/permission/src/android/permission/cts/
NoLocationPermissionTest.java 162 checkRequestLocationUpdates(LocationManager.GPS_PROVIDER);
212 checkGetLastKnownLocation(LocationManager.GPS_PROVIDER);
254 checkGetProvider(LocationManager.GPS_PROVIDER);
298 checkIsProviderEnabled(LocationManager.GPS_PROVIDER);
  /development/tools/emulator/test-apps/GpsLocationTest/src/com/android/emulator/gps/test/
GpsLocationTest.java 61 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, this,
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLocationManager.java 48 allKnownProviders.add(LocationManager.GPS_PROVIDER);
181 } else if (provider.equals(LocationManager.GPS_PROVIDER) && accuracy == Criteria.ACCURACY_FINE && powerRequirement != Criteria.POWER_LOW) {
197 } else if (providers.contains(LocationManager.GPS_PROVIDER)) {
198 return LocationManager.GPS_PROVIDER;
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
TrackerActivity.java 167 LocationManager.GPS_PROVIDER + ".kml");
168 exportFile(LocationManager.GPS_PROVIDER, exportFileName,
  /frameworks/base/docs/html/guide/topics/location/
strategies.jd 137 substitute <code>GPS_PROVIDER</code> for <code>NETWORK_PROVIDER</code>. You can also request
140 for <code>NETWORK_PROVIDER</code> and once for <code>GPS_PROVIDER</code>.</p>
146 <code>GPS_PROVIDER</code>, you must request user permission by declaring either the {@code
161 <code>GPS_PROVIDER</code>, then you need to request only the {@code ACCESS_FINE_LOCATION}
213 // String locationProvider = LocationManager.GPS_PROVIDER;
227 // Or use LocationManager.GPS_PROVIDER
408 data, so you must request location updates from <code>GPS_PROVIDER</code> in order for mock location
  /development/samples/training/location-aware/src/com/example/android/location/
LocationActivity.java 141 final boolean gpsEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
178 LocationManager.GPS_PROVIDER, R.string.not_support_gps);
187 LocationManager.GPS_PROVIDER, R.string.not_support_gps);
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
LocationStatsAggregator.java 126 mLocationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);
  /frameworks/base/packages/FusedLocation/src/com/android/location/fused/
FusionEngine.java 45 private static final String GPS = LocationManager.GPS_PROVIDER;
  /frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
SettingsHelper.java 157 final String GPS = LocationManager.GPS_PROVIDER;
  /frameworks/base/services/tests/servicestests/src/com/android/server/location/
LocationBasedCountryDetectorTest.java 36 LocationManager.GPS_PROVIDER, LocationManager.PASSIVE_PROVIDER);
  /frameworks/base/services/java/com/android/server/
LocationManagerService.java 354 mRealProviders.put(LocationManager.GPS_PROVIDER, gpsProvider);
    [all...]
  /cts/tests/tests/app/src/android/app/cts/
SystemFeaturesTest.java 185 if (mLocationManager.getProvider(LocationManager.GPS_PROVIDER) != null) {

Completed in 865 milliseconds

1 2