Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupLockTest.java78 assertFalse("Lock empty after " + i + " scans", mWakeupLock.isUnlocked()); in updateEnoughTimesToEvictWithAsserts()
127 assertTrue(mWakeupLock.isUnlocked()); in verifyInitializingLockByTimeout()
150 assertFalse(mWakeupLock.isUnlocked()); in verifyNotEmptyWhenSetWithNetworkList()
159 assertTrue(mWakeupLock.isUnlocked()); in isEmptyWhenInitializedWithEmptyList()
168 assertFalse(mWakeupLock.isUnlocked()); in setLockClearsPreviousNetworks()
171 assertTrue(mWakeupLock.isUnlocked()); in setLockClearsPreviousNetworks()
184 assertTrue(mWakeupLock.isUnlocked()); in updateShouldRemoveNetworksAfterConsecutiveMissedScans()
204 assertTrue(mWakeupLock.isUnlocked()); in updateWithLockedNetworkShouldResetRequiredNumberOfScans()
217 assertTrue(mWakeupLock.isUnlocked()); in updateWithLockedNetworkAfterItIsRemovedDoesNotReset()
219 assertTrue(mWakeupLock.isUnlocked()); in updateWithLockedNetworkAfterItIsRemovedDoesNotReset()
[all …]
DWakeupControllerTest.java452 when(mWakeupLock.isUnlocked()).thenReturn(true); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked()
479 when(mWakeupLock.isUnlocked()).thenReturn(false); in onResultsUpdatesIfNotOnboarded()
492 verify(mWakeupLock).isUnlocked(); in onResultsUpdatesIfNotOnboarded()
502 when(mWakeupLock.isUnlocked()).thenReturn(true); in onResultsEnablesWifi()
542 verify(mWakeupLock, never()).isUnlocked(); in controllerDoesNoWorkIfUserStoreIsNotRead()
/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.java299 if (!mWakeupLock.isUnlocked()) { in handleScanResults()
/frameworks/base/keystore/java/android/security/
DKeyStore.java188 public boolean isUnlocked() { in isUnlocked() method in KeyStore