public class DefaultHardwareDevice extends AbstractDevice
apiTargetType, device, port, serial, WD_STATUS_ENDPOINT| Constructor and Description |
|---|
DefaultHardwareDevice(com.android.ddmlib.IDevice device) |
| Modifier and Type | Method and Description |
|---|---|
Locale |
getLocale() |
String |
getModel() |
protected String |
getProp(String key) |
org.openqa.selenium.Dimension |
getScreenSize() |
String |
getSerial() |
DeviceTargetPlatform |
getTargetPlatform() |
boolean |
isDeviceReady() |
String |
toString() |
void |
unlockScreen() |
clearUserData, equals, executeCommandQuietly, executeCommandQuietly, extractValue, forwardPort, getAPITargetType, getCrashLog, getExternalStoragePath, getLogs, getSelendroidsPort, hashCode, inputKeyevent, install, invokeActivity, isInstalled, isInstalled, isLoggingEnabled, isSelendroidRunning, isSerialConfigured, kill, listRunningThirdPartyProcesses, restartADB, runAdbCommand, screenSizeMatches, setLoggingEnabled, setVerbose, start, startSelendroid, takeScreenshot, toByteArray, uninstallpublic DefaultHardwareDevice(com.android.ddmlib.IDevice device)
public String getModel()
getModel in interface AndroidDevicegetModel in class AbstractDeviceprotected String getProp(String key)
getProp in class AbstractDevicepublic DeviceTargetPlatform getTargetPlatform()
public org.openqa.selenium.Dimension getScreenSize()
public Locale getLocale()
public boolean isDeviceReady()
isDeviceReady in interface AndroidDeviceisDeviceReady in class AbstractDevicepublic String getSerial()
public void unlockScreen()
throws AndroidDeviceException
AndroidDeviceExceptionCopyright © 2015. All rights reserved.