/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | OperatorNameViewControllerTest.kt | 24 import com.android.keyguard.keyguardUpdateMonitor 65 private val keyguardUpdateMonitor = kosmos.keyguardUpdateMonitor constant in com.android.systemui.statusbar.OperatorNameViewControllerTest 89 keyguardUpdateMonitor, in setup() 108 whenever(keyguardUpdateMonitor.getSubscriptionInfoForSubId(any())) in updateFromSubInfo_showsCarrieName() 110 whenever(keyguardUpdateMonitor.getSimState(any())) in updateFromSubInfo_showsCarrieName() 112 whenever(keyguardUpdateMonitor.getServiceState(any())) in updateFromSubInfo_showsCarrieName() 133 whenever(keyguardUpdateMonitor.getSubscriptionInfoForSubId(any())) in notDataCapable_doesNotShowOperatorName() 135 whenever(keyguardUpdateMonitor.getSimState(any())) in notDataCapable_doesNotShowOperatorName() 137 whenever(keyguardUpdateMonitor.getServiceState(any())) in notDataCapable_doesNotShowOperatorName() 157 whenever(keyguardUpdateMonitor.getSubscriptionInfoForSubId(any())) in airplaneMode_doesNotShowOperatorName() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardBiometricLockoutLoggerTest.kt | 47 lateinit var keyguardUpdateMonitor: KeyguardUpdateMonitor variable in com.android.keyguard.KeyguardBiometricLockoutLoggerTest 66 whenever(keyguardUpdateMonitor.strongAuthTracker).thenReturn(strongAuthTracker) in setUp() 70 keyguardUpdateMonitor, in setUp() 78 whenever(keyguardUpdateMonitor.isEncryptedOrLockdown(anyInt())) in test_logsOnStart() 155 whenever(keyguardUpdateMonitor.isFaceLockedOut).thenReturn(true) in test_logFaceLockout() 165 whenever(keyguardUpdateMonitor.isFaceLockedOut).thenReturn(false) in test_logFaceLockout() 179 whenever(keyguardUpdateMonitor.isFingerprintLockedOut).thenReturn(true) in test_logFingerprintLockout() 189 whenever(keyguardUpdateMonitor.isFingerprintLockedOut).thenReturn(false) in test_logFingerprintLockout() 198 verify(keyguardUpdateMonitor).registerCallback(updateMonitorCallbackCaptor.capture()) in captureUpdateMonitorCallback()
|
D | KeyguardSimPinViewControllerTest.kt | 58 @Mock private lateinit var keyguardUpdateMonitor: KeyguardUpdateMonitor variable in com.android.keyguard.KeyguardSimPinViewControllerTest 92 keyguardUpdateMonitor, in setup() 109 verify(keyguardUpdateMonitor) in setup() 112 reset(keyguardUpdateMonitor) in setup() 121 verify(keyguardUpdateMonitor) in onViewAttached() 128 verify(keyguardUpdateMonitor).removeCallback(any(KeyguardUpdateMonitorCallback::class.java)) in onViewDetached()
|
D | ActiveUnlockConfigTest.kt | 64 @Mock private lateinit var keyguardUpdateMonitor: KeyguardUpdateMonitor variable in com.android.keyguard.ActiveUnlockConfigTest 78 whenever(lazyKeyguardUpdateMonitor.get()).thenReturn(keyguardUpdateMonitor) in setUp() 320 `when`(keyguardUpdateMonitor.isFaceEnabledAndEnrolled).thenReturn(false) in triggerOnUnlockIntentWhenBiometricEnrolledNone() 321 `when`(keyguardUpdateMonitor.isUnlockWithFingerprintPossible(0)).thenReturn(false) in triggerOnUnlockIntentWhenBiometricEnrolledNone() 349 `when`(keyguardUpdateMonitor.isFaceEnabledAndEnrolled).thenReturn(true) in triggerOnUnlockIntentWhenBiometricEnrolledFingerprintOrFaceOnly() 350 `when`(keyguardUpdateMonitor.isUnlockWithFingerprintPossible(0)).thenReturn(true) in triggerOnUnlockIntentWhenBiometricEnrolledFingerprintOrFaceOnly() 372 `when`(keyguardUpdateMonitor.isFaceEnabledAndEnrolled).thenReturn(false) in triggerOnUnlockIntentWhenBiometricEnrolledFingerprintOrFaceOnly() 373 `when`(keyguardUpdateMonitor.isUnlockWithFingerprintPossible(0)).thenReturn(true) in triggerOnUnlockIntentWhenBiometricEnrolledFingerprintOrFaceOnly() 383 `when`(keyguardUpdateMonitor.isFaceEnabledAndEnrolled).thenReturn(true) in triggerOnUnlockIntentWhenBiometricEnrolledFingerprintOrFaceOnly() 384 `when`(keyguardUpdateMonitor.isUnlockWithFingerprintPossible(0)).thenReturn(false) in triggerOnUnlockIntentWhenBiometricEnrolledFingerprintOrFaceOnly()
|
D | ClockEventControllerTest.kt | 86 @Mock private lateinit var keyguardUpdateMonitor: KeyguardUpdateMonitor variable in com.android.keyguard.ClockEventControllerTest 145 keyguardUpdateMonitor, in setUp() 207 verify(keyguardUpdateMonitor).registerCallback(capture(keyguardCaptor)) in batteryCallback_keyguardShowingCharging_verifyChargeAnimation() 220 verify(keyguardUpdateMonitor).registerCallback(capture(keyguardCaptor)) in batteryCallback_keyguardShowingCharging_Duplicate_verifyChargeAnimation() 234 verify(keyguardUpdateMonitor).registerCallback(capture(keyguardCaptor)) in batteryCallback_keyguardHiddenCharging_verifyChargeAnimation() 247 verify(keyguardUpdateMonitor).registerCallback(capture(keyguardCaptor)) in batteryCallback_keyguardShowingNotCharging_verifyChargeAnimation() 270 verify(keyguardUpdateMonitor).registerCallback(capture(captor)) in keyguardCallback_visibilityChanged_clockDozeCalled() 283 verify(keyguardUpdateMonitor).registerCallback(capture(captor)) in keyguardCallback_timeFormat_clockNotified() 294 verify(keyguardUpdateMonitor).registerCallback(capture(captor)) in keyguardCallback_timezoneChanged_clockNotified() 304 verify(keyguardUpdateMonitor).registerCallback(capture(captor)) in keyguardCallback_userSwitched_clockNotified() [all …]
|
D | KeyguardSimPukViewControllerTest.kt | 52 @Mock private lateinit var keyguardUpdateMonitor: KeyguardUpdateMonitor variable in com.android.keyguard.KeyguardSimPukViewControllerTest 87 keyguardUpdateMonitor, in setup() 109 Mockito.verify(keyguardUpdateMonitor) in onViewAttached() 118 Mockito.verify(keyguardUpdateMonitor) in onViewDetached()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/ |
D | DeviceEntryFingerprintAuthRepositoryTest.kt | 56 @Mock private lateinit var keyguardUpdateMonitor: KeyguardUpdateMonitor variable in com.android.systemui.keyguard.data.repository.DeviceEntryFingerprintAuthRepositoryTest 73 keyguardUpdateMonitor, in setUp() 85 verify(keyguardUpdateMonitor).registerCallback(updateMonitorCallback.capture()) in isLockedOut_whenFingerprintLockoutStateChanges_emitsNewValue() 87 whenever(keyguardUpdateMonitor.isFingerprintLockedOut).thenReturn(true) in isLockedOut_whenFingerprintLockoutStateChanges_emitsNewValue() 95 whenever(keyguardUpdateMonitor.isFingerprintLockedOut).thenReturn(false) in isLockedOut_whenFingerprintLockoutStateChanges_emitsNewValue() 104 whenever(keyguardUpdateMonitor.isFingerprintDetectionRunning).thenReturn(true) in fpRunningStateIsPropagated() 109 verify(keyguardUpdateMonitor, atLeastOnce()) in fpRunningStateIsPropagated() 191 verify(keyguardUpdateMonitor).registerCallback(updateMonitorCallback.capture()) in onFingerprintSuccess_successAuthenticationStatus() 209 verify(keyguardUpdateMonitor).registerCallback(updateMonitorCallback.capture()) in onFingerprintFailed_failedAuthenticationStatus() 229 verify(keyguardUpdateMonitor).registerCallback(updateMonitorCallback.capture()) in onFingerprintFailed_failedAuthenticationStatusWithOtherStatuses() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/ |
D | DeviceEntryFingerprintAuthRepository.kt | 91 val keyguardUpdateMonitor: KeyguardUpdateMonitor, constant in com.android.systemui.keyguard.data.repository.DeviceEntryFingerprintAuthRepositoryImpl 135 keyguardUpdateMonitor.isFingerprintLockedOut, in <lambda>() 150 keyguardUpdateMonitor.registerCallback(callback) in <lambda>() 152 awaitClose { keyguardUpdateMonitor.removeCallback(callback) } in <lambda>() 174 keyguardUpdateMonitor.registerCallback(callback) in <lambda>() 176 keyguardUpdateMonitor.isFingerprintDetectionRunning, in <lambda>() 180 awaitClose { keyguardUpdateMonitor.removeCallback(callback) } in <lambda>() 287 keyguardUpdateMonitor.registerCallback(callback) in <lambda>() 288 awaitClose { keyguardUpdateMonitor.removeCallback(callback) } in <lambda>() 317 keyguardUpdateMonitor.registerCallback(callback) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthRippleControllerTest.kt | 78 @Mock private lateinit var keyguardUpdateMonitor: KeyguardUpdateMonitor variable in com.android.systemui.biometrics.AuthRippleControllerTest 123 keyguardUpdateMonitor, in setUp() 153 `when`(keyguardUpdateMonitor.isUnlockingWithBiometricAllowed( in testFingerprintTrigger_KeyguardShowing_Ripple() 172 `when`(keyguardUpdateMonitor.isUnlockingWithBiometricAllowed( in testFingerprintTrigger_KeyguardNotShowing_NoRipple() 178 verify(keyguardUpdateMonitor).registerCallback(captor.capture()) in testFingerprintTrigger_KeyguardNotShowing_NoRipple() 197 `when`(keyguardUpdateMonitor.isUnlockingWithBiometricAllowed( in testFingerprintTrigger_biometricUnlockNotAllowed_NoRipple() 200 verify(keyguardUpdateMonitor).registerCallback(captor.capture()) in testFingerprintTrigger_biometricUnlockNotAllowed_NoRipple() 216 verify(keyguardUpdateMonitor).registerCallback(captor.capture()) in testNullFaceSensorLocationDoesNothing() 231 verify(keyguardUpdateMonitor).registerCallback(captor.capture()) in testNullFingerprintSensorLocationDoesNothing() 262 `when`(keyguardUpdateMonitor.isUnlockingWithBiometricAllowed( in testAnimatorRunWhenWakeAndUnlock_fingerprint() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | FaceScanningProviderFactoryTest.kt | 55 @Mock private lateinit var keyguardUpdateMonitor: KeyguardUpdateMonitor variable in com.android.systemui.FaceScanningProviderFactoryTest 89 keyguardUpdateMonitor, in setup() 100 whenever(keyguardUpdateMonitor.isFaceEnabledAndEnrolled).thenReturn(false) in shouldNotShowFaceScanningAnimationIfFaceIsNotEnrolled() 108 whenever(keyguardUpdateMonitor.isFaceEnabledAndEnrolled).thenReturn(true) in shouldShowFaceScanningAnimationIfBiometricPromptIsShowing() 116 whenever(keyguardUpdateMonitor.isFaceEnabledAndEnrolled).thenReturn(true) in shouldShowFaceScanningAnimationIfKeyguardFaceDetectionIsShowing() 117 whenever(keyguardUpdateMonitor.isFaceDetectionRunning).thenReturn(true) in shouldShowFaceScanningAnimationIfKeyguardFaceDetectionIsShowing()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardBiometricLockoutLogger.kt | 45 private val keyguardUpdateMonitor: KeyguardUpdateMonitor, constant in com.android.keyguard.KeyguardBiometricLockoutLogger 58 keyguardUpdateMonitor.registerCallback(mKeyguardUpdateMonitorCallback) in start() 65 val lockedOut = keyguardUpdateMonitor.isFingerprintLockedOut in onLockedOutStateChanged() 73 val lockedOut = keyguardUpdateMonitor.isFaceLockedOut in onLockedOutStateChanged() 87 val strongAuthFlags = keyguardUpdateMonitor.strongAuthTracker in onStrongAuthStateChanged() 90 val newEncryptedOrLockdown = keyguardUpdateMonitor.isEncryptedOrLockdown(userId) in onStrongAuthStateChanged()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardDismissInteractorFactory.kt | 60 keyguardUpdateMonitor: KeyguardUpdateMonitor = mock(KeyguardUpdateMonitor::class.java), in create() 75 keyguardUpdateMonitor, in create() 89 keyguardUpdateMonitor, in create() 105 keyguardUpdateMonitor = keyguardUpdateMonitor, in create() 124 val keyguardUpdateMonitor: KeyguardUpdateMonitor, constant in com.android.systemui.keyguard.domain.interactor.KeyguardDismissInteractorFactory.WithDependencies
|
D | DeviceEntrySideFpsOverlayInteractorKosmos.kt | 20 import com.android.keyguard.keyguardUpdateMonitor 37 keyguardUpdateMonitor = keyguardUpdateMonitor in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/ |
D | DeviceEntrySideFpsOverlayInteractorTest.kt | 72 @Mock private lateinit var keyguardUpdateMonitor: KeyguardUpdateMonitor variable in com.android.systemui.keyguard.domain.interactor.DeviceEntrySideFpsOverlayInteractorTest 99 keyguardUpdateMonitor, in setup() 114 keyguardUpdateMonitor, in setup() 130 keyguardUpdateMonitor in setup() 178 keyguardUpdateMonitor in updatesShowIndicatorForDeviceEntry_onBouncerSceneActive() 205 keyguardUpdateMonitor in updatesShowIndicatorForDeviceEntry_onBouncerSceneInactive() 352 whenever(keyguardUpdateMonitor.isFingerprintDetectionRunning) in updatePrimaryBouncer() 354 whenever(keyguardUpdateMonitor.isUnlockingWithFingerprintAllowed) in updatePrimaryBouncer() 372 whenever(keyguardUpdateMonitor.isFingerprintDetectionRunning) in updateBouncerScene() 374 whenever(keyguardUpdateMonitor.isUnlockingWithFingerprintAllowed) in updateBouncerScene()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/data/repository/ |
D | SimBouncerRepositoryTest.kt | 48 @Mock lateinit var keyguardUpdateMonitor: KeyguardUpdateMonitor variable in com.android.systemui.bouncer.data.repository.SimBouncerRepositoryTest 60 whenever(keyguardUpdateMonitor.registerCallback(any())).thenAnswer { in setup() 64 whenever(keyguardUpdateMonitor.removeCallback(any())).thenAnswer { in setup() 72 keyguardUpdateMonitor = keyguardUpdateMonitor, in setup() 193 whenever(keyguardUpdateMonitor.getNextSubIdForState(anyInt())).thenReturn(-1) in emitSubscriptionIdAndCollectLastValue() 194 whenever(keyguardUpdateMonitor.getNextSubIdForState(simState)).thenReturn(subId) in emitSubscriptionIdAndCollectLastValue()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/deviceentry/ui/binder/ |
D | LiftToRunFaceAuthBinderKosmos.kt | 20 import com.android.keyguard.keyguardUpdateMonitor 38 keyguardUpdateMonitor = keyguardUpdateMonitor, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/bouncer/domain/interactor/ |
D | SimBouncerInteractorKosmos.kt | 24 import com.android.keyguard.keyguardUpdateMonitor 40 keyguardUpdateMonitor = keyguardUpdateMonitor, in <lambda>()
|
D | AlternateBouncerInteractorKosmos.kt | 19 import com.android.keyguard.keyguardUpdateMonitor 42 keyguardUpdateMonitor = keyguardUpdateMonitor, in <lambda>()
|
D | PrimaryBouncerInteractorKosmos.kt | 21 import com.android.keyguard.keyguardUpdateMonitor 50 keyguardUpdateMonitor = keyguardUpdateMonitor, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
D | FaceScanningProviderFactory.kt | 48 private val keyguardUpdateMonitor: KeyguardUpdateMonitor, in <lambda>() constant in com.android.systemui.decor.FaceScanningProviderFactory 88 keyguardUpdateMonitor, in <lambda>() 100 return hasProviders && keyguardUpdateMonitor.isFaceEnabledAndEnrolled in <lambda>() 105 (keyguardUpdateMonitor.isFaceDetectionRunning || authController.isShowing) in <lambda>() 113 private val keyguardUpdateMonitor: KeyguardUpdateMonitor, constant in com.android.systemui.decor.FaceScanningOverlayProviderImpl 147 keyguardUpdateMonitor, in inflateView()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/user/domain/interactor/ |
D | UserSwitcherInteractorKosmos.kt | 23 import com.android.keyguard.keyguardUpdateMonitor 49 keyguardUpdateMonitor = keyguardUpdateMonitor, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/deviceentry/domain/interactor/ |
D | DeviceEntryFaceAuthInteractorKosmos.kt | 22 import com.android.keyguard.keyguardUpdateMonitor 52 keyguardUpdateMonitor = keyguardUpdateMonitor, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaDataProcessorKosmos.kt | 22 import com.android.keyguard.keyguardUpdateMonitor 61 keyguardUpdateMonitor = keyguardUpdateMonitor, in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/data/repository/ |
D | SimBouncerRepository.kt | 92 keyguardUpdateMonitor: KeyguardUpdateMonitor, 108 keyguardUpdateMonitor.registerCallback(callback) in <lambda>() 109 awaitClose { keyguardUpdateMonitor.removeCallback(callback) } in <lambda>() 115 keyguardUpdateMonitor.getNextSubIdForState( in <lambda>() 129 keyguardUpdateMonitor.getNextSubIdForState( in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/util/ |
D | IndicationHelperTest.kt | 55 @Mock lateinit var keyguardUpdateMonitor: KeyguardUpdateMonitor variable in com.android.systemui.keyguard.util.IndicationHelperTest 62 keyguardUpdateMonitor, in setup() 165 whenever(keyguardUpdateMonitor.isUnlockingWithBiometricAllowed(anyBoolean())) in givenPrimaryAuthNotRequired() 170 whenever(keyguardUpdateMonitor.isUnlockingWithBiometricAllowed(anyBoolean())) in givenPrimaryAuthRequired()
|