Searched refs:isAdmin (Results 1 – 9 of 9) sorted by relevance
153 final boolean isAdmin = UserManager.get(mContext).isUserAdmin(userId); in enforceIsAdmin()154 if (!isAdmin) { in enforceIsAdmin()
1448 boolean isAdmin; in enforceAdminUser()1451 isAdmin = um.getUserInfo(callingUserId).isAdmin(); in enforceAdminUser()1455 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()1286 if (user != null && !user.isAdmin()) { in createUser()
329 if (userInfo.isAdmin()) { in startConfirmation()
237 && (currentUserInfo.isAdmin() in refreshUsers()494 if ((userInfo == null || !userInfo.isAdmin()) && record.isRestricted) {
196 user.isAdmin() ? mAdminRetrieveFlags : mRetrieveFlags, in doResumeIfNeededLocked()
905 if (!userInfo.isAdmin()) { in canHaveRestrictedProfile()3451 if (user != null && !user.isAdmin()) { in createUserEvenWhenDisallowed()