Searched refs:FLAG_RESTRICTED (Results 1 – 4 of 4) sorted by relevance
61 public static final int FLAG_RESTRICTED = 0x00000008; field in UserInfo133 return (flags & FLAG_RESTRICTED) == FLAG_RESTRICTED; in isRestricted()
22 import static android.content.pm.UserInfo.FLAG_RESTRICTED;61 static final UserInfo restrictedProfileA = new UserInfo(40, "RestrictedA", FLAG_RESTRICTED);62 static final UserInfo restrictedProfileB = new UserInfo(42, "RestrictedB", FLAG_RESTRICTED);
920 flags |= UserInfo.FLAG_RESTRICTED; in runCreateUser()938 if ((flags & UserInfo.FLAG_RESTRICTED) != 0) { in runCreateUser()
178 | UserInfo.FLAG_RESTRICTED2164 final boolean isRestricted = (flags & UserInfo.FLAG_RESTRICTED) != 0; in createUserInternalUnchecked()2302 final UserInfo user = createProfileForUser(name, UserInfo.FLAG_RESTRICTED, parentUserId); in createRestrictedProfile()