biometrics

package
v0.0.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	TransactionAuthenticationStateListenerOnAuthenticationStarted   = binder.FirstCallTransaction + 0
	TransactionAuthenticationStateListenerOnAuthenticationStopped   = binder.FirstCallTransaction + 1
	TransactionAuthenticationStateListenerOnAuthenticationSucceeded = binder.FirstCallTransaction + 2
	TransactionAuthenticationStateListenerOnAuthenticationFailed    = binder.FirstCallTransaction + 3
	TransactionAuthenticationStateListenerOnAuthenticationAcquired  = binder.FirstCallTransaction + 4
)
View Source
const (
	MethodAuthenticationStateListenerOnAuthenticationStarted   = "onAuthenticationStarted"
	MethodAuthenticationStateListenerOnAuthenticationStopped   = "onAuthenticationStopped"
	MethodAuthenticationStateListenerOnAuthenticationSucceeded = "onAuthenticationSucceeded"
	MethodAuthenticationStateListenerOnAuthenticationFailed    = "onAuthenticationFailed"
	MethodAuthenticationStateListenerOnAuthenticationAcquired  = "onAuthenticationAcquired"
)
View Source
const (
	TransactionIAuthServiceCreateTestSession                     = binder.FirstCallTransaction + 0
	TransactionIAuthServiceGetSensorProperties                   = binder.FirstCallTransaction + 1
	TransactionIAuthServiceGetUiPackage                          = binder.FirstCallTransaction + 2
	TransactionIAuthServiceAuthenticate                          = binder.FirstCallTransaction + 3
	TransactionIAuthServiceCancelAuthentication                  = binder.FirstCallTransaction + 4
	TransactionIAuthServiceCanAuthenticate                       = binder.FirstCallTransaction + 5
	TransactionIAuthServiceGetLastAuthenticationTime             = binder.FirstCallTransaction + 6
	TransactionIAuthServiceHasEnrolledBiometrics                 = binder.FirstCallTransaction + 7
	TransactionIAuthServiceRegisterEnabledOnKeyguardCallback     = binder.FirstCallTransaction + 8
	TransactionIAuthServiceRegisterAuthenticationStateListener   = binder.FirstCallTransaction + 9
	TransactionIAuthServiceUnregisterAuthenticationStateListener = binder.FirstCallTransaction + 10
	TransactionIAuthServiceInvalidateAuthenticatorIds            = binder.FirstCallTransaction + 11
	TransactionIAuthServiceGetAuthenticatorIds                   = binder.FirstCallTransaction + 12
	TransactionIAuthServiceResetLockoutTimeBound                 = binder.FirstCallTransaction + 13
	TransactionIAuthServiceResetLockout                          = binder.FirstCallTransaction + 14
	TransactionIAuthServiceGetButtonLabel                        = binder.FirstCallTransaction + 15
	TransactionIAuthServiceGetPromptMessage                      = binder.FirstCallTransaction + 16
	TransactionIAuthServiceGetSettingName                        = binder.FirstCallTransaction + 17
)
View Source
const (
	MethodIAuthServiceCreateTestSession                     = "createTestSession"
	MethodIAuthServiceGetSensorProperties                   = "getSensorProperties"
	MethodIAuthServiceGetUiPackage                          = "getUiPackage"
	MethodIAuthServiceAuthenticate                          = "authenticate"
	MethodIAuthServiceCancelAuthentication                  = "cancelAuthentication"
	MethodIAuthServiceCanAuthenticate                       = "canAuthenticate"
	MethodIAuthServiceGetLastAuthenticationTime             = "getLastAuthenticationTime"
	MethodIAuthServiceHasEnrolledBiometrics                 = "hasEnrolledBiometrics"
	MethodIAuthServiceRegisterEnabledOnKeyguardCallback     = "registerEnabledOnKeyguardCallback"
	MethodIAuthServiceRegisterAuthenticationStateListener   = "registerAuthenticationStateListener"
	MethodIAuthServiceUnregisterAuthenticationStateListener = "unregisterAuthenticationStateListener"
	MethodIAuthServiceInvalidateAuthenticatorIds            = "invalidateAuthenticatorIds"
	MethodIAuthServiceGetAuthenticatorIds                   = "getAuthenticatorIds"
	MethodIAuthServiceResetLockoutTimeBound                 = "resetLockoutTimeBound"
	MethodIAuthServiceResetLockout                          = "resetLockout"
	MethodIAuthServiceGetButtonLabel                        = "getButtonLabel"
	MethodIAuthServiceGetPromptMessage                      = "getPromptMessage"
	MethodIAuthServiceGetSettingName                        = "getSettingName"
)
View Source
const (
	TransactionIBiometricAuthenticatorCreateTestSession               = binder.FirstCallTransaction + 0
	TransactionIBiometricAuthenticatorGetSensorProperties             = binder.FirstCallTransaction + 1
	TransactionIBiometricAuthenticatorDumpSensorServiceStateProto     = binder.FirstCallTransaction + 2
	TransactionIBiometricAuthenticatorPrepareForAuthentication        = binder.FirstCallTransaction + 3
	TransactionIBiometricAuthenticatorStartPreparedClient             = binder.FirstCallTransaction + 4
	TransactionIBiometricAuthenticatorCancelAuthenticationFromService = binder.FirstCallTransaction + 5
	TransactionIBiometricAuthenticatorIsHardwareDetected              = binder.FirstCallTransaction + 6
	TransactionIBiometricAuthenticatorHasEnrolledTemplates            = binder.FirstCallTransaction + 7
	TransactionIBiometricAuthenticatorGetLockoutModeForUser           = binder.FirstCallTransaction + 8
	TransactionIBiometricAuthenticatorInvalidateAuthenticatorId       = binder.FirstCallTransaction + 9
	TransactionIBiometricAuthenticatorGetAuthenticatorId              = binder.FirstCallTransaction + 10
	TransactionIBiometricAuthenticatorResetLockout                    = binder.FirstCallTransaction + 11
)
View Source
const (
	MethodIBiometricAuthenticatorCreateTestSession               = "createTestSession"
	MethodIBiometricAuthenticatorGetSensorProperties             = "getSensorProperties"
	MethodIBiometricAuthenticatorDumpSensorServiceStateProto     = "dumpSensorServiceStateProto"
	MethodIBiometricAuthenticatorPrepareForAuthentication        = "prepareForAuthentication"
	MethodIBiometricAuthenticatorStartPreparedClient             = "startPreparedClient"
	MethodIBiometricAuthenticatorCancelAuthenticationFromService = "cancelAuthenticationFromService"
	MethodIBiometricAuthenticatorIsHardwareDetected              = "isHardwareDetected"
	MethodIBiometricAuthenticatorHasEnrolledTemplates            = "hasEnrolledTemplates"
	MethodIBiometricAuthenticatorGetLockoutModeForUser           = "getLockoutModeForUser"
	MethodIBiometricAuthenticatorInvalidateAuthenticatorId       = "invalidateAuthenticatorId"
	MethodIBiometricAuthenticatorGetAuthenticatorId              = "getAuthenticatorId"
	MethodIBiometricAuthenticatorResetLockout                    = "resetLockout"
)
View Source
const (
	TransactionIBiometricContextListenerOnFoldChanged                  = binder.FirstCallTransaction + 0
	TransactionIBiometricContextListenerOnDisplayStateChanged          = binder.FirstCallTransaction + 1
	TransactionIBiometricContextListenerOnHardwareIgnoreTouchesChanged = binder.FirstCallTransaction + 2
)
View Source
const (
	MethodIBiometricContextListenerOnFoldChanged                  = "onFoldChanged"
	MethodIBiometricContextListenerOnDisplayStateChanged          = "onDisplayStateChanged"
	MethodIBiometricContextListenerOnHardwareIgnoreTouchesChanged = "onHardwareIgnoreTouchesChanged"
)
View Source
const (
	TransactionIBiometricSensorReceiverOnAuthenticationSucceeded = binder.FirstCallTransaction + 0
	TransactionIBiometricSensorReceiverOnAuthenticationFailed    = binder.FirstCallTransaction + 1
	TransactionIBiometricSensorReceiverOnError                   = binder.FirstCallTransaction + 2
	TransactionIBiometricSensorReceiverOnAcquired                = binder.FirstCallTransaction + 3
)
View Source
const (
	MethodIBiometricSensorReceiverOnAuthenticationSucceeded = "onAuthenticationSucceeded"
	MethodIBiometricSensorReceiverOnAuthenticationFailed    = "onAuthenticationFailed"
	MethodIBiometricSensorReceiverOnError                   = "onError"
	MethodIBiometricSensorReceiverOnAcquired                = "onAcquired"
)
View Source
const (
	TransactionIBiometricServiceCreateTestSession                 = binder.FirstCallTransaction + 0
	TransactionIBiometricServiceGetSensorProperties               = binder.FirstCallTransaction + 1
	TransactionIBiometricServiceAuthenticate                      = binder.FirstCallTransaction + 2
	TransactionIBiometricServiceCancelAuthentication              = binder.FirstCallTransaction + 3
	TransactionIBiometricServiceCanAuthenticate                   = binder.FirstCallTransaction + 4
	TransactionIBiometricServiceGetLastAuthenticationTime         = binder.FirstCallTransaction + 5
	TransactionIBiometricServiceHasEnrolledBiometrics             = binder.FirstCallTransaction + 6
	TransactionIBiometricServiceRegisterAuthenticator             = binder.FirstCallTransaction + 7
	TransactionIBiometricServiceRegisterEnabledOnKeyguardCallback = binder.FirstCallTransaction + 8
	TransactionIBiometricServiceOnReadyForAuthentication          = binder.FirstCallTransaction + 9
	TransactionIBiometricServiceInvalidateAuthenticatorIds        = binder.FirstCallTransaction + 10
	TransactionIBiometricServiceGetAuthenticatorIds               = binder.FirstCallTransaction + 11
	TransactionIBiometricServiceResetLockoutTimeBound             = binder.FirstCallTransaction + 12
	TransactionIBiometricServiceResetLockout                      = binder.FirstCallTransaction + 13
	TransactionIBiometricServiceGetCurrentStrength                = binder.FirstCallTransaction + 14
	TransactionIBiometricServiceGetCurrentModality                = binder.FirstCallTransaction + 15
	TransactionIBiometricServiceGetSupportedModalities            = binder.FirstCallTransaction + 16
)
View Source
const (
	MethodIBiometricServiceCreateTestSession                 = "createTestSession"
	MethodIBiometricServiceGetSensorProperties               = "getSensorProperties"
	MethodIBiometricServiceAuthenticate                      = "authenticate"
	MethodIBiometricServiceCancelAuthentication              = "cancelAuthentication"
	MethodIBiometricServiceCanAuthenticate                   = "canAuthenticate"
	MethodIBiometricServiceGetLastAuthenticationTime         = "getLastAuthenticationTime"
	MethodIBiometricServiceHasEnrolledBiometrics             = "hasEnrolledBiometrics"
	MethodIBiometricServiceRegisterAuthenticator             = "registerAuthenticator"
	MethodIBiometricServiceRegisterEnabledOnKeyguardCallback = "registerEnabledOnKeyguardCallback"
	MethodIBiometricServiceOnReadyForAuthentication          = "onReadyForAuthentication"
	MethodIBiometricServiceInvalidateAuthenticatorIds        = "invalidateAuthenticatorIds"
	MethodIBiometricServiceGetAuthenticatorIds               = "getAuthenticatorIds"
	MethodIBiometricServiceResetLockoutTimeBound             = "resetLockoutTimeBound"
	MethodIBiometricServiceResetLockout                      = "resetLockout"
	MethodIBiometricServiceGetCurrentStrength                = "getCurrentStrength"
	MethodIBiometricServiceGetCurrentModality                = "getCurrentModality"
	MethodIBiometricServiceGetSupportedModalities            = "getSupportedModalities"
)
View Source
const (
	TransactionIBiometricServiceReceiverOnAuthenticationSucceeded = binder.FirstCallTransaction + 0
	TransactionIBiometricServiceReceiverOnAuthenticationFailed    = binder.FirstCallTransaction + 1
	TransactionIBiometricServiceReceiverOnError                   = binder.FirstCallTransaction + 2
	TransactionIBiometricServiceReceiverOnAcquired                = binder.FirstCallTransaction + 3
	TransactionIBiometricServiceReceiverOnDialogDismissed         = binder.FirstCallTransaction + 4
	TransactionIBiometricServiceReceiverOnSystemEvent             = binder.FirstCallTransaction + 5
)
View Source
const (
	MethodIBiometricServiceReceiverOnAuthenticationSucceeded = "onAuthenticationSucceeded"
	MethodIBiometricServiceReceiverOnAuthenticationFailed    = "onAuthenticationFailed"
	MethodIBiometricServiceReceiverOnError                   = "onError"
	MethodIBiometricServiceReceiverOnAcquired                = "onAcquired"
	MethodIBiometricServiceReceiverOnDialogDismissed         = "onDialogDismissed"
	MethodIBiometricServiceReceiverOnSystemEvent             = "onSystemEvent"
)
View Source
const (
	TransactionIBiometricStateListenerOnStateChanged       = binder.FirstCallTransaction + 0
	TransactionIBiometricStateListenerOnBiometricAction    = binder.FirstCallTransaction + 1
	TransactionIBiometricStateListenerOnEnrollmentsChanged = binder.FirstCallTransaction + 2
)
View Source
const (
	MethodIBiometricStateListenerOnStateChanged       = "onStateChanged"
	MethodIBiometricStateListenerOnBiometricAction    = "onBiometricAction"
	MethodIBiometricStateListenerOnEnrollmentsChanged = "onEnrollmentsChanged"
)
View Source
const (
	TransactionIBiometricSysuiReceiverOnDialogDismissed         = binder.FirstCallTransaction + 0
	TransactionIBiometricSysuiReceiverOnTryAgainPressed         = binder.FirstCallTransaction + 1
	TransactionIBiometricSysuiReceiverOnDeviceCredentialPressed = binder.FirstCallTransaction + 2
	TransactionIBiometricSysuiReceiverOnSystemEvent             = binder.FirstCallTransaction + 3
	TransactionIBiometricSysuiReceiverOnDialogAnimatedIn        = binder.FirstCallTransaction + 4
	TransactionIBiometricSysuiReceiverOnStartFingerprintNow     = binder.FirstCallTransaction + 5
)
View Source
const (
	MethodIBiometricSysuiReceiverOnDialogDismissed         = "onDialogDismissed"
	MethodIBiometricSysuiReceiverOnTryAgainPressed         = "onTryAgainPressed"
	MethodIBiometricSysuiReceiverOnDeviceCredentialPressed = "onDeviceCredentialPressed"
	MethodIBiometricSysuiReceiverOnSystemEvent             = "onSystemEvent"
	MethodIBiometricSysuiReceiverOnDialogAnimatedIn        = "onDialogAnimatedIn"
	MethodIBiometricSysuiReceiverOnStartFingerprintNow     = "onStartFingerprintNow"
)
View Source
const (
	TransactionITestSessionSetTestHalEnabled    = binder.FirstCallTransaction + 0
	TransactionITestSessionStartEnroll          = binder.FirstCallTransaction + 1
	TransactionITestSessionFinishEnroll         = binder.FirstCallTransaction + 2
	TransactionITestSessionAcceptAuthentication = binder.FirstCallTransaction + 3
	TransactionITestSessionRejectAuthentication = binder.FirstCallTransaction + 4
	TransactionITestSessionNotifyAcquired       = binder.FirstCallTransaction + 5
	TransactionITestSessionNotifyError          = binder.FirstCallTransaction + 6
	TransactionITestSessionCleanupInternalState = binder.FirstCallTransaction + 7
)
View Source
const (
	MethodITestSessionSetTestHalEnabled    = "setTestHalEnabled"
	MethodITestSessionStartEnroll          = "startEnroll"
	MethodITestSessionFinishEnroll         = "finishEnroll"
	MethodITestSessionAcceptAuthentication = "acceptAuthentication"
	MethodITestSessionRejectAuthentication = "rejectAuthentication"
	MethodITestSessionNotifyAcquired       = "notifyAcquired"
	MethodITestSessionNotifyError          = "notifyError"
	MethodITestSessionCleanupInternalState = "cleanupInternalState"
)
View Source
const (
	TransactionITestSessionCallbackOnCleanupStarted  = binder.FirstCallTransaction + 0
	TransactionITestSessionCallbackOnCleanupFinished = binder.FirstCallTransaction + 1
)
View Source
const (
	MethodITestSessionCallbackOnCleanupStarted  = "onCleanupStarted"
	MethodITestSessionCallbackOnCleanupFinished = "onCleanupFinished"
)
View Source
const DescriptorAuthenticationStateListener = "android.hardware.biometrics.AuthenticationStateListener"
View Source
const DescriptorIAuthService = "android.hardware.biometrics.IAuthService"
View Source
const DescriptorIBiometricAuthenticator = "android.hardware.biometrics.IBiometricAuthenticator"
View Source
const DescriptorIBiometricContextListener = "android.hardware.biometrics.IBiometricContextListener"
View Source
const DescriptorIBiometricEnabledOnKeyguardCallback = "android.hardware.biometrics.IBiometricEnabledOnKeyguardCallback"
View Source
const DescriptorIBiometricSensorReceiver = "android.hardware.biometrics.IBiometricSensorReceiver"
View Source
const DescriptorIBiometricService = "android.hardware.biometrics.IBiometricService"
View Source
const DescriptorIBiometricServiceLockoutResetCallback = "android.hardware.biometrics.IBiometricServiceLockoutResetCallback"
View Source
const DescriptorIBiometricServiceReceiver = "android.hardware.biometrics.IBiometricServiceReceiver"
View Source
const DescriptorIBiometricStateListener = "android.hardware.biometrics.IBiometricStateListener"
View Source
const DescriptorIBiometricSysuiReceiver = "android.hardware.biometrics.IBiometricSysuiReceiver"
View Source
const DescriptorIInvalidationCallback = "android.hardware.biometrics.IInvalidationCallback"
View Source
const DescriptorITestSession = "android.hardware.biometrics.ITestSession"
View Source
const DescriptorITestSessionCallback = "android.hardware.biometrics.ITestSessionCallback"
View Source
const (
	MethodIBiometricEnabledOnKeyguardCallbackOnChanged = "onChanged"
)
View Source
const (
	MethodIBiometricServiceLockoutResetCallbackOnLockoutReset = "onLockoutReset"
)
View Source
const (
	MethodIInvalidationCallbackOnCompleted = "onCompleted"
)
View Source
const (
	TransactionIBiometricEnabledOnKeyguardCallbackOnChanged = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIBiometricServiceLockoutResetCallbackOnLockoutReset = binder.FirstCallTransaction + 0
)
View Source
const (
	TransactionIInvalidationCallbackOnCompleted = binder.FirstCallTransaction + 0
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthServiceProxy

type AuthServiceProxy struct {
	Remote binder.IBinder
}

func GetAuthService

func GetAuthService(
	ctx context.Context,
	sm *servicemanager.ServiceManager,
) (*AuthServiceProxy, error)

GetAuthService retrieves the BiometricService service and returns a typed proxy.

func NewAuthServiceProxy

func NewAuthServiceProxy(
	remote binder.IBinder,
) *AuthServiceProxy

func (*AuthServiceProxy) AsBinder

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

func (*AuthServiceProxy) Authenticate

func (p *AuthServiceProxy) Authenticate(
	ctx context.Context,
	token binder.IBinder,
	sessionId int64,
	receiver IBiometricServiceReceiver,
	promptInfo PromptInfo,
) (int64, error)

func (*AuthServiceProxy) CanAuthenticate

func (p *AuthServiceProxy) CanAuthenticate(
	ctx context.Context,
	authenticators int32,
) (int32, error)

func (*AuthServiceProxy) CancelAuthentication

func (p *AuthServiceProxy) CancelAuthentication(
	ctx context.Context,
	token binder.IBinder,
	requestId int64,
) error

func (*AuthServiceProxy) CreateTestSession

func (p *AuthServiceProxy) CreateTestSession(
	ctx context.Context,
	sensorId int32,
	callback ITestSessionCallback,
) (ITestSession, error)

func (*AuthServiceProxy) GetAuthenticatorIds

func (p *AuthServiceProxy) GetAuthenticatorIds(
	ctx context.Context,
) ([]int64, error)

func (*AuthServiceProxy) GetButtonLabel

func (p *AuthServiceProxy) GetButtonLabel(
	ctx context.Context,
	authenticators int32,
) (string, error)

func (*AuthServiceProxy) GetLastAuthenticationTime

func (p *AuthServiceProxy) GetLastAuthenticationTime(
	ctx context.Context,
	authenticators int32,
) (int64, error)

func (*AuthServiceProxy) GetPromptMessage

func (p *AuthServiceProxy) GetPromptMessage(
	ctx context.Context,
	authenticators int32,
) (string, error)

func (*AuthServiceProxy) GetSensorProperties

func (p *AuthServiceProxy) GetSensorProperties(
	ctx context.Context,
) ([]SensorPropertiesInternal, error)

func (*AuthServiceProxy) GetSettingName

func (p *AuthServiceProxy) GetSettingName(
	ctx context.Context,
	authenticators int32,
) (string, error)

func (*AuthServiceProxy) GetUiPackage

func (p *AuthServiceProxy) GetUiPackage(
	ctx context.Context,
) (string, error)

func (*AuthServiceProxy) HasEnrolledBiometrics

func (p *AuthServiceProxy) HasEnrolledBiometrics(
	ctx context.Context,
) (bool, error)

func (*AuthServiceProxy) InvalidateAuthenticatorIds

func (p *AuthServiceProxy) InvalidateAuthenticatorIds(
	ctx context.Context,
	fromSensorId int32,
	callback IInvalidationCallback,
) error

func (*AuthServiceProxy) RegisterAuthenticationStateListener

func (p *AuthServiceProxy) RegisterAuthenticationStateListener(
	ctx context.Context,
	listener AuthenticationStateListener,
) error

func (*AuthServiceProxy) RegisterEnabledOnKeyguardCallback

func (p *AuthServiceProxy) RegisterEnabledOnKeyguardCallback(
	ctx context.Context,
	callback IBiometricEnabledOnKeyguardCallback,
) error

func (*AuthServiceProxy) ResetLockout

func (p *AuthServiceProxy) ResetLockout(
	ctx context.Context,
	hardwareAuthToken []byte,
) error

func (*AuthServiceProxy) ResetLockoutTimeBound

func (p *AuthServiceProxy) ResetLockoutTimeBound(
	ctx context.Context,
	token binder.IBinder,
	fromSensorId int32,
	hardwareAuthToken []byte,
) error

func (*AuthServiceProxy) UnregisterAuthenticationStateListener

func (p *AuthServiceProxy) UnregisterAuthenticationStateListener(
	ctx context.Context,
	listener AuthenticationStateListener,
) error

type AuthServiceStub

type AuthServiceStub struct {
	Impl      IAuthService
	Transport binder.VersionAwareTransport
}

AuthServiceStub dispatches incoming binder transactions to a typed IAuthService implementation.

func (*AuthServiceStub) Descriptor

func (s *AuthServiceStub) Descriptor() string

func (*AuthServiceStub) OnTransaction

func (s *AuthServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type AuthenticationStateListener

type AuthenticationStateListener interface {
	AsBinder() binder.IBinder
	OnAuthenticationStarted(ctx context.Context, requestReason int32) error
	OnAuthenticationStopped(ctx context.Context) error
	OnAuthenticationSucceeded(ctx context.Context, requestReason int32) error
	OnAuthenticationFailed(ctx context.Context, requestReason int32) error
	OnAuthenticationAcquired(ctx context.Context, biometricSourceType BiometricSourceType, requestReason int32, acquiredInfo int32) error
}

func NewAuthenticationStateListenerStub

func NewAuthenticationStateListenerStub(
	impl AuthenticationStateListenerServer,
) AuthenticationStateListener

NewAuthenticationStateListenerStub creates a server-side AuthenticationStateListener wrapping the given server implementation. The returned value satisfies AuthenticationStateListener 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 AuthenticationStateListenerProxy

type AuthenticationStateListenerProxy struct {
	Remote binder.IBinder
}

func NewAuthenticationStateListenerProxy

func NewAuthenticationStateListenerProxy(
	remote binder.IBinder,
) *AuthenticationStateListenerProxy

func (*AuthenticationStateListenerProxy) AsBinder

func (*AuthenticationStateListenerProxy) OnAuthenticationAcquired

func (p *AuthenticationStateListenerProxy) OnAuthenticationAcquired(
	ctx context.Context,
	biometricSourceType BiometricSourceType,
	requestReason int32,
	acquiredInfo int32,
) error

func (*AuthenticationStateListenerProxy) OnAuthenticationFailed

func (p *AuthenticationStateListenerProxy) OnAuthenticationFailed(
	ctx context.Context,
	requestReason int32,
) error

func (*AuthenticationStateListenerProxy) OnAuthenticationStarted

func (p *AuthenticationStateListenerProxy) OnAuthenticationStarted(
	ctx context.Context,
	requestReason int32,
) error

func (*AuthenticationStateListenerProxy) OnAuthenticationStopped

func (p *AuthenticationStateListenerProxy) OnAuthenticationStopped(
	ctx context.Context,
) error

func (*AuthenticationStateListenerProxy) OnAuthenticationSucceeded

func (p *AuthenticationStateListenerProxy) OnAuthenticationSucceeded(
	ctx context.Context,
	requestReason int32,
) error

type AuthenticationStateListenerServer

type AuthenticationStateListenerServer interface {
	OnAuthenticationStarted(ctx context.Context, requestReason int32) error
	OnAuthenticationStopped(ctx context.Context) error
	OnAuthenticationSucceeded(ctx context.Context, requestReason int32) error
	OnAuthenticationFailed(ctx context.Context, requestReason int32) error
	OnAuthenticationAcquired(ctx context.Context, biometricSourceType BiometricSourceType, requestReason int32, acquiredInfo int32) error
}

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

type AuthenticationStateListenerStub

type AuthenticationStateListenerStub struct {
	Impl      AuthenticationStateListener
	Transport binder.VersionAwareTransport
}

AuthenticationStateListenerStub dispatches incoming binder transactions to a typed AuthenticationStateListener implementation.

func (*AuthenticationStateListenerStub) Descriptor

func (s *AuthenticationStateListenerStub) Descriptor() string

func (*AuthenticationStateListenerStub) OnTransaction

type BiometricAuthenticatorProxy

type BiometricAuthenticatorProxy struct {
	Remote binder.IBinder
}

func NewBiometricAuthenticatorProxy

func NewBiometricAuthenticatorProxy(
	remote binder.IBinder,
) *BiometricAuthenticatorProxy

func (*BiometricAuthenticatorProxy) AsBinder

func (*BiometricAuthenticatorProxy) CancelAuthenticationFromService

func (p *BiometricAuthenticatorProxy) CancelAuthenticationFromService(
	ctx context.Context,
	token binder.IBinder,
	requestId int64,
) error

func (*BiometricAuthenticatorProxy) CreateTestSession

func (p *BiometricAuthenticatorProxy) CreateTestSession(
	ctx context.Context,
	callback ITestSessionCallback,
) (ITestSession, error)

func (*BiometricAuthenticatorProxy) DumpSensorServiceStateProto

func (p *BiometricAuthenticatorProxy) DumpSensorServiceStateProto(
	ctx context.Context,
	clearSchedulerBuffer bool,
) ([]byte, error)

func (*BiometricAuthenticatorProxy) GetAuthenticatorId

func (p *BiometricAuthenticatorProxy) GetAuthenticatorId(
	ctx context.Context,
) (int64, error)

func (*BiometricAuthenticatorProxy) GetLockoutModeForUser

func (p *BiometricAuthenticatorProxy) GetLockoutModeForUser(
	ctx context.Context,
) (int32, error)

func (*BiometricAuthenticatorProxy) GetSensorProperties

func (p *BiometricAuthenticatorProxy) GetSensorProperties(
	ctx context.Context,
) (SensorPropertiesInternal, error)

func (*BiometricAuthenticatorProxy) HasEnrolledTemplates

func (p *BiometricAuthenticatorProxy) HasEnrolledTemplates(
	ctx context.Context,
) (bool, error)

func (*BiometricAuthenticatorProxy) InvalidateAuthenticatorId

func (p *BiometricAuthenticatorProxy) InvalidateAuthenticatorId(
	ctx context.Context,
	callback IInvalidationCallback,
) error

func (*BiometricAuthenticatorProxy) IsHardwareDetected

func (p *BiometricAuthenticatorProxy) IsHardwareDetected(
	ctx context.Context,
) (bool, error)

func (*BiometricAuthenticatorProxy) PrepareForAuthentication

func (p *BiometricAuthenticatorProxy) PrepareForAuthentication(
	ctx context.Context,
	requireConfirmation bool,
	token binder.IBinder,
	operationId int64,
	sensorReceiver IBiometricSensorReceiver,
	requestId int64,
	cookie int32,
	allowBackgroundAuthentication bool,
	isForLegacyFingerprintManager bool,
) error

func (*BiometricAuthenticatorProxy) ResetLockout

func (p *BiometricAuthenticatorProxy) ResetLockout(
	ctx context.Context,
	token binder.IBinder,
	hardwareAuthToken []byte,
) error

func (*BiometricAuthenticatorProxy) StartPreparedClient

func (p *BiometricAuthenticatorProxy) StartPreparedClient(
	ctx context.Context,
	cookie int32,
) error

type BiometricAuthenticatorStub

type BiometricAuthenticatorStub struct {
	Impl      IBiometricAuthenticator
	Transport binder.VersionAwareTransport
}

BiometricAuthenticatorStub dispatches incoming binder transactions to a typed IBiometricAuthenticator implementation.

func (*BiometricAuthenticatorStub) Descriptor

func (s *BiometricAuthenticatorStub) Descriptor() string

func (*BiometricAuthenticatorStub) OnTransaction

func (s *BiometricAuthenticatorStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type BiometricContextListenerProxy

type BiometricContextListenerProxy struct {
	Remote binder.IBinder
}

func NewBiometricContextListenerProxy

func NewBiometricContextListenerProxy(
	remote binder.IBinder,
) *BiometricContextListenerProxy

func (*BiometricContextListenerProxy) AsBinder

func (*BiometricContextListenerProxy) OnDisplayStateChanged

func (p *BiometricContextListenerProxy) OnDisplayStateChanged(
	ctx context.Context,
	displayState int32,
) error

func (*BiometricContextListenerProxy) OnFoldChanged

func (*BiometricContextListenerProxy) OnHardwareIgnoreTouchesChanged

func (p *BiometricContextListenerProxy) OnHardwareIgnoreTouchesChanged(
	ctx context.Context,
	shouldIgnore bool,
) error

type BiometricContextListenerStub

type BiometricContextListenerStub struct {
	Impl      IBiometricContextListener
	Transport binder.VersionAwareTransport
}

BiometricContextListenerStub dispatches incoming binder transactions to a typed IBiometricContextListener implementation.

func (*BiometricContextListenerStub) Descriptor

func (s *BiometricContextListenerStub) Descriptor() string

func (*BiometricContextListenerStub) OnTransaction

type BiometricEnabledOnKeyguardCallbackProxy

type BiometricEnabledOnKeyguardCallbackProxy struct {
	Remote binder.IBinder
}

func NewBiometricEnabledOnKeyguardCallbackProxy

func NewBiometricEnabledOnKeyguardCallbackProxy(
	remote binder.IBinder,
) *BiometricEnabledOnKeyguardCallbackProxy

func (*BiometricEnabledOnKeyguardCallbackProxy) AsBinder

func (*BiometricEnabledOnKeyguardCallbackProxy) OnChanged

func (p *BiometricEnabledOnKeyguardCallbackProxy) OnChanged(
	ctx context.Context,
	enabled bool,
) error

type BiometricEnabledOnKeyguardCallbackStub

type BiometricEnabledOnKeyguardCallbackStub struct {
	Impl      IBiometricEnabledOnKeyguardCallback
	Transport binder.VersionAwareTransport
}

BiometricEnabledOnKeyguardCallbackStub dispatches incoming binder transactions to a typed IBiometricEnabledOnKeyguardCallback implementation.

func (*BiometricEnabledOnKeyguardCallbackStub) Descriptor

func (*BiometricEnabledOnKeyguardCallbackStub) OnTransaction

type BiometricSensorReceiverProxy

type BiometricSensorReceiverProxy struct {
	Remote binder.IBinder
}

func NewBiometricSensorReceiverProxy

func NewBiometricSensorReceiverProxy(
	remote binder.IBinder,
) *BiometricSensorReceiverProxy

func (*BiometricSensorReceiverProxy) AsBinder

func (*BiometricSensorReceiverProxy) OnAcquired

func (p *BiometricSensorReceiverProxy) OnAcquired(
	ctx context.Context,
	sensorId int32,
	acquiredInfo int32,
	vendorCode int32,
) error

func (*BiometricSensorReceiverProxy) OnAuthenticationFailed

func (p *BiometricSensorReceiverProxy) OnAuthenticationFailed(
	ctx context.Context,
	sensorId int32,
) error

func (*BiometricSensorReceiverProxy) OnAuthenticationSucceeded

func (p *BiometricSensorReceiverProxy) OnAuthenticationSucceeded(
	ctx context.Context,
	sensorId int32,
	token []byte,
) error

func (*BiometricSensorReceiverProxy) OnError

func (p *BiometricSensorReceiverProxy) OnError(
	ctx context.Context,
	sensorId int32,
	cookie int32,
	error_ int32,
	vendorCode int32,
) error

type BiometricSensorReceiverStub

type BiometricSensorReceiverStub struct {
	Impl      IBiometricSensorReceiver
	Transport binder.VersionAwareTransport
}

BiometricSensorReceiverStub dispatches incoming binder transactions to a typed IBiometricSensorReceiver implementation.

func (*BiometricSensorReceiverStub) Descriptor

func (s *BiometricSensorReceiverStub) Descriptor() string

func (*BiometricSensorReceiverStub) OnTransaction

func (s *BiometricSensorReceiverStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type BiometricServiceLockoutResetCallbackProxy

type BiometricServiceLockoutResetCallbackProxy struct {
	Remote binder.IBinder
}

func NewBiometricServiceLockoutResetCallbackProxy

func NewBiometricServiceLockoutResetCallbackProxy(
	remote binder.IBinder,
) *BiometricServiceLockoutResetCallbackProxy

func (*BiometricServiceLockoutResetCallbackProxy) AsBinder

func (*BiometricServiceLockoutResetCallbackProxy) OnLockoutReset

func (p *BiometricServiceLockoutResetCallbackProxy) OnLockoutReset(
	ctx context.Context,
	sensorId int32,
	callback os.IRemoteCallback,
) error

type BiometricServiceLockoutResetCallbackStub

type BiometricServiceLockoutResetCallbackStub struct {
	Impl      IBiometricServiceLockoutResetCallback
	Transport binder.VersionAwareTransport
}

BiometricServiceLockoutResetCallbackStub dispatches incoming binder transactions to a typed IBiometricServiceLockoutResetCallback implementation.

func (*BiometricServiceLockoutResetCallbackStub) Descriptor

func (*BiometricServiceLockoutResetCallbackStub) OnTransaction

type BiometricServiceProxy

type BiometricServiceProxy struct {
	Remote binder.IBinder
}

func NewBiometricServiceProxy

func NewBiometricServiceProxy(
	remote binder.IBinder,
) *BiometricServiceProxy

func (*BiometricServiceProxy) AsBinder

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

func (*BiometricServiceProxy) Authenticate

func (p *BiometricServiceProxy) Authenticate(
	ctx context.Context,
	token binder.IBinder,
	operationId int64,
	receiver IBiometricServiceReceiver,
	promptInfo PromptInfo,
) (int64, error)

func (*BiometricServiceProxy) CanAuthenticate

func (p *BiometricServiceProxy) CanAuthenticate(
	ctx context.Context,
	authenticators int32,
) (int32, error)

func (*BiometricServiceProxy) CancelAuthentication

func (p *BiometricServiceProxy) CancelAuthentication(
	ctx context.Context,
	token binder.IBinder,
	requestId int64,
) error

func (*BiometricServiceProxy) CreateTestSession

func (p *BiometricServiceProxy) CreateTestSession(
	ctx context.Context,
	sensorId int32,
	callback ITestSessionCallback,
) (ITestSession, error)

func (*BiometricServiceProxy) GetAuthenticatorIds

func (p *BiometricServiceProxy) GetAuthenticatorIds(
	ctx context.Context,
) ([]int64, error)

func (*BiometricServiceProxy) GetCurrentModality

func (p *BiometricServiceProxy) GetCurrentModality(
	ctx context.Context,
	authenticators int32,
) (int32, error)

func (*BiometricServiceProxy) GetCurrentStrength

func (p *BiometricServiceProxy) GetCurrentStrength(
	ctx context.Context,
	sensorId int32,
) (int32, error)

func (*BiometricServiceProxy) GetLastAuthenticationTime

func (p *BiometricServiceProxy) GetLastAuthenticationTime(
	ctx context.Context,
	authenticators int32,
) (int64, error)

func (*BiometricServiceProxy) GetSensorProperties

func (p *BiometricServiceProxy) GetSensorProperties(
	ctx context.Context,
) ([]SensorPropertiesInternal, error)

func (*BiometricServiceProxy) GetSupportedModalities

func (p *BiometricServiceProxy) GetSupportedModalities(
	ctx context.Context,
	authenticators int32,
) (int32, error)

func (*BiometricServiceProxy) HasEnrolledBiometrics

func (p *BiometricServiceProxy) HasEnrolledBiometrics(
	ctx context.Context,
) (bool, error)

func (*BiometricServiceProxy) InvalidateAuthenticatorIds

func (p *BiometricServiceProxy) InvalidateAuthenticatorIds(
	ctx context.Context,
	fromSensorId int32,
	callback IInvalidationCallback,
) error

func (*BiometricServiceProxy) OnReadyForAuthentication

func (p *BiometricServiceProxy) OnReadyForAuthentication(
	ctx context.Context,
	requestId int64,
	cookie int32,
) error

func (*BiometricServiceProxy) RegisterAuthenticator

func (p *BiometricServiceProxy) RegisterAuthenticator(
	ctx context.Context,
	id int32,
	modality int32,
	strength int32,
	authenticator IBiometricAuthenticator,
) error

func (*BiometricServiceProxy) RegisterEnabledOnKeyguardCallback

func (p *BiometricServiceProxy) RegisterEnabledOnKeyguardCallback(
	ctx context.Context,
	callback IBiometricEnabledOnKeyguardCallback,
) error

func (*BiometricServiceProxy) ResetLockout

func (p *BiometricServiceProxy) ResetLockout(
	ctx context.Context,
	hardwareAuthToken []byte,
) error

func (*BiometricServiceProxy) ResetLockoutTimeBound

func (p *BiometricServiceProxy) ResetLockoutTimeBound(
	ctx context.Context,
	token binder.IBinder,
	fromSensorId int32,
	hardwareAuthToken []byte,
) error

type BiometricServiceReceiverProxy

type BiometricServiceReceiverProxy struct {
	Remote binder.IBinder
}

func NewBiometricServiceReceiverProxy

func NewBiometricServiceReceiverProxy(
	remote binder.IBinder,
) *BiometricServiceReceiverProxy

func (*BiometricServiceReceiverProxy) AsBinder

func (*BiometricServiceReceiverProxy) OnAcquired

func (p *BiometricServiceReceiverProxy) OnAcquired(
	ctx context.Context,
	acquiredInfo int32,
	message string,
) error

func (*BiometricServiceReceiverProxy) OnAuthenticationFailed

func (p *BiometricServiceReceiverProxy) OnAuthenticationFailed(
	ctx context.Context,
) error

func (*BiometricServiceReceiverProxy) OnAuthenticationSucceeded

func (p *BiometricServiceReceiverProxy) OnAuthenticationSucceeded(
	ctx context.Context,
	authenticationType int32,
) error

func (*BiometricServiceReceiverProxy) OnDialogDismissed

func (p *BiometricServiceReceiverProxy) OnDialogDismissed(
	ctx context.Context,
	reason int32,
) error

func (*BiometricServiceReceiverProxy) OnError

func (p *BiometricServiceReceiverProxy) OnError(
	ctx context.Context,
	modality int32,
	error_ int32,
	vendorCode int32,
) error

func (*BiometricServiceReceiverProxy) OnSystemEvent

func (p *BiometricServiceReceiverProxy) OnSystemEvent(
	ctx context.Context,
	event int32,
) error

type BiometricServiceReceiverStub

type BiometricServiceReceiverStub struct {
	Impl      IBiometricServiceReceiver
	Transport binder.VersionAwareTransport
}

BiometricServiceReceiverStub dispatches incoming binder transactions to a typed IBiometricServiceReceiver implementation.

func (*BiometricServiceReceiverStub) Descriptor

func (s *BiometricServiceReceiverStub) Descriptor() string

func (*BiometricServiceReceiverStub) OnTransaction

type BiometricServiceStub

type BiometricServiceStub struct {
	Impl      IBiometricService
	Transport binder.VersionAwareTransport
}

BiometricServiceStub dispatches incoming binder transactions to a typed IBiometricService implementation.

func (*BiometricServiceStub) Descriptor

func (s *BiometricServiceStub) Descriptor() string

func (*BiometricServiceStub) OnTransaction

func (s *BiometricServiceStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type BiometricSourceType

type BiometricSourceType struct {
}

func (*BiometricSourceType) MarshalParcel

func (s *BiometricSourceType) MarshalParcel(
	p *parcel.Parcel,
) error

func (*BiometricSourceType) UnmarshalParcel

func (s *BiometricSourceType) UnmarshalParcel(
	p *parcel.Parcel,
) error

type BiometricStateListenerProxy

type BiometricStateListenerProxy struct {
	Remote binder.IBinder
}

func NewBiometricStateListenerProxy

func NewBiometricStateListenerProxy(
	remote binder.IBinder,
) *BiometricStateListenerProxy

func (*BiometricStateListenerProxy) AsBinder

func (*BiometricStateListenerProxy) OnBiometricAction

func (p *BiometricStateListenerProxy) OnBiometricAction(
	ctx context.Context,
	action int32,
) error

func (*BiometricStateListenerProxy) OnEnrollmentsChanged

func (p *BiometricStateListenerProxy) OnEnrollmentsChanged(
	ctx context.Context,
	sensorId int32,
	hasEnrollments bool,
) error

func (*BiometricStateListenerProxy) OnStateChanged

func (p *BiometricStateListenerProxy) OnStateChanged(
	ctx context.Context,
	newState int32,
) error

type BiometricStateListenerStub

type BiometricStateListenerStub struct {
	Impl      IBiometricStateListener
	Transport binder.VersionAwareTransport
}

BiometricStateListenerStub dispatches incoming binder transactions to a typed IBiometricStateListener implementation.

func (*BiometricStateListenerStub) Descriptor

func (s *BiometricStateListenerStub) Descriptor() string

func (*BiometricStateListenerStub) OnTransaction

func (s *BiometricStateListenerStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type BiometricSysuiReceiverProxy

type BiometricSysuiReceiverProxy struct {
	Remote binder.IBinder
}

func NewBiometricSysuiReceiverProxy

func NewBiometricSysuiReceiverProxy(
	remote binder.IBinder,
) *BiometricSysuiReceiverProxy

func (*BiometricSysuiReceiverProxy) AsBinder

func (*BiometricSysuiReceiverProxy) OnDeviceCredentialPressed

func (p *BiometricSysuiReceiverProxy) OnDeviceCredentialPressed(
	ctx context.Context,
) error

func (*BiometricSysuiReceiverProxy) OnDialogAnimatedIn

func (p *BiometricSysuiReceiverProxy) OnDialogAnimatedIn(
	ctx context.Context,
	startFingerprintNow bool,
) error

func (*BiometricSysuiReceiverProxy) OnDialogDismissed

func (p *BiometricSysuiReceiverProxy) OnDialogDismissed(
	ctx context.Context,
	reason int32,
	credentialAttestation []byte,
) error

func (*BiometricSysuiReceiverProxy) OnStartFingerprintNow

func (p *BiometricSysuiReceiverProxy) OnStartFingerprintNow(
	ctx context.Context,
) error

func (*BiometricSysuiReceiverProxy) OnSystemEvent

func (p *BiometricSysuiReceiverProxy) OnSystemEvent(
	ctx context.Context,
	event int32,
) error

func (*BiometricSysuiReceiverProxy) OnTryAgainPressed

func (p *BiometricSysuiReceiverProxy) OnTryAgainPressed(
	ctx context.Context,
) error

type BiometricSysuiReceiverStub

type BiometricSysuiReceiverStub struct {
	Impl      IBiometricSysuiReceiver
	Transport binder.VersionAwareTransport
}

BiometricSysuiReceiverStub dispatches incoming binder transactions to a typed IBiometricSysuiReceiver implementation.

func (*BiometricSysuiReceiverStub) Descriptor

func (s *BiometricSysuiReceiverStub) Descriptor() string

func (*BiometricSysuiReceiverStub) OnTransaction

func (s *BiometricSysuiReceiverStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type ComponentInfoInternal

type ComponentInfoInternal struct {
	ComponentId     string
	HardwareVersion string
	FirmwareVersion string
	SerialNumber    string
	SoftwareVersion string
}

func (*ComponentInfoInternal) MarshalParcel

func (s *ComponentInfoInternal) MarshalParcel(
	p *parcel.Parcel,
) error

func (*ComponentInfoInternal) UnmarshalParcel

func (s *ComponentInfoInternal) UnmarshalParcel(
	p *parcel.Parcel,
) error

type IAuthService

type IAuthService interface {
	AsBinder() binder.IBinder
	CreateTestSession(ctx context.Context, sensorId int32, callback ITestSessionCallback) (ITestSession, error)
	GetSensorProperties(ctx context.Context) ([]SensorPropertiesInternal, error)
	GetUiPackage(ctx context.Context) (string, error)
	Authenticate(ctx context.Context, token binder.IBinder, sessionId int64, receiver IBiometricServiceReceiver, promptInfo PromptInfo) (int64, error)
	CancelAuthentication(ctx context.Context, token binder.IBinder, requestId int64) error
	CanAuthenticate(ctx context.Context, authenticators int32) (int32, error)
	GetLastAuthenticationTime(ctx context.Context, authenticators int32) (int64, error)
	HasEnrolledBiometrics(ctx context.Context) (bool, error)
	RegisterEnabledOnKeyguardCallback(ctx context.Context, callback IBiometricEnabledOnKeyguardCallback) error
	RegisterAuthenticationStateListener(ctx context.Context, listener AuthenticationStateListener) error
	UnregisterAuthenticationStateListener(ctx context.Context, listener AuthenticationStateListener) error
	InvalidateAuthenticatorIds(ctx context.Context, fromSensorId int32, callback IInvalidationCallback) error
	GetAuthenticatorIds(ctx context.Context) ([]int64, error)
	ResetLockoutTimeBound(ctx context.Context, token binder.IBinder, fromSensorId int32, hardwareAuthToken []byte) error
	ResetLockout(ctx context.Context, hardwareAuthToken []byte) error
	GetButtonLabel(ctx context.Context, authenticators int32) (string, error)
	GetPromptMessage(ctx context.Context, authenticators int32) (string, error)
	GetSettingName(ctx context.Context, authenticators int32) (string, error)
}

func NewAuthServiceStub

func NewAuthServiceStub(
	impl IAuthServiceServer,
) IAuthService

NewAuthServiceStub creates a server-side IAuthService wrapping the given server implementation. The returned value satisfies IAuthService 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 IAuthServiceServer

type IAuthServiceServer interface {
	CreateTestSession(ctx context.Context, sensorId int32, callback ITestSessionCallback) (ITestSession, error)
	GetSensorProperties(ctx context.Context) ([]SensorPropertiesInternal, error)
	GetUiPackage(ctx context.Context) (string, error)
	Authenticate(ctx context.Context, token binder.IBinder, sessionId int64, receiver IBiometricServiceReceiver, promptInfo PromptInfo) (int64, error)
	CancelAuthentication(ctx context.Context, token binder.IBinder, requestId int64) error
	CanAuthenticate(ctx context.Context, authenticators int32) (int32, error)
	GetLastAuthenticationTime(ctx context.Context, authenticators int32) (int64, error)
	HasEnrolledBiometrics(ctx context.Context) (bool, error)
	RegisterEnabledOnKeyguardCallback(ctx context.Context, callback IBiometricEnabledOnKeyguardCallback) error
	RegisterAuthenticationStateListener(ctx context.Context, listener AuthenticationStateListener) error
	UnregisterAuthenticationStateListener(ctx context.Context, listener AuthenticationStateListener) error
	InvalidateAuthenticatorIds(ctx context.Context, fromSensorId int32, callback IInvalidationCallback) error
	GetAuthenticatorIds(ctx context.Context) ([]int64, error)
	ResetLockoutTimeBound(ctx context.Context, token binder.IBinder, fromSensorId int32, hardwareAuthToken []byte) error
	ResetLockout(ctx context.Context, hardwareAuthToken []byte) error
	GetButtonLabel(ctx context.Context, authenticators int32) (string, error)
	GetPromptMessage(ctx context.Context, authenticators int32) (string, error)
	GetSettingName(ctx context.Context, authenticators int32) (string, error)
}

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

type IBiometricAuthenticator

type IBiometricAuthenticator interface {
	AsBinder() binder.IBinder
	CreateTestSession(ctx context.Context, callback ITestSessionCallback) (ITestSession, error)
	GetSensorProperties(ctx context.Context) (SensorPropertiesInternal, error)
	DumpSensorServiceStateProto(ctx context.Context, clearSchedulerBuffer bool) ([]byte, error)
	PrepareForAuthentication(ctx context.Context, requireConfirmation bool, token binder.IBinder, operationId int64, sensorReceiver IBiometricSensorReceiver, requestId int64, cookie int32, allowBackgroundAuthentication bool, isForLegacyFingerprintManager bool) error
	StartPreparedClient(ctx context.Context, cookie int32) error
	CancelAuthenticationFromService(ctx context.Context, token binder.IBinder, requestId int64) error
	IsHardwareDetected(ctx context.Context) (bool, error)
	HasEnrolledTemplates(ctx context.Context) (bool, error)
	GetLockoutModeForUser(ctx context.Context) (int32, error)
	InvalidateAuthenticatorId(ctx context.Context, callback IInvalidationCallback) error
	GetAuthenticatorId(ctx context.Context) (int64, error)
	ResetLockout(ctx context.Context, token binder.IBinder, hardwareAuthToken []byte) error
}

func NewBiometricAuthenticatorStub

func NewBiometricAuthenticatorStub(
	impl IBiometricAuthenticatorServer,
) IBiometricAuthenticator

NewBiometricAuthenticatorStub creates a server-side IBiometricAuthenticator wrapping the given server implementation. The returned value satisfies IBiometricAuthenticator 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 IBiometricAuthenticatorServer

type IBiometricAuthenticatorServer interface {
	CreateTestSession(ctx context.Context, callback ITestSessionCallback) (ITestSession, error)
	GetSensorProperties(ctx context.Context) (SensorPropertiesInternal, error)
	DumpSensorServiceStateProto(ctx context.Context, clearSchedulerBuffer bool) ([]byte, error)
	PrepareForAuthentication(ctx context.Context, requireConfirmation bool, token binder.IBinder, operationId int64, sensorReceiver IBiometricSensorReceiver, requestId int64, cookie int32, allowBackgroundAuthentication bool, isForLegacyFingerprintManager bool) error
	StartPreparedClient(ctx context.Context, cookie int32) error
	CancelAuthenticationFromService(ctx context.Context, token binder.IBinder, requestId int64) error
	IsHardwareDetected(ctx context.Context) (bool, error)
	HasEnrolledTemplates(ctx context.Context) (bool, error)
	GetLockoutModeForUser(ctx context.Context) (int32, error)
	InvalidateAuthenticatorId(ctx context.Context, callback IInvalidationCallback) error
	GetAuthenticatorId(ctx context.Context) (int64, error)
	ResetLockout(ctx context.Context, token binder.IBinder, hardwareAuthToken []byte) error
}

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

type IBiometricContextListener

type IBiometricContextListener interface {
	AsBinder() binder.IBinder
	OnFoldChanged(ctx context.Context, FoldState IBiometricContextListenerFoldState) error
	OnDisplayStateChanged(ctx context.Context, displayState int32) error
	OnHardwareIgnoreTouchesChanged(ctx context.Context, shouldIgnore bool) error
}

func NewBiometricContextListenerStub

func NewBiometricContextListenerStub(
	impl IBiometricContextListenerServer,
) IBiometricContextListener

NewBiometricContextListenerStub creates a server-side IBiometricContextListener wrapping the given server implementation. The returned value satisfies IBiometricContextListener 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 IBiometricContextListenerFoldState

type IBiometricContextListenerFoldState int32
const (
	IBiometricContextListenerFoldStateUNKNOWN     IBiometricContextListenerFoldState = 0
	IBiometricContextListenerFoldStateHalfOpened  IBiometricContextListenerFoldState = 1
	IBiometricContextListenerFoldStateFullyOpened IBiometricContextListenerFoldState = 2
	IBiometricContextListenerFoldStateFullyClosed IBiometricContextListenerFoldState = 3
)

type IBiometricContextListenerServer

type IBiometricContextListenerServer interface {
	OnFoldChanged(ctx context.Context, FoldState IBiometricContextListenerFoldState) error
	OnDisplayStateChanged(ctx context.Context, displayState int32) error
	OnHardwareIgnoreTouchesChanged(ctx context.Context, shouldIgnore bool) error
}

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

type IBiometricEnabledOnKeyguardCallback

type IBiometricEnabledOnKeyguardCallback interface {
	AsBinder() binder.IBinder
	OnChanged(ctx context.Context, enabled bool) error
}

func NewBiometricEnabledOnKeyguardCallbackStub

func NewBiometricEnabledOnKeyguardCallbackStub(
	impl IBiometricEnabledOnKeyguardCallbackServer,
) IBiometricEnabledOnKeyguardCallback

NewBiometricEnabledOnKeyguardCallbackStub creates a server-side IBiometricEnabledOnKeyguardCallback wrapping the given server implementation. The returned value satisfies IBiometricEnabledOnKeyguardCallback 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 IBiometricEnabledOnKeyguardCallbackServer

type IBiometricEnabledOnKeyguardCallbackServer interface {
	OnChanged(ctx context.Context, enabled bool) error
}

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

type IBiometricSensorReceiver

type IBiometricSensorReceiver interface {
	AsBinder() binder.IBinder
	OnAuthenticationSucceeded(ctx context.Context, sensorId int32, token []byte) error
	OnAuthenticationFailed(ctx context.Context, sensorId int32) error
	OnError(ctx context.Context, sensorId int32, cookie int32, error_ int32, vendorCode int32) error
	OnAcquired(ctx context.Context, sensorId int32, acquiredInfo int32, vendorCode int32) error
}

func NewBiometricSensorReceiverStub

func NewBiometricSensorReceiverStub(
	impl IBiometricSensorReceiverServer,
) IBiometricSensorReceiver

NewBiometricSensorReceiverStub creates a server-side IBiometricSensorReceiver wrapping the given server implementation. The returned value satisfies IBiometricSensorReceiver 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 IBiometricSensorReceiverServer

type IBiometricSensorReceiverServer interface {
	OnAuthenticationSucceeded(ctx context.Context, sensorId int32, token []byte) error
	OnAuthenticationFailed(ctx context.Context, sensorId int32) error
	OnError(ctx context.Context, sensorId int32, cookie int32, error_ int32, vendorCode int32) error
	OnAcquired(ctx context.Context, sensorId int32, acquiredInfo int32, vendorCode int32) error
}

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

type IBiometricService

type IBiometricService interface {
	AsBinder() binder.IBinder
	CreateTestSession(ctx context.Context, sensorId int32, callback ITestSessionCallback) (ITestSession, error)
	GetSensorProperties(ctx context.Context) ([]SensorPropertiesInternal, error)
	Authenticate(ctx context.Context, token binder.IBinder, operationId int64, receiver IBiometricServiceReceiver, promptInfo PromptInfo) (int64, error)
	CancelAuthentication(ctx context.Context, token binder.IBinder, requestId int64) error
	CanAuthenticate(ctx context.Context, authenticators int32) (int32, error)
	GetLastAuthenticationTime(ctx context.Context, authenticators int32) (int64, error)
	HasEnrolledBiometrics(ctx context.Context) (bool, error)
	RegisterAuthenticator(ctx context.Context, id int32, modality int32, strength int32, authenticator IBiometricAuthenticator) error
	RegisterEnabledOnKeyguardCallback(ctx context.Context, callback IBiometricEnabledOnKeyguardCallback) error
	OnReadyForAuthentication(ctx context.Context, requestId int64, cookie int32) error
	InvalidateAuthenticatorIds(ctx context.Context, fromSensorId int32, callback IInvalidationCallback) error
	GetAuthenticatorIds(ctx context.Context) ([]int64, error)
	ResetLockoutTimeBound(ctx context.Context, token binder.IBinder, fromSensorId int32, hardwareAuthToken []byte) error
	ResetLockout(ctx context.Context, hardwareAuthToken []byte) error
	GetCurrentStrength(ctx context.Context, sensorId int32) (int32, error)
	GetCurrentModality(ctx context.Context, authenticators int32) (int32, error)
	GetSupportedModalities(ctx context.Context, authenticators int32) (int32, error)
}

func NewBiometricServiceStub

func NewBiometricServiceStub(
	impl IBiometricServiceServer,
) IBiometricService

NewBiometricServiceStub creates a server-side IBiometricService wrapping the given server implementation. The returned value satisfies IBiometricService 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 IBiometricServiceLockoutResetCallback

type IBiometricServiceLockoutResetCallback interface {
	AsBinder() binder.IBinder
	OnLockoutReset(ctx context.Context, sensorId int32, callback os.IRemoteCallback) error
}

func NewBiometricServiceLockoutResetCallbackStub

func NewBiometricServiceLockoutResetCallbackStub(
	impl IBiometricServiceLockoutResetCallbackServer,
) IBiometricServiceLockoutResetCallback

NewBiometricServiceLockoutResetCallbackStub creates a server-side IBiometricServiceLockoutResetCallback wrapping the given server implementation. The returned value satisfies IBiometricServiceLockoutResetCallback 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 IBiometricServiceLockoutResetCallbackServer

type IBiometricServiceLockoutResetCallbackServer interface {
	OnLockoutReset(ctx context.Context, sensorId int32, callback os.IRemoteCallback) error
}

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

type IBiometricServiceReceiver

type IBiometricServiceReceiver interface {
	AsBinder() binder.IBinder
	OnAuthenticationSucceeded(ctx context.Context, authenticationType int32) error
	OnAuthenticationFailed(ctx context.Context) error
	OnError(ctx context.Context, modality int32, error_ int32, vendorCode int32) error
	OnAcquired(ctx context.Context, acquiredInfo int32, message string) error
	OnDialogDismissed(ctx context.Context, reason int32) error
	OnSystemEvent(ctx context.Context, event int32) error
}

func NewBiometricServiceReceiverStub

func NewBiometricServiceReceiverStub(
	impl IBiometricServiceReceiverServer,
) IBiometricServiceReceiver

NewBiometricServiceReceiverStub creates a server-side IBiometricServiceReceiver wrapping the given server implementation. The returned value satisfies IBiometricServiceReceiver 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 IBiometricServiceReceiverServer

type IBiometricServiceReceiverServer interface {
	OnAuthenticationSucceeded(ctx context.Context, authenticationType int32) error
	OnAuthenticationFailed(ctx context.Context) error
	OnError(ctx context.Context, modality int32, error_ int32, vendorCode int32) error
	OnAcquired(ctx context.Context, acquiredInfo int32, message string) error
	OnDialogDismissed(ctx context.Context, reason int32) error
	OnSystemEvent(ctx context.Context, event int32) error
}

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

type IBiometricServiceServer

type IBiometricServiceServer interface {
	CreateTestSession(ctx context.Context, sensorId int32, callback ITestSessionCallback) (ITestSession, error)
	GetSensorProperties(ctx context.Context) ([]SensorPropertiesInternal, error)
	Authenticate(ctx context.Context, token binder.IBinder, operationId int64, receiver IBiometricServiceReceiver, promptInfo PromptInfo) (int64, error)
	CancelAuthentication(ctx context.Context, token binder.IBinder, requestId int64) error
	CanAuthenticate(ctx context.Context, authenticators int32) (int32, error)
	GetLastAuthenticationTime(ctx context.Context, authenticators int32) (int64, error)
	HasEnrolledBiometrics(ctx context.Context) (bool, error)
	RegisterAuthenticator(ctx context.Context, id int32, modality int32, strength int32, authenticator IBiometricAuthenticator) error
	RegisterEnabledOnKeyguardCallback(ctx context.Context, callback IBiometricEnabledOnKeyguardCallback) error
	OnReadyForAuthentication(ctx context.Context, requestId int64, cookie int32) error
	InvalidateAuthenticatorIds(ctx context.Context, fromSensorId int32, callback IInvalidationCallback) error
	GetAuthenticatorIds(ctx context.Context) ([]int64, error)
	ResetLockoutTimeBound(ctx context.Context, token binder.IBinder, fromSensorId int32, hardwareAuthToken []byte) error
	ResetLockout(ctx context.Context, hardwareAuthToken []byte) error
	GetCurrentStrength(ctx context.Context, sensorId int32) (int32, error)
	GetCurrentModality(ctx context.Context, authenticators int32) (int32, error)
	GetSupportedModalities(ctx context.Context, authenticators int32) (int32, error)
}

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

type IBiometricStateListener

type IBiometricStateListener interface {
	AsBinder() binder.IBinder
	OnStateChanged(ctx context.Context, newState int32) error
	OnBiometricAction(ctx context.Context, action int32) error
	OnEnrollmentsChanged(ctx context.Context, sensorId int32, hasEnrollments bool) error
}

func NewBiometricStateListenerStub

func NewBiometricStateListenerStub(
	impl IBiometricStateListenerServer,
) IBiometricStateListener

NewBiometricStateListenerStub creates a server-side IBiometricStateListener wrapping the given server implementation. The returned value satisfies IBiometricStateListener 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 IBiometricStateListenerServer

type IBiometricStateListenerServer interface {
	OnStateChanged(ctx context.Context, newState int32) error
	OnBiometricAction(ctx context.Context, action int32) error
	OnEnrollmentsChanged(ctx context.Context, sensorId int32, hasEnrollments bool) error
}

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

type IBiometricSysuiReceiver

type IBiometricSysuiReceiver interface {
	AsBinder() binder.IBinder
	OnDialogDismissed(ctx context.Context, reason int32, credentialAttestation []byte) error
	OnTryAgainPressed(ctx context.Context) error
	OnDeviceCredentialPressed(ctx context.Context) error
	OnSystemEvent(ctx context.Context, event int32) error
	OnDialogAnimatedIn(ctx context.Context, startFingerprintNow bool) error
	OnStartFingerprintNow(ctx context.Context) error
}

func NewBiometricSysuiReceiverStub

func NewBiometricSysuiReceiverStub(
	impl IBiometricSysuiReceiverServer,
) IBiometricSysuiReceiver

NewBiometricSysuiReceiverStub creates a server-side IBiometricSysuiReceiver wrapping the given server implementation. The returned value satisfies IBiometricSysuiReceiver 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 IBiometricSysuiReceiverServer

type IBiometricSysuiReceiverServer interface {
	OnDialogDismissed(ctx context.Context, reason int32, credentialAttestation []byte) error
	OnTryAgainPressed(ctx context.Context) error
	OnDeviceCredentialPressed(ctx context.Context) error
	OnSystemEvent(ctx context.Context, event int32) error
	OnDialogAnimatedIn(ctx context.Context, startFingerprintNow bool) error
	OnStartFingerprintNow(ctx context.Context) error
}

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

type IInvalidationCallback

type IInvalidationCallback interface {
	AsBinder() binder.IBinder
	OnCompleted(ctx context.Context) error
}

func NewInvalidationCallbackStub

func NewInvalidationCallbackStub(
	impl IInvalidationCallbackServer,
) IInvalidationCallback

NewInvalidationCallbackStub creates a server-side IInvalidationCallback wrapping the given server implementation. The returned value satisfies IInvalidationCallback 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 IInvalidationCallbackServer

type IInvalidationCallbackServer interface {
	OnCompleted(ctx context.Context) error
}

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

type ITestSession

type ITestSession interface {
	AsBinder() binder.IBinder
	SetTestHalEnabled(ctx context.Context, enableTestHal bool) error
	StartEnroll(ctx context.Context) error
	FinishEnroll(ctx context.Context) error
	AcceptAuthentication(ctx context.Context) error
	RejectAuthentication(ctx context.Context) error
	NotifyAcquired(ctx context.Context, acquireInfo int32) error
	NotifyError(ctx context.Context, errorCode int32) error
	CleanupInternalState(ctx context.Context) error
}

func NewTestSessionStub

func NewTestSessionStub(
	impl ITestSessionServer,
) ITestSession

NewTestSessionStub creates a server-side ITestSession wrapping the given server implementation. The returned value satisfies ITestSession 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 ITestSessionCallback

type ITestSessionCallback interface {
	AsBinder() binder.IBinder
	OnCleanupStarted(ctx context.Context) error
	OnCleanupFinished(ctx context.Context) error
}

func NewTestSessionCallbackStub

func NewTestSessionCallbackStub(
	impl ITestSessionCallbackServer,
) ITestSessionCallback

NewTestSessionCallbackStub creates a server-side ITestSessionCallback wrapping the given server implementation. The returned value satisfies ITestSessionCallback 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 ITestSessionCallbackServer

type ITestSessionCallbackServer interface {
	OnCleanupStarted(ctx context.Context) error
	OnCleanupFinished(ctx context.Context) error
}

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

type ITestSessionServer

type ITestSessionServer interface {
	SetTestHalEnabled(ctx context.Context, enableTestHal bool) error
	StartEnroll(ctx context.Context) error
	FinishEnroll(ctx context.Context) error
	AcceptAuthentication(ctx context.Context) error
	RejectAuthentication(ctx context.Context) error
	NotifyAcquired(ctx context.Context, acquireInfo int32) error
	NotifyError(ctx context.Context, errorCode int32) error
	CleanupInternalState(ctx context.Context) error
}

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

type InvalidationCallbackProxy

type InvalidationCallbackProxy struct {
	Remote binder.IBinder
}

func NewInvalidationCallbackProxy

func NewInvalidationCallbackProxy(
	remote binder.IBinder,
) *InvalidationCallbackProxy

func (*InvalidationCallbackProxy) AsBinder

func (*InvalidationCallbackProxy) OnCompleted

func (p *InvalidationCallbackProxy) OnCompleted(
	ctx context.Context,
) error

type InvalidationCallbackStub

type InvalidationCallbackStub struct {
	Impl      IInvalidationCallback
	Transport binder.VersionAwareTransport
}

InvalidationCallbackStub dispatches incoming binder transactions to a typed IInvalidationCallback implementation.

func (*InvalidationCallbackStub) Descriptor

func (s *InvalidationCallbackStub) Descriptor() string

func (*InvalidationCallbackStub) OnTransaction

func (s *InvalidationCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type PromptInfo

type PromptInfo struct {
	LogoRes                             int32
	LogoDescription                     string
	UseDefaultTitle                     bool
	UseDefaultSubtitle                  bool
	ConfirmationRequested               bool
	DeviceCredentialAllowed             bool
	Authenticators                      int32
	DisallowBiometricsIfPolicyExists    bool
	ReceiveSystemEvents                 bool
	AllowBackgroundAuthentication       bool
	IgnoreEnrollmentState               bool
	IsForLegacyFingerprintManager       bool
	ShowEmergencyCallButton             bool
	UseParentProfileForDeviceCredential bool
}

func (*PromptInfo) MarshalParcel

func (s *PromptInfo) MarshalParcel(
	p *parcel.Parcel,
) error

func (*PromptInfo) UnmarshalParcel

func (s *PromptInfo) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SensorLocationInternal

type SensorLocationInternal struct {
	DisplayId       string
	SensorLocationX int32
	SensorLocationY int32
	SensorRadius    int32
}

func (*SensorLocationInternal) MarshalParcel

func (s *SensorLocationInternal) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SensorLocationInternal) UnmarshalParcel

func (s *SensorLocationInternal) UnmarshalParcel(
	p *parcel.Parcel,
) error

type SensorPropertiesInternal

type SensorPropertiesInternal struct {
	SensorId                              int32
	SensorStrength                        int32
	MaxEnrollmentsPerUser                 int32
	ResetLockoutRequiresHardwareAuthToken bool
	ResetLockoutRequiresChallenge         bool
}

func (*SensorPropertiesInternal) MarshalParcel

func (s *SensorPropertiesInternal) MarshalParcel(
	p *parcel.Parcel,
) error

func (*SensorPropertiesInternal) UnmarshalParcel

func (s *SensorPropertiesInternal) UnmarshalParcel(
	p *parcel.Parcel,
) error

type TestSessionCallbackProxy

type TestSessionCallbackProxy struct {
	Remote binder.IBinder
}

func NewTestSessionCallbackProxy

func NewTestSessionCallbackProxy(
	remote binder.IBinder,
) *TestSessionCallbackProxy

func (*TestSessionCallbackProxy) AsBinder

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

func (*TestSessionCallbackProxy) OnCleanupFinished

func (p *TestSessionCallbackProxy) OnCleanupFinished(
	ctx context.Context,
) error

func (*TestSessionCallbackProxy) OnCleanupStarted

func (p *TestSessionCallbackProxy) OnCleanupStarted(
	ctx context.Context,
) error

type TestSessionCallbackStub

type TestSessionCallbackStub struct {
	Impl      ITestSessionCallback
	Transport binder.VersionAwareTransport
}

TestSessionCallbackStub dispatches incoming binder transactions to a typed ITestSessionCallback implementation.

func (*TestSessionCallbackStub) Descriptor

func (s *TestSessionCallbackStub) Descriptor() string

func (*TestSessionCallbackStub) OnTransaction

func (s *TestSessionCallbackStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

type TestSessionProxy

type TestSessionProxy struct {
	Remote binder.IBinder
}

func NewTestSessionProxy

func NewTestSessionProxy(
	remote binder.IBinder,
) *TestSessionProxy

func (*TestSessionProxy) AcceptAuthentication

func (p *TestSessionProxy) AcceptAuthentication(
	ctx context.Context,
) error

func (*TestSessionProxy) AsBinder

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

func (*TestSessionProxy) CleanupInternalState

func (p *TestSessionProxy) CleanupInternalState(
	ctx context.Context,
) error

func (*TestSessionProxy) FinishEnroll

func (p *TestSessionProxy) FinishEnroll(
	ctx context.Context,
) error

func (*TestSessionProxy) NotifyAcquired

func (p *TestSessionProxy) NotifyAcquired(
	ctx context.Context,
	acquireInfo int32,
) error

func (*TestSessionProxy) NotifyError

func (p *TestSessionProxy) NotifyError(
	ctx context.Context,
	errorCode int32,
) error

func (*TestSessionProxy) RejectAuthentication

func (p *TestSessionProxy) RejectAuthentication(
	ctx context.Context,
) error

func (*TestSessionProxy) SetTestHalEnabled

func (p *TestSessionProxy) SetTestHalEnabled(
	ctx context.Context,
	enableTestHal bool,
) error

func (*TestSessionProxy) StartEnroll

func (p *TestSessionProxy) StartEnroll(
	ctx context.Context,
) error

type TestSessionStub

type TestSessionStub struct {
	Impl      ITestSession
	Transport binder.VersionAwareTransport
}

TestSessionStub dispatches incoming binder transactions to a typed ITestSession implementation.

func (*TestSessionStub) Descriptor

func (s *TestSessionStub) Descriptor() string

func (*TestSessionStub) OnTransaction

func (s *TestSessionStub) OnTransaction(
	ctx context.Context,
	code binder.TransactionCode,
	_data *parcel.Parcel,
) (*parcel.Parcel, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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