Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DWifiPermissionsUtilTest.java361 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF; in testCannotAccessScanResults_LocationModeDisabled()
395 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF; in testEnforceCannotAccessScanResults_LocationModeDisabledHasChangeWifiState()
430 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF; in testEnforceCannotAccessScanResults_LocationModeDisabledHasAccessWifiState()
465 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF; in testEnforceCannotAccessScanResults_LocationModeDisabledHasNoNetworkSettings()
501 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF; in testEnforceCanAccessScanResults_LocationModeDisabledHasNetworkSettings()
533 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF; in testEnforceCannotAccessScanResults_LocationModeDisabledHasNoNetworkSetupWizard()
569 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF; in testEnforceCanAccessScanResults_LocationModeDisabledHasNetworkSetupWizard()
699 mLocationModeSetting = Settings.Secure.LOCATION_MODE_OFF;
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsProviderTest.java696 String.valueOf(Settings.Secure.LOCATION_MODE_OFF), in testUpdateLocationProvidersAllowedLocked_enableProviders()
760 String.valueOf(Settings.Secure.LOCATION_MODE_OFF), in testUpdateLocationProvidersAllowedLocked_enableAndDisable()
782 String.valueOf(Settings.Secure.LOCATION_MODE_OFF), in testUpdateLocationProvidersAllowedLocked_invalidInput()
/frameworks/base/services/core/java/com/android/server/
DNetworkScorerAppManager.java225 Settings.Secure.LOCATION_MODE_OFF) != Settings.Secure.LOCATION_MODE_OFF; in isLocationModeEnabled()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiSettingsStore.java235 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in getLocationModeSetting()
DWifiController.java135 == Settings.Secure.LOCATION_MODE_OFF; in WifiController()
193 == Settings.Secure.LOCATION_MODE_OFF) { in checkScanOnlyModeAvailable()
DWifiServiceImpl.java1375 if (mSettingsStore.getLocationModeSetting(mContext) == Settings.Secure.LOCATION_MODE_OFF) { in startLocalOnlyHotspot()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsUtil.java279 != Settings.Secure.LOCATION_MODE_OFF); in isLocationModeEnabled()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DUtils.java62 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF, userId); in updateLocationEnabled()
65 : Settings.Secure.LOCATION_MODE_OFF; in updateLocationEnabled()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiControllerTest.java196 .thenReturn(Settings.Secure.LOCATION_MODE_OFF); in testDoesNotEnterScanModeWhenLocationModeDisabled()
223 .thenReturn(Settings.Secure.LOCATION_MODE_OFF); in testEnterScanModeWhenLocationModeEnabled()
274 .thenReturn(Settings.Secure.LOCATION_MODE_OFF); in testExitScanModeWhenLocationModeDisabled()
DWifiServiceImplTest.java39 import static android.provider.Settings.Secure.LOCATION_MODE_OFF;
1237 when(mSettingsStore.getLocationModeSetting(mContext)).thenReturn(LOCATION_MODE_OFF); in testStartLocalOnlyHotspotThrowsSecurityExceptionWithoutLocationEnabled()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DUtilsTest.java94 Secure.LOCATION_MODE_OFF, in testUpdateLocationMode_sendBroadcast()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java493 android.provider.Settings.Secure.LOCATION_MODE_OFF, in applyUserRestriction()
613 } else if (String.valueOf(Settings.Secure.LOCATION_MODE_OFF).equals(value)) { in isSettingRestrictedForUser()
DUserManagerService.java2778 android.provider.Settings.Secure.LOCATION_MODE_OFF, user.id); in createRestrictedProfile()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java353 + "LOCATION_MODE_OFF by default", locationMode, Settings.Secure.LOCATION_MODE_OFF); in testAddRestrictedProfile()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScorerAppManagerTest.java589 mockLocationModeValue(Settings.Secure.LOCATION_MODE_OFF); in mockLocationModeOff()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhone.java1712 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in privatizeCellInfoList()
1713 if (mode == Settings.Secure.LOCATION_MODE_OFF) { in privatizeCellInfoList()
DGsmCdmaPhone.java445 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in getCellLocation()
446 if (mode == Settings.Secure.LOCATION_MODE_OFF) { in getCellLocation()
/frameworks/base/core/java/android/provider/
DSettings.java5697 public static final int LOCATION_MODE_OFF = 0; field in Settings.Secure
8366 case LOCATION_MODE_OFF: in setLocationModeForUser()
8413 return LOCATION_MODE_OFF; in getLocationModeForUser()
/frameworks/base/core/proto/android/providers/settings/
Dglobal.proto452 // Secure#LOCATION_MODE_OFF} temporarily for all users.
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt25347 field public static final int LOCATION_MODE_OFF = 0; // 0x0
/frameworks/base/api/
Dcurrent.txt36693 field public static final deprecated int LOCATION_MODE_OFF = 0; // 0x0
/frameworks/base/config/
Dhiddenapi-public-dex.txt34942 Landroid/provider/Settings$Secure;->LOCATION_MODE_OFF:I