Help us shape the future of Go! Take the 2026 Go Developer Survey

iris

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: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DescriptorIIrisService = "android.hardware.iris.IIrisService"
View Source
const (
	MethodIIrisServiceRegisterAuthenticators = "registerAuthenticators"
)
View Source
const (
	TransactionIIrisServiceRegisterAuthenticators = binder.FirstCallTransaction + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IIrisService

type IIrisService interface {
	AsBinder() binder.IBinder
	RegisterAuthenticators(ctx context.Context, hidlSensors []biometrics.SensorPropertiesInternal) error
}

func NewIrisServiceStub

func NewIrisServiceStub(
	impl IIrisServiceServer,
) IIrisService

NewIrisServiceStub creates a server-side IIrisService wrapping the given server implementation. The returned value satisfies IIrisService 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 IIrisServiceServer

type IIrisServiceServer interface {
	RegisterAuthenticators(ctx context.Context, hidlSensors []biometrics.SensorPropertiesInternal) error
}

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

type IrisServiceProxy

type IrisServiceProxy struct {
	Remote binder.IBinder
}

func GetIrisService

func GetIrisService(
	ctx context.Context,
	sm *servicemanager.ServiceManager,
) (*IrisServiceProxy, error)

GetIrisService retrieves the IrisService service and returns a typed proxy.

func NewIrisServiceProxy

func NewIrisServiceProxy(
	remote binder.IBinder,
) *IrisServiceProxy

func (*IrisServiceProxy) AsBinder

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

func (*IrisServiceProxy) RegisterAuthenticators

func (p *IrisServiceProxy) RegisterAuthenticators(
	ctx context.Context,
	hidlSensors []biometrics.SensorPropertiesInternal,
) error

type IrisServiceStub

type IrisServiceStub struct {
	Impl      IIrisService
	Transport binder.VersionAwareTransport
}

IrisServiceStub dispatches incoming binder transactions to a typed IIrisService implementation.

func (*IrisServiceStub) Descriptor

func (s *IrisServiceStub) Descriptor() string

func (*IrisServiceStub) OnTransaction

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