Searched refs:mWakeupLock (Results 1 – 3 of 3) sorted by relevance
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WakeupLockTest.java | 55 private WakeupLock mWakeupLock; field in WakeupLockTest 78 mWakeupLock = new WakeupLock(mWifiConfigManager, mWifiWakeMetrics, mClock); in setUp() 89 assertFalse("Lock empty after " + i + " scans", mWakeupLock.isUnlocked()); in updateEnoughTimesToEvictWithAsserts() 90 mWakeupLock.update(networks); in updateEnoughTimesToEvictWithAsserts() 102 mWakeupLock.update(networks); in updateEnoughTimesToEvictWithoutAsserts() 113 mWakeupLock.setLock(networks); in verifyInitializingLockByScans() 114 assertFalse(mWakeupLock.isInitialized()); in verifyInitializingLockByScans() 117 mWakeupLock.update(networks); in verifyInitializingLockByScans() 118 assertFalse(mWakeupLock.isInitialized()); in verifyInitializingLockByScans() 120 mWakeupLock.update(networks); in verifyInitializingLockByScans() [all …]
|
D | WakeupControllerTest.java | 86 @Mock private WakeupLock mWakeupLock; field in WakeupControllerTest 189 mWakeupLock, in initializeWakeupController() 306 verify(mWakeupLock).dump(null, writer, null); in dumpIncludesWakeupLock() 316 verify(mWakeupLock).setLock(any()); in startSetsWakeupLock() 337 verify(mWakeupLock, never()).setLock(any()); in startDoesNotSetWakeupLockWhenDisabled() 350 verify(mWakeupLock, never()).setLock(any()); in startDoesNotSetWakeupLockWhenNoSavedNetworksOrSuggestions() 360 InOrder lockInOrder = Mockito.inOrder(mWakeupLock); in startIsIgnoredIfAlreadyActive() 364 lockInOrder.verify(mWakeupLock).setLock(any()); in startIsIgnoredIfAlreadyActive() 371 lockInOrder.verify(mWakeupLock, never()).setLock(any()); in startIsIgnoredIfAlreadyActive() 404 InOrder lockInOrder = Mockito.inOrder(mWakeupLock); in resetSetsActiveToFalse() [all …]
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WakeupController.java | 64 private final WakeupLock mWakeupLock; field in WakeupController 157 mWakeupLock = wakeupLock; in WakeupController() 187 mWakeupLock.getDataSource()); in WakeupController() 329 mWakeupLock.setLock(matchInfos); in start() 362 mWakeupLock.enableVerboseLogging(mVerboseLoggingEnabled); in enableVerboseLogging() 445 mWakeupLock.update(matchInfos); in handleScanResults() 446 if (!mWakeupLock.isUnlocked()) { in handleScanResults() 509 mWakeupLock.dump(fd, pw, args); in dump()
|