Home
last modified time | relevance | path

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

/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DTestUtils.java71 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in getLocationMode()
78 Settings.Secure.putInt(context.getContentResolver(), Settings.Secure.LOCATION_MODE, in setLocationMode()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceOwnerTest.java97 private static final String LOCATION_MODE = "location_mode"; field in DeviceOwnerTest
620 String oldLocationSetting = getDevice().getSetting(SETTINGS_SECURE, LOCATION_MODE); in testWifiConfigLockdown()
623 getDevice().setSetting(SETTINGS_SECURE, LOCATION_MODE, LOCATION_MODE_HIGH_ACCURACY); in testWifiConfigLockdown()
627 getDevice().setSetting(SETTINGS_SECURE, LOCATION_MODE, oldLocationSetting); in testWifiConfigLockdown()
/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/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.java461 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF); in getAndSetLocationSwitch()
467 Settings.Secure.LOCATION_MODE, locationMode); in getAndSetLocationSwitch()
/cts/tests/tests/wifi/src/android/net/wifi/cts/
DConcurrencyTest.java211 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) in isLocationEnabled()
DWifiManagerTest.java399 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) != in isLocationEnabled()