OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mLocationManager
(Results
1 - 15
of
15
) sorted by null
/cts/tests/tests/permission/src/android/permission/cts/
NoLocationPermissionTest.java
40
private LocationManager
mLocationManager
;
46
mLocationManager
= (LocationManager) getContext().getSystemService(
48
mAllProviders =
mLocationManager
.getAllProviders();
50
assertNotNull(
mLocationManager
);
99
mLocationManager
.requestLocationUpdates(provider, 0, 0, mockListener);
107
mLocationManager
.requestLocationUpdates(provider, 0, 0, mockListener, looper);
145
mLocationManager
.addProximityAlert(0, 0, 100, -1, mockPendingIntent);
165
mLocationManager
.getLastKnownLocation(provider);
206
mLocationManager
.getProvider(provider);
247
mLocationManager
.isProviderEnabled(provider)
[
all
...]
/cts/tests/tests/location/src/android/location/cts/
LocationProviderTest.java
33
private LocationManager
mLocationManager
;
38
mLocationManager
=
45
mLocationManager
.removeTestProvider(PROVIDER_NAME);
53
mLocationManager
.addTestProvider(
64
mLocationManager
.setTestProviderEnabled(providerName, true);
73
LocationProvider locationProvider =
mLocationManager
.getProvider(PROVIDER_NAME);
83
LocationProvider locationProvider =
mLocationManager
.getProvider(PROVIDER_NAME);
/frameworks/base/core/java/android/webkit/
GeolocationService.java
40
private LocationManager
mLocationManager
;
55
mLocationManager
= (LocationManager) context.getSystemService(Context.LOCATION_SERVICE);
56
if (
mLocationManager
== null) {
163
mLocationManager
.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, this);
168
mLocationManager
.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, this);
182
mLocationManager
.removeUpdates(this);
/packages/apps/Camera/src/com/android/camera/
LocationManager.java
33
private android.location.LocationManager
mLocationManager
;
75
if (
mLocationManager
== null) {
76
mLocationManager
= (android.location.LocationManager)
79
if (
mLocationManager
!= null) {
81
mLocationManager
.requestLocationUpdates(
92
mLocationManager
.requestLocationUpdates(
108
if (
mLocationManager
!= null) {
111
mLocationManager
.removeUpdates(mLocationListeners[i]);
Camera.java
228
private LocationManager
mLocationManager
;
365
mLocationManager
.recordLocation(recordLocation);
445
mLocationManager
.recordLocation(recordLocation);
[
all
...]
VideoCamera.java
236
private LocationManager
mLocationManager
;
461
mLocationManager
= new LocationManager(this, null);
[
all
...]
/frameworks/base/services/java/com/android/server/location/
PassiveProvider.java
41
private final ILocationManager
mLocationManager
;
45
mLocationManager
= locationManager;
137
mLocationManager
.reportLocation(location, true);
LocationBasedCountryDetector.java
63
private LocationManager
mLocationManager
;
68
mLocationManager
= (LocationManager) ctx.getSystemService(Context.LOCATION_SERVICE);
98
mLocationManager
.requestLocationUpdates(provider, 0, 0, listener);
105
mLocationManager
.removeUpdates(listener);
112
List<String> providers =
mLocationManager
.getAllProviders();
115
Location lastKnownLocation =
mLocationManager
.getLastKnownLocation(provider);
134
mEnabledProviders =
mLocationManager
.getProviders(true);
MockProvider.java
39
private final ILocationManager
mLocationManager
;
64
mLocationManager
= locationManager;
169
mLocationManager
.reportLocation(mLocation, false);
GpsLocationProvider.java
248
private final ILocationManager
mLocationManager
;
382
mLocationManager
= locationManager;
[
all
...]
/frameworks/base/location/lib/java/com/android/location/provider/
LocationProvider.java
44
private ILocationManager
mLocationManager
;
139
mLocationManager
= ILocationManager.Stub.asInterface(b);
169
mLocationManager
.reportLocation(location, false);
/frameworks/base/services/java/com/android/server/
UiModeManagerService.java
109
private LocationManager
mLocationManager
;
333
mLocationManager
=
682
mLocationManager
.removeUpdates(mEmptyLocationListener);
691
mLocationManager
.isProviderEnabled(LocationManager.NETWORK_PROVIDER);
700
mLocationManager
.requestLocationUpdates(LocationManager.NETWORK_PROVIDER,
722
mLocationManager
.isProviderEnabled(LocationManager.PASSIVE_PROVIDER);
730
mLocationManager
.requestLocationUpdates(LocationManager.PASSIVE_PROVIDER,
754
mLocationManager
.getProviders(new Criteria(), true).iterator();
757
mLocationManager
.getLastKnownLocation(providers.next());
[
all
...]
/cts/tests/tests/app/src/android/app/cts/
SystemFeaturesTest.java
58
private LocationManager
mLocationManager
;
76
mLocationManager
= (LocationManager) mContext.getSystemService(Context.LOCATION_SERVICE);
183
if (
mLocationManager
.getProvider(LocationManager.GPS_PROVIDER) != null) {
190
if (
mLocationManager
.getProvider(LocationManager.NETWORK_PROVIDER) != null) {
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/
GrassRS.java
69
private final LocationManager
mLocationManager
;
78
mLocationManager
= (LocationManager)
99
mLocationManager
.requestLocationUpdates(LocationManager.NETWORK_PROVIDER,
121
mLocationManager
.removeUpdates(mLocationUpdater);
332
updateLocation(
mLocationManager
.getLastKnownLocation(LocationManager.NETWORK_PROVIDER));
/frameworks/base/location/java/com/android/internal/location/
GpsNetInitiatedHandler.java
88
private final LocationManager
mLocationManager
;
131
mLocationManager
= (LocationManager)context.getSystemService(Context.LOCATION_SERVICE);
164
mLocationManager
.sendNiResponse(notif.notificationId, GPS_NI_RESPONSE_ACCEPT);
Completed in 344 milliseconds