Searched refs:isUserAdmin (Results 1 – 5 of 5) sorted by relevance
70 && UserManager.get(mContext).isUserAdmin(ActivityManager.getCurrentUser()); in isHotspotSupported()
273 if (!UserManager.get(mContext).isUserAdmin(userId)) { in enforceUserIsAdmin()
1431 return isUserAdmin(UserHandle.myUserId()); in isAdminUser()1440 public boolean isUserAdmin(@UserIdInt int userId) { in isUserAdmin() method in UserManager
226 final boolean isAdmin = UserManager.get(mContext).isUserAdmin(userId); in enforceIsAdmin()
584 mUm.isUserAdmin(userId) ? mAdminRetrieveFlags : mRetrieveFlags, in addPackage()