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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidacquire()protected booleanisHeld()protected voidrelease()protected voidsetReferenceCounted(boolean refCounted)
-
Field Details
-
MAX_ACTIVE_LOCKS
public static final int MAX_ACTIVE_LOCKS- See Also:
-
-
Constructor Details
-
ShadowWifiLock
public ShadowWifiLock()
-
-
Method Details
-
acquire
@Implementation protected void acquire() -
release
@Implementation protected void release() -
isHeld
@Implementation protected boolean isHeld() -
setReferenceCounted
@Implementation protected void setReferenceCounted(boolean refCounted)
-