Documentation
¶
Index ¶
- Constants
- type IResumeOnRebootService
- type IResumeOnRebootServiceServer
- type ResumeOnRebootServiceProxy
- func (p *ResumeOnRebootServiceProxy) AsBinder() binder.IBinder
- func (p *ResumeOnRebootServiceProxy) Unwrap(ctx context.Context, wrappedBlob []byte, resultCallback os.RemoteCallback) error
- func (p *ResumeOnRebootServiceProxy) WrapSecret(ctx context.Context, unwrappedBlob []byte, lifeTimeInMillis int64, ...) error
- type ResumeOnRebootServiceStub
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 ¶
func NewResumeOnRebootServiceProxy ¶
func NewResumeOnRebootServiceProxy( remote binder.IBinder, ) *ResumeOnRebootServiceProxy
func (*ResumeOnRebootServiceProxy) AsBinder ¶
func (p *ResumeOnRebootServiceProxy) AsBinder() binder.IBinder
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)
Click to show internal directories.
Click to hide internal directories.