HomeSort by relevance Sort by last modified time
    Searched refs:GPS_PROVIDER (Results 1 - 25 of 57) sorted by null

1 2 3

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
LocationModeBatterySavingTestActivity.java 51 testSecureProviderIsDisabled(2, LocationManager.GPS_PROVIDER);
57 testManagerProviderIsDisabled(4, LocationManager.GPS_PROVIDER);
LocationModeDeviceOnlyTestActivity.java 51 testSecureProviderIsEnabled(2, LocationManager.GPS_PROVIDER);
57 testManagerProviderIsEnabled(4, LocationManager.GPS_PROVIDER);
LocationModeHighAccuracyTestActivity.java 51 testSecureProviderIsEnabled(2, LocationManager.GPS_PROVIDER);
57 testManagerProviderIsEnabled(4, LocationManager.GPS_PROVIDER);
LocationModeOffTestActivity.java 47 testSecureProviderIsDisabled(1, LocationManager.GPS_PROVIDER);
53 testManagerProviderIsDisabled(3, LocationManager.GPS_PROVIDER);
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);
LocationListenerActivity.java 76 LocationManager.GPS_PROVIDER, 0, 0, mLocationListener);
  /cts/tests/tests/location/src/android/location/cts/
TestLocationListener.java 52 if (LocationManager.GPS_PROVIDER.equals(s)) {
59 if (LocationManager.GPS_PROVIDER.equals(s)) {
TestLocationManager.java 108 if (mLocationManager.getProvider(LocationManager.GPS_PROVIDER) != null) {
110 mLocationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER,
154 boolean extraCommandStatus = mLocationManager.sendExtraCommand(LocationManager.GPS_PROVIDER,
LocationManagerTest.java 187 return hasProvider(providers, LocationManager.GPS_PROVIDER);
209 p = mManager.getProvider(LocationManager.GPS_PROVIDER);
212 assertEquals(LocationManager.GPS_PROVIDER, p.getName());
270 boolean gps = Settings.Secure.isLocationProviderEnabled(cr, LocationManager.GPS_PROVIDER);
276 forceRemoveTestProvider(LocationManager.GPS_PROVIDER);
278 boolean lmGps = mManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
282 boolean expectedGps = gps && deviceHasProvider(LocationManager.GPS_PROVIDER);
342 mManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,
464 mManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,
513 mManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0
    [all...]
  /external/robolectric/v1/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());
  /frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
ExternalSharedPermsFLTest.java 35 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0,
  /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,
  /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)) {
  /cts/tests/tests/permission/src/android/permission/cts/
NoLocationPermissionTest.java 177 checkRequestLocationUpdates(LocationManager.GPS_PROVIDER);
227 checkGetLastKnownLocation(LocationManager.GPS_PROVIDER);
269 checkGetProvider(LocationManager.GPS_PROVIDER);
311 checkIsProviderEnabled(LocationManager.GPS_PROVIDER);
  /development/apps/SdkSetup/src/com/android/sdksetup/
DefaultActivity.java 48 LocationManager.GPS_PROVIDER);
  /development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/gps/
GpsLocationTest.java 61 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, this,
  /packages/apps/Camera2/src/com/android/camera/app/
LegacyLocationProvider.java 38 new LocationListener(android.location.LocationManager.GPS_PROVIDER),
101 android.location.LocationManager.GPS_PROVIDER,
  /external/robolectric/v1/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;
  /cts/tests/tests/location2/src/android/location2/cts/
LocationManagerTest.java 84 doTestGetFineProvider_notAllowed(LocationManager.GPS_PROVIDER);
217 assertFalse(hasProvider(providers, LocationManager.GPS_PROVIDER));
265 addTestProvider(LocationManager.GPS_PROVIDER, Criteria.ACCURACY_FINE, false, true, false);
271 mManager.sendExtraCommand(LocationManager.GPS_PROVIDER, "unknown", new Bundle());
275 removeTestProvider(LocationManager.GPS_PROVIDER);
  /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/base/services/core/java/com/android/server/twilight/
TwilightService.java 165 } else if (mLocationManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) {
167 LocationManager.GPS_PROVIDER, this, Looper.getMainLooper());
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
TrackerActivity.java 167 LocationManager.GPS_PROVIDER + ".kml");
168 exportFile(LocationManager.GPS_PROVIDER, exportFileName,
  /frameworks/support/v7/appcompat/src/android/support/v7/app/
TwilightManager.java 112 fineLoc = getLastKnownLocationForProvider(LocationManager.GPS_PROVIDER);

Completed in 346 milliseconds

1 2 3