fuchsia

package
v3.0.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device interface {
	bind.Device

	// DeviceInfo returns a map of properties for this device.
	DeviceInfo(ctx context.Context) (map[string]string, error)

	// Command is a helper that builds a shell.Cmd with the device as its target.
	Command(name string, args ...string) shell.Cmd

	// Return string array of trace providers.
	TraceProviders(ctx context.Context) ([]string, error)

	// StartTrace starts a Fuchsia trace.
	StartTrace(ctx context.Context, traceOptions *service.TraceOptions, traceFile file.Path, stop task.Signal, ready task.Task) error

	// StopTrace stops a Fuchsia trace.
	StopTrace(ctx context.Context, traceFile file.Path) error
}

Device extends the bind.Device interface with capabilities specific to Fuchsia devices.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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