HomeSort by relevance Sort by last modified time
    Searched full:locationmanager (Results 26 - 50 of 162) sorted by null

12 3 4 5 6 7

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowLocationManager.java 10 import android.location.LocationManager;
19 * Shadow of {@code LocationManager} that provides for the simulation of different location providers being enabled and
22 @Implements(LocationManager.class)
48 allKnownProviders.add(LocationManager.GPS_PROVIDER);
49 allKnownProviders.add(LocationManager.NETWORK_PROVIDER);
50 allKnownProviders.add(LocationManager.PASSIVE_PROVIDER);
85 intent.putExtra(LocationManager.KEY_PROVIDER_ENABLED, isEnabled);
179 if (provider.equals(LocationManager.NETWORK_PROVIDER) && (accuracy == Criteria.ACCURACY_COARSE || powerRequirement == Criteria.POWER_LOW)) {
181 } else if (provider.equals(LocationManager.GPS_PROVIDER) && accuracy == Criteria.ACCURACY_FINE && powerRequirement != Criteria.POWER_LOW) {
197 } else if (providers.contains(LocationManager.GPS_PROVIDER))
    [all...]
  /frameworks/base/location/java/android/location/
GpsStatus.java 30 /* These package private values are modified by the LocationManager class */
110 * {@link LocationManager#getGpsStatus} to get additional
123 * You can implement this interface and call {@link LocationManager#addNmeaListener}
137 * Used internally within {@link LocationManager} to copy GPS status
168 * Used by {@link LocationManager#getGpsStatus} to copy LocationManager's
170 * Since this method is only used within {@link LocationManager#getGpsStatus},
GpsSatellite.java 39 * Used by {@link LocationManager#getGpsStatus} to copy LocationManager's
  /frameworks/base/services/java/com/android/server/location/
GeofenceManager.java 31 import android.location.LocationManager;
71 private final LocationManager mLocationManager;
87 * {@link LocationManager#requestLocationUpdates(LocationRequest, LocationListener,
111 mLocationManager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE);
206 * or consult {@link LocationManager#getLastLocation()} if none has arrived. Does not return
212 // Prefer mLastLocationUpdate to LocationManager.getLastLocation().
237 * update request with {@link LocationManager} as appropriate for any active geofences.
251 // via LocationManager.getLastLocation().
353 intent.putExtra(LocationManager.KEY_PROXIMITY_ENTERING, true);
363 intent.putExtra(LocationManager.KEY_PROXIMITY_ENTERING, false)
    [all...]
FlpHardwareProvider.java 28 import android.location.LocationManager;
75 LocationManager manager = (LocationManager) mContext.getSystemService(
81 LocationManager.PASSIVE_PROVIDER,
104 location.setProvider(LocationManager.FUSED_PROVIDER);
371 !LocationManager.NETWORK_PROVIDER.equals(location.getProvider()) ||
422 location.setProvider(LocationManager.FUSED_PROVIDER);
LocationBasedCountryDetector.java 25 import android.location.LocationManager;
63 private LocationManager mLocationManager;
68 mLocationManager = (LocationManager) ctx.getSystemService(Context.LOCATION_SERVICE);
91 return LocationManager.PASSIVE_PROVIDER.equals(provider);
  /development/apps/SdkSetup/src/com/android/sdksetup/
DefaultActivity.java 24 import android.location.LocationManager;
46 LocationManager.GPS_PROVIDER);
  /external/chromium_org/chrome/browser/extensions/api/location/
location_api.cc 51 LocationManager::Get(GetProfile())
65 LocationManager::Get(GetProfile())
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
LocationVerifier.java 21 import android.location.LocationManager;
54 private final LocationManager mLocationManager;
104 assertMeanAndStdev(LocationManager.PASSIVE_PROVIDER, mPassiveDeltas, PASSIVE_MIN_MEAN_RATIO);
198 public LocationVerifier(PassFailLog cb, LocationManager locationManager,
205 mLocationManager = locationManager;
219 mLocationManager.requestLocationUpdates(LocationManager.PASSIVE_PROVIDER, 0, 0,
LocationModeTestActivity.java 22 import android.location.LocationManager;
37 * LocationManager#isProviderEnabled(String)} have the expected values for GPS and Wi-Fi. For
253 LocationManager manager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
260 LocationManager manager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
  /frameworks/base/docs/html/sdk/api_diff/5/changes/
android.location.LocationManager.html 10 android.location.LocationManager
74 Class android.location.<A HREF="../../../../reference/android/location/LocationManager.html" target="_top"><font size="+2"><code>LocationManager</code></font></A>
86 <A NAME="android.location.LocationManager.addNmeaListener_added(android.location.GpsStatus.NmeaListener)"></A>
87 <nobr><code>boolean</code>&nbsp;<A HREF="../../../../reference/android/location/LocationManager.html#addNmeaListener(android.location.GpsStatus.NmeaListener)" target="_top"><code>addNmeaListener</code></A>(<code>NmeaListener</code>)</nobr>
93 <A NAME="android.location.LocationManager.removeNmeaListener_added(android.location.GpsStatus.NmeaListener)"></A>
94 <nobr><code>void</code>&nbsp;<A HREF="../../../../reference/android/location/LocationManager.html#removeNmeaListener(android.location.GpsStatus.NmeaListener)" target="_top"><code>removeNmeaListener</code></A>(<code>NmeaListener</code>)</nobr>
  /frameworks/base/docs/html/guide/topics/location/
strategies.jd 29 <li>{@link android.location.LocationManager}</li>
94 like to receive location updates from the {@link android.location.LocationManager} ("Location
95 Manager") by calling {@link android.location.LocationManager#requestLocationUpdates
107 LocationManager locationManager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE);
124 locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener);
128 android.location.LocationManager#requestLocationUpdates requestLocationUpdates()} is the type of
139 android.location.LocationManager#requestLocationUpdates requestLocationUpdates()} twice&mdash;onc
    [all...]
index.jd 43 {@link android.location.LocationManager} system service, which provides APIs to
46 <p>As with other system services, you do not instantiate a {@link android.location.LocationManager}
50 android.location.LocationManager} instance.</p>
52 <p>Once your application has a {@link android.location.LocationManager}, your application
  /external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
LocationProviderFactory.java 11 import android.location.LocationManager;
65 private LocationManager mLocationManager;
132 mLocationManager = (LocationManager) mContext.getSystemService(
185 LocationManager.PASSIVE_PROVIDER);
204 && providers.get(0).equals(LocationManager.PASSIVE_PROVIDER);
  /frameworks/base/core/java/com/android/internal/app/
NetInitiatedActivity.java 30 import android.location.LocationManager;
140 LocationManager locationManager = (LocationManager)
142 locationManager.sendNiResponse(notificationId, response);
  /frameworks/base/docs/html/sdk/api_diff/19/changes/
android.location.LocationManager.html 10 android.location.LocationManager
74 Class android.location.<A HREF="../../../../reference/android/location/LocationManager.html" target="_top"><font size="+2"><code>LocationManager</code></font></A>
87 <A NAME="android.location.LocationManager.MODE_CHANGED_ACTION"></A>
88 <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/location/LocationManager.html#MODE_CHANGED_ACTION" target="_top"><code>MODE_CHANGED_ACTION</code></A></nobr>
  /frameworks/base/docs/html/sdk/api_diff/8/changes/
android.location.LocationManager.html 10 android.location.LocationManager
74 Class android.location.<A HREF="../../../../reference/android/location/LocationManager.html" target="_top"><font size="+2"><code>LocationManager</code></font></A>
87 <A NAME="android.location.LocationManager.PASSIVE_PROVIDER"></A>
88 <nobr><code>String</code>&nbsp;<A HREF="../../../../reference/android/location/LocationManager.html#PASSIVE_PROVIDER" target="_top"><code>PASSIVE_PROVIDER</code></A></nobr>
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
LocationController.java 28 import android.location.LocationManager;
79 filter.addAction(LocationManager.HIGH_POWER_REQUEST_CHANGE_ACTION);
88 intentFilter.addAction(LocationManager.MODE_CHANGED_ACTION);
93 if (LocationManager.MODE_CHANGED_ACTION.equals(action)) {
220 if (LocationManager.HIGH_POWER_REQUEST_CHANGE_ACTION.equals(action)) {
  /frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
TrackerActivity.java 29 import android.location.LocationManager;
163 LocationManager.NETWORK_PROVIDER + ".kml");
164 exportFile(LocationManager.NETWORK_PROVIDER, exportFileName,
167 LocationManager.GPS_PROVIDER + ".kml");
168 exportFile(LocationManager.GPS_PROVIDER, exportFileName,
TrackerService.java 30 import android.location.LocationManager;
116 LocationManager lm = getLocationManager();
175 providerSet.add(LocationManager.GPS_PROVIDER);
178 providerSet.add(LocationManager.NETWORK_PROVIDER);
241 LocationManager lm = getLocationManager();
268 private LocationManager getLocationManager() {
269 return (LocationManager) getSystemService(Context.LOCATION_SERVICE);
285 if (LocationManager.NETWORK_PROVIDER.equals(location.getProvider())) {
  /cts/tests/tests/location/src/android/location/cts/
LocationManagerTest.java 32 import android.location.LocationManager;
59 private LocationManager mManager;
72 mManager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE);
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);
274 cr, LocationManager.NETWORK_PROVIDER);
276 // Assert that if there are no test providers enabled, LocationManager just returns the
278 forceClearTestProvider(LocationManager.GPS_PROVIDER)
    [all...]
  /development/samples/training/location-aware/src/com/example/android/location/
LocationActivity.java 29 import android.location.LocationManager;
52 private LocationManager mLocationManager;
113 // Get a reference to the LocationManager object.
114 mLocationManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
139 LocationManager locationManager =
140 (LocationManager) getSystemService(Context.LOCATION_SERVICE);
141 final boolean gpsEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
178 LocationManager.GPS_PROVIDER, R.string.not_support_gps)
    [all...]
  /frameworks/base/location/tests/locationtests/src/android/location/
LocationManagerTest.java 22 import android.location.LocationManager;
32 private LocationManager manager;
37 manager = (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE);
  /frameworks/base/docs/html/training/tv/
unsupported-features-tv.jd 107 LocationManager locationManager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE);
108 Location location = locationManager.getLastKnownLocation("static");
  /frameworks/ml/bordeaux/service/src/android/bordeaux/services/
LocationStatsAggregator.java 28 import android.location.LocationManager;
62 private LocationManager mLocationManager;
78 (LocationManager) context.getSystemService(Context.LOCATION_SERVICE);
126 mLocationManager.getLastKnownLocation(LocationManager.GPS_PROVIDER);

Completed in 1484 milliseconds

12 3 4 5 6 7