Searched refs:locationEnabled (Results 1 – 3 of 3) sorted by relevance
205 int locationEnabled = Settings.Secure.getInt(getInstrumentation() in verifyLocationSettingsOnOrOff() local209 assertFalse("Location not enabled correctly", locationEnabled == 0); in verifyLocationSettingsOnOrOff()212 assertEquals("Location not disabled correctly", 0, locationEnabled); in verifyLocationSettingsOnOrOff()
260 boolean locationEnabled = mILocationManagerProxy.isLocationEnabled(); in onReceive()261 logd("isLocationEnabled(): " + locationEnabled); in onReceive()262 if (!locationEnabled) { in onReceive()
329 final boolean locationEnabled = mLocationManager.isLocationEnabled(); in handleStartScan()330 if (!locationEnabled && !isFiltered) { in handleStartScan()1357 final boolean locationEnabled = mLocationManager.isLocationEnabled();1358 if (locationEnabled && isScreenOn()) {