Home
last modified time | relevance | path

Searched refs:NETWORK_PROVIDER (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerActivity.java163 LocationManager.NETWORK_PROVIDER + ".kml"); in exportKML()
164 exportFile(LocationManager.NETWORK_PROVIDER, exportFileName, in exportKML()
DTrackerService.java178 providerSet.add(LocationManager.NETWORK_PROVIDER); in getTrackedProviders()
285 if (LocationManager.NETWORK_PROVIDER.equals(location.getProvider())) { in getDistanceFromNetwork()
/frameworks/base/docs/html/guide/topics/location/
Dstrategies.jd124 locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener);
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>
145 <p>In order to receive location updates from <code>NETWORK_PROVIDER</code> or
160 <p class="note"><strong>Note:</strong> If you are using both <code>NETWORK_PROVIDER</code> and
163 ACCESS_COARSE_LOCATION} includes permission only for <code>NETWORK_PROVIDER</code>.)</p>
211 String locationProvider = LocationManager.NETWORK_PROVIDER;
226 String locationProvider = LocationManager.NETWORK_PROVIDER;
/frameworks/support/v7/appcompat/src/android/support/v7/app/
DTwilightManager.java88 coarseLoc = getLastKnownLocationForProvider(LocationManager.NETWORK_PROVIDER); in getLastKnownLocation()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java377 mLocationManager.isProviderEnabled(LocationManager.NETWORK_PROVIDER); in handleMessage()
386 mLocationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, in handleMessage()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java491 LocationManager.NETWORK_PROVIDER, in loadProvidersLocked()
498 mRealProviders.put(LocationManager.NETWORK_PROVIDER, networkProvider); in loadProvidersLocked()
1111 } else if (LocationManager.NETWORK_PROVIDER.equals(provider) || in getMinimumResolutionLevelForProviderUse()
1308 } else if (providers.contains(LocationManager.NETWORK_PROVIDER)) { in pickBest()
1309 return LocationManager.NETWORK_PROVIDER; in pickBest()
2057 if (mProvidersByName.get(LocationManager.NETWORK_PROVIDER) == null) { in getNetworkProviderPackage()
2060 p = mProvidersByName.get(LocationManager.NETWORK_PROVIDER); in getNetworkProviderPackage()
2482 || LocationManager.NETWORK_PROVIDER.equals(name) in addTestProvider()
DDeviceIdleController.java1982 && mLocationManager.getProvider(LocationManager.NETWORK_PROVIDER) != null) { in stepIdleStateLocked()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java44 private static final String NETWORK = LocationManager.NETWORK_PROVIDER;
/frameworks/base/services/core/java/com/android/server/location/
DFlpHardwareProvider.java483 !LocationManager.NETWORK_PROVIDER.equals(location.getProvider()) || in onLocationChanged()
DGnssLocationProvider.java2197 if (LocationManager.NETWORK_PROVIDER.equals(location.getProvider())) {
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java242 case LocationManager.NETWORK_PROVIDER: in translateLocationProviderToProcess()
257 return LocationManager.NETWORK_PROVIDER; in translateProcessToLocationProvider()
/frameworks/base/location/java/android/location/
DLocationManager.java92 public static final String NETWORK_PROVIDER = "network"; field in LocationManager
/frameworks/base/core/java/android/provider/
DSettings.java6483 cr, LocationManager.NETWORK_PROVIDER, network, userId); in setLocationModeForUser()
6504 cr, LocationManager.NETWORK_PROVIDER, userId); in getLocationModeForUser()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java125 private static final Location sTestLocation2 = new Location(LocationManager.NETWORK_PROVIDER);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt13891 field public static final java.lang.String NETWORK_PROVIDER = "network";
/frameworks/base/api/
Dcurrent.txt19374 field public static final java.lang.String NETWORK_PROVIDER = "network";
Dtest-current.txt19443 field public static final java.lang.String NETWORK_PROVIDER = "network";
Dsystem-current.txt20826 field public static final java.lang.String NETWORK_PROVIDER = "network";