Home
last modified time | relevance | path

Searched refs:authController (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DDeviceEntryFingerprintAuthRepositoryTest.kt57 @Mock private lateinit var authController: AuthController variable in com.android.systemui.keyguard.data.repository.DeviceEntryFingerprintAuthRepositoryTest
72 authController, in setUp()
135 whenever(authController.isSfpsSupported).thenReturn(true) in enabledFingerprintTypeProvidesTheCorrectOutputForSpfs()
136 whenever(authController.isUdfpsSupported).thenReturn(false) in enabledFingerprintTypeProvidesTheCorrectOutputForSpfs()
137 whenever(authController.isRearFpsSupported).thenReturn(false) in enabledFingerprintTypeProvidesTheCorrectOutputForSpfs()
146 whenever(authController.isSfpsSupported).thenReturn(false) in enabledFingerprintTypeProvidesTheCorrectOutputForUdfps()
147 whenever(authController.isUdfpsSupported).thenReturn(true) in enabledFingerprintTypeProvidesTheCorrectOutputForUdfps()
148 whenever(authController.isRearFpsSupported).thenReturn(false) in enabledFingerprintTypeProvidesTheCorrectOutputForUdfps()
156 whenever(authController.isSfpsSupported).thenReturn(false) in enabledFingerprintTypeProvidesTheCorrectOutputForRearFps()
157 whenever(authController.isUdfpsSupported).thenReturn(false) in enabledFingerprintTypeProvidesTheCorrectOutputForRearFps()
[all …]
DBiometricSettingsRepositoryTest.kt86 @Mock private lateinit var authController: AuthController variable in com.android.systemui.keyguard.data.repository.BiometricSettingsRepositoryTest
130 authController = authController, in createBiometricSettingsRepository()
150 verify(authController, times(2)).addCallback(authControllerCallback.capture()) in createBiometricSettingsRepository()
161 whenever(authController.isFingerprintEnrolled(anyInt())).thenReturn(true) in fingerprintEnrollmentChange()
165 whenever(authController.isFingerprintEnrolled(anyInt())).thenReturn(false) in fingerprintEnrollmentChange()
182 whenever(authController.isFingerprintEnrolled(anyInt())).thenReturn(true) in fingerprintEnabledStateChange()
336 whenever(authController.isFingerprintEnrolled(userId)).thenReturn(true) in fingerprintIsEnrolled()
367 whenever(authController.isFaceAuthEnrolled(ANOTHER_USER_ID)).thenReturn(true) in faceEnrollmentChangeIsPropagatedForTheCurrentUser()
397 clearInvocations(authController) in faceEnrollmentStatusOfNewUserUponUserSwitch()
399 whenever(authController.isFaceAuthEnrolled(PRIMARY_USER_ID)).thenReturn(false) in faceEnrollmentStatusOfNewUserUponUserSwitch()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DUdfpsOverlayInteractor.kt48 private val authController: AuthController, in <lambda>() constant in com.android.systemui.biometrics.domain.interactor.UdfpsOverlayInteractor
69 authController.isUdfpsEnrolled(selectedUserInteractor.getSelectedUserId()) in <lambda>()
86 if (authController.isUltrasonicUdfpsSupported in <lambda>()
90 authController.udfpsProps!!.get(0).sensorId, in <lambda>()
117 authController.addCallback(callback) in <lambda>()
118 awaitClose { authController.removeCallback(callback) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DUdfpsDisplayMode.kt34 private val authController: AuthController, constant in com.android.systemui.biometrics.UdfpsDisplayMode
49 if (authController.udfpsRefreshRateCallback == null) { in enable()
63 authController.udfpsRefreshRateCallback!!.onRequestEnabled(request.displayId) in enable()
87 authController.udfpsRefreshRateCallback!!.onRequestDisabled(request.displayId) in disable()
DAuthRippleController.kt73 private val authController: AuthController, in <lambda>() constant in com.android.systemui.biometrics.AuthRippleController
127 authController.addCallback(authControllerCallback) in <lambda>()
160 authController.removeCallback(authControllerCallback) in <lambda>()
295 fingerprintSensorLocation = authController.fingerprintSensorLocation in <lambda>()
385 authController.udfpsProps?.let { in <lambda>()
388 udfpsRadius = authController.udfpsRadius in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/domain/interactor/
DUdfpsOverlayInteractorKosmos.kt21 import com.android.systemui.biometrics.authController
31 authController = authController, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/ui/viewmodel/
DLockscreenContentViewModelKosmos.kt19 import com.android.systemui.biometrics.authController
32 authController = authController, in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthRippleControllerTest.kt79 @Mock private lateinit var authController: AuthController variable in com.android.systemui.biometrics.AuthRippleControllerTest
116 `when`(authController.udfpsProps).thenReturn(listOf(fpSensorProp)) in setUp()
121 authController, in setUp()
150 `when`(authController.fingerprintSensorLocation).thenReturn(fpsLocation) in testFingerprintTrigger_KeyguardShowing_Ripple()
170 `when`(authController.udfpsLocation).thenReturn(fpsLocation) in testFingerprintTrigger_KeyguardNotShowing_NoRipple()
192 `when`(authController.udfpsLocation).thenReturn(fpsLocation) in testFingerprintTrigger_biometricUnlockNotAllowed_NoRipple()
227 `when`(authController.fingerprintSensorLocation).thenReturn(null) in testNullFingerprintSensorLocationDoesNothing()
259 `when`(authController.fingerprintSensorLocation).thenReturn(fpsLocation) in testAnimatorRunWhenWakeAndUnlock_fingerprint()
284 `when`(authController.isUdfpsFingerDown).thenReturn(true) in testAnimatorRunWhenWakeAndUnlock_faceUdfpsFingerDown()
325 `when`(authController.fingerprintSensorLocation).thenReturn(fpsLocation) in testUdfps_onFingerDown_runningForDeviceEntry_showDwellRipple()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
DUdfpsOverlayInteractorTest.kt56 @Mock private lateinit var authController: AuthController variable in com.android.systemui.biometrics.domain.interactor.UdfpsOverlayInteractorTest
76 verify(authController).addCallback(authControllerCallback.capture()) in testShouldInterceptTouch()
78 whenever(authController.isUdfpsEnrolled(anyInt())).thenReturn(true) in testShouldInterceptTouch()
101 verify(authController).addCallback(authControllerCallback.capture()) in testUdfpsOverlayParamsChange()
114 authController, in createUdfpsOverlayInteractor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DDeviceEntryFingerprintAuthRepository.kt90 val authController: AuthController, constant in com.android.systemui.keyguard.data.repository.DeviceEntryFingerprintAuthRepositoryImpl
98 return if (authController.areAllFingerprintAuthenticatorsRegistered()) {
113 authController.addCallback(callback) in <lambda>()
119 awaitClose { authController.removeCallback(callback) } in <lambda>()
125 return if (authController.isUdfpsSupported) BiometricType.UNDER_DISPLAY_FINGERPRINT in getFpSensorType()
126 else if (authController.isSfpsSupported) BiometricType.SIDE_FINGERPRINT in getFpSensorType()
127 else if (authController.isRearFpsSupported) BiometricType.REAR_FINGERPRINT else null in getFpSensorType()
DBiometricSettingsRepository.kt129 authController: AuthController,
209 authController.addCallback(callback) in currentUserId()
211 authController.isFingerprintEnrolled(currentUserId), in currentUserId()
215 awaitClose { authController.removeCallback(callback) } in currentUserId()
231 authController.isFaceAuthEnrolled(selectedUserId), in selectedUserId()
238 authController.addCallback(callback) in selectedUserId()
240 authController.isFaceAuthEnrolled(selectedUserId), in selectedUserId()
244 awaitClose { authController.removeCallback(callback) } in selectedUserId()
DKeyguardRepository.kt302 private val authController: AuthController, constant
623 authController.fingerprintSensorLocation, in <lambda>()
636 authController.addCallback(callback) in <lambda>()
639 awaitClose { authController.removeCallback(callback) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DFaceScanningProviderFactoryTest.kt51 @Mock private lateinit var authController: AuthController variable in com.android.systemui.FaceScanningProviderFactoryTest
86 authController, in setup()
101 whenever(authController.isShowing).thenReturn(true) in shouldNotShowFaceScanningAnimationIfFaceIsNotEnrolled()
109 whenever(authController.isShowing).thenReturn(true) in shouldShowFaceScanningAnimationIfBiometricPromptIsShowing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DPromptRepositoryImplTest.kt63 @Mock private lateinit var authController: AuthController variable in com.android.systemui.biometrics.data.repository.PromptRepositoryImplTest
69 repository = PromptRepositoryImpl(faceSettings, authController) in setup()
75 whenever(authController.isShowing).thenReturn(true) in isShowing()
84 verify(authController).addCallback(capture()) in isShowing()
96 verify(authController).removeCallback(eq(value)) in isShowing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DPromptRepository.kt91 private val authController: AuthController, constant in com.android.systemui.biometrics.data.repository.PromptRepositoryImpl
103 authController.addCallback(callback) in <lambda>()
104 trySendWithFailureLogging(authController.isShowing, TAG, "update isShowing") in <lambda>()
105 awaitClose { authController.removeCallback(callback) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/
DFaceScanningProviderFactory.kt45 private val authController: AuthController, in <lambda>() constant in com.android.systemui.decor.FaceScanningProviderFactory
86 authController, in <lambda>()
105 (keyguardUpdateMonitor.isFaceDetectionRunning || authController.isShowing) in <lambda>()
111 private val authController: AuthController, constant in com.android.systemui.decor.FaceScanningOverlayProviderImpl
150 authController, in inflateView()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DLockSection.kt61 private val authController: AuthController, in <lambda>() constant in com.android.systemui.keyguard.ui.composable.section.LockSection
159 val udfpsLocation = authController.udfpsLocation in <lambda>()
161 if (authController.isUdfpsSupported && udfpsLocation != null) { in <lambda>()
167 authController.udfpsRadius.toInt(), in <lambda>()
170 val scaleFactor = authController.scaleFactor in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/sections/
DDefaultDeviceEntrySection.kt60 private val authController: AuthController, in <lambda>() constant in com.android.systemui.keyguard.ui.view.layout.sections.DefaultDeviceEntrySection
126 authController.isUdfpsSupported in <lambda>()
128 val scaleFactor: Float = authController.scaleFactor in <lambda>()
161 authController.udfpsLocation?.let { udfpsLocation -> in <lambda>()
163 centerIcon(udfpsLocation, authController.udfpsRadius, constraintSet) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/phone/
DDozeServiceHostKosmos.kt22 import com.android.systemui.biometrics.authController
55 authController, in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/
DLockscreenContentViewModelTest.kt22 import com.android.systemui.biometrics.authController in <lambda>()
81 whenever(authController.isUdfpsSupported).thenReturn(true) in <lambda>()
90 whenever(authController.isUdfpsSupported).thenReturn(false) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/
DAuthControllerKosmos.kt23 var Kosmos.authController by Fixture { mock<AuthController>() } in <lambda>() variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DLockscreenContentViewModel.kt46 private val authController: AuthController, in <lambda>() constant
55 get() = authController.isUdfpsSupported in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DFaceScanningOverlay.kt54 val authController: AuthController, constant
91 keyguardUpdateMonitor.isFaceDetectionRunning || authController.isShowing in enableShowProtection()
100 authController.isShowing, in enableShowProtection()
/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
DSessionTracker.java73 AuthController authController, in SessionTracker() argument
79 mAuthController = authController; in SessionTracker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenState.java96 AuthController authController, in DozeScreenState() argument
106 mAuthController = authController; in DozeScreenState()

12