Home
last modified time | relevance | path

Searched refs:selectedUserId (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/data/repository/
DAuthenticationRepository.kt218 .flatMapLatest { selectedUserId -> in selectedUserInfo() method
225 user = UserHandle.of(selectedUserId), in selectedUserInfo()
228 .map { selectedUserId } in selectedUserInfo()
249 lockPatternUtils.getLockoutAttemptDeadline(selectedUserId).takeIf { in <lambda>()
273 val matched = lockPatternUtils.checkCredential(credential, selectedUserId) {} in checkCredential()
282 getAuthenticationMethod(selectedUserId) in getAuthenticationMethod()
285 return withContext(backgroundDispatcher) { lockPatternUtils.getPinLength(selectedUserId) } in getAuthenticationMethod()
291 lockPatternUtils.reportSuccessfulPasswordAttempt(selectedUserId) in reportAuthenticationAttempt()
294 lockPatternUtils.reportFailedPasswordAttempt(selectedUserId) in reportAuthenticationAttempt()
301 lockPatternUtils.setLockoutAttemptDeadline(selectedUserId, durationMs) in reportLockoutStarted()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/
DUserSwitcherInteractor.kt147 selectedUserId = selectedUserInfo.id, in <lambda>()
156 val selectedUserId = selectedUserInfo.id in <lambda>() constant
159 selectedUserId = selectedUserId, in <lambda>()
160 canSwitchUsers = canSwitchUsers(selectedUserId) in <lambda>()
261 selectedUserId = selectedUserInfo.id, in <lambda>()
267 selectedUserId = selectedUserInfo.id, in <lambda>()
286 toRecord(userInfo = selectedUserInfo, selectedUserId = selectedUserInfo.id) in <lambda>()
575 selectedUserId: Int, in <lambda>()
582 isCurrent = userInfo.id == selectedUserId, in <lambda>()
583 canSwitchUsers = canSwitchUsers(selectedUserId), in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/legacyhelper/data/
DLegacyUserDataHelper.kt67 selectedUserId: Int, in createRecord()
82 selectedUserId = selectedUserId, in createRecord()
107 selectedUserId: Int, in getEnforcedAdmin()
114 selectedUserId, in getEnforcedAdmin()
122 selectedUserId, in getEnforcedAdmin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DBiometricSettingsRepository.kt181 private val selectedUserId: Flow<Int> = constant
191 selectedUserId.flatMapLatest { currentUserId -> in currentUserId()
220 selectedUserId.flatMapLatest { selectedUserId: Int -> in selectedUserId() method
231 authController.isFaceAuthEnrolled(selectedUserId), in selectedUserId()
240 authController.isFaceAuthEnrolled(selectedUserId), in selectedUserId()
256 combine(selectedUserId, devicePolicyChangedForAllUsers) { userId, _ -> in userId()
325 selectedUserId.flatMapLatest { userId -> in userId()
360 private val selectedUserId = constant
374 selectedUserId.flatMapLatest { userId -> in userId()
387 selectedUserId
DKeyguardQuickAffordanceRepository.kt86 .map { selectedUserId -> in <lambda>() method
87 if (userHandle.identifier == selectedUserId) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/binder/
DComposeBouncerViewBinder.kt77 val selectedUserId = selectedUserInteractor.getSelectedUserId() in <lambda>() constant
79 it.keyguardDonePending(selectedUserId) in <lambda>()
81 it.keyguardDone(selectedUserId) in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/common/ui/compose/
DSelectedUserAwareInputConnection.kt48 @UserIdInt selectedUserId: Int, in <lambda>()
67 outAttributes.targetInputMethodUser = UserHandle.of(selectedUserId) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
DPasswordBouncerViewModel.kt78 val selectedUserId: StateFlow<Int> = in <lambda>() constant
150 ) { selectedUserId, _ -> in <lambda>() method
151 inputMethodInteractor.hasMultipleEnabledImesOrSubtypes(selectedUserId) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/data/repository/
DDeviceEntryRepository.kt58 val selectedUserId = userRepository.getSelectedUserInfo().id in isLockscreenEnabled() constant
59 !lockPatternUtils.isLockScreenDisabled(selectedUserId) in isLockscreenEnabled()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DKeyguardQuickAffordanceRemoteUserSelectionManagerTest.kt94 ) { selectedUserId -> in <lambda>() method
95 when (selectedUserId) { in <lambda>()
98 else -> error("No client set-up for user $selectedUserId!") in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DPasswordBouncer.kt78 val selectedUserId by viewModel.selectedUserId.collectAsStateWithLifecycle() in <lambda>() constant
92 SelectedUserAwareInputConnection(selectedUserId) { in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DKeyguardQuickAffordanceRemoteUserSelectionManager.kt75 .map { selectedUserId -> in <lambda>() method
76 if (userHandle.isSystem && userHandle.identifier != selectedUserId) { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/ui/viewmodel/
DPasswordBouncerViewModelTest.kt273 val selectedUserId by collectLastValue(selectedUserInteractor.selectedUser) in isImeSwitcherButtonVisible() constant
276 enableInputMethodsForUser(checkNotNull(selectedUserId)) in isImeSwitcherButtonVisible()
290 checkNotNull(selectedUserId) in isImeSwitcherButtonVisible()
297 enableInputMethodsForUser(checkNotNull(selectedUserId)) in isImeSwitcherButtonVisible()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DKeyguardQuickAffordanceRepositoryTest.kt106 ) { selectedUserId -> in <lambda>() method
107 when (selectedUserId) { in <lambda>()
110 else -> error("No set-up client for user $selectedUserId!") in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityContainerController.java533 final int selectedUserId = mSelectedUserInteractor.getSelectedUserId(); in onViewAttached()
536 selectedUserId, in onViewAttached()
538 mSecurityModel.getSecurityMode(selectedUserId)); in onViewAttached()