resumeonreboot

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TransactionIResumeOnRebootServiceWrapSecret = binder.FirstCallTransaction + 0
	TransactionIResumeOnRebootServiceUnwrap     = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIResumeOnRebootServiceWrapSecret = "wrapSecret"
	MethodIResumeOnRebootServiceUnwrap     = "unwrap"
)
View Source
const DescriptorIResumeOnRebootService = "android.service.resumeonreboot.IResumeOnRebootService"

Variables

This section is empty.

Functions

This section is empty.

Types

type IResumeOnRebootService

type IResumeOnRebootService interface {
	AsBinder() binder.IBinder
	WrapSecret(ctx context.Context, unwrappedBlob []byte, lifeTimeInMillis int64, resultCallback os.RemoteCallback) error
	Unwrap(ctx context.Context, wrappedBlob []byte, resultCallback os.RemoteCallback) error
}

func NewResumeOnRebootServiceStub

func NewResumeOnRebootServiceStub(
	impl IResumeOnRebootServiceServer,
) IResumeOnRebootService

NewResumeOnRebootServiceStub creates a server-side IResumeOnRebootService wrapping the given server implementation. The returned value satisfies IResumeOnRebootService 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 IResumeOnRebootServiceServer

type IResumeOnRebootServiceServer interface {
	WrapSecret(ctx context.Context, unwrappedBlob []byte, lifeTimeInMillis int64, resultCallback os.RemoteCallback) error
	Unwrap(ctx context.Context, wrappedBlob []byte, resultCallback os.RemoteCallback) error
}

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

type ResumeOnRebootServiceProxy

type ResumeOnRebootServiceProxy struct {
	Remote binder.IBinder
}

func NewResumeOnRebootServiceProxy

func NewResumeOnRebootServiceProxy(
	remote binder.IBinder,
) *ResumeOnRebootServiceProxy

func (*ResumeOnRebootServiceProxy) AsBinder

func (*ResumeOnRebootServiceProxy) Unwrap

func (p *ResumeOnRebootServiceProxy) Unwrap(
	ctx context.Context,
	wrappedBlob []byte,
	resultCallback os.RemoteCallback,
) error

func (*ResumeOnRebootServiceProxy) WrapSecret

func (p *ResumeOnRebootServiceProxy) WrapSecret(
	ctx context.Context,
	unwrappedBlob []byte,
	lifeTimeInMillis int64,
	resultCallback os.RemoteCallback,
) error

type ResumeOnRebootServiceStub

type ResumeOnRebootServiceStub struct {
	Impl      IResumeOnRebootService
	Transport binder.VersionAwareTransport
}

ResumeOnRebootServiceStub dispatches incoming binder transactions to a typed IResumeOnRebootService implementation.

func (*ResumeOnRebootServiceStub) Descriptor

func (s *ResumeOnRebootServiceStub) Descriptor() string

func (*ResumeOnRebootServiceStub) OnTransaction

func (s *ResumeOnRebootServiceStub) 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