Home
last modified time | relevance | path

Searched refs:setRestriction (Results 1 – 3 of 3) sorted by relevance

/cts/hostsidetests/multiuser/src/android/host/multiuser/
DCreateUsersPermissionTest.java64 final String setRestriction = "pm set-user-restriction no_fun "; in testCantSetUserRestriction() local
65 final String output = getDevice().executeShellCommand(setRestriction + "1"); in testCantSetUserRestriction()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodHelperActivity.java545 private void setRestriction(String restriction, boolean enabled) { in setRestriction() method in ByodHelperActivity
557 setRestriction(restriction, enabled); in setRestrictionAndSaveOriginal()
564 setRestriction(restriction, mOriginalRestrictions.getBoolean(restriction)); in restoreOriginalRestriction()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java875 private String getUserRestrictionCommand(boolean setRestriction) { in getUserRestrictionCommand() argument
876 if (setRestriction) { in getUserRestrictionCommand()