remotelockscreenvalidation

package
v0.0.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TransactionIRemoteLockscreenValidationCallbackOnSuccess = binder.FirstCallTransaction + 0
	TransactionIRemoteLockscreenValidationCallbackOnFailure = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodIRemoteLockscreenValidationCallbackOnSuccess = "onSuccess"
	MethodIRemoteLockscreenValidationCallbackOnFailure = "onFailure"
)
View Source
const DescriptorIRemoteLockscreenValidationCallback = "android.service.remotelockscreenvalidation.IRemoteLockscreenValidationCallback"
View Source
const DescriptorIRemoteLockscreenValidationService = "android.service.remotelockscreenvalidation.IRemoteLockscreenValidationService"
View Source
const (
	MethodIRemoteLockscreenValidationServiceValidateLockscreenGuess = "validateLockscreenGuess"
)
View Source
const (
	TransactionIRemoteLockscreenValidationServiceValidateLockscreenGuess = binder.FirstCallTransaction + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IRemoteLockscreenValidationCallback

type IRemoteLockscreenValidationCallback interface {
	AsBinder() binder.IBinder
	OnSuccess(ctx context.Context, result app.RemoteLockscreenValidationResult) error
	OnFailure(ctx context.Context, message string) error
}

func NewRemoteLockscreenValidationCallbackStub

func NewRemoteLockscreenValidationCallbackStub(
	impl IRemoteLockscreenValidationCallbackServer,
) IRemoteLockscreenValidationCallback

NewRemoteLockscreenValidationCallbackStub creates a server-side IRemoteLockscreenValidationCallback wrapping the given server implementation. The returned value satisfies IRemoteLockscreenValidationCallback 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 IRemoteLockscreenValidationCallbackServer

type IRemoteLockscreenValidationCallbackServer interface {
	OnSuccess(ctx context.Context, result app.RemoteLockscreenValidationResult) error
	OnFailure(ctx context.Context, message string) error
}

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

type IRemoteLockscreenValidationService

type IRemoteLockscreenValidationService interface {
	AsBinder() binder.IBinder
	ValidateLockscreenGuess(ctx context.Context, guess []byte, callback IRemoteLockscreenValidationCallback) error
}

func NewRemoteLockscreenValidationServiceStub

func NewRemoteLockscreenValidationServiceStub(
	impl IRemoteLockscreenValidationServiceServer,
) IRemoteLockscreenValidationService

NewRemoteLockscreenValidationServiceStub creates a server-side IRemoteLockscreenValidationService wrapping the given server implementation. The returned value satisfies IRemoteLockscreenValidationService 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 IRemoteLockscreenValidationServiceServer

type IRemoteLockscreenValidationServiceServer interface {
	ValidateLockscreenGuess(ctx context.Context, guess []byte, callback IRemoteLockscreenValidationCallback) error
}

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

type RemoteLockscreenValidationCallbackProxy

type RemoteLockscreenValidationCallbackProxy struct {
	Remote binder.IBinder
}

func NewRemoteLockscreenValidationCallbackProxy

func NewRemoteLockscreenValidationCallbackProxy(
	remote binder.IBinder,
) *RemoteLockscreenValidationCallbackProxy

func (*RemoteLockscreenValidationCallbackProxy) AsBinder

func (*RemoteLockscreenValidationCallbackProxy) OnFailure

func (p *RemoteLockscreenValidationCallbackProxy) OnFailure(
	ctx context.Context,
	message string,
) error

func (*RemoteLockscreenValidationCallbackProxy) OnSuccess

type RemoteLockscreenValidationCallbackStub

type RemoteLockscreenValidationCallbackStub struct {
	Impl      IRemoteLockscreenValidationCallback
	Transport binder.VersionAwareTransport
}

RemoteLockscreenValidationCallbackStub dispatches incoming binder transactions to a typed IRemoteLockscreenValidationCallback implementation.

func (*RemoteLockscreenValidationCallbackStub) Descriptor

func (*RemoteLockscreenValidationCallbackStub) OnTransaction

type RemoteLockscreenValidationServiceProxy

type RemoteLockscreenValidationServiceProxy struct {
	Remote binder.IBinder
}

func NewRemoteLockscreenValidationServiceProxy

func NewRemoteLockscreenValidationServiceProxy(
	remote binder.IBinder,
) *RemoteLockscreenValidationServiceProxy

func (*RemoteLockscreenValidationServiceProxy) AsBinder

func (*RemoteLockscreenValidationServiceProxy) ValidateLockscreenGuess

func (p *RemoteLockscreenValidationServiceProxy) ValidateLockscreenGuess(
	ctx context.Context,
	guess []byte,
	callback IRemoteLockscreenValidationCallback,
) error

type RemoteLockscreenValidationServiceStub

type RemoteLockscreenValidationServiceStub struct {
	Impl      IRemoteLockscreenValidationService
	Transport binder.VersionAwareTransport
}

RemoteLockscreenValidationServiceStub dispatches incoming binder transactions to a typed IRemoteLockscreenValidationService implementation.

func (*RemoteLockscreenValidationServiceStub) Descriptor

func (*RemoteLockscreenValidationServiceStub) OnTransaction

Jump to

Keyboard shortcuts

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