Documentation
¶
Index ¶
- type Client
- func (a *Client) Connect(ip string, port int64) (string, error)
- func (a *Client) Forward(f *Forward) (bool, error)
- func (a *Client) ForwardList() ([]*Forward, error)
- func (a *Client) GetApkAbi(serial, packageName string) string
- func (a *Client) GetApkPath(serial, packageName string) (string, error)
- func (a *Client) GetAppProcess(serial string) (bool, bool, bool)
- func (a *Client) GetDeviceABI(serial string) (string, error)
- func (a *Client) GetDevices() ([]string, error)
- func (a *Client) GetIPAddress(serial string) string
- func (a *Client) GetPids(serial string, process string) ([]string, error)
- func (a *Client) GetRobotmonStartCommand(serial string) (string, []string, error)
- func (a *Client) Init()
- func (a *Client) Install(serial, apk string) (string, error)
- func (a *Client) IsFileExist(serial, path string) bool
- func (a *Client) Restart()
- func (a *Client) Shell(serial, command string) (string, error)
- func (a *Client) StartRobotmonService(serial string) ([]string, error)
- func (a *Client) StopService(serial string) error
- func (a *Client) TCPIP(serial, port string) error
- func (a *Client) Uninstall(serial, apkID string) (string, error)
- type Forward
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ForwardList ¶
ForwardList adb forward --list
func (*Client) GetApkPath ¶
GetApkPath get apk installed path (com.r2studio.robotmon)
func (*Client) GetAppProcess ¶
GetAppProcess for robotmon starting service
func (*Client) GetDeviceABI ¶
GetDeviceABI get device abi, arm64-v8a, armeabi-v7a or x86
func (*Client) GetIPAddress ¶
func (*Client) GetRobotmonStartCommand ¶
GetRobotmonStartCommand getRobotmonStartCommand
func (*Client) IsFileExist ¶
IsFileExist check is file exist in device
func (*Client) StartRobotmonService ¶
func (*Client) StopService ¶
Click to show internal directories.
Click to hide internal directories.