Searched refs:UserRestrictions (Results 1 – 8 of 8) sorted by relevance
33 public final class UserRestrictions { class39 UserRestrictions(UserReference user) { in UserRestrictions() method in UserRestrictions
639 fun userRestrictions(user: UserHandle): UserRestrictions { in <lambda>()647 fun userRestrictions(user: UserReference = TestApis.users().instrumented()): UserRestrictions { in <lambda>()648 return UserRestrictions(user) in <lambda>()
150 UserRestrictions.getUserRestrictionsForPolicyTransparency(mMode)) { in addTestsToAdapter()152 UserRestrictions.getUserRestrictionTestIntent(this, restriction, mMode); in addTestsToAdapter()153 if (!UserRestrictions.isRestrictionValid(this, restriction)) { in addTestsToAdapter()156 String title = UserRestrictions.getRestrictionLabel(this, restriction); in addTestsToAdapter()
163 userAction = UserRestrictions.getUserAction(this, userRestriction); in updateTestInstructions()
37 public class UserRestrictions { class
778 for (String userRestriction : UserRestrictions.getUserRestrictionsForPolicyTransparency( in clearPolicyTransparencyUserRestriction()
38 import com.android.bedstead.harrier.policies.UserRestrictions;186 @CanSetPolicyTest(policy = UserRestrictions.class)209 @CanSetPolicyTest(policy = UserRestrictions.class)287 @CanSetPolicyTest(policy = UserRestrictions.class)341 @PolicyAppliesTest(policy = UserRestrictions.class)376 @PolicyAppliesTest(policy = UserRestrictions.class)
34 public final class UserRestrictions { class