Searched refs:isUnlocked (Results 1 – 7 of 7) sorted by relevance
89 assertFalse("Lock empty after " + i + " scans", mWakeupLock.isUnlocked()); in updateEnoughTimesToEvictWithAsserts()138 assertTrue(mWakeupLock.isUnlocked()); in verifyInitializingLockByTimeout()161 assertFalse(mWakeupLock.isUnlocked()); in verifyNotEmptyWhenSetWithNetworkList()170 assertTrue(mWakeupLock.isUnlocked()); in isEmptyWhenInitializedWithEmptyList()179 assertFalse(mWakeupLock.isUnlocked()); in setLockClearsPreviousNetworks()182 assertTrue(mWakeupLock.isUnlocked()); in setLockClearsPreviousNetworks()195 assertTrue(mWakeupLock.isUnlocked()); in updateShouldRemoveNetworksAfterConsecutiveMissedScans()215 assertTrue(mWakeupLock.isUnlocked()); in updateWithLockedNetworkShouldResetRequiredNumberOfScans()228 assertTrue(mWakeupLock.isUnlocked()); in updateWithLockedNetworkAfterItIsRemovedDoesNotReset()230 assertTrue(mWakeupLock.isUnlocked()); in updateWithLockedNetworkAfterItIsRemovedDoesNotReset()[all …]
732 when(mWakeupLock.isUnlocked()).thenReturn(true); in onResultsSearchesForViableNetworkWhenWakeupLockIsUnlocked()759 when(mWakeupLock.isUnlocked()).thenReturn(false); in onResultsUpdatesIfNotOnboarded()772 verify(mWakeupLock).isUnlocked(); in onResultsUpdatesIfNotOnboarded()782 when(mWakeupLock.isUnlocked()).thenReturn(true); in onResultsEnablesWifi()825 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
446 if (!mWakeupLock.isUnlocked()) { in handleScanResults()
97 boolean isUnlocked = (Boolean) newValue; in onPreferenceChange()98 if (isUnlocked) { in onPreferenceChange()
247 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in setOccludedTrue_currentlyIsLocked_showsNavigationButtons()251 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in setOccludedTrue_currentlyIsLocked_showsNavigationButtons()
309 if (occluded && !mKeyguardStateController.isUnlocked()) { in setOccluded()