Searched refs:WakeupLock (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WakeupLockTest.java | 53 private WakeupLock mWakeupLock; 72 mWakeupLock = new WakeupLock(mWifiConfigManager, mWifiWakeMetrics, mClock); in setUp() 82 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() 125 .thenReturn(0L, WakeupLock.MAX_LOCK_TIME_MILLIS + 1); in verifyInitializingLockByTimeout() 282 .thenReturn(0L, WakeupLock.MAX_LOCK_TIME_MILLIS + 1); in unlockingShouldRecordEventInMetrics() 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() 294 .thenReturn(0L, WakeupLock.MAX_LOCK_TIME_MILLIS + 1); in setLockAndInitializeByTimeout()
|
D | WakeupControllerTest.java | 71 @Mock private WakeupLock mWakeupLock;
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WakeupLock.java | 37 public class WakeupLock { class 39 private static final String TAG = WakeupLock.class.getSimpleName(); 56 public WakeupLock(WifiConfigManager wifiConfigManager, WifiWakeMetrics wifiWakeMetrics, in WakeupLock() method in WakeupLock
|
D | WakeupController.java | 60 private final WakeupLock mWakeupLock; 132 WakeupLock wakeupLock, in WakeupController()
|
D | WifiInjector.java | 331 new WakeupLock(mWifiConfigManager, mWifiMetrics.getWakeupMetrics(), mClock), in WifiInjector()
|
/frameworks/base/proto/src/ |
D | wifi.proto | 1654 // Event for fully initializing the WakeupLock (i.e. WakeupLock is "locked"). 1657 // Event for unlocking the WakeupLock. Does not occur if lock was initialized with 0 networks.
|