Searched refs:isAdmin (Results 1 – 9 of 9) sorted by relevance
152 final boolean isAdmin = UserManager.get(mContext).isUserAdmin(userId); in enforceIsAdmin()153 if (!isAdmin) { in enforceIsAdmin()
1448 boolean isAdmin; in enforceAdminUser()1451 isAdmin = um.getUserInfo(callingUserId).isAdmin(); in enforceAdminUser()1455 if (!isAdmin) { in enforceAdminUser()
124 public boolean isAdmin() { in isAdmin() method in UserInfo
95 && !user.isAdmin() in testAddUser()
822 return user != null && user.isAdmin(); in isUserAdmin()1250 if (user != null && !user.isAdmin()) { in createUser()
329 if (userInfo.isAdmin()) { in startConfirmation()
237 && (currentUserInfo.isAdmin() in refreshUsers()478 if ((userInfo == null || !userInfo.isAdmin()) && record.isRestricted) {
196 user.isAdmin() ? mAdminRetrieveFlags : mRetrieveFlags, in doResumeIfNeededLocked()
885 if (!userInfo.isAdmin()) { in canHaveRestrictedProfile()3386 if (user != null && !user.isAdmin()) { in createUserEvenWhenDisallowed()