Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupLockTest.java83 assertFalse("Lock empty after " + i + " scans", mWakeupLock.isUnlocked()); in updateEnoughTimesToEvictWithAsserts()
132 assertTrue(mWakeupLock.isUnlocked()); in verifyInitializingLockByTimeout()
155 assertFalse(mWakeupLock.isUnlocked()); in verifyNotEmptyWhenSetWithNetworkList()
164 assertTrue(mWakeupLock.isUnlocked()); in isEmptyWhenInitializedWithEmptyList()
173 assertFalse(mWakeupLock.isUnlocked()); in setLockClearsPreviousNetworks()
176 assertTrue(mWakeupLock.isUnlocked()); in setLockClearsPreviousNetworks()
189 assertTrue(mWakeupLock.isUnlocked()); in updateShouldRemoveNetworksAfterConsecutiveMissedScans()
209 assertTrue(mWakeupLock.isUnlocked()); in updateWithLockedNetworkShouldResetRequiredNumberOfScans()
222 assertTrue(mWakeupLock.isUnlocked()); in updateWithLockedNetworkAfterItIsRemovedDoesNotReset()
224 assertTrue(mWakeupLock.isUnlocked()); in updateWithLockedNetworkAfterItIsRemovedDoesNotReset()
[all …]
DWakeupControllerTest.java602 when(mWakeupLock.isUnlocked()).thenReturn(true); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked()
629 when(mWakeupLock.isUnlocked()).thenReturn(false); in onResultsUpdatesIfNotOnboarded()
642 verify(mWakeupLock).isUnlocked(); in onResultsUpdatesIfNotOnboarded()
652 when(mWakeupLock.isUnlocked()).thenReturn(true); in onResultsEnablesWifi()
692 verify(mWakeupLock, never()).isUnlocked(); in controllerDoesNoWorkIfUserStoreIsNotRead()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardStateControllerTest.java108 assertThat(mKeyguardStateController.isUnlocked()).isTrue(); in testIsUnlocked()
112 assertThat(mKeyguardStateController.isUnlocked()).isTrue(); in testIsUnlocked()
117 assertThat(mKeyguardStateController.isUnlocked()).isFalse(); in testIsUnlocked()
122 assertThat(mKeyguardStateController.isUnlocked()).isTrue(); in testIsUnlocked()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupLock.java212 if (isUnlocked()) { in removeFromLock()
232 if (isUnlocked()) { in update()
251 public boolean isUnlocked() { in isUnlocked() method in WakeupLock
DWakeupController.java399 if (!mWakeupLock.isUnlocked()) { in handleScanResults()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyguardStateController.java30 default boolean isUnlocked() { in isUnlocked() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsDialogTest.java486 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in testShouldShowLockScreenMessage()
509 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in testShouldNotShowLockScreenMessage_whenWalletOrControlsShownOnLockScreen()
532 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in testShouldNotShowLockScreenMessage_whenControlsAndWalletBothDisabled()
/frameworks/base/services/people/java/com/android/server/people/data/
DUserData.java85 boolean isUnlocked() { in isUnlocked() method in UserData
DDataManager.java394 if (userData == null || userData.isUnlocked()) { in cleanupUser()
480 if (userData.isUnlocked()) { in forAllUnlockedUsers()
489 return userData != null && userData.isUnlocked() ? userData : null; in getUnlockedUserData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlActionCoordinatorImpl.kt132 var closeGlobalActions = !keyguardStateController.isUnlocked() in <lambda>()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccProfile.java1265 boolean isUnlocked = isUserUnlocked(); in onCarrierPrivilegesLoadedMessage()
1268 if (isProvisioned && isUnlocked) { in onCarrierPrivilegesLoadedMessage()
1281 if (!isUnlocked) { in onCarrierPrivilegesLoadedMessage()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java381 boolean unlocked = mKeyguardStateController.isUnlocked(); in GlobalActionsDialog()
772 return mWalletPlugin.onPanelShown(this, !mKeyguardStateController.isUnlocked()); in getWalletViewController()
2643 && (mKeyguardStateController.isUnlocked() || showOnLockScreen);
2662 return !mKeyguardStateController.isUnlocked()
/frameworks/base/keystore/java/android/security/
DKeyStore.java217 public boolean isUnlocked() { in isUnlocked() method in KeyStore
/frameworks/base/services/
Dart-profile23268 HPLcom/android/server/people/data/UserData;->isUnlocked()Z