Example #1
0
func RunOnDevice(wg *sync.WaitGroup, d adb.Transporter, params ...[]string) {
	defer wg.Done()
	for _, cmd := range params {
		adb.ShellSync(d, cmd...)
	}
}
Example #2
0
func Clear(t adb.Transporter) {
	adb.ShellSync(t, "logcat", "-c")
}