Searched refs:setGlobalSetting (Results 1 – 9 of 9) sorted by relevance
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | DevicePolicyLoggingTest.java | 53 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()
|
D | SetTimeTest.java | 80 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()
|
D | WifiConfigLockdownTest.java | 53 mDevicePolicyManager.setGlobalSetting(getWho(), in setUp() 63 mDevicePolicyManager.setGlobalSetting(getWho(), in tearDown()
|
/cts/hostsidetests/angle/src/android/angle/cts/ |
D | CtsAngleCommon.java | 90 …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()
|
D | CtsAngleDeveloperOptionHostTest.java | 44 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()
|
D | CtsAngleRulesFileTest.java | 66 setGlobalSetting(getDevice(), SETTINGS_GLOBAL_ALLOWLIST, allowList); in setAndValidateAngleDevOptionAllowlist()
|
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/ |
D | DevicePolicyManagerWrapper.java | 73 doAnswer(answer).when(spy).setGlobalSetting(any(), any(), any()); in getWrapper()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | CommandReceiverActivity.java | 281 mDpm.setGlobalSetting(mAdmin, setting, value); in onCreate()
|
/cts/tests/admin/src/android/admin/cts/ |
D | DevicePolicyManagerTest.java | 325 mDevicePolicyManager.setGlobalSetting(mComponent, in testSetGlobalSetting_failIfNotDeviceOwner()
|