Help us shape the future of Go! Take the 2026 Go Developer Survey

logcat

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: CC0-1.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TransactionILogcatManagerServiceStartThread  = binder.FirstCallTransaction + 0
	TransactionILogcatManagerServiceFinishThread = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodILogcatManagerServiceStartThread  = "startThread"
	MethodILogcatManagerServiceFinishThread = "finishThread"
)
View Source
const DescriptorILogcatManagerService = "android.os.logcat.ILogcatManagerService"

Variables

This section is empty.

Functions

This section is empty.

Types

type ILogcatManagerService

type ILogcatManagerService interface {
	AsBinder() binder.IBinder
	StartThread(ctx context.Context, uid int32, gid int32, pid int32, fd int32) error
	FinishThread(ctx context.Context, uid int32, gid int32, pid int32, fd int32) error
}

func NewLogcatManagerServiceStub

func NewLogcatManagerServiceStub(
	impl ILogcatManagerServiceServer,
) ILogcatManagerService

NewLogcatManagerServiceStub creates a server-side ILogcatManagerService wrapping the given server implementation. The returned value satisfies ILogcatManagerService and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.

type ILogcatManagerServiceServer

type ILogcatManagerServiceServer interface {
	StartThread(ctx context.Context, uid int32, gid int32, pid int32, fd int32) error
	FinishThread(ctx context.Context, uid int32, gid int32, pid int32, fd int32) error
}

ILogcatManagerServiceServer is the server-side interface that user implementations provide to NewLogcatManagerServiceStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).

type LogcatManagerServiceProxy

type LogcatManagerServiceProxy struct {
	Remote binder.IBinder
}

func NewLogcatManagerServiceProxy

func NewLogcatManagerServiceProxy(
	remote binder.IBinder,
) *LogcatManagerServiceProxy

func (*LogcatManagerServiceProxy) AsBinder

func (*LogcatManagerServiceProxy) FinishThread

func (p *LogcatManagerServiceProxy) FinishThread(
	ctx context.Context,
	uid int32,
	gid int32,
	pid int32,
	fd int32,
) error

func (*LogcatManagerServiceProxy) StartThread

func (p *LogcatManagerServiceProxy) StartThread(
	ctx context.Context,
	uid int32,
	gid int32,
	pid int32,
	fd int32,
) error

type LogcatManagerServiceStub

type LogcatManagerServiceStub struct {
	Impl      ILogcatManagerService
	Transport binder.VersionAwareTransport
}

LogcatManagerServiceStub dispatches incoming binder transactions to a typed ILogcatManagerService implementation.

func (*LogcatManagerServiceStub) Descriptor

func (s *LogcatManagerServiceStub) Descriptor() string

func (*LogcatManagerServiceStub) OnTransaction

func (s *LogcatManagerServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

Jump to

Keyboard shortcuts

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