OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:locationManager
(Results
1 - 11
of
11
) sorted by null
/development/tools/emulator/test-apps/GpsLocationTest/src/com/android/emulator/gps/test/
GpsLocationTest.java
21
import android.location.
LocationManager
;
35
private
LocationManager
locationManager
;
47
locationManager
= (
LocationManager
) getContext().
49
assertNotNull(
locationManager
);
61
locationManager
.requestLocationUpdates(
LocationManager
.GPS_PROVIDER, 0, 0, this,
72
locationManager
.removeUpdates(this);
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
ExternalSharedPermsFLTest.java
22
import android.location.
LocationManager
;
33
LocationManager
locationManager
= (
LocationManager
)getInstrumentation().getContext(
35
locationManager
.requestLocationUpdates(
LocationManager
.GPS_PROVIDER, 0, 0,
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
ExternalSharedPermsTest.java
22
import android.location.
LocationManager
;
38
LocationManager
locationManager
= (
LocationManager
)getInstrumentation().getContext(
40
locationManager
.requestLocationUpdates(
LocationManager
.GPS_PROVIDER, 0, 0,
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
ExternalSharedPermsDiffKeyTest.java
23
import android.location.
LocationManager
;
36
LocationManager
locationManager
= (
LocationManager
)getInstrumentation().getContext(
38
locationManager
.requestLocationUpdates(
LocationManager
.GPS_PROVIDER, 0, 0,
/frameworks/base/services/java/com/android/server/location/
PassiveProvider.java
22
import android.location.
LocationManager
;
44
public PassiveProvider(ILocationManager
locationManager
) {
45
mLocationManager =
locationManager
;
49
return
LocationManager
.PASSIVE_PROVIDER;
MockProvider.java
59
public MockProvider(String name, ILocationManager
locationManager
,
64
mLocationManager =
locationManager
;
GpsLocationProvider.java
32
import android.location.
LocationManager
;
75
* A GPS implementation of LocationProvider used by
LocationManager
.
254
private Location mLocation = new Location(
LocationManager
.GPS_PROVIDER);
384
public GpsLocationProvider(Context context, ILocationManager
locationManager
) {
387
mLocationManager =
locationManager
;
476
return
LocationManager
.GPS_PROVIDER;
[
all
...]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
LocationVerifier.java
21
import android.location.
LocationManager
;
31
private final
LocationManager
mLocationManager;
108
if (
LocationManager
.GPS_PROVIDER.equals(mProvider)) {
125
public LocationVerifier(PassFailLog cb,
LocationManager
locationManager
,
138
mLocationManager =
locationManager
;
151
mLocationManager.requestLocationUpdates(
LocationManager
.PASSIVE_PROVIDER, 0, 0,
/frameworks/base/core/java/com/android/internal/app/
NetInitiatedActivity.java
30
import android.location.
LocationManager
;
140
LocationManager
locationManager
= (
LocationManager
)
142
locationManager
.sendNiResponse(notificationId, response);
/packages/apps/Gallery2/src/com/android/gallery3d/util/
ReverseGeocoder.java
23
import android.location.
LocationManager
;
112
LocationManager
locationManager
=
113
(
LocationManager
) mContext.getSystemService(Context.LOCATION_SERVICE);
115
List<String> providers =
locationManager
.getAllProviders();
118
location = (provider != null) ?
locationManager
.getLastKnownLocation(provider) : null;
/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
...]
Completed in 1482 milliseconds