Home
last modified time | relevance | path

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

/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/
DUserManagerState.java123 boolean isCrossProfileAllowedToUser(UserId otherUser); in isCrossProfileAllowedToUser() argument
334 public boolean isCrossProfileAllowedToUser(UserId otherUser) { in isCrossProfileAllowedToUser() argument
336 return !isProfileOff(otherUser) && !isBlockedByAdmin(otherUser); in isCrossProfileAllowedToUser()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageAsyncLoader.java86 (userInfo, otherUser) -> Integer.compare(userInfo.id, otherUser.id)); in getStorageResultsForUsers()
/packages/apps/Settings/src/com/android/settings/
DUtils.java581 private static boolean isProfileOf(UserManager um, UserHandle otherUser) { in isProfileOf() argument
582 if (um == null || otherUser == null) return false; in isProfileOf()
583 return (UserHandle.myUserId() == otherUser.getIdentifier()) in isProfileOf()
584 || um.getUserProfiles().contains(otherUser); in isProfileOf()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/qc/
DProfileSwitcherTest.java196 UserInfo otherUser = generateUser(1001, "Other User"); in switchNotAllowed_returnsOnlyCurrentUser() local
197 mAliveUsers.add(otherUser); in switchNotAllowed_returnsOnlyCurrentUser()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/hibernation/
DHibernationPolicy.kt447 for ((otherUser, otherStats) in userStats) { in getAppsToHibernate() variable
448 if (otherUser == user) { in getAppsToHibernate()