Searched refs:setUserRestriction (Results 1 – 3 of 3) sorted by relevance
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/src/com/android/cts/comp/provisioning/ |
D | UserRestrictionTest.java | 29 setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, true); in testAddDisallowAddManagedProfileRestriction() 33 setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, false); in testClearDisallowAddManagedProfileRestriction() 37 setUserRestriction(UserManager.DISALLOW_REMOVE_MANAGED_PROFILE, true); in testAddDisallowRemoveManagedProfileRestriction() 41 setUserRestriction(UserManager.DISALLOW_REMOVE_MANAGED_PROFILE, false); in testClearDisallowRemoveManagedProfileRestriction() 45 setUserRestriction(UserManager.DISALLOW_REMOVE_USER, true); in testAddDisallowRemoveUserRestriction() 49 setUserRestriction(UserManager.DISALLOW_REMOVE_USER, false); in testClearDisallowRemoveUserRestriction() 52 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 147 setUserRestriction(UserManager.DISALLOW_CONFIG_PRIVATE_DNS, true); in testCanSetModeDespiteUserRestriction()
|
/cts/hostsidetests/devicepolicy/app/TransferOwnerOutgoingApp/src/com/android/cts/transferowner/ |
D | DeviceAndProfileOwnerTransferOutgoingTest.java | 150 setUserRestriction(UserManager.DISALLOW_ADD_MANAGED_PROFILE, false); in testClearDisallowAddManagedProfileRestriction() 155 setUserRestriction(UserManager.DISALLOW_REMOVE_MANAGED_PROFILE, true); in testAddDisallowAddManagedProfileRestriction() 183 private void setUserRestriction(String restriction, boolean add) { in setUserRestriction() method in DeviceAndProfileOwnerTransferOutgoingTest
|