Home
last modified time | relevance | path

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

/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
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.java57 mDevicePolicyManager.setGlobalSetting(getWho(), in setUp()
67 mDevicePolicyManager.setGlobalSetting(getWho(), in tearDown()
/cts/hostsidetests/angle/src/android/angle/cts/
DCtsAngleCommon.java88 …static void setGlobalSetting(ITestDevice device, String globalSetting, String value) throws Except… in setGlobalSetting() method in CtsAngleCommon
93 setGlobalSetting(device, SETTINGS_GLOBAL_ALL_USE_ANGLE, "0"); in clearSettings()
94 setGlobalSetting(device, SETTINGS_GLOBAL_ANGLE_IN_USE_DIALOG_BOX, "0"); in clearSettings()
95 setGlobalSetting(device, SETTINGS_GLOBAL_DRIVER_PKGS, "\"\""); in clearSettings()
96 setGlobalSetting(device, SETTINGS_GLOBAL_DRIVER_VALUES, "\"\""); in clearSettings()
97 setGlobalSetting(device, SETTINGS_GLOBAL_WHITELIST, "\"\""); in clearSettings()
DCtsAngleDeveloperOptionHostTest.java44 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_DRIVER_PKGS, pkgName); in setAndValidateAngleDevOptionPkgDriver()
45 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_DRIVER_VALUES, driverValue); in setAndValidateAngleDevOptionPkgDriver()
102 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_ALL_USE_ANGLE, "1"); in testEnableAngleForAll()
442 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_ANGLE_IN_USE_DIALOG_BOX, "1"); in testAngleInUseDialogBoxWithAngle()
457 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_ANGLE_IN_USE_DIALOG_BOX, "1"); in testAngleInUseDialogBoxWithNative()
DCtsAngleRulesFileTest.java71 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_WHITELIST, in setUp()
79 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_WHITELIST, mWhiteList); in tearDown()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DCommandReceiverActivity.java267 mDpm.setGlobalSetting(mAdmin, setting, value); in onCreate()
/cts/tests/admin/src/android/admin/cts/
DDevicePolicyManagerTest.java283 mDevicePolicyManager.setGlobalSetting(mComponent, in testSetGlobalSetting_failIfNotDeviceOwner()