Home
last modified time | relevance | path

Searched refs:setGlobalSetting (Results 1 – 9 of 9) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DDevicePolicyLoggingTest.java53 mDevicePolicyManager.setGlobalSetting(getWho(), AUTO_TIME, "1"); in testSetGlobalSettingLogged()
54 mDevicePolicyManager.setGlobalSetting(getWho(), AUTO_TIME_ZONE, "1"); in testSetGlobalSettingLogged()
55 mDevicePolicyManager.setGlobalSetting(getWho(), DATA_ROAMING, "1"); in testSetGlobalSettingLogged()
56 mDevicePolicyManager.setGlobalSetting(getWho(), USB_MASS_STORAGE_ENABLED, "1"); in testSetGlobalSettingLogged()
58 mDevicePolicyManager.setGlobalSetting(getWho(), AUTO_TIME, autoTimeOriginalValue); in testSetGlobalSettingLogged()
59 mDevicePolicyManager.setGlobalSetting( in testSetGlobalSettingLogged()
61 mDevicePolicyManager.setGlobalSetting(getWho(), DATA_ROAMING, dataRoamingOriginalValue); in testSetGlobalSettingLogged()
62 mDevicePolicyManager.setGlobalSetting( in testSetGlobalSettingLogged()
DSetTimeTest.java80 mDevicePolicyManager.setGlobalSetting(getWho(), Settings.Global.AUTO_TIME, "0"); in testSetTime()
86 mDevicePolicyManager.setGlobalSetting(getWho(), Settings.Global.AUTO_TIME, "1"); in testSetTimeFailWithAutoTimeOn()
122 mDevicePolicyManager.setGlobalSetting(getWho(), Settings.Global.AUTO_TIME_ZONE, "0"); in testSetTimeZone()
134 mDevicePolicyManager.setGlobalSetting(getWho(), Settings.Global.AUTO_TIME_ZONE, "1"); in testSetTimeZone()
139 mDevicePolicyManager.setGlobalSetting(getWho(), Settings.Global.AUTO_TIME_ZONE, "1"); in testSetTimeZoneFailWithAutoTimezoneOn()
149 mDevicePolicyManager.setGlobalSetting(getWho(), Settings.Global.AUTO_TIME, "0"); in restoreTime()
155 mDevicePolicyManager.setGlobalSetting(getWho(), Settings.Global.AUTO_TIME, "1"); in restoreTime()
DWifiConfigLockdownTest.java53 mDevicePolicyManager.setGlobalSetting(getWho(), in setUp()
63 mDevicePolicyManager.setGlobalSetting(getWho(), in tearDown()
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleCommon.java90 …static void setGlobalSetting(ITestDevice device, String globalSetting, String value) throws Except… in setGlobalSetting() method in CtsAngleCommon
97 setGlobalSetting(device, SETTINGS_GLOBAL_ALL_USE_ANGLE, "0"); in clearSettings()
98 setGlobalSetting(device, SETTINGS_GLOBAL_ANGLE_IN_USE_DIALOG_BOX, "0"); in clearSettings()
99 setGlobalSetting(device, SETTINGS_GLOBAL_DRIVER_PKGS, "\"\""); in clearSettings()
100 setGlobalSetting(device, SETTINGS_GLOBAL_DRIVER_VALUES, "\"\""); in clearSettings()
101 setGlobalSetting(device, SETTINGS_GLOBAL_ALLOWLIST, "\"\""); in clearSettings()
DCtsAngleDeveloperOptionHostTest.java44 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_DRIVER_PKGS, pkgName); in setAndValidateAngleDevOptionPkgDriver()
45 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_DRIVER_VALUES, driverValue); in setAndValidateAngleDevOptionPkgDriver()
114 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_ALL_USE_ANGLE, "1"); in testEnableAngleForAll()
463 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_ANGLE_IN_USE_DIALOG_BOX, "1"); in testAngleInUseDialogBoxWithAngle()
479 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_ANGLE_IN_USE_DIALOG_BOX, "1"); in testAngleInUseDialogBoxWithNative()
DCtsAngleRulesFileTest.java66 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_ALLOWLIST, allowList); in setAndValidateAngleDevOptionAllowlist()
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DDevicePolicyManagerWrapper.java73 doAnswer(answer).when(spy).setGlobalSetting(any(), any(), any()); in getWrapper()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java281 mDpm.setGlobalSetting(mAdmin, setting, value); in onCreate()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java325 mDevicePolicyManager.setGlobalSetting(mComponent, in testSetGlobalSetting_failIfNotDeviceOwner()