Home | History | Annotate | Download | only in adb

Lines Matching defs:instance

47 type instance struct {
89 func (pool *Pool) Create(workdir string, index int) (vmimpl.Instance, error) {
90 inst := &instance{
232 func (inst *instance) Forward(port int) (string, error) {
244 func (inst *instance) adb(args ...string) ([]byte, error) {
256 func (inst *instance) repair() error {
280 func (inst *instance) waitForSSH() error {
290 return fmt.Errorf("instance is dead and unrepairable: %v", err)
293 func (inst *instance) checkBatteryLevel() error {
322 func (inst *instance) getBatteryLevel(numRetry int) (int, error) {
353 func (inst *instance) Close() {
357 func (inst *instance) Copy(hostSrc string) (string, error) {
365 func (inst *instance) Run(timeout time.Duration, stop <-chan bool, command string) (
408 func (inst *instance) Diagnose() bool {