OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:wifiLock
(Results
1 - 2
of
2
) sorted by null
/cts/tests/tests/permission/src/android/permission/cts/
NoWakeLockPermissionTest.java
23
import android.net.wifi.WifiManager.
WifiLock
;
44
* Verify that WifiManager.
WifiLock
.acquire() requires permissions.
52
final
WifiLock
wifiLock
= wifiManager.createWifiLock("WakeLockPermissionTest");
54
wifiLock
.acquire();
55
fail("WifiManager.
WifiLock
.acquire() didn't throw SecurityException as expected");
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
WifiLockManager.java
43
private final List<
WifiLock
> mWifiLocks = new ArrayList<>();
61
* is a valid
WifiLock
mode.
63
* @param tag String passed to WifiManager.
WifiLock
80
return addLock(new
WifiLock
(lockMode, tag, binder, ws));
85
* the caller and if allowed, releases the underlying
WifiLock
(s).
119
* Method to create a WorkSource containing all active
WifiLock
WorkSources.
123
for (
WifiLock
lock : mWifiLocks) {
133
* @param ws WorkSource to add to the existing
WifiLock
(s).
141
WifiLock
wl = findLockByBinder(binder);
174
private synchronized boolean addLock(
WifiLock
lock)
[
all
...]
Completed in 62 milliseconds