Home
last modified time | relevance | path

Searched refs:isUnlocked (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/animation/
DFakeDialogLaunchAnimator.kt23 isUnlocked: Boolean = true, in fakeDialogLaunchAnimator()
31 isUnlocked = isUnlocked, in fakeDialogLaunchAnimator()
46 private val isUnlocked: Boolean = true, constant in com.android.systemui.animation.FakeCallback
50 override fun isUnlocked(): Boolean = isUnlocked method in com.android.systemui.animation.FakeCallback
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardStateControllerTest.java124 assertThat(mKeyguardStateController.isUnlocked()).isTrue(); in testIsUnlocked()
128 assertThat(mKeyguardStateController.isUnlocked()).isTrue(); in testIsUnlocked()
133 assertThat(mKeyguardStateController.isUnlocked()).isFalse(); in testIsUnlocked()
138 assertThat(mKeyguardStateController.isUnlocked()).isTrue(); in testIsUnlocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DAlternateBouncerInteractorTest.kt156 whenever(keyguardStateController.isUnlocked).thenReturn(true) in canShowAlternateBouncerForFingerprint_butCanDismissLockScreen()
196 whenever(keyguardStateController.isUnlocked).thenReturn(false) in onUnlockedIsFalse_doesNotHide()
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/controls/controller/
DControlActionCoordinatorImplTest.kt130 `when`(keyguardStateController.isUnlocked()).thenReturn(false) in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked()
142 `when`(keyguardStateController.isUnlocked()).thenReturn(true) in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked()
169 `when`(keyguardStateController.isUnlocked()).thenReturn(false) in testToggleWhenLockedDoesNotTriggerDialog_featureFlagEnabled()
184 `when`(keyguardStateController.isUnlocked()).thenReturn(false) in testToggleDoesNotRunsWhenLockedAndAuthRequired()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/dagger/
DControlsComponentTest.kt128 `when`(keyguardStateController.isUnlocked()).thenReturn(false) in testFeatureEnabledAndCannotShowOnLockScreenVisibility()
139 `when`(keyguardStateController.isUnlocked()).thenReturn(false) in testFeatureEnabledAndCanShowOnLockScreenVisibility()
151 `when`(keyguardStateController.isUnlocked()).thenReturn(true) in testFeatureEnabledAndCanShowWhileUnlockedVisibility()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DQuickAccessWalletTileTest.java273 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in testHandleUpdateState_walletIsUpdating()
306 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in testHandleUpdateState_hasCard_deviceLocked_tileInactive()
320 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in testHandleUpdateState_hasCard_deviceUnlocked_tileActive()
384 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in testQueryCards_hasCards_updateSideViewDrawable()
392 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in testQueryCards_notCurrentUser_hasCards_noSideViewDrawable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardStateController.java33 default boolean isUnlocked() { in isUnlocked() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/ui/
DWalletScreenControllerTest.java123 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in setUp()
144 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in queryCards_deviceLocked_udfpsEnabled_hideUnlockButton()
168 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in queryCards_deviceLocked_udfpsNotEnabled_showUnlockButton()
396 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in onCardClicked_deviceLocked_logUnlockEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/dagger/
DControlsComponent.kt97 if (!canShowWhileLockedSetting.value && !keyguardStateController.isUnlocked()) { in isEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DAlternateBouncerInteractor.kt123 !keyguardStateController.isUnlocked && in canShowAlternateBouncerForFingerprint()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DDialogLaunchAnimatorTest.kt157 fakeDialogLaunchAnimator(isUnlocked = false, isShowingAlternateAuthOnUnlock = false) in testActivityLaunchWhenLockedWithoutAlternateAuth()
165 fakeDialogLaunchAnimator(isUnlocked = false, isShowingAlternateAuthOnUnlock = true) in testActivityLaunchWhenLockedWithAlternateAuth()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/dagger/
DCentralSurfacesDependenciesModule.java306 public boolean isUnlocked() { in provideDialogLaunchAnimator()
307 return keyguardStateController.isUnlocked(); in provideDialogLaunchAnimator()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletScreenController.java164 !mKeyguardStateController.isUnlocked(), in onWalletCardsRetrieved()
241 if (!mKeyguardStateController.isUnlocked()) { in onCardClicked()
DWalletActivity.java160 if (mKeyguardStateController.isUnlocked()) { in onCreate()
/frameworks/base/services/people/java/com/android/server/people/data/
DUserData.java85 boolean isUnlocked() { in isUnlocked() method in UserData
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsActivity.kt116 if (featureFlags.isEnabled(Flags.USE_APP_PANELS) && !keyguardStateController.isUnlocked) { in <lambda>()
DDetailDialog.kt162 if (keyguardStateController.isUnlocked()) { in <lambda>()
DControlActionCoordinatorImpl.kt70 get() = !keyguardStateController.isUnlocked() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepositoryImplTest.kt224 whenever(keyguardStateController.isUnlocked).thenReturn(false) in <lambda>()
233 whenever(keyguardStateController.isUnlocked).thenReturn(true) in <lambda>()
237 whenever(keyguardStateController.isUnlocked).thenReturn(false) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DKeyguardRepository.kt290 keyguardStateController.isUnlocked, in isKeyguardShowing()
300 keyguardStateController.isUnlocked, in isKeyguardShowing()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogControllerTest.java187 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in setUp()
347 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in getSubtitleText_deviceLockedWithWifiOn_returnUnlockToViewNetworks()
477 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in isDeviceLocked_keyguardIsUnlocked_returnFalse()
484 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in isDeviceLocked_keyguardIsLocked_returnTrue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DBiometricsUnlockControllerTest.java138 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in setUp()
206 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in onBiometricAuthenticated_whenDeviceIsAlreadyUnlocked_wakeAndUnlock()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/
DDialogLaunchAnimator.kt380 (!callback.isUnlocked() && !callback.isShowingAlternateAuthOnUnlock()) in <lambda>()
477 fun isUnlocked(): Boolean in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DQuickAccessWalletTile.java149 boolean isDeviceLocked = !mKeyguardStateController.isUnlocked(); in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallback.java122 && mKeyguardStateController.isUnlocked()) { in onStateChanged()

12