rats

package
v0.0.0-...-1b6ac79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2014 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllDevices

func GetAllDevices() chan []*Device

func GetDevices

func GetDevices(filter *DeviceFilter) chan []*Device

func GetFileFromZip

func GetFileFromZip(file io.ReaderAt, size int64, subFile string) []byte

func GetManifest

func GetManifest(file io.ReaderAt, size int64) *apk.Manifest

func Install

func Install(name string, f io.Reader, devices ...*Device)

func Release

func Release(devices ...*Device)

func Reserve

func Reserve(devices ...*Device)

func RunOn

func RunOn(devices []*Device, params ...[]string)

func RunOnAll

func RunOnAll(params ...string)

func RunOnDevice

func RunOnDevice(wg *sync.WaitGroup, d adb.Transporter, params ...[]string)

func Uninstall

func Uninstall(pack string, devices ...*Device)

func Unlock

func Unlock(devices []*Device)

func UpdateAdb

func UpdateAdb(a *adb.Adb) error

Types

type Device

type Device struct {
	adb.Device
	InUse bool
}

type DeviceFilter

type DeviceFilter struct {
	adb.DeviceFilter
	Count  int
	Strict bool
}

type DeviceGroup

type DeviceGroup struct {
	Name string
	adb.DeviceFilter
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL