Searched refs:setUserRestriction (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/ |
D | UserRestrictionTest.java | 28 setUserRestriction(UserManager.DISALLOW_REMOVE_USER, true); in testAddDisallowRemoveUserRestriction() 32 setUserRestriction(UserManager.DISALLOW_REMOVE_USER, false); in testClearDisallowRemoveUserRestriction() 35 private void setUserRestriction(String restriction, boolean add) { in setUserRestriction() method in UserRestrictionTest
|
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/ |
D | PrivateDnsPolicyTest.java | 46 setUserRestriction(UserManager.DISALLOW_CONFIG_PRIVATE_DNS, false); in tearDown() 51 setUserRestriction(UserManager.DISALLOW_CONFIG_PRIVATE_DNS, true); in testDisallowPrivateDnsConfigurationRestriction() 57 setUserRestriction(UserManager.DISALLOW_CONFIG_PRIVATE_DNS, false); in testClearDisallowPrivateDnsConfigurationRestriction() 62 private void setUserRestriction(String restriction, boolean add) { in setUserRestriction() method in PrivateDnsPolicyTest 152 setUserRestriction(UserManager.DISALLOW_CONFIG_PRIVATE_DNS, true); in testCanSetModeDespiteUserRestriction()
|
/cts/hostsidetests/devicepolicy/app/TransferOwnerOutgoingApp/src/com/android/cts/transferowner/ |
D | DeviceAndProfileOwnerTransferOutgoingTest.java | 141 private void setUserRestriction(String restriction, boolean add) { in setUserRestriction() method in DeviceAndProfileOwnerTransferOutgoingTest
|
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/ |
D | current.txt | 34033 …@RequiresPermission("android.permission.MANAGE_USERS") public void setUserRestriction(String, bool…
|