com.android.builder.testing
Class ConnectedDeviceProvider
java.lang.Object
com.android.builder.testing.api.DeviceProvider
com.android.builder.testing.ConnectedDeviceProvider
public class ConnectedDeviceProvider
- extends com.android.builder.testing.api.DeviceProvider
DeviceProvider for locally connected devices. Basically returns the list of devices that
are currently connected at the time init()
is called.
Methods inherited from class com.android.builder.testing.api.DeviceProvider |
getMaxThreads |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectedDeviceProvider
public ConnectedDeviceProvider(@NonNull
SdkParser sdkParser)
getName
@NonNull
public java.lang.String getName()
- Specified by:
getName
in class com.android.builder.testing.api.DeviceProvider
getDevices
@NonNull
public java.util.List<? extends com.android.builder.testing.api.DeviceConnector> getDevices()
- Specified by:
getDevices
in class com.android.builder.testing.api.DeviceProvider
init
public void init()
throws com.android.builder.testing.api.DeviceException
- Specified by:
init
in class com.android.builder.testing.api.DeviceProvider
- Throws:
com.android.builder.testing.api.DeviceException
terminate
public void terminate()
throws com.android.builder.testing.api.DeviceException
- Specified by:
terminate
in class com.android.builder.testing.api.DeviceProvider
- Throws:
com.android.builder.testing.api.DeviceException
getTimeout
public int getTimeout()
- Specified by:
getTimeout
in class com.android.builder.testing.api.DeviceProvider
isConfigured
public boolean isConfigured()
- Specified by:
isConfigured
in class com.android.builder.testing.api.DeviceProvider