Searched refs:FLAG_RESTRICTED (Results 1 – 4 of 4) sorted by relevance
61 public static final int FLAG_RESTRICTED = 0x00000008; field in UserInfo138 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);
946 flags |= UserInfo.FLAG_RESTRICTED; in runCreateUser()966 if ((flags & UserInfo.FLAG_RESTRICTED) != 0) { in runCreateUser()
180 | UserInfo.FLAG_RESTRICTED2222 final boolean isRestricted = (flags & UserInfo.FLAG_RESTRICTED) != 0; in createUserInternalUnchecked()2363 final UserInfo user = createProfileForUser(name, UserInfo.FLAG_RESTRICTED, parentUserId); in createRestrictedProfile()