Local device connected to with ddmlib. This is a wrapper around com.android.ddmlib.IDevice.
Constructor and description |
---|
ConnectedDevice
(com.android.ddmlib.IDevice iDevice) |
Type | Name and description |
---|---|
void |
connect(int timeout, com.android.utils.ILogger logger) |
void |
disconnect(int timeout, com.android.utils.ILogger logger) |
void |
executeShellCommand(String command, com.android.ddmlib.IShellOutputReceiver receiver, long maxTimeToOutputResponse, TimeUnit maxTimeUnits) |
List<String> |
getAbis() |
String |
getApiCodeName() |
int |
getApiLevel() |
int |
getDensity() |
int |
getHeight() |
String |
getName() |
String |
getProperty(String propertyName) |
String |
getSerialNumber() |
com.android.ddmlib.IDevice$DeviceState |
getState() |
Future<String> |
getSystemProperty(String name) |
int |
getWidth() |
void |
installPackage(File apkFile, int timeout, com.android.utils.ILogger logger) |
void |
installPackages(List<File> splitApkFiles, int timeout, com.android.utils.ILogger logger) |
void |
pullFile(String remote, String local) |
void |
uninstallPackage(String packageName, int timeout, com.android.utils.ILogger logger) |
Methods inherited from class | Name |
---|---|
class com.android.builder.testing.api.DeviceConnector |
com.android.builder.testing.api.DeviceConnector#getProperty(java.lang.String), com.android.builder.testing.api.DeviceConnector#getState(), com.android.builder.testing.api.DeviceConnector#connect(int, com.android.utils.ILogger), com.android.builder.testing.api.DeviceConnector#getSerialNumber(), com.android.builder.testing.api.DeviceConnector#disconnect(int, com.android.utils.ILogger), com.android.builder.testing.api.DeviceConnector#getWidth(), com.android.builder.testing.api.DeviceConnector#getHeight(), com.android.builder.testing.api.DeviceConnector#getApiLevel(), com.android.builder.testing.api.DeviceConnector#pullFile(java.lang.String, java.lang.String), com.android.builder.testing.api.DeviceConnector#installPackage(java.io.File, int, com.android.utils.ILogger), com.android.builder.testing.api.DeviceConnector#installPackages(java.util.List, int, com.android.utils.ILogger), com.android.builder.testing.api.DeviceConnector#uninstallPackage(java.lang.String, int, com.android.utils.ILogger), com.android.builder.testing.api.DeviceConnector#getAbis(), com.android.builder.testing.api.DeviceConnector#getDensity(), com.android.builder.testing.api.DeviceConnector#getApiCodeName(), com.android.builder.testing.api.DeviceConnector#wait(), com.android.builder.testing.api.DeviceConnector#wait(long), com.android.builder.testing.api.DeviceConnector#wait(long, int), com.android.builder.testing.api.DeviceConnector#equals(java.lang.Object), com.android.builder.testing.api.DeviceConnector#toString(), com.android.builder.testing.api.DeviceConnector#hashCode(), com.android.builder.testing.api.DeviceConnector#getClass(), com.android.builder.testing.api.DeviceConnector#notify(), com.android.builder.testing.api.DeviceConnector#notifyAll(), com.android.builder.testing.api.DeviceConnector#getName(), com.android.builder.testing.api.DeviceConnector#getSystemProperty(java.lang.String), com.android.builder.testing.api.DeviceConnector#executeShellCommand(java.lang.String, com.android.ddmlib.IShellOutputReceiver, long, java.util.concurrent.TimeUnit) |
class Object |
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |