Searched refs:otherUser (Results 1 – 2 of 2) sorted by relevance
80 public int compare(UserInfo userInfo, UserInfo otherUser) { in loadApps()81 return Integer.compare(userInfo.id, otherUser.id); in loadApps()
780 private static boolean isProfileOf(UserManager um, UserHandle otherUser) { in isProfileOf() argument781 if (um == null || otherUser == null) return false; in isProfileOf()782 return (UserHandle.myUserId() == otherUser.getIdentifier()) in isProfileOf()783 || um.getUserProfiles().contains(otherUser); in isProfileOf()