assist

package
v0.0.5 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 DescriptorIAssistHandleService = "com.android.systemui.assist.IAssistHandleService"
View Source
const (
	MethodIAssistHandleServiceRequestAssistHandles = "requestAssistHandles"
)
View Source
const (
	TransactionIAssistHandleServiceRequestAssistHandles = binder.FirstCallTransaction + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AssistHandleServiceProxy

type AssistHandleServiceProxy struct {
	Remote binder.IBinder
}

func NewAssistHandleServiceProxy

func NewAssistHandleServiceProxy(
	remote binder.IBinder,
) *AssistHandleServiceProxy

func (*AssistHandleServiceProxy) AsBinder

func (p *AssistHandleServiceProxy) AsBinder() binder.IBinder

func (*AssistHandleServiceProxy) RequestAssistHandles

func (p *AssistHandleServiceProxy) RequestAssistHandles(
	ctx context.Context,
) error

type AssistHandleServiceStub

type AssistHandleServiceStub struct {
	Impl      IAssistHandleService
	Transport binder.VersionAwareTransport
}

AssistHandleServiceStub dispatches incoming binder transactions to a typed IAssistHandleService implementation.

func (*AssistHandleServiceStub) Descriptor

func (s *AssistHandleServiceStub) Descriptor() string

func (*AssistHandleServiceStub) OnTransaction

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

type IAssistHandleService

type IAssistHandleService interface {
	AsBinder() binder.IBinder
	RequestAssistHandles(ctx context.Context) error
}

func NewAssistHandleServiceStub

func NewAssistHandleServiceStub(
	impl IAssistHandleServiceServer,
) IAssistHandleService

NewAssistHandleServiceStub creates a server-side IAssistHandleService wrapping the given server implementation. The returned value satisfies IAssistHandleService 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 IAssistHandleServiceServer

type IAssistHandleServiceServer interface {
	RequestAssistHandles(ctx context.Context) error
}

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

Jump to

Keyboard shortcuts

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