Searched refs:locManager (Results 1 – 1 of 1) sorted by relevance
422 final LocationManager locManager = context.getSystemService(LocationManager.class); in testGpsScan() local423 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() local468 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 …]