Documentation ¶
Overview ¶
Package adb implements a thin adb client to bootstrap h2o.
Index ¶
- type Device
- func (a *Device) AbiList() (string, error)
- func (a *Device) Connect() error
- func (a *Device) ForwardAbstract(local, remote string) error
- func (a *Device) Install(apk string) (string, error)
- func (a *Device) Push(src, dst string) error
- func (a *Device) QemuPipeDir() (string, error)
- func (a *Device) Shell(args []string) (string, error)
- func (a *Device) StartCmd(script string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct { AdbPath string DeviceName string AdbServerPort string // contains filtered or unexported fields }
Device implements functionality to talk to an Android device through ADB.
func (*Device) ForwardAbstract ¶
ForwardAbstract forwards a unix abstract socket from the host to the device.
func (*Device) QemuPipeDir ¶
QemuPipeDir returns the directory where the qemu sockets live if qemu pipes are supported.
Click to show internal directories.
Click to hide internal directories.