Searched refs:isAdmin (Results 1 – 16 of 16) sorted by relevance
96 public abstract List<User> findByAdmin(boolean isAdmin); in findByAdmin() argument175 public abstract boolean isAdmin(int uid); in isAdmin() method in UserDao
86 public boolean isAdmin() { in isAdmin() method in User
132 && !user.isAdmin() in testAddUser()177 assertFalse(userInfo.isAdmin()); in testSetUserAdmin()190 assertTrue(userInfo.isAdmin()); in testSetUserAdmin()
136 public boolean isAdmin() { in isAdmin() method in UserInfo
186 final boolean isAdmin = UserManager.get(mContext).isUserAdmin(userId); in enforceIsAdmin()187 if (!isAdmin) { in enforceIsAdmin()
1371 boolean isAdmin; in enforceAdminUser()1374 isAdmin = um.getUserInfo(callingUserId).isAdmin(); in enforceAdminUser()1378 if (!isAdmin) { in enforceAdminUser()
278 assertThat(mUserDao.isAdmin(1), is(true)); in returnBoolean()279 assertThat(mUserDao.isAdmin(2), is(false)); in returnBoolean()
330 if (userInfo.isAdmin()) { in startConfirmation()
240 && (currentUserInfo.isAdmin() in refreshUsers()501 if ((userInfo == null || !userInfo.isAdmin()) && record.isRestricted) {
1273 return user != null && user.isAdmin(); in isUserAdmin()1821 if (user != null && !user.isAdmin() && !user.isDemo()) { in createUser()
242 final boolean adminUserConditionMet = userInfo.isAdmin() in satisifesRequiredUserType()
1013 if (info == null || info.isAdmin()) { in setUserAdmin()1183 if (!userInfo.isAdmin()) { in canHaveRestrictedProfile()3878 if (user != null && !user.isAdmin() && !user.isDemo()) { in createUserEvenWhenDisallowed()
1850 return info != null && info.isPrimary() && info.isAdmin() && frpCredentialEnabled(context);
252 user.isAdmin() ? mAdminRetrieveFlags : mRetrieveFlags, in doResumeIfNeededLocked()
1801 Landroid/content/pm/UserInfo;->isAdmin()Z
18912 HSPLandroid/content/pm/UserInfo;->isAdmin()Z