Searched refs:isAdmin (Results 1 – 9 of 9) sorted by relevance
156 final boolean isAdmin = UserManager.get(mContext).isUserAdmin(userId); in enforceIsAdmin()157 if (!isAdmin) { in enforceIsAdmin()
1461 boolean isAdmin; in enforceAdminUser()1464 isAdmin = um.getUserInfo(callingUserId).isAdmin(); in enforceAdminUser()1468 if (!isAdmin) { in enforceAdminUser()
129 public boolean isAdmin() { in isAdmin() method in UserInfo
97 && !user.isAdmin() in testAddUser()
844 return user != null && user.isAdmin(); in isUserAdmin()1282 if (user != null && !user.isAdmin()) { in createUser()
329 if (userInfo.isAdmin()) { in startConfirmation()
236 && (currentUserInfo.isAdmin() in refreshUsers()493 if ((userInfo == null || !userInfo.isAdmin()) && record.isRestricted) {
197 user.isAdmin() ? mAdminRetrieveFlags : mRetrieveFlags, in doResumeIfNeededLocked()
931 if (!userInfo.isAdmin()) { in canHaveRestrictedProfile()3452 if (user != null && !user.isAdmin()) { in createUserEvenWhenDisallowed()