Package org.robolectric.shadows
Class ShadowPowerManager.ShadowLowPowerStandbyPortsLock
java.lang.Object
org.robolectric.shadows.ShadowPowerManager.ShadowLowPowerStandbyPortsLock
- Enclosing class:
- ShadowPowerManager
@Implements(value=android.os.PowerManager.LowPowerStandbyPortsLock.class,
minSdk=34,
isInAndroidSdk=false)
public static class ShadowPowerManager.ShadowLowPowerStandbyPortsLock
extends Object
Shadow of
PowerManager.LowPowerStandbyPortsLock
to allow testing state.-
Constructor Details
-
ShadowLowPowerStandbyPortsLock
public ShadowLowPowerStandbyPortsLock()
-
-
Method Details
-
acquire
-
release
-
isAcquired
public boolean isAcquired() -
getAcquireCount
public int getAcquireCount() -
setPorts
-
getPorts
-