Searched refs:LOCATION_MODE (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | TestUtils.java | 63 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/ |
D | BatterySaverLocationTest.java | 221 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/ |
D | DeviceOwnerTest.java | 103 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/ |
D | AbstractRestrictBackgroundNetworkTestCase.java | 181 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/ |
D | SensorFeaturesDeactivator.java | 186 Settings.Secure.LOCATION_MODE, in getSettingMode()
|
/cts/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | NetworkScanApiTest.java | 458 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/ |
D | ConcurrencyTest.java | 211 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) in isLocationEnabled()
|
D | WifiManagerTest.java | 398 Settings.Secure.LOCATION_MODE, Settings.Secure.LOCATION_MODE_OFF) != in isLocationEnabled()
|