| Constructor and Description |
|---|
AndroidManager() |
| Modifier and Type | Method and Description |
|---|---|
Device |
getDevice(String udid) |
org.json.JSONObject |
getDeviceInfo(String deviceID) |
List<Device> |
getDevices() |
int |
getPid(Process process) |
void |
startADB()
This method start adb server
|
String |
startADBLog(String udid,
String filePath) |
String |
startADBLogWithPackage(String udid,
String packageName,
String filePath) |
String |
stopADBLog(String udid) |
public org.json.JSONObject getDeviceInfo(String deviceID) throws InterruptedException, IOException
InterruptedExceptionIOExceptionpublic List<Device> getDevices() throws Exception
getDevices in interface ManagerExceptionpublic String startADBLog(String udid, String filePath) throws Exception
Exceptionpublic String startADBLogWithPackage(String udid, String packageName, String filePath) throws Exception
Exceptionpublic int getPid(Process process)
Copyright © 2018. All rights reserved.