Searched defs:WifiLock (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiManager.java | 857 * Acquiring a WifiLock will keep the radio on until the lock is released. Multiple 861 * Before using a WifiLock, consider carefully if your application requires Wi-Fi access, or 863 * files should hold a WifiLock to ensure that the download will complete, but a program whose 864 * network usage is occasional or low-bandwidth should not hold a WifiLock to avoid adversely 871 public class WifiLock { class in class:WifiManager 880 private WifiLock(int lockType, String tag) { method in class:WifiManager.WifiLock 892 * If this WifiLock is reference-counted, each call to {@code acquire} will increment the 896 * If this WifiLock is not reference-counted, the first call to {@code acquire} will lock 923 * If this WifiLock is reference-counted, each call to {@code release} will decrement the 928 * If this WifiLock i [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | WifiService.java | 2194 private class WifiLock extends DeathRecipient { class in class:WifiService 2195 WifiLock(int lockMode, String tag, IBinder binder, WorkSource ws) { method in class:WifiService.WifiLock 2206 return "WifiLock{" + mTag + " type=" + mMode + " binder=" + mBinder + "}"; 2211 private List<WifiLock> mList; 2214 mList = new ArrayList<WifiLock>(); 2237 private void addLock(WifiLock lock) { 2243 private WifiLock removeLock(IBinder binder) { 2246 WifiLock ret = mList.remove(index); 2263 for (WifiLock l : mList) { 2296 WifiLock wifiLoc [all...] |
Completed in 840 milliseconds