OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:locationmanager
(Results
51 - 75
of
167
) sorted by null
1
2
3
4
5
6
7
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/activity-lifecycle/
stopping.jd
158
LocationManager
locationManager
=
159
(
LocationManager
) getSystemService(Context.LOCATION_SERVICE);
160
boolean gpsEnabled =
locationManager
.isProviderEnabled(
LocationManager
.GPS_PROVIDER);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
LocationControllerImpl.java
27
import android.location.
LocationManager
;
69
filter.addAction(
LocationManager
.HIGH_POWER_REQUEST_CHANGE_ACTION);
70
filter.addAction(
LocationManager
.MODE_CHANGED_ACTION);
195
if (
LocationManager
.HIGH_POWER_REQUEST_CHANGE_ACTION.equals(action)) {
197
} else if (
LocationManager
.MODE_CHANGED_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())) {
/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);
/packages/apps/Camera2/src/com/android/camera/util/
AndroidServices.java
28
import android.location.
LocationManager
;
109
public
LocationManager
provideLocationManager() {
110
return (
LocationManager
) getSystemService(Context.LOCATION_SERVICE);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/
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);
/cts/tests/tests/location/src/android/location/cts/
TestGpsStatusListener.java
21
import android.location.
LocationManager
;
38
private final
LocationManager
mLocationManager;
/development/apps/SdkSetup/src/com/android/sdksetup/
DefaultActivity.java
24
import android.location.
LocationManager
;
48
LocationManager
.GPS_PROVIDER);
/frameworks/base/location/java/android/location/
GpsSatellite.java
43
* Used by {@link
LocationManager
#getGpsStatus} to copy
LocationManager
's
GnssNmeaListener.java
24
* You can implement this interface and call {@link
LocationManager
#addNmeaListener}
OnNmeaMessageListener.java
24
* You can implement this interface and call {@link
LocationManager
#addNmeaListener}
LocationListener.java
22
* Used for receiving notifications from the
LocationManager
when
25
* using the {@link
LocationManager
#requestLocationUpdates(String, long, float, LocationListener)}
/device/huawei/angler/sepolicy/
system_server.te
15
# (e.g.,
LocationManager
)
/device/lge/bullhead/sepolicy/
system_server.te
2
# (e.g.,
LocationManager
)
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
LocationFacade.java
25
import android.location.
LocationManager
;
43
* This facade exposes the
LocationManager
related functionality.<br>
87
private final
LocationManager
mLocationManager;
119
mLocationManager = (
LocationManager
) mService.getSystemService(Context.LOCATION_SERVICE);
/frameworks/base/docs/html/guide/topics/location/
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
/frameworks/base/services/core/java/com/android/server/location/
LocationBasedCountryDetector.java
25
import android.location.
LocationManager
;
64
private
LocationManager
mLocationManager;
69
mLocationManager = (
LocationManager
) ctx.getSystemService(Context.LOCATION_SERVICE);
92
return
LocationManager
.PASSIVE_PROVIDER.equals(provider);
FlpHardwareProvider.java
29
import android.location.
LocationManager
;
84
LocationManager
manager = (
LocationManager
) mContext.getSystemService(
90
LocationManager
.PASSIVE_PROVIDER,
113
location.setProvider(
LocationManager
.FUSED_PROVIDER);
483
!
LocationManager
.NETWORK_PROVIDER.equals(location.getProvider()) ||
534
location.setProvider(
LocationManager
.FUSED_PROVIDER);
MockProvider.java
56
public MockProvider(String name, ILocationManager
locationManager
,
61
mLocationManager =
locationManager
;
/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);
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
FusionEngine.java
30
import android.location.
LocationManager
;
44
private static final String NETWORK =
LocationManager
.NETWORK_PROVIDER;
45
private static final String GPS =
LocationManager
.GPS_PROVIDER;
51
private final
LocationManager
mLocationManager;
67
mLocationManager = (
LocationManager
) context.getSystemService(Context.LOCATION_SERVICE);
/packages/apps/Settings/src/com/android/settings/location/
LocationSettingsBase.java
23
import android.location.
LocationManager
;
70
filter.addAction(
LocationManager
.MODE_CHANGED_ACTION);
/frameworks/base/docs/html-intl/intl/ja/training/tv/start/
hardware.jd
239
LocationManager
locationManager
= (
LocationManager
) this.getSystemService(
241
Location location =
locationManager
.getLastKnownLocation("static");
Completed in 592 milliseconds
1
2
3
4
5
6
7