Home
last modified time | relevance | path

Searched refs:LOCATION_MODE (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DTestUtils.java63 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in getLocationMode()
70 Settings.Secure.putInt(context.getContentResolver(), Settings.Secure.LOCATION_MODE, in setLocationMode()
/cts/tests/tests/batterysaving/src/android/os/cts/batterysaving/
DBatterySaverLocationTest.java221 return Secure.getInt(getContext().getContentResolver(), Secure.LOCATION_MODE, 0); in getLocationMode()
228 Settings.Secure.getUriFor(Settings.Secure.LOCATION_MODE)); in runWithExpectingLocationCallback()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceOwnerTest.java103 private static final String LOCATION_MODE = "location_mode"; field in DeviceOwnerTest
718 String oldLocationSetting = getDevice().getSetting(SETTINGS_SECURE, LOCATION_MODE); in testWifiConfigLockdown()
721 getDevice().setSetting(SETTINGS_SECURE, LOCATION_MODE, LOCATION_MODE_HIGH_ACCURACY); in testWifiConfigLockdown()
725 getDevice().setSetting(SETTINGS_SECURE, LOCATION_MODE, oldLocationSetting); in testWifiConfigLockdown()
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DAbstractRestrictBackgroundNetworkTestCase.java181 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.LOCATION_MODE, in enableLocation()
185 Settings.Secure.LOCATION_MODE)); in enableLocation()
189 Settings.Secure.putInt(mContext.getContentResolver(), Settings.Secure.LOCATION_MODE, in disableLocation()
193 Settings.Secure.LOCATION_MODE)); in disableLocation()
198 Settings.Secure.LOCATION_MODE) != Settings.Secure.LOCATION_MODE_OFF; in isLocationOn()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/helpers/
DSensorFeaturesDeactivator.java186 Settings.Secure.LOCATION_MODE, in getSettingMode()
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/
DNetworkScanApiTest.java458 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in getAndSetLocationSwitch()
464 Settings.Secure.LOCATION_MODE, locationMode); in getAndSetLocationSwitch()
/cts/tests/tests/net/src/android/net/wifi/cts/
DConcurrencyTest.java211 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) in isLocationEnabled()
DWifiManagerTest.java398 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) != in isLocationEnabled()