Home
last modified time | relevance | path

Searched refs:GPS_PROVIDER (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
DExternalSharedPermsFLTest.java35 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, in testRunFineLocation()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerActivity.java167 LocationManager.GPS_PROVIDER + ".kml"); in exportKML()
168 exportFile(LocationManager.GPS_PROVIDER, exportFileName, in exportKML()
DTrackerService.java175 providerSet.add(LocationManager.GPS_PROVIDER); in getTrackedProviders()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
DExternalSharedPermsTest.java40 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, in testRunLocationAndBluetooth()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
DExternalSharedPermsDiffKeyTest.java38 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, in testRunBluetoothAndFineLocation()
/frameworks/base/docs/html/guide/topics/location/
Dstrategies.jd137 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
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java414 mRealProviders.put(LocationManager.GPS_PROVIDER, gpsProvider); in loadProvidersLocked()
1044 if (LocationManager.GPS_PROVIDER.equals(provider) || in getMinimumResolutionLevelForProviderUse()
1232 if (providers.contains(LocationManager.GPS_PROVIDER)) { in pickBest()
1233 return LocationManager.GPS_PROVIDER; in pickBest()
1803 LocationManager.GPS_PROVIDER); in addGpsStatusListener()
1846 LocationManager.GPS_PROVIDER); in addGpsMeasurementsListener()
1875 LocationManager.GPS_PROVIDER); in addGpsNavigationMessageListener()
2375 if (LocationManager.GPS_PROVIDER.equals(name) in addTestProvider()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsHelper.java172 final String GPS = LocationManager.GPS_PROVIDER; in setGpsLocation()
/frameworks/base/location/java/android/location/
DLocationRequest.java180 } else if (LocationManager.GPS_PROVIDER.equals(provider)) { in createFromDeprecatedProvider()
DLocationManager.java92 public static final String GPS_PROVIDER = "gps"; field in LocationManager
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java45 private static final String GPS = LocationManager.GPS_PROVIDER;
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
DLocationBasedCountryDetectorTest.java36 LocationManager.GPS_PROVIDER, LocationManager.PASSIVE_PROVIDER);
/frameworks/base/location/java/com/android/internal/location/
DGpsNetInitiatedHandler.java225 mIsLocationEnabled = mLocationManager.isProviderEnabled(LocationManager.GPS_PROVIDER); in updateLocationMode()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java237 case LocationManager.GPS_PROVIDER: in translateLocationProviderToProcess()
252 return LocationManager.GPS_PROVIDER; in translateProcessToLocationProvider()
/frameworks/base/services/core/java/com/android/server/location/
DGpsLocationProvider.java356 private Location mLocation = new Location(LocationManager.GPS_PROVIDER);
770 return LocationManager.GPS_PROVIDER; in getName()
1662 Location location = new Location(LocationManager.GPS_PROVIDER); in buildLocation()
/frameworks/base/docs/html/training/basics/activity-lifecycle/
Dstopping.jd162 boolean gpsEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
/frameworks/base/core/java/android/provider/
DSettings.java5031 cr, LocationManager.GPS_PROVIDER, gps, userId); in setLocationModeForUser()
5048 cr, LocationManager.GPS_PROVIDER, userId); in getLocationModeForUser()
/frameworks/base/api/
Dsystem-current.txt14851 field public static final java.lang.String GPS_PROVIDER = "gps";
Dcurrent.txt13887 field public static final java.lang.String GPS_PROVIDER = "gps";