Searched refs:locManager (Results 1 – 2 of 2) sorted by relevance
208 final LocationManager locManager = ctx.getSystemService(LocationManager.class); in doGpsUpdate() local209 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in doGpsUpdate()238 locManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 990, 0, in doGpsUpdate()241 locManager.removeUpdates(locListener); in doGpsUpdate()
232 final LocationManager locManager = context.getSystemService(LocationManager.class); in testGpsScan() local233 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsScan()258 locManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 990, 0, in testGpsScan()261 locManager.removeUpdates(locListener); in testGpsScan()