Home
last modified time | relevance | path

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

/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java422 final LocationManager locManager = context.getSystemService(LocationManager.class); in testGpsScan() local
423 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsScan()
451 locManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 990, 0, in testGpsScan()
454 locManager.removeUpdates(locListener); in testGpsScan()
466 final LocationManager locManager = context.getSystemService(LocationManager.class); in testGpsStatus() local
468 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsStatus()
487 if (locManager.getProvider(LocationManager.NETWORK_PROVIDER) != null) { in testGpsStatus()
489 locManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, in testGpsStatus()
524 boolean gnssStatusCallbackAdded = locManager.registerGnssStatusCallback( in testGpsStatus()
531 locManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, in testGpsStatus()
[all …]