Searched refs:FLAG_RESTRICTED (Results 1 – 5 of 5) sorted by relevance
63 public static final int FLAG_RESTRICTED = 0x00000008; field in UserInfo163 return (flags & FLAG_RESTRICTED) == FLAG_RESTRICTED; in isRestricted()
22 import static android.content.pm.UserInfo.FLAG_RESTRICTED;118 static final UserInfo restrictedProfileA = new UserInfo(40, "RestrictedA", FLAG_RESTRICTED);119 static final UserInfo restrictedProfileB = new UserInfo(42, "RestrictedB", FLAG_RESTRICTED);
76 mTestUser.getIdentifier(), "test_user", UserInfo.FLAG_RESTRICTED); in setUp()
202 | UserInfo.FLAG_RESTRICTED2688 final boolean isRestricted = (flags & UserInfo.FLAG_RESTRICTED) != 0; in createUserInternalUnchecked()2847 name, UserInfo.FLAG_RESTRICTED, parentUserId, null); in createRestrictedProfile()
2266 flags |= UserInfo.FLAG_RESTRICTED; in runCreateUser()2289 if ((flags & UserInfo.FLAG_RESTRICTED) != 0) { in runCreateUser()