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.java537 private void setRestriction(String restriction, boolean enabled) { in setRestriction() method in ByodHelperActivity
549 setRestriction(restriction, enabled); in setRestrictionAndSaveOriginal()
556 setRestriction(restriction, mOriginalRestrictions.getBoolean(restriction)); in restoreOriginalRestriction()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java942 private String getUserRestrictionCommand(boolean setRestriction) { in getUserRestrictionCommand() argument
943 if (setRestriction) { in getUserRestrictionCommand()