Home
last modified time | relevance | path

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

/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWakeupLockTest.java89 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 …]
DWakeupControllerTest.java732 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()
/packages/modules/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.java446 if (!mWakeupLock.isUnlocked()) { in handleScanResults()
/packages/apps/Settings/src/com/android/settings/development/
DOemUnlockPreferenceController.java97 boolean isUnlocked = (Boolean) newValue; in onPreferenceChange()
98 if (isUnlocked) { in onPreferenceChange()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/keyguard/
DCarKeyguardViewControllerTest.java247 when(mKeyguardStateController.isUnlocked()).thenReturn(true); in setOccludedTrue_currentlyIsLocked_showsNavigationButtons()
251 when(mKeyguardStateController.isUnlocked()).thenReturn(false); in setOccludedTrue_currentlyIsLocked_showsNavigationButtons()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/keyguard/
DCarKeyguardViewController.java309 if (occluded && !mKeyguardStateController.isUnlocked()) { in setOccluded()