Home
last modified time | relevance | path

Searched refs:selectedUserInfo (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/data/repository/
DUserRepositoryImplTest.kt134 var selectedUserInfo: UserInfo? = null in <lambda>() variable
136 underTest.selectedUserInfo.onEach { selectedUserInfo = it }.launchIn(this) in <lambda>()
140 assertThat(selectedUserInfo).isEqualTo(initialExpectedValue[0]) in <lambda>()
141 assertThat(underTest.lastSelectedNonGuestUserId).isEqualTo(selectedUserInfo?.id) in <lambda>()
150 assertThat(selectedUserInfo).isEqualTo(secondExpectedValue[1]) in <lambda>()
151 assertThat(underTest.lastSelectedNonGuestUserId).isEqualTo(selectedUserInfo?.id) in <lambda>()
153 val selectedNonGuestUserId = selectedUserInfo?.id in <lambda>()
162 assertThat(selectedUserInfo).isEqualTo(thirdExpectedValue[1]) in <lambda>()
163 assertThat(selectedUserInfo?.isGuest).isTrue() in <lambda>()
212 var selectedUserInfo: UserInfo? = null in <lambda>() variable
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
DSelectedUserInteractor.kt19 val selectedUser = repository.selectedUserInfo.map { it.id }.distinctUntilChanged() in <lambda>()
22 val selectedUserInfo = repository.selectedUserInfo constant
DUserSwitcherInteractor.kt142 repository.selectedUserInfo, in <lambda>()
144 ) { userInfos, selectedUserInfo, settings -> in <lambda>() method
147 selectedUserId = selectedUserInfo.id, in <lambda>()
155 repository.selectedUserInfo.map { selectedUserInfo -> in <lambda>() method
156 val selectedUserId = selectedUserInfo.id in <lambda>()
158 userInfo = selectedUserInfo, in <lambda>()
168 repository.selectedUserInfo, in <lambda>()
253 repository.selectedUserInfo, in <lambda>()
256 ) { userInfos, selectedUserInfo, actionModels, settings -> in <lambda>() method
261 selectedUserId = selectedUserInfo.id, in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DTrustRepository.kt151 combine(trust, userRepository.selectedUserInfo, ::Pair)
164 combine(trust, userRepository.selectedUserInfo, ::Pair)
177 combine(trust, userRepository.selectedUserInfo, ::Pair)
187 userRepository.selectedUserInfo
196 combine(trust, userRepository.selectedUserInfo, ::Pair) in isUserTrustManaged()
DBiometricSettingsRepository.kt182 userRepository.selectedUserInfo.map { it.id }.distinctUntilChanged() in <lambda>()
249 userRepository.selectedUserInfo.flatMapLatest { userInfo -> in userInfo()
361 userRepository.selectedUserInfo.map { it.id }.distinctUntilChanged() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/data/repository/
DAuthenticationRepository.kt213 combine(userRepository.selectedUserInfo, mobileConnectionsRepository.isAnySimSecure) {
214 selectedUserInfo, in selectedUserInfo() method
216 selectedUserInfo.id in selectedUserInfo()
261 userRepository.selectedUserInfo.collect { in <lambda>()
353 userRepository.selectedUserInfo.map { it.id }.distinctUntilChanged(), in refreshingFlow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/domain/interactor/
DCommunalSettingsInteractor.kt62 userInteractor.selectedUserInfo in <lambda>()
75 userInteractor.selectedUserInfo in <lambda>()
87 userInteractor.selectedUserInfo in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/domain/interactor/
DNewTilesAvailabilityInteractor.kt46 userRepository.selectedUserInfo.map { it.id } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/domain/interactor/
DHomeControlsComponentInteractor.kt79 userRepository.selectedUserInfo in <lambda>()
87 userRepository.selectedUserInfo.flatMapLatest { user -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/data/repository/
DQSPreferencesRepository.kt47 userRepository.selectedUserInfo in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/brightness/data/repository/
DBrightnessPolicyRepository.kt62 userRepository.selectedUserInfo
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/repository/
DUserAwareSecureSettingsRepository.kt59 userRepository.selectedUserInfo in boolSettingForActiveUser()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/settings/
DControlsSettingsRepositoryImpl.kt62 return userRepository.selectedUserInfo in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/
DUserRepository.kt77 val selectedUserInfo: Flow<UserInfo> constant
228 override val selectedUserInfo: Flow<UserInfo> = selectedUser.map { it.userInfo } in refreshUsers() constant in com.android.systemui.user.data.repository.UserRepositoryImpl
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/user/data/repository/
DFakeUserRepository.kt68 override val selectedUserInfo: Flow<UserInfo> = selectedUser.map { it.userInfo } in <lambda>() constant in com.android.systemui.user.data.repository.FakeUserRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/data/repository/
DCommunalPrefsRepository.kt94 userRepository.selectedUserInfo,
DCommunalTutorialRepository.kt92 userRepository.selectedUserInfo
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DSystemUIDeviceEntryFaceAuthInteractor.kt328 .sample(userRepository.selectedUserInfo, ::Pair) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/
DCurrentTilesInteractor.kt201 userRepository.selectedUserInfo.collect { user -> in startTileCollection()