Home
last modified time | relevance | path

Searched refs:CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWakeupLock.java42 static final int CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT = 5; field in WakeupLock
77 mLockedNetworks.put(scanResultMatchInfo, CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT); in setLock()
94 boolean shouldBeInitialized = numScans >= CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT; in maybeSetInitializedByScans()
157 mLockedNetworks.put(network, CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT); in addToLock()
195 entry.setValue(CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT); in removeFromLock()
288 mLockedNetworks.put(network, CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT); in setData()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWakeupLockTest.java82 for (int i = 0; i < WakeupLock.CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT; i++) { in updateEnoughTimesToEvictWithAsserts()
95 for (int i = 0; i < WakeupLock.CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT; i++) { in updateEnoughTimesToEvictWithoutAsserts()
110 for (int i = 0; i < WakeupLock.CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT - 1; i++) { in verifyInitializingLockByScans()
285 for (int i = 0; i < WakeupLock.CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT; i++) { in unlockingShouldRecordEventInMetrics()
289 WakeupLock.CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT /* numScans */); in unlockingShouldRecordEventInMetrics()