Searched refs:locManager (Results 1 – 2 of 2) sorted by relevance
221 final LocationManager locManager = ctx.getSystemService(LocationManager.class); in doGpsUpdate() local222 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in doGpsUpdate()252 locManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 990, 0, in doGpsUpdate()255 locManager.removeUpdates(locListener); in doGpsUpdate()
234 final LocationManager locManager = context.getSystemService(LocationManager.class); in testGpsScan() local235 if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)) { in testGpsScan()260 locManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 990, 0, in testGpsScan()263 locManager.removeUpdates(locListener); in testGpsScan()