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.
Click to show internal directories.
Click to hide internal directories.