Package org.robolectric.shadows
Class ShadowWifiManager.ShadowWifiLock
java.lang.Object
org.robolectric.shadows.ShadowWifiManager.ShadowWifiLock
- Enclosing class:
- ShadowWifiManager
@Implements(android.net.wifi.WifiManager.WifiLock.class) public static class ShadowWifiManager.ShadowWifiLock extends Object
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_ACTIVE_LOCKS
-
Constructor Summary
Constructors Constructor Description ShadowWifiLock()
-
Method Summary
Modifier and Type Method Description protected void
acquire()
protected boolean
isHeld()
protected void
release()
protected void
setReferenceCounted(boolean refCounted)
-
Field Details
-
MAX_ACTIVE_LOCKS
public static final int MAX_ACTIVE_LOCKS- See Also:
- Constant Field Values
-
-
Constructor Details
-
ShadowWifiLock
public ShadowWifiLock()
-
-
Method Details