Searched refs:locationEnabled (Results 1 – 6 of 6) sorted by relevance
99 boolean locationEnabled = mContext.getSystemService(LocationManager.class) in update()102 if (locationEnabled) { in update()108 if (locationEnabled) { in update()
208 int locationEnabled = Settings.Secure.getInt(getInstrumentation() in verifyLocationSettingsOnOrOff() local212 assertFalse("Location not enabled correctly", locationEnabled == 0); in verifyLocationSettingsOnOrOff()215 assertEquals("Location not disabled correctly", 0, locationEnabled); in verifyLocationSettingsOnOrOff()
293 boolean locationEnabled = getActivity().getSystemService(LocationManager.class) in refreshLocationMode()296 if (locationEnabled) { in refreshLocationMode()303 if (locationEnabled) { in refreshLocationMode()
390 boolean locationEnabled = mILocationManagerProxy.isLocationEnabled(); in onReceive()391 logd("isLocationEnabled(): %s", locationEnabled); in onReceive()392 if (!locationEnabled) { in onReceive()
175 val locationEnabled = in onUpdate() constant194 LOCATION to SensorState(true, locationEnabled, locationEnforcedAdmin) in onUpdate()
406 final boolean locationEnabled = mLocationManager.isLocationEnabled(); in handleStartScan()407 if (requiresLocationOn(client) && !locationEnabled) { in handleStartScan()1962 final boolean locationEnabled = mLocationManager.isLocationEnabled();1963 if (locationEnabled) {