Home
last modified time | relevance | path

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

/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/privacy/
DLocationModePC.java99 boolean locationEnabled = mContext.getSystemService(LocationManager.class) in update()
102 if (locationEnabled) { in update()
108 if (locationEnabled) { in update()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DLocationSettingsTests.java208 int locationEnabled = Settings.Secure.getInt(getInstrumentation() in verifyLocationSettingsOnOrOff() local
212 assertFalse("Location not enabled correctly", locationEnabled == 0); in verifyLocationSettingsOnOrOff()
215 assertEquals("Location not disabled correctly", 0, locationEnabled); in verifyLocationSettingsOnOrOff()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLocationFragment.java293 boolean locationEnabled = getActivity().getSystemService(LocationManager.class) in refreshLocationMode()
296 if (locationEnabled) { in refreshLocationMode()
303 if (locationEnabled) { in refreshLocationMode()
/packages/services/Car/service/src/com/android/car/
DCarLocationService.java390 boolean locationEnabled = mILocationManagerProxy.isLocationEnabled(); in onReceive()
391 logd("isLocationEnabled(): %s", locationEnabled); in onReceive()
392 if (!locationEnabled) { in onReceive()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DSafetyCenterQsViewModel.kt175 val locationEnabled = in onUpdate() constant
194 LOCATION to SensorState(true, locationEnabled, locationEnforcedAdmin) in onUpdate()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_scan/
DScanManager.java406 final boolean locationEnabled = mLocationManager.isLocationEnabled(); in handleStartScan()
407 if (requiresLocationOn(client) && !locationEnabled) { in handleStartScan()
1962 final boolean locationEnabled = mLocationManager.isLocationEnabled();
1963 if (locationEnabled) {