Searched refs:isUnlocked (Results 1 – 5 of 5) sorted by relevance
78 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 …]
452 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()
212 if (isUnlocked()) { in removeFromLock()232 if (isUnlocked()) { in update()251 public boolean isUnlocked() { in isUnlocked() method in WakeupLock
299 if (!mWakeupLock.isUnlocked()) { in handleScanResults()
188 public boolean isUnlocked() { in isUnlocked() method in KeyStore