Searched refs:visibleUsers (Results 1 – 6 of 6) sorted by relevance
322 Set<UserHandle> visibleUsers; in setCurrentUsers() local324 visibleUsers = Set.of(UserHandle.SYSTEM, UserHandle.of(FOREGROUND_USER_ID), in setCurrentUsers()327 visibleUsers = Set.of(UserHandle.SYSTEM, UserHandle.of(FOREGROUND_USER_ID)); in setCurrentUsers()329 when(mMockUserManager.getVisibleUsers()).thenReturn(visibleUsers); in setCurrentUsers()
463 Set<UserHandle> visibleUsers = mUserManager.getVisibleUsers(); in getUnassignedUsers() local468 if (!isIncluded(u.id, visibleUsers)) { in getUnassignedUsers()
464 Set<UserHandle> visibleUsers = mUserManager.getVisibleUsers(); in initUserSpinner() local465 for (Iterator<UserHandle> iterator = visibleUsers.iterator(); iterator.hasNext(); ) { in initUserSpinner()
402 Set<UserHandle> visibleUsers = mUserManager.getVisibleUsers(); in startOrBindServicesIfNeeded() local403 for (Iterator<UserHandle> iterator = visibleUsers.iterator(); iterator.hasNext();) { in startOrBindServicesIfNeeded()
922 Set<UserHandle> visibleUsers = new ArraySet<>(); in mockOccupantZoneConnectionReady() local923 visibleUsers.add(userHandle); in mockOccupantZoneConnectionReady()924 when(mUserManager.getVisibleUsers()).thenReturn(visibleUsers); in mockOccupantZoneConnectionReady()
1276 Set<UserHandle> visibleUsers = mUserManager.getVisibleUsers(); in isUserVisible() local1277 return visibleUsers.contains(UserHandle.of(userId)); in isUserVisible()