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 ¶
func NewLogcatManagerServiceProxy ¶
func NewLogcatManagerServiceProxy( remote binder.IBinder, ) *LogcatManagerServiceProxy
func (*LogcatManagerServiceProxy) AsBinder ¶
func (p *LogcatManagerServiceProxy) AsBinder() binder.IBinder
func (*LogcatManagerServiceProxy) FinishThread ¶
func (*LogcatManagerServiceProxy) StartThread ¶
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)
Click to show internal directories.
Click to hide internal directories.