Home
last modified time | relevance | path

Searched refs:mWakeupLock (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupLockTest.java53 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 …]
DWakeupControllerTest.java72 @Mock private WakeupLock mWakeupLock; field in WakeupControllerTest
138 mWakeupLock, in initializeWakeupController()
227 verify(mWakeupLock).dump(null, writer, null); in dumpIncludesWakeupLock()
237 verify(mWakeupLock).setLock(any()); in startSetsWakeupLock()
258 verify(mWakeupLock, never()).setLock(any()); in startDoesNotSetWakeupLockWhenDisabled()
271 verify(mWakeupLock, never()).setLock(any()); in startDoesNotSetWakeupLockWhenNoSavedNetworksOrSuggestions()
281 InOrder lockInOrder = Mockito.inOrder(mWakeupLock); in startIsIgnoredIfAlreadyActive()
285 lockInOrder.verify(mWakeupLock).setLock(any()); in startIsIgnoredIfAlreadyActive()
292 lockInOrder.verify(mWakeupLock, never()).setLock(any()); in startIsIgnoredIfAlreadyActive()
325 InOrder lockInOrder = Mockito.inOrder(mWakeupLock); in resetSetsActiveToFalse()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupController.java58 private final WakeupLock mWakeupLock; field in WakeupController
140 mWakeupLock = wakeupLock; in WakeupController()
165 mWakeupLock.getDataSource()); in WakeupController()
283 mWakeupLock.setLock(matchInfos); in start()
313 mWakeupLock.enableVerboseLogging(mVerboseLoggingEnabled); in enableVerboseLogging()
398 mWakeupLock.update(matchInfos); in handleScanResults()
399 if (!mWakeupLock.isUnlocked()) { in handleScanResults()
457 mWakeupLock.dump(fd, pw, args); in dump()