adb

package
v0.0.0-...-9994f1b Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2025 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

Package adb contains function on how to work with ADB.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ADBPath

func ADBPath(ctx context.Context) string

ADBPath provides path to ADB

func Port

func Port(ctx context.Context) int

Port provides port number for ADB connect.

func Run

func Run(ctx context.Context, args ...string) (*runnerResult, error)

Run runs blocking command by ADB. Do not use for non-blocking commands (like: logcat).

func UseLocal

func UseLocal(ctx context.Context) bool

UseLocal decide if local ADB need to be used.

Types

This section is empty.

Jump to

Keyboard shortcuts

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