Home
last modified time | relevance | path

Searched refs:locationEnabled (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DLocationSettingsTests.java205 int locationEnabled = Settings.Secure.getInt(getInstrumentation() in verifyLocationSettingsOnOrOff() local
209 assertFalse("Location not enabled correctly", locationEnabled == 0); in verifyLocationSettingsOnOrOff()
212 assertEquals("Location not disabled correctly", 0, locationEnabled); in verifyLocationSettingsOnOrOff()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java260 boolean locationEnabled = mILocationManagerProxy.isLocationEnabled(); in onReceive()
261 logd("isLocationEnabled(): " + locationEnabled); in onReceive()
262 if (!locationEnabled) { in onReceive()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java329 final boolean locationEnabled = mLocationManager.isLocationEnabled(); in handleStartScan()
330 if (!locationEnabled && !isFiltered) { in handleStartScan()
1357 final boolean locationEnabled = mLocationManager.isLocationEnabled();
1358 if (locationEnabled && isScreenOn()) {