2a7c2bec5d307a9e52de429c6303b7df9de900dc |
|
20-May-2016 |
Rebecca Silberstein <silberst@google.com> |
WifiLockManager: create class to manage WifiLocks Create new class to maintain WifiLocks requested by applications. WifiLock management was closely tied to the WifiServiceImpl and made it very difficult to write tests using different WifiLock modes in DeviceIdle states. This CL moves the lock management to a new class, WifiLockManager, and adds tests to check the behavior. Bug: 28669096 Change-Id: Ib055078eb0a8555e9a7715d7ce10de1103e73130 Test: runtest frameworks-wifi
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiLockManager.java
|