Home
last modified time | relevance | path

Searched refs:otherUser (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoader.java80 public int compare(UserInfo userInfo, UserInfo otherUser) { in loadApps()
81 return Integer.compare(userInfo.id, otherUser.id); in loadApps()
/packages/apps/Settings/src/com/android/settings/
DUtils.java780 private static boolean isProfileOf(UserManager um, UserHandle otherUser) { in isProfileOf() argument
781 if (um == null || otherUser == null) return false; in isProfileOf()
782 return (UserHandle.myUserId() == otherUser.getIdentifier()) in isProfileOf()
783 || um.getUserProfiles().contains(otherUser); in isProfileOf()