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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
acquire()
protected boolean
isHeld()
protected void
release()
protected void
setReferenceCounted(boolean refCounted)
-
-
-
Field Detail
-
MAX_ACTIVE_LOCKS
public static final int MAX_ACTIVE_LOCKS
- See Also:
- Constant Field Values
-
-
Method Detail
-
acquire
@Implementation protected void acquire()
-
release
@Implementation protected void release()
-
isHeld
@Implementation protected boolean isHeld()
-
setReferenceCounted
@Implementation protected void setReferenceCounted(boolean refCounted)
-
-