Package org.robolectric.shadows
Class ShadowVirtualDeviceManager
java.lang.Object
org.robolectric.shadows.ShadowVirtualDeviceManager
@Implements(value=android.companion.virtual.VirtualDeviceManager.class,
minSdk=34,
isInAndroidSdk=false)
public class ShadowVirtualDeviceManager
extends Object
Shadow for VirtualDeviceManager.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Shadow for inner class VirtualDeviceManager.VirtualDevice. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
__constructor__
(IVirtualDeviceManager service, Context context) protected VirtualDeviceManager.VirtualDevice
createVirtualDevice
(int associationId, VirtualDeviceParams params) protected int
getDevicePolicy
(int deviceId, int policyType) protected List<VirtualDevice>
protected boolean
isValidVirtualDeviceId
(int deviceId)
-
Constructor Details
-
ShadowVirtualDeviceManager
public ShadowVirtualDeviceManager()
-
-
Method Details
-
__constructor__
-
createVirtualDevice
@Implementation protected VirtualDeviceManager.VirtualDevice createVirtualDevice(int associationId, VirtualDeviceParams params) -
getVirtualDevices
-
getDevicePolicy
-
isValidVirtualDeviceId
-