Home
last modified time | relevance | path

Searched refs:setSetting (Results 1 – 14 of 14) sorted by relevance

/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/
DLocationModeSetter.java40 mDevice.setSetting(SETTINGS_SECURE, LOCATION_MODE, LOCATION_MODE_HIGH_ACCURACY); in setLocationEnabled()
42 mDevice.setSetting(SETTINGS_SECURE, LOCATION_MODE, LOCATION_MODE_OFF); in setLocationEnabled()
48 mDevice.setSetting(SETTINGS_SECURE, LOCATION_MODE, mOldLocationSetting); in close()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DLocationModeSetter.java42 mDevice.setSetting(SETTINGS_SECURE, LOCATION_MODE, LOCATION_MODE_HIGH_ACCURACY); in setLocationEnabled()
44 mDevice.setSetting(SETTINGS_SECURE, LOCATION_MODE, LOCATION_MODE_OFF); in setLocationEnabled()
50 mDevice.setSetting(SETTINGS_SECURE, LOCATION_MODE, mOldLocationSetting); in close()
DDeviceAndProfileOwnerTest.java1243 getDevice().setSetting(userId, "secure", ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES, in setEnabledNotificationPolicyPackages()
1259 getDevice().setSetting( in setVoiceInteractionService()
1261 getDevice().setSetting(mPrimaryUserId, "secure", "assist_structure_enabled", "1"); in setVoiceInteractionService()
1262 getDevice().setSetting(mPrimaryUserId, "secure", "assist_screenshot_enabled", "1"); in setVoiceInteractionService()
DMixedDeviceOwnerTest.java243 getDevice().setSetting("global", "stay_on_while_plugged_in", stayAwake); in testSecurityLoggingWithSingleUser()
DOrgOwnedProfileOwnerTest.java285 getDevice().setSetting("global", "stay_on_while_plugged_in", stayAwake); in testSecurityLoggingOnWorkProfile()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContacts_SettingsTest.java37 Settings.setSetting(mContentResolver, "account", key1, value1); in testAccessSetting()
38 Settings.setSetting(mContentResolver, "account", key2, value2); in testAccessSetting()
43 Settings.setSetting(mContentResolver, "account", key1, value2); in testAccessSetting()
DContactsTest.java696 Settings.setSetting(mContentResolver, null, insertKey, insertValue);
/cts/hostsidetests/jvmti/base/host/src/android/jvmti/cts/
DJvmtiHostTest.java124 device.setSetting("global", "hidden_api_policy", "1"); in testJvmti()
143 device.setSetting("global", "hidden_api_policy", old_hiddenapi_setting); in testJvmti()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2023_40117.java112 device.setSetting(namespace, entry.getKey(), entry.getValue()); in withPreservedSettings()
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleCommon.java106 device.setSetting("global", globalSetting, value); in setGlobalSetting()
/cts/hostsidetests/backup/src/android/cts/backup/
DBaseMultiUserBackupHostSideTest.java119 mDevice.setSetting(userId, "secure", USER_SETUP_COMPLETE_SETTING, "1"); in startUser()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DResumeOnRebootHostTest.java108 getDevice().setSetting("global", "verifier_verify_adb_installs", "0"); in setUp()
123 getDevice().setSetting( in tearDown()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java336 private void setSetting(String name, String setting) throws Exception { in setSetting() method in UsageStatsTest
345 setSetting(Settings.Global.APP_TIME_LIMIT_USAGE_SOURCE, value); in setUsageSourceSetting()
397 setSetting(Settings.Global.APP_STANDBY_ENABLED, "0"); in testTogglingViaSettings()
402 setSetting(Settings.Global.APP_STANDBY_ENABLED, "1"); in testTogglingViaSettings()
403 setSetting(Settings.Global.ADAPTIVE_BATTERY_MANAGEMENT_ENABLED, "0"); in testTogglingViaSettings()
407 setSetting(Settings.Global.ADAPTIVE_BATTERY_MANAGEMENT_ENABLED, "1"); in testTogglingViaSettings()
411 setSetting(Settings.Global.APP_STANDBY_ENABLED, initialAppStandbyEnabled); in testTogglingViaSettings()
412 setSetting(Settings.Global.ADAPTIVE_BATTERY_MANAGEMENT_ENABLED, in testTogglingViaSettings()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt36106 …method @Deprecated public static void setSetting(android.content.ContentResolver, String, String, …