Home
last modified time | relevance | path

Searched refs:bouncerRepository (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/
DAlternateBouncerInteractor.kt58 private val bouncerRepository: KeyguardBouncerRepository, in <lambda>() constant in com.android.systemui.bouncer.domain.interactor.AlternateBouncerInteractor
70 val isVisible: Flow<Boolean> = bouncerRepository.alternateBouncerVisible in <lambda>()
82 bouncerRepository.alternateBouncerUIAvailable in <lambda>()
125 bouncerRepository.primaryBouncerShow, in <lambda>()
158 bouncerRepository.setAlternateVisible(true) in <lambda>()
169 bouncerRepository.setAlternateVisible(canShowAlternateBouncerForFingerprint()) in <lambda>()
183 bouncerRepository.setAlternateVisible(false) in <lambda>()
188 return bouncerRepository.alternateBouncerVisible.value in <lambda>()
198 bouncerRepository.setAlternateBouncerUIAvailable( in <lambda>()
212 !bouncerRepository.primaryBouncerShow.value in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DAlternateBouncerMessageAreaViewModelTest.kt54 private val bouncerRepository by lazy { kosmos.fakeKeyguardBouncerRepository } in <lambda>() constant in com.android.systemui.keyguard.ui.viewmodel.AlternateBouncerMessageAreaViewModelTest
69 bouncerRepository.setAlternateVisible(true) in noInitialValue()
77 bouncerRepository.setAlternateVisible(true) in fingerprintMessage()
87 bouncerRepository.setAlternateVisible(true) in fingerprintLockoutMessage_notShown()
102 bouncerRepository.setAlternateVisible(false) in alternateBouncerNotVisible_messagesNeverShow()
115 bouncerRepository.setAlternateVisible(true) in faceFailMessage()
125 bouncerRepository.setAlternateVisible(true) in faceThenFingerprintMessage()
138 bouncerRepository.setAlternateVisible(true) in fingerprintMessagePreventsFaceMessageFromShowing()
151 bouncerRepository.setAlternateVisible(true) in fingerprintMessageAllowsFaceMessageAfter4000ms()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardDismissInteractorTest.kt72 underTestDependencies.bouncerRepository.setKeyguardAuthenticatedBiometrics(null) in biometricAuthenticatedRequestDismissKeyguard_noDismissAction()
75 underTestDependencies.bouncerRepository.setKeyguardAuthenticatedBiometrics(true) in biometricAuthenticatedRequestDismissKeyguard_noDismissAction()
113 underTestDependencies.bouncerRepository.setKeyguardAuthenticatedPrimaryAuth(22) in primaryAuthenticated_noDismissAction()
117 underTestDependencies.bouncerRepository.setKeyguardAuthenticatedPrimaryAuth(userInfo.id) in primaryAuthenticated_noDismissAction()
130 underTestDependencies.bouncerRepository.setUserRequestedBouncerWhenAlreadyAuthenticated( in userRequestedBouncerWhenAlreadyAuthenticated_noDismissAction()
136 underTestDependencies.bouncerRepository.setUserRequestedBouncerWhenAlreadyAuthenticated( in userRequestedBouncerWhenAlreadyAuthenticated_noDismissAction()
173 underTestDependencies.bouncerRepository.setUserRequestedBouncerWhenAlreadyAuthenticated( in userRequestedBouncerWhenAlreadyAuthenticated_dismissActionRunImmediately()
198 underTestDependencies.bouncerRepository.setUserRequestedBouncerWhenAlreadyAuthenticated( in userRequestedBouncerWhenAlreadyAuthenticated_dismissActionRunAfterKeyguardGone()
DKeyguardTransitionScenariosTest.kt95 private val bouncerRepository by lazy { kosmos.fakeKeyguardBouncerRepository } in <lambda>() constant
175 bouncerRepository.setPrimaryShow(true) in lockscreenToPrimaryBouncerViaBouncerShowingCall()
423 bouncerRepository.setPrimaryShow(true) in dreamingLockscreenHostedToPrimaryBouncer()
595 bouncerRepository.setPrimaryShow(true) in dozingToPrimaryBouncer()
809 bouncerRepository.setPrimaryShow(true) in alternateBouncerToPrimaryBouncer()
827 bouncerRepository.setAlternateVisible(true) in alternateBouncerToAod()
834 bouncerRepository.setPrimaryShow(false) in alternateBouncerToAod()
839 bouncerRepository.setAlternateVisible(false) in alternateBouncerToAod()
857 bouncerRepository.setAlternateVisible(true) in alternateBouncerToDozing()
865 bouncerRepository.setPrimaryShow(false) in alternateBouncerToDozing()
[all …]
DFromPrimaryBouncerTransitionInteractorTest.kt61 val bouncerRepository = kosmos.fakeKeyguardBouncerRepository constant
149 bouncerRepository.setPrimaryShow(true) in testReturnToLockscreen_whenBouncerHides()
158 bouncerRepository.setPrimaryShow(false) in testReturnToLockscreen_whenBouncerHides()
176 bouncerRepository.setPrimaryShow(true) in testReturnToGlanceableHub_whenBouncerHides_ifIdleOnCommunal()
185 bouncerRepository.setPrimaryShow(false) in testReturnToGlanceableHub_whenBouncerHides_ifIdleOnCommunal()
200 bouncerRepository.setPrimaryShow(true) in testTransitionToOccluded_bouncerHide_occludingActivityOnTop()
215 bouncerRepository.setPrimaryShow(false) in testTransitionToOccluded_bouncerHide_occludingActivityOnTop()
DDeviceEntrySideFpsOverlayInteractorTest.kt77 private val bouncerRepository = FakeKeyguardBouncerRepository() constant
90 bouncerRepository, in setup()
110 bouncerRepository, in setup()
310 bouncerRepository.setAlternateVisible(true) in updatesShowIndicatorForDeviceEntry_onAlternateBouncerRequest()
313 bouncerRepository.setAlternateVisible(false) in updatesShowIndicatorForDeviceEntry_onAlternateBouncerRequest()
335 bouncerRepository.setAlternateVisible(true) in ignoresDuplicateRequestsToShowIndicatorForDeviceEntry()
347 bouncerRepository.setPrimaryShow(isShowing) in updatePrimaryBouncer()
348 bouncerRepository.setPrimaryStartingToHide(false) in updatePrimaryBouncer()
350 bouncerRepository.setPrimaryStartDisappearAnimation(primaryStartDisappearAnimation) in updatePrimaryBouncer()
DKeyguardDismissActionInteractorTest.kt156 dismissInteractorWithDependencies.bouncerRepository.setKeyguardAuthenticatedBiometrics( in executeDismissAction_dismissKeyguardRequestWithImmediateDismissAction_biometricAuthed()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/domain/ui/binder/
DLiftToRunFaceAuthBinderTest.kt62 private val bouncerRepository = kosmos.keyguardBouncerRepository constant in com.android.systemui.deviceentry.domain.ui.binder.LiftToRunFaceAuthBinderTest
175 bouncerRepository.setPrimaryShow(true) in givenPrimaryBouncerShowing()
176 bouncerRepository.setAlternateVisible(false) in givenPrimaryBouncerShowing()
180 bouncerRepository.setPrimaryShow(false) in givenBouncerNotShowing()
181 bouncerRepository.setAlternateVisible(false) in givenBouncerNotShowing()
185 bouncerRepository.setPrimaryShow(false) in givenAlternateBouncerShowing()
186 bouncerRepository.setAlternateVisible(true) in givenAlternateBouncerShowing()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardInteractorFactory.kt53 bouncerRepository: FakeKeyguardBouncerRepository = FakeKeyguardBouncerRepository(), in create()
92 bouncerRepository = bouncerRepository, in create()
100 bouncerRepository = bouncerRepository, in create()
117 val bouncerRepository: FakeKeyguardBouncerRepository, constant in com.android.systemui.keyguard.domain.interactor.KeyguardInteractorFactory.WithDependencies
DKeyguardDismissInteractorFactory.kt59 bouncerRepository: FakeKeyguardBouncerRepository = FakeKeyguardBouncerRepository(), in create()
66 bouncerRepository, in create()
85 bouncerRepository, in create()
104 bouncerRepository = bouncerRepository, in create()
123 val bouncerRepository: FakeKeyguardBouncerRepository, constant in com.android.systemui.keyguard.domain.interactor.KeyguardDismissInteractorFactory.WithDependencies
DKeyguardInteractorKosmos.kt36 bouncerRepository = keyguardBouncerRepository, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/bouncer/domain/interactor/
DBouncerInteractorKosmos.kt21 import com.android.systemui.bouncer.data.repository.bouncerRepository
34 repository = bouncerRepository, in <lambda>()
DAlternateBouncerInteractorKosmos.kt38 bouncerRepository = keyguardBouncerRepository, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DUdfpsKeyguardInteractorTest.kt72 private lateinit var bouncerRepository: KeyguardBouncerRepository variable
97 bouncerRepository = FakeKeyguardBouncerRepository() in setUp()
223 bouncerRepository.setAlternateVisible(false) in setAwake()
225 bouncerRepository.setPrimaryShow(false) in setAwake()
DKeyguardInteractorTest.kt69 private val bouncerRepository by lazy { kosmos.keyguardBouncerRepository } in <lambda>() constant
161 bouncerRepository.setPrimaryShow(true) in testBouncerShowingResetsSecureCameraState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceEntryFaceAuthInteractorTest.kt79 private val bouncerRepository = kosmos.fakeKeyguardBouncerRepository constant in com.android.systemui.deviceentry.domain.interactor.DeviceEntryFaceAuthInteractorTest
247 bouncerRepository.setPrimaryShow(true) in faceAuthLockedOutStateIsUpdatedAfterUserSwitch()
269 bouncerRepository.setPrimaryShow(false) in faceAuthIsRequestedWhenPrimaryBouncerIsVisible()
272 bouncerRepository.setPrimaryShow(true) in faceAuthIsRequestedWhenPrimaryBouncerIsVisible()
284 bouncerRepository.setAlternateVisible(false) in faceAuthIsRequestedWhenAlternateBouncerIsVisible()
287 bouncerRepository.setAlternateVisible(true) in faceAuthIsRequestedWhenAlternateBouncerIsVisible()
DOccludingAppDeviceEntryInteractorTest.kt65 private val bouncerRepository = kosmos.keyguardBouncerRepository constant
270 bouncerRepository.setPrimaryShow(!isOnOccludingApp) in givenOnOccludingApp()
271 bouncerRepository.setAlternateVisible(!isOnOccludingApp) in givenOnOccludingApp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/
DDeviceEntryUdfpsTouchOverlayViewModelTest.kt52 private val bouncerRepository = kosmos.fakeKeyguardBouncerRepository constant in com.android.systemui.biometrics.ui.viewmodel.DeviceEntryUdfpsTouchOverlayViewModelTest
115 bouncerRepository.setAlternateVisible(true) in deviceEntryViewAlphaZero_alternateBouncerVisible_shouldHandleTouchesTrue()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/bouncer/data/repository/
DBouncerRepositoryKosmos.kt23 val Kosmos.bouncerRepository by Fixture { in <lambda>() constant
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/kosmos/
DKosmosJavaAdapter.kt24 import com.android.systemui.bouncer.data.repository.bouncerRepository
95 val bouncerRepository by lazy { kosmos.bouncerRepository } in <lambda>() constant
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/data/repository/
DDeviceEntryFaceAuthRepositoryTest.kt165 private val bouncerRepository = kosmos.fakeKeyguardBouncerRepository constant in com.android.systemui.deviceentry.data.repository.DeviceEntryFaceAuthRepositoryTest
597 bouncerRepository.setAlternateVisible(false) in authenticateDoesNotRunWhenSecureCameraIsActive()
611 bouncerRepository.setAlternateVisible(false) in authenticateRunsWhenSecureCameraIsActiveIfBouncerIsShowing()
612 bouncerRepository.setPrimaryShow(false) in authenticateRunsWhenSecureCameraIsActiveIfBouncerIsShowing()
625 bouncerRepository.setPrimaryShow(true) in authenticateRunsWhenSecureCameraIsActiveIfBouncerIsShowing()
895 bouncerRepository.setAlternateVisible(false) in detectDoesNotRunWhenSecureCameraIsActive()
1195 bouncerRepository.setAlternateVisible(true) in allPreconditionsToRunFaceAuthAreTrue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardInteractor.kt93 bouncerRepository: KeyguardBouncerRepository, in <lambda>()
272 @JvmField val primaryBouncerShowing: Flow<Boolean> = bouncerRepository.primaryBouncerShow in <lambda>()
276 bouncerRepository.alternateBouncerVisible.sample(isAbleToDream) { in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/
DDreamOverlayServiceTest.kt157 private lateinit var bouncerRepository: FakeKeyguardBouncerRepository variable in com.android.systemui.dreams.DreamOverlayServiceTest
168 bouncerRepository = kosmos.fakeKeyguardBouncerRepository in setup()
854 bouncerRepository.setPrimaryShow(true) in testBouncerShown_setsLifecycleState()
862 bouncerRepository.setPrimaryShow(false) in testBouncerShown_setsLifecycleState()