Searched refs:WakeupLock (Results 1 – 7 of 7) 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 | 72 @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 | 58 private final WakeupLock mWakeupLock; 128 WakeupLock wakeupLock, in WakeupController()
|
D | WifiInjector.java | 367 new WakeupLock(mWifiConfigManager, mWifiMetrics.getWakeupMetrics(), mClock), in WifiInjector()
|
/frameworks/opt/net/wifi/tests/wifitests/ |
D | Android.bp | 348 "com.android.server.wifi.WakeupLock", 349 "com.android.server.wifi.WakeupLock$*", 350 "com.android.server.wifi.WakeupLock.**",
|
/frameworks/opt/net/wifi/service/proto/src/ |
D | metrics.proto | 1914 // Event for fully initializing the WakeupLock (i.e. WakeupLock is "locked"). 1917 // Event for unlocking the WakeupLock. Does not occur if lock was initialized with 0 networks.
|