Searched refs:mWakeupLock (Results 1 – 3 of 3) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WakeupLockTest.java | 53 private WakeupLock mWakeupLock; field in WakeupLockTest 72 mWakeupLock = new WakeupLock(mWifiConfigManager, mWifiWakeMetrics, mClock); in setUp() 83 assertFalse("Lock empty after " + i + " scans", mWakeupLock.isUnlocked()); in updateEnoughTimesToEvictWithAsserts() 84 mWakeupLock.update(networks); in updateEnoughTimesToEvictWithAsserts() 96 mWakeupLock.update(networks); in updateEnoughTimesToEvictWithoutAsserts() 107 mWakeupLock.setLock(networks); in verifyInitializingLockByScans() 108 assertFalse(mWakeupLock.isInitialized()); in verifyInitializingLockByScans() 111 mWakeupLock.update(networks); in verifyInitializingLockByScans() 112 assertFalse(mWakeupLock.isInitialized()); in verifyInitializingLockByScans() 114 mWakeupLock.update(networks); in verifyInitializingLockByScans() [all …]
|
D | WakeupControllerTest.java | 71 @Mock private WakeupLock mWakeupLock; field in WakeupControllerTest 132 mWakeupLock, in initializeWakeupController() 221 verify(mWakeupLock).dump(null, writer, null); in dumpIncludesWakeupLock() 231 verify(mWakeupLock).setLock(any()); in startSetsWakeupLock() 252 verify(mWakeupLock, never()).setLock(any()); in startDoesNotSetWakeupLockWhenDisabled() 262 InOrder lockInOrder = Mockito.inOrder(mWakeupLock); in startIsIgnoredIfAlreadyActive() 266 lockInOrder.verify(mWakeupLock).setLock(any()); in startIsIgnoredIfAlreadyActive() 273 lockInOrder.verify(mWakeupLock, never()).setLock(any()); in startIsIgnoredIfAlreadyActive() 306 InOrder lockInOrder = Mockito.inOrder(mWakeupLock); in resetSetsActiveToFalse() 310 lockInOrder.verify(mWakeupLock).setLock(any()); in resetSetsActiveToFalse() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WakeupController.java | 60 private final WakeupLock mWakeupLock; field in WakeupController 144 mWakeupLock = wakeupLock; in WakeupController() 169 mWakeupLock.getDataSource()); in WakeupController() 267 mWakeupLock.setLock(matchInfos); in start() 297 mWakeupLock.enableVerboseLogging(mVerboseLoggingEnabled); in enableVerboseLogging() 382 mWakeupLock.update(matchInfos); in handleScanResults() 383 if (!mWakeupLock.isUnlocked()) { in handleScanResults() 441 mWakeupLock.dump(fd, pw, args); in dump()
|