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

/frameworks/base/services/java/com/android/server/wifi/
H A DWifiService.java980 * of WifiLock & device idle status unless wifi enabled status is toggled
1239 private class WifiLock extends DeathRecipient { class in class:WifiService
1240 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { method in class:WifiService.WifiLock
1251 return "WifiLock{" + mTag + " type=" + mMode + " binder=" + mBinder + "}";
1256 private List<WifiLock> mList;
1259 mList = new ArrayList<WifiLock>();
1288 private void addLock(WifiLock lock) {
1294 private WifiLock removeLock(IBinder binder) {
1297 WifiLock ret = mList.remove(index);
1315 for (WifiLock
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java1171 * This function will over-ride WifiLock and device idle status. For example,
1193 * This function will over-ride WifiLock and device idle status. Wi-Fi
1745 * Acquiring a WifiLock will keep the radio on until the lock is released. Multiple
1749 * Before using a WifiLock, consider carefully if your application requires Wi-Fi access, or
1751 * files should hold a WifiLock to ensure that the download will complete, but a program whose
1752 * network usage is occasional or low-bandwidth should not hold a WifiLock to avoid adversely
1759 * Any application using a WifiLock must request the {@code android.permission.WAKE_LOCK}
1762 public class WifiLock { class in class:WifiManager
1771 private WifiLock(int lockType, String tag) { method in class:WifiManager.WifiLock
1783 * If this WifiLock i
[all...]

Completed in 177 milliseconds