/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);
|
/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());
|
/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/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)) {
|
/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/apps/SdkSetup/src/com/android/sdksetup/ |
DefaultActivity.java | 46 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,
|
/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);
|
/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;
|
/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);
|
/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...] |
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
TrackerActivity.java | 167 LocationManager.GPS_PROVIDER + ".kml"); 168 exportFile(LocationManager.GPS_PROVIDER, exportFileName,
|
/frameworks/base/location/java/android/location/ |
LocationRequest.java | 177 } else if (LocationManager.GPS_PROVIDER.equals(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;
|
/cts/tests/tests/app/src/android/app/cts/ |
SystemFeaturesTest.java | 185 if (mLocationManager.getProvider(LocationManager.GPS_PROVIDER) != null) {
|