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()239 locManager.requestLocationUpdates(LocationManager.GPS_PROVIDER, 990, 0, in doGpsUpdate()242 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()