Searched refs:setRestriction (Results 1 – 3 of 3) sorted by relevance
40 final String setRestriction = "pm set-user-restriction no_fun "; in testCantSetUserRestriction() local41 final String output = getDevice().executeShellCommand(setRestriction + "1"); in testCantSetUserRestriction()
555 private void setRestriction(String restriction, boolean enabled) { in setRestriction() method in ByodHelperActivity567 setRestriction(restriction, enabled); in setRestrictionAndSaveOriginal()574 setRestriction(restriction, mOriginalRestrictions.getBoolean(restriction)); in restoreOriginalRestriction()
1095 private String getUserRestrictionCommand(boolean setRestriction) { in getUserRestrictionCommand() argument1096 if (setRestriction) { in getUserRestrictionCommand()