Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardStateControllerTest.java111 assertThat(mKeyguardStateController.isUnlocked()).isTrue(); in testIsUnlocked()
115 assertThat(mKeyguardStateController.isUnlocked()).isTrue(); in testIsUnlocked()
120 assertThat(mKeyguardStateController.isUnlocked()).isFalse(); in testIsUnlocked()
125 assertThat(mKeyguardStateController.isUnlocked()).isTrue(); in testIsUnlocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/dagger/
DControlsComponentTest.kt117 `when`(keyguardStateController.isUnlocked()).thenReturn(false) in testFeatureEnabledAndCannotShowOnLockScreenVisibility()
129 `when`(keyguardStateController.isUnlocked()).thenReturn(false) in testFeatureEnabledAndCanShowOnLockScreenVisibility()
143 `when`(keyguardStateController.isUnlocked()).thenReturn(true) in testFeatureEnabledAndCanShowWhileUnlockedVisibility()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
DDeviceControlsTileTest.kt122 `when`(keyguardStateController.isUnlocked()).thenReturn(true) in setUp()
281 `when`(keyguardStateController.isUnlocked).thenReturn(false) in handleClick_availableAndLocked_activityStarted()
302 `when`(keyguardStateController.isUnlocked).thenReturn(true) in handleClick_availableAndUnlocked_activityStarted()
326 `when`(keyguardStateController.isUnlocked).thenReturn(false) in handleClick_availableAfterUnlockAndIsLocked_keyguardDismissRequired()
353 `when`(keyguardStateController.isUnlocked).thenReturn(true) in handleClick_availableAfterUnlockAndIsUnlocked_activityStarted()
DQuickAccessWalletTileTest.java225 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in testHandleClick_hasCards_deviceLocked_startWalletActivity()
242 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in testHandleClick_hasCards_deviceUnlocked_startWalletActivity()
295 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in testHandleUpdateState_walletIsUpdating()
330 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in testHandleUpdateState_hasCard_deviceLocked_tileInactive()
346 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in testHandleUpdateState_hasCard_deviceUnlocked_tileActive()
412 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in testQueryCards_hasCards_updateSideViewDrawable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlActionCoordinatorImplTest.kt113 `when`(keyguardStateController.isUnlocked()).thenReturn(false) in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked()
125 `when`(keyguardStateController.isUnlocked()).thenReturn(true) in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardStateController.java30 default boolean isUnlocked() { in isUnlocked() method
DUserSwitcherController.java1177 if (!mKeyguardStateController.isUnlocked() in onClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
DWalletScreenController.java150 !mKeyguardStateController.isUnlocked(), in onWalletCardsRetrieved()
211 if (!mKeyguardStateController.isUnlocked() in onCardClicked()
221 if (!mKeyguardStateController.isUnlocked()) { in onCardClicked()
DWalletActivity.java155 if (!mKeyguardStateController.isUnlocked() in onCreate()
160 if (mKeyguardStateController.isUnlocked()) { in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallet/ui/
DWalletScreenControllerTest.java117 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in setUp()
138 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in queryCards_deviceLocked_udfpsEnabled_hideUnlockButton()
162 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in queryCards_deviceLocked_udfpsNotEnabled_showUnlockButton()
387 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in onCardClicked_deviceLocked_logUnlockEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/dagger/
DControlsComponent.kt109 if (!canShowWhileLockedSetting && !keyguardStateController.isUnlocked()) { in isEnabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DQuickAccessWalletTile.java134 if (mKeyguardStateController.isUnlocked()) { in handleClick()
166 boolean isDeviceLocked = !mKeyguardStateController.isUnlocked(); in handleUpdateState()
DDeviceControlsTile.kt115 if (keyguardStateController.isUnlocked) { in handleClick()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java121 boolean unlocked = mKeyguardStateController.isUnlocked();
286 return mWalletPlugin.onPanelShown(this, !mKeyguardStateController.isUnlocked()); in getWalletViewController()
586 return !mKeyguardStateController.isUnlocked() in isWalletAvailableAfterUnlock()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsDialogTest.java492 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in testShouldShowLockScreenMessage()
516 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in testShouldNotShowLockScreenMessage_whenWalletShownOnLockScreen()
540 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in testShouldNotShowLockScreenMessage_whenWalletBothDisabled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsUiControllerImpl.kt259 if (keyguardStateController.isUnlocked()) { in <lambda>()
281 controlsMetricsLogger.refreshBegin(selectionItem.uid, !keyguardStateController.isUnlocked()) in <lambda>()
524 val isLocked = !keyguardStateController.isUnlocked() in <lambda>()
DControlActionCoordinatorImpl.kt65 get() = !keyguardStateController.isUnlocked() in <lambda>()
/frameworks/base/services/people/java/com/android/server/people/data/
DUserData.java85 boolean isUnlocked() { in isUnlocked() method in UserData
DDataManager.java666 if (userData == null || userData.isUnlocked()) { in cleanupUser()
755 if (userData.isUnlocked()) { in forAllUnlockedUsers()
764 return userData != null && userData.isUnlocked() ? userData : null; in getUnlockedUserData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialogController.kt118 if (!keyguardStateController.isUnlocked) { in startActivity()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarRemoteInputCallback.java121 && mKeyguardStateController.isUnlocked()) { in onStateChanged()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java1349 boolean isUnlocked = isUserUnlocked(); in onCarrierPrivilegesLoadedMessage()
1352 if (isProvisioned && isUnlocked) { in onCarrierPrivilegesLoadedMessage()
1365 if (!isUnlocked) { in onCarrierPrivilegesLoadedMessage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyDialogControllerTest.kt574 `when`(keyguardStateController.isUnlocked).thenReturn(true) in <lambda>()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java700 boolean isUnlocked() { in isUnlocked() method in ProcessRecord
DContentProviderHelper.java1283 if (app.userId != userId || app.getThread() == null || app.isUnlocked()) { in installEncryptionUnawareProviders()

12