Searched refs:FLAG_ADMIN (Results 1 – 6 of 6) sorted by relevance
50 public static final int FLAG_ADMIN = 0x00000002; field in UserInfo130 return (flags & FLAG_ADMIN) == FLAG_ADMIN; in isAdmin()
19 import static android.content.pm.UserInfo.FLAG_ADMIN;59 static final UserInfo primaryUser = new UserInfo(27, "Primary", FLAG_ADMIN | FLAG_PRIMARY);60 static final UserInfo secondaryUser = new UserInfo(15, "Secondary", FLAG_ADMIN);293 return (userMap.get(id).flags & UserInfo.FLAG_ADMIN) != 0; in setMockedUsers()
110 UserInfo user2 = createUser("User 2", UserInfo.FLAG_ADMIN); in testAdd2Users()
580 UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY | UserInfo.FLAG_INITIALIZED), 10);
71 mUsers.add(new UserInfo(0, "Owner", UserInfo.FLAG_ADMIN)); in setUp()
1815 flags |= UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY; in fallbackToSingleUserLP()2281 flags |= UserInfo.FLAG_ADMIN; in createUserInternalUnchecked()