Searched defs:WifiLock (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/services/java/com/android/server/
H A DWifiService.java940 * of WifiLock & device idle status unless wifi enabled status is toggled
1271 private class WifiLock extends DeathRecipient { class in class:WifiService
1272 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { method in class:WifiService.WifiLock
1283 return "WifiLock{" + mTag + " type=" + mMode + " binder=" + mBinder + "}";
1288 private List<WifiLock> mList;
1291 mList = new ArrayList<WifiLock>();
1314 private void addLock(WifiLock lock) {
1320 private WifiLock removeLock(IBinder binder) {
1323 WifiLock ret = mList.remove(index);
1340 for (WifiLock
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java1040 * This function will over-ride WifiLock and device idle status. For example,
1062 * This function will over-ride WifiLock and device idle status. Wi-Fi
1568 * Acquiring a WifiLock will keep the radio on until the lock is released. Multiple
1572 * Before using a WifiLock, consider carefully if your application requires Wi-Fi access, or
1574 * files should hold a WifiLock to ensure that the download will complete, but a program whose
1575 * network usage is occasional or low-bandwidth should not hold a WifiLock to avoid adversely
1582 * Any application using a WifiLock must request the {@code android.permission.WAKE_LOCK}
1585 public class WifiLock { class in class:WifiManager
1594 private WifiLock(int lockType, String tag) { method in class:WifiManager.WifiLock
1606 * If this WifiLock i
[all...]

Completed in 54 milliseconds