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.java1036 * This function will over-ride WifiLock and device idle status. For example,
1058 * This function will over-ride WifiLock and device idle status. Wi-Fi
1559 * Acquiring a WifiLock will keep the radio on until the lock is released. Multiple
1563 * Before using a WifiLock, consider carefully if your application requires Wi-Fi access, or
1565 * files should hold a WifiLock to ensure that the download will complete, but a program whose
1566 * network usage is occasional or low-bandwidth should not hold a WifiLock to avoid adversely
1573 * Any application using a WifiLock must request the {@code android.permission.WAKE_LOCK}
1576 public class WifiLock { class in class:WifiManager
1585 private WifiLock(int lockType, String tag) { method in class:WifiManager.WifiLock
1597 * If this WifiLock i
[all...]

Completed in 1185 milliseconds