Searched refs:otherUser (Results 1 – 5 of 5) sorted by relevance
123 boolean isCrossProfileAllowedToUser(UserId otherUser); in isCrossProfileAllowedToUser() argument334 public boolean isCrossProfileAllowedToUser(UserId otherUser) { in isCrossProfileAllowedToUser() argument336 return !isProfileOff(otherUser) && !isBlockedByAdmin(otherUser); in isCrossProfileAllowedToUser()
86 (userInfo, otherUser) -> Integer.compare(userInfo.id, otherUser.id)); in getStorageResultsForUsers()
581 private static boolean isProfileOf(UserManager um, UserHandle otherUser) { in isProfileOf() argument582 if (um == null || otherUser == null) return false; in isProfileOf()583 return (UserHandle.myUserId() == otherUser.getIdentifier()) in isProfileOf()584 || um.getUserProfiles().contains(otherUser); in isProfileOf()
196 UserInfo otherUser = generateUser(1001, "Other User"); in switchNotAllowed_returnsOnlyCurrentUser() local197 mAliveUsers.add(otherUser); in switchNotAllowed_returnsOnlyCurrentUser()
447 for ((otherUser, otherStats) in userStats) { in getAppsToHibernate() variable448 if (otherUser == user) { in getAppsToHibernate()