Home
last modified time | relevance | path

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

/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
DExternalSharedPermsFLTest.java33 LocationManager locationManager = (LocationManager)getInstrumentation().getContext( in testRunFineLocation() local
35 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, in testRunFineLocation()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
DExternalSharedPermsTest.java38 LocationManager locationManager = (LocationManager)getInstrumentation().getContext( in testRunLocationAndBluetooth() local
40 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, in testRunLocationAndBluetooth()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
DExternalSharedPermsDiffKeyTest.java36 LocationManager locationManager = (LocationManager)getInstrumentation().getContext( in testRunBluetoothAndFineLocation() local
38 locationManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 0, 0, in testRunBluetoothAndFineLocation()
/frameworks/base/location/java/android/location/
DGpsMeasurementListenerTransport.java33 public GpsMeasurementListenerTransport(Context context, ILocationManager locationManager) { in GpsMeasurementListenerTransport() argument
35 mLocationManager = locationManager; in GpsMeasurementListenerTransport()
DGpsNavigationMessageListenerTransport.java35 ILocationManager locationManager) { in GpsNavigationMessageListenerTransport() argument
37 mLocationManager = locationManager; in GpsNavigationMessageListenerTransport()
/frameworks/base/services/core/java/com/android/server/location/
DPassiveProvider.java53 public PassiveProvider(ILocationManager locationManager) { in PassiveProvider() argument
54 mLocationManager = locationManager; in PassiveProvider()
DMockProvider.java56 public MockProvider(String name, ILocationManager locationManager, in MockProvider() argument
61 mLocationManager = locationManager; in MockProvider()
/frameworks/base/core/java/com/android/internal/app/
DNetInitiatedActivity.java139 LocationManager locationManager = (LocationManager) in sendUserResponse() local
141 locationManager.sendNiResponse(notificationId, response); in sendUserResponse()
/frameworks/base/docs/html-intl/intl/ru/training/basics/activity-lifecycle/
Dstopping.jd158 LocationManager locationManager =
160 boolean gpsEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
/frameworks/base/docs/html-intl/intl/ja/training/basics/activity-lifecycle/
Dstopping.jd158 LocationManager locationManager =
160 boolean gpsEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/activity-lifecycle/
Dstopping.jd158 LocationManager locationManager =
160 boolean gpsEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
/frameworks/base/docs/html-intl/intl/ko/training/basics/activity-lifecycle/
Dstopping.jd158 LocationManager locationManager =
160 boolean gpsEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/activity-lifecycle/
Dstopping.jd158 LocationManager locationManager =
160 boolean gpsEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
/frameworks/base/docs/html-intl/intl/ja/training/tv/start/
Dhardware.jd235 LocationManager locationManager = (LocationManager) this.getSystemService(
237 Location location = locationManager.getLastKnownLocation("static");
/frameworks/base/docs/html/guide/topics/location/
Dstrategies.jd107 LocationManager locationManager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE);
124 locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener);
215 locationManager.requestLocationUpdates(locationProvider, 0, 0, locationListener);
229 Location lastKnownLocation = locationManager.getLastKnownLocation(locationProvider);
243 locationManager.removeUpdates(locationListener);
/frameworks/base/docs/html-intl/intl/pt-br/training/basics/activity-lifecycle/
Dstopping.jd158 LocationManager locationManager =
160 boolean gpsEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
/frameworks/base/docs/html/training/basics/activity-lifecycle/
Dstopping.jd160 LocationManager locationManager =
162 boolean gpsEnabled = locationManager.isProviderEnabled(LocationManager.GPS_PROVIDER);
/frameworks/base/docs/html/training/tv/start/
Dhardware.jd335 LocationManager locationManager = (LocationManager) this.getSystemService(
337 Location location = locationManager.getLastKnownLocation("static");