Home
last modified time | relevance | path

Searched refs:LOCATION_MODE_OFF (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java110 ? Settings.Secure.LOCATION_MODE_PREVIOUS : Settings.Secure.LOCATION_MODE_OFF; in setLocationEnabled()
125 Settings.Secure.LOCATION_MODE_OFF, ActivityManager.getCurrentUser()); in isLocationEnabled()
126 return mode != Settings.Secure.LOCATION_MODE_OFF; in isLocationEnabled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiSettingsStore.java235 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in getLocationModeSetting()
DWifiServiceImpl.java1153 if (mSettingsStore.getLocationModeSetting(mContext) == Settings.Secure.LOCATION_MODE_OFF) { in startLocalOnlyHotspot()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java240 != Settings.Secure.LOCATION_MODE_OFF); in isLocationModeEnabled()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java464 android.provider.Settings.Secure.LOCATION_MODE_OFF, in applyUserRestriction()
DUserManagerService.java2568 android.provider.Settings.Secure.LOCATION_MODE_OFF, user.id); in createRestrictedProfile()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java516 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF;
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java327 + "LOCATION_MODE_OFF by default", locationMode, Settings.Secure.LOCATION_MODE_OFF); in testAddRestrictedProfile()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java37 import static android.provider.Settings.Secure.LOCATION_MODE_OFF;
815 when(mSettingsStore.getLocationModeSetting(mContext)).thenReturn(LOCATION_MODE_OFF); in testStartLocalOnlyHotspotThrowsSecurityExceptionWithoutLocationEnabled()
/frameworks/base/core/java/android/provider/
DSettings.java5317 public static final int LOCATION_MODE_OFF = 0; field in Settings.Secure
7215 if (mode == LOCATION_MODE_OFF) { in restoreLocationModeForUser()
7244 case LOCATION_MODE_OFF: in setLocationModeForUser()
7300 return LOCATION_MODE_OFF; in getLocationModeForUser()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhone.java1662 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in privatizeCellInfoList()
1663 if (mode == Settings.Secure.LOCATION_MODE_OFF) { in privatizeCellInfoList()
DGsmCdmaPhone.java422 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in getCellLocation()
423 if (mode == Settings.Secure.LOCATION_MODE_OFF) { in getCellLocation()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java1521 if (String.valueOf(Settings.Secure.LOCATION_MODE_OFF).equals(value)) return false;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt25347 field public static final int LOCATION_MODE_OFF = 0; // 0x0
/frameworks/base/api/
Dcurrent.txt34861 field public static final int LOCATION_MODE_OFF = 0; // 0x0
Dsystem-current.txt37918 field public static final int LOCATION_MODE_OFF = 0; // 0x0