Home
last modified time | relevance | path

Searched refs:visibleUsers (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/systemui/keyguard/
DExperimentalCarKeyguardServiceTest.java322 Set<UserHandle> visibleUsers; in setCurrentUsers() local
324 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()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/
DSimpleUserPickerFragment.java463 Set<UserHandle> visibleUsers = mUserManager.getVisibleUsers(); in getUnassignedUsers() local
468 if (!isIncluded(u.id, visibleUsers)) { in getUnassignedUsers()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/media/
DMultidisplayMediaFragment.java464 Set<UserHandle> visibleUsers = mUserManager.getVisibleUsers(); in initUserSpinner() local
465 for (Iterator<UserHandle> iterator = visibleUsers.iterator(); iterator.hasNext(); ) { in initUserSpinner()
/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceController.java402 Set<UserHandle> visibleUsers = mUserManager.getVisibleUsers(); in startOrBindServicesIfNeeded() local
403 for (Iterator<UserHandle> iterator = visibleUsers.iterator(); iterator.hasNext();) { in startOrBindServicesIfNeeded()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/
DCarRemoteDeviceServiceTest.java922 Set<UserHandle> visibleUsers = new ArraySet<>(); in mockOccupantZoneConnectionReady() local
923 visibleUsers.add(userHandle); in mockOccupantZoneConnectionReady()
924 when(mUserManager.getVisibleUsers()).thenReturn(visibleUsers); in mockOccupantZoneConnectionReady()
/packages/services/Car/service/src/com/android/car/user/
DCarUserService.java1276 Set<UserHandle> visibleUsers = mUserManager.getVisibleUsers(); in isUserVisible() local
1277 return visibleUsers.contains(UserHandle.of(userId)); in isUserVisible()