Home
last modified time | relevance | path

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

/packages/modules/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()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWakeupLockTest.java88 for (int i = 0; i < WakeupLock.CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT; i++) { in updateEnoughTimesToEvictWithAsserts()
101 for (int i = 0; i < WakeupLock.CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT; i++) { in updateEnoughTimesToEvictWithoutAsserts()
116 for (int i = 0; i < WakeupLock.CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT - 1; i++) { in verifyInitializingLockByScans()
291 for (int i = 0; i < WakeupLock.CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT; i++) { in unlockingShouldRecordEventInMetrics()
295 WakeupLock.CONSECUTIVE_MISSED_SCANS_REQUIRED_TO_EVICT /* numScans */); in unlockingShouldRecordEventInMetrics()