Home
last modified time | relevance | path

Searched refs:locManager (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsBgVsFgActions.java208 final LocationManager locManager = ctx.getSystemService(LocationManager.class); in doGpsUpdate() local
209 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in doGpsUpdate()
239 locManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 990, 0, in doGpsUpdate()
242 locManager.removeUpdates(locListener); in doGpsUpdate()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java234 final LocationManager locManager = context.getSystemService(LocationManager.class); in testGpsScan() local
235 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsScan()
260 locManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 990, 0, in testGpsScan()
263 locManager.removeUpdates(locListener); in testGpsScan()