Home
last modified time | relevance | path

Searched refs:setSetting (Results 1 – 12 of 12) 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.java2043 getDevice().setSetting(userId, "secure", ENABLED_NOTIFICATION_POLICY_ACCESS_PACKAGES, in setEnabledNotificationPolicyPackages()
2059 getDevice().setSetting( in setVoiceInteractionService()
2061 getDevice().setSetting(mPrimaryUserId, "secure", "assist_structure_enabled", "1"); in setVoiceInteractionService()
2062 getDevice().setSetting(mPrimaryUserId, "secure", "assist_screenshot_enabled", "1"); in setVoiceInteractionService()
DDeviceOwnerTest.java132 getDevice().setSetting("global", "sys_storage_threshold_percentage", "100"); in testCreateAndManageUser_LowStorage()
133 getDevice().setSetting("global", "sys_storage_threshold_max_bytes", in testCreateAndManageUser_LowStorage()
DMixedDeviceOwnerTest.java330 getDevice().setSetting("global", "stay_on_while_plugged_in", stayAwake); in testSecurityLoggingWithSingleUser()
DOrgOwnedProfileOwnerTest.java279 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.java670 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/angle/src/android/angle/cts/
DCtsAngleCommon.java91 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/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java183 setSetting(Settings.Global.ENABLE_RESTRICTED_BUCKET, mCachedEnableRestrictedBucketSetting); in cleanUp()
212 private void setSetting(String name, String setting) throws Exception { in setSetting() method in UsageStatsTest
221 setSetting(Settings.Global.APP_TIME_LIMIT_USAGE_SOURCE, value); in setUsageSourceSetting()
857 setSetting(Settings.Global.ENABLE_RESTRICTED_BUCKET, "1"); in testUserForceIntoRestricted()
876 setSetting(Settings.Global.ENABLE_RESTRICTED_BUCKET, "0"); in testUserForceIntoRestricted_BucketDisabled()
895 setSetting(Settings.Global.ENABLE_RESTRICTED_BUCKET, "1"); in testUserLaunchRemovesFromRestricted()