Documentation
¶
Index ¶
Constants ¶
const DescriptorIIrisService = "android.hardware.iris.IIrisService"
const (
MethodIIrisServiceRegisterAuthenticators = "registerAuthenticators"
)
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 ¶
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)