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

/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java829 * Acquiring a WifiLock will keep the radio on until the lock is released. Multiple
833 * Before using a WifiLock, consider carefully if your application requires Wi-Fi access, or
835 * files should hold a WifiLock to ensure that the download will complete, but a program whose
836 * network usage is occasional or low-bandwidth should not hold a WifiLock to avoid adversely
843 public class WifiLock { class in class:WifiManager
851 private WifiLock(int lockType, String tag) { method in class:WifiManager.WifiLock
863 * If this WifiLock is reference-counted, each call to {@code acquire} will increment the
867 * If this WifiLock is not reference-counted, the first call to {@code acquire} will lock
894 * If this WifiLock is reference-counted, each call to {@code release} will decrement the
899 * If this WifiLock i
[all...]
/frameworks/base/services/java/com/android/server/
H A DWifiService.java2011 private class WifiLock extends DeathRecipient { class in class:WifiService
2012 WifiLock(int lockMode, String tag, IBinder binder) { method in class:WifiService.WifiLock
2023 return "WifiLock{" + mTag + " type=" + mMode + " binder=" + mBinder + "}";
2028 private List<WifiLock> mList;
2031 mList = new ArrayList<WifiLock>();
2042 for (WifiLock l : mList) {
2050 private void addLock(WifiLock lock) {
2056 private WifiLock removeLock(IBinder binder) {
2059 WifiLock ret = mList.remove(index);
2076 for (WifiLock
[all...]

Completed in 212 milliseconds