/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ |
D | KeyguardUnlockAnimationController.kt | 142 private val keyguardStateController: KeyguardStateController, in <lambda>() constant in com.android.systemui.keyguard.KeyguardUnlockAnimationController 357 keyguardStateController.addCallback(this) in <lambda>() 405 if (keyguardStateController.isKeyguardGoingAway && in <lambda>() 414 if (!keyguardStateController.isKeyguardGoingAway && in <lambda>() 515 if (keyguardStateController.isFlingingToDismissKeyguard) { in <lambda>() 517 } else if (keyguardStateController.isDismissingFromSwipe && in <lambda>() 623 !keyguardStateController.isKeyguardGoingAway) { in <lambda>() 651 if (keyguardStateController.isFlingingToDismissKeyguard) { in <lambda>() 652 setSurfaceBehindAppearAmount(keyguardStateController.dismissAmount) in <lambda>() 653 } else if (keyguardStateController.isDismissingFromSwipe || in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | KeyguardQsUserSwitchControllerTest.kt | 54 private lateinit var keyguardStateController: KeyguardStateController variable in com.android.systemui.statusbar.policy.KeyguardQsUserSwitchControllerTest 94 keyguardStateController, in setUp() 106 `when`(keyguardStateController.isShowing).thenReturn(true) in setUp() 107 `when`(keyguardStateController.isKeyguardGoingAway).thenReturn(false) in setUp() 125 `when`(keyguardStateController.isShowing).thenReturn(false) in testAvatarExistsWhenKeyguardGoingAway() 126 `when`(keyguardStateController.isKeyguardGoingAway).thenReturn(true) in testAvatarExistsWhenKeyguardGoingAway() 133 `when`(keyguardStateController.isShowing).thenReturn(true) in testAvatarExistsWhenKeyguardShown() 134 `when`(keyguardStateController.isKeyguardGoingAway).thenReturn(false) in testAvatarExistsWhenKeyguardShown() 141 `when`(keyguardStateController.isShowing).thenReturn(false) in testAvatarGoneWhenKeyguardGone() 142 `when`(keyguardStateController.isKeyguardGoingAway).thenReturn(false) in testAvatarGoneWhenKeyguardGone()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlActionCoordinatorImplTest.kt | 56 private lateinit var keyguardStateController: KeyguardStateController variable in com.android.systemui.controls.ui.ControlActionCoordinatorImplTest 100 keyguardStateController, in any() 120 `when`(keyguardStateController.isShowing()).thenReturn(false) in testToggleRunsWhenUnlocked() 129 `when`(keyguardStateController.isShowing()).thenReturn(true) in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked() 130 `when`(keyguardStateController.isUnlocked()).thenReturn(false) in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked() 142 `when`(keyguardStateController.isUnlocked()).thenReturn(true) in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked() 153 `when`(keyguardStateController.isShowing()).thenReturn(true) in testToggleRunsWhenLockedAndAuthNotRequired() 168 `when`(keyguardStateController.isShowing()).thenReturn(true) in testToggleWhenLockedDoesNotTriggerDialog_featureFlagEnabled() 169 `when`(keyguardStateController.isUnlocked()).thenReturn(false) in testToggleWhenLockedDoesNotTriggerDialog_featureFlagEnabled() 183 `when`(keyguardStateController.isShowing()).thenReturn(true) in testToggleDoesNotRunsWhenLockedAndAuthRequired() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardRepository.kt | 192 private val keyguardStateController: KeyguardStateController, in isKeyguardShowing() constant 215 keyguardStateController.isShowing, in isKeyguardShowing() 222 keyguardStateController.addCallback(callback) in isKeyguardShowing() 225 keyguardStateController.isShowing, in isKeyguardShowing() 230 awaitClose { keyguardStateController.removeCallback(callback) } in isKeyguardShowing() 265 keyguardStateController.isOccluded, in isKeyguardShowing() 272 keyguardStateController.addCallback(callback) in isKeyguardShowing() 275 keyguardStateController.isOccluded, in isKeyguardShowing() 280 awaitClose { keyguardStateController.removeCallback(callback) } in isKeyguardShowing() 290 keyguardStateController.isUnlocked, in isKeyguardShowing() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/ |
D | AlternateBouncerInteractorTest.kt | 59 @Mock private lateinit var keyguardStateController: KeyguardStateController variable in com.android.systemui.keyguard.domain.interactor.AlternateBouncerInteractorTest 81 keyguardStateController, in setup() 156 whenever(keyguardStateController.isUnlocked).thenReturn(true) in canShowAlternateBouncerForFingerprint_butCanDismissLockScreen() 192 verify(keyguardStateController).addCallback(keyguardStateControllerCallbackCaptor.capture()) in onUnlockedIsFalse_doesNotHide() 196 whenever(keyguardStateController.isUnlocked).thenReturn(false) in onUnlockedIsFalse_doesNotHide() 210 verify(keyguardStateController).addCallback(keyguardStateControllerCallbackCaptor.capture()) in onUnlockedChangedIsTrue_hide() 214 whenever(keyguardStateController.isUnlocked).thenReturn(true) in onUnlockedChangedIsTrue_hide() 227 whenever(keyguardStateController.isUnlocked).thenReturn(false) in givenCanShowAlternateBouncer()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthRippleControllerTest.kt | 75 @Mock private lateinit var keyguardStateController: KeyguardStateController variable in com.android.systemui.biometrics.AuthRippleControllerTest 105 keyguardStateController, in setUp() 132 `when`(keyguardStateController.isShowing).thenReturn(true) in testFingerprintTrigger_KeyguardShowing_Ripple() 159 `when`(keyguardStateController.isShowing).thenReturn(false) in testFingerprintTrigger_KeyguardNotShowing_NoRipple() 177 `when`(keyguardStateController.isShowing).thenReturn(true) in testFingerprintTrigger_biometricUnlockNotAllowed_NoRipple() 200 `when`(keyguardStateController.isShowing).thenReturn(true) in testFaceTriggerBypassEnabled_Ripple() 273 verify(keyguardStateController).addCallback(captor.capture()) in registersAndDeregisters() 278 verify(keyguardStateController).removeCallback(any()) in registersAndDeregisters() 288 `when`(keyguardStateController.isShowing).thenReturn(true) in testAnimatorRunWhenWakeAndUnlock_fingerprint() 296 `when`(keyguardStateController.isKeyguardFadingAway).thenReturn(true) in testAnimatorRunWhenWakeAndUnlock_fingerprint() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/ |
D | KeyguardRepositoryImplTest.kt | 68 @Mock private lateinit var keyguardStateController: KeyguardStateController in <lambda>() variable in com.android.systemui.keyguard.data.repository.KeyguardRepositoryImplTest 89 keyguardStateController, in <lambda>() 155 whenever(keyguardStateController.isShowing).thenReturn(false) in <lambda>() 163 verify(keyguardStateController).addCallback(captor.capture()) in <lambda>() 165 whenever(keyguardStateController.isShowing).thenReturn(true) in <lambda>() 170 whenever(keyguardStateController.isShowing).thenReturn(false) in <lambda>() 201 whenever(keyguardStateController.isOccluded).thenReturn(false) in <lambda>() 208 verify(keyguardStateController).addCallback(captor.capture()) in <lambda>() 210 whenever(keyguardStateController.isOccluded).thenReturn(true) in <lambda>() 214 whenever(keyguardStateController.isOccluded).thenReturn(false) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/dagger/ |
D | ControlsComponentTest.kt | 59 private lateinit var keyguardStateController: KeyguardStateController variable in com.android.systemui.controls.dagger.ControlsComponentTest 128 `when`(keyguardStateController.isUnlocked()).thenReturn(false) in testFeatureEnabledAndCannotShowOnLockScreenVisibility() 139 `when`(keyguardStateController.isUnlocked()).thenReturn(false) in testFeatureEnabledAndCanShowOnLockScreenVisibility() 151 `when`(keyguardStateController.isUnlocked()).thenReturn(true) in testFeatureEnabledAndCanShowWhileUnlockedVisibility() 185 keyguardStateController, in setupComponent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | TestableControlsActivity.kt | 31 keyguardStateController: KeyguardStateController 39 keyguardStateController
|
D | DetailDialogTest.kt | 51 private lateinit var keyguardStateController: KeyguardStateController variable in com.android.systemui.controls.ui.DetailDialogTest 79 keyguardStateController, in createDialog()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/ |
D | UnfoldKeyguardVisibilityListener.kt | 23 keyguardStateController: KeyguardStateController, 30 private val delegate = { keyguardStateController.isVisible } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | UdfpsKeyguardViewController.kt | 67 private val keyguardStateController: KeyguardStateController, in <lambda>() constant 174 launchTransitionFadingAway = keyguardStateController.isLaunchTransitionFadingAway in <lambda>() 287 launchTransitionFadingAway = keyguardStateController.isLaunchTransitionFadingAway in <lambda>() 288 keyguardStateController.addCallback(keyguardStateControllerCallback) in <lambda>() 309 keyguardStateController.removeCallback(keyguardStateControllerCallback) in <lambda>() 363 if (keyguardStateController.isOccluded) { in <lambda>() 390 keyguardStateController.isShowing in <lambda>()
|
D | AuthRippleController.kt | 69 private val keyguardStateController: KeyguardStateController, in <lambda>() constant in com.android.systemui.biometrics.AuthRippleController 101 keyguardStateController.addCallback(this) in <lambda>() 112 keyguardStateController.removeCallback(this) in <lambda>() 120 val keyguardNotShowing = !keyguardStateController.isShowing in <lambda>() 194 if (keyguardStateController.isKeyguardFadingAway) { in <lambda>() 201 startDelay = keyguardStateController.keyguardFadingAwayDelay in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | AlternateBouncerInteractor.kt | 39 private val keyguardStateController: KeyguardStateController, constant in com.android.systemui.keyguard.domain.interactor.AlternateBouncerInteractor 61 keyguardStateController.addCallback(keyguardStateControllerCallback) 123 !keyguardStateController.isUnlocked && in canShowAlternateBouncerForFingerprint()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/camera/ |
D | CameraGestureHelper.kt | 49 private val keyguardStateController: KeyguardStateController, constant in com.android.systemui.camera.CameraGestureHelper 144 val isLockScreenDismissible = keyguardStateController.canDismissLockScreen() in getStartCameraIntent() 145 val isSecure = keyguardStateController.isMethodSecure in getStartCameraIntent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/camera/ |
D | CameraGestureHelperTest.kt | 58 lateinit var keyguardStateController: KeyguardStateController variable in com.android.systemui.camera.CameraGestureHelperTest 93 keyguardStateController = keyguardStateController, in setUp() 135 whenever(keyguardStateController.isMethodSecure).thenReturn(isUsingSecureScreenLockOption) in prepare() 136 whenever(keyguardStateController.canDismissLockScreen()) in prepare()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBypassControllerTest.kt | 61 @Mock private lateinit var keyguardStateController: KeyguardStateController variable in com.android.systemui.statusbar.phone.KeyguardBypassControllerTest 75 whenever(keyguardStateController.isFaceAuthEnabled).thenReturn(true) in setUp() 81 reset(keyguardStateController) in tearDown() 130 keyguardStateController, in initKeyguardBypassController()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/ |
D | TestableNotificationInterruptStateProviderImpl.java | 43 KeyguardStateController keyguardStateController, in TestableNotificationInterruptStateProviderImpl() argument 57 keyguardStateController, in TestableNotificationInterruptStateProviderImpl()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | DynamicPrivacyController.java | 47 KeyguardStateController keyguardStateController, in DynamicPrivacyController() argument 51 mKeyguardStateController = keyguardStateController; in DynamicPrivacyController()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/ |
D | InternetDialogFactory.kt | 47 private val keyguardStateController: KeyguardStateController constant in com.android.systemui.qs.tiles.dialog.InternetDialogFactory 71 executor, keyguardStateController in create()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/touch/scrim/ |
D | ScrimManager.java | 67 KeyguardStateController keyguardStateController) { in ScrimManager() argument 72 mKeyguardStateController = keyguardStateController; in ScrimManager()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationShadeDepthController.kt | 64 private val keyguardStateController: KeyguardStateController, in <lambda>() constant in com.android.systemui.statusbar.NotificationShadeDepthController 252 if (!keyguardStateController.isKeyguardFadingAway || in <lambda>() 263 startDelay = keyguardStateController.keyguardFadingAwayDelay in <lambda>() 280 if (keyguardStateController.isShowing) { in <lambda>() 309 keyguardStateController.addCallback(keyguardStateCallback) in <lambda>() 454 !keyguardStateController.isKeyguardFadingAway in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ |
D | KeyguardUnlockAnimationControllerTest.kt | 48 private lateinit var keyguardStateController: KeyguardStateController in <lambda>() variable in com.android.systemui.keyguard.KeyguardUnlockAnimationControllerTest 84 context, keyguardStateController, { keyguardViewMediator }, keyguardViewController, in <lambda>() 173 whenever(keyguardStateController.isFlingingToDismissKeyguard).thenReturn(false) in <lambda>() 195 whenever(keyguardStateController.isFlingingToDismissKeyguard).thenReturn(true) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ControlActionCoordinatorImpl.kt | 58 private val keyguardStateController: KeyguardStateController, in <lambda>() constant in com.android.systemui.controls.ui.ControlActionCoordinatorImpl 70 get() = !keyguardStateController.isUnlocked() in <lambda>() 198 if (keyguardStateController.isShowing() && authRequired) { in <lambda>() 233 it, pendingIntent, cvh, keyguardStateController, activityStarter in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/sensorprivacy/ |
D | SensorUseStartedActivity.kt | 53 private val keyguardStateController: KeyguardStateController, in <lambda>() constant in com.android.systemui.sensorprivacy.SensorUseStartedActivity 145 keyguardStateController.isMethodSecure && in <lambda>() 146 keyguardStateController.isShowing) { in <lambda>()
|