Documentation
¶
Index ¶
- Constants
- type AuthServiceProxy
- func (p *AuthServiceProxy) AsBinder() binder.IBinder
- func (p *AuthServiceProxy) Authenticate(ctx context.Context, token binder.IBinder, sessionId int64, ...) (int64, error)
- func (p *AuthServiceProxy) CanAuthenticate(ctx context.Context, authenticators int32) (int32, error)
- func (p *AuthServiceProxy) CancelAuthentication(ctx context.Context, token binder.IBinder, requestId int64) error
- func (p *AuthServiceProxy) CreateTestSession(ctx context.Context, sensorId int32, callback ITestSessionCallback) (ITestSession, error)
- func (p *AuthServiceProxy) GetAuthenticatorIds(ctx context.Context) ([]int64, error)
- func (p *AuthServiceProxy) GetButtonLabel(ctx context.Context, authenticators int32) (string, error)
- func (p *AuthServiceProxy) GetLastAuthenticationTime(ctx context.Context, authenticators int32) (int64, error)
- func (p *AuthServiceProxy) GetPromptMessage(ctx context.Context, authenticators int32) (string, error)
- func (p *AuthServiceProxy) GetSensorProperties(ctx context.Context) ([]SensorPropertiesInternal, error)
- func (p *AuthServiceProxy) GetSettingName(ctx context.Context, authenticators int32) (string, error)
- func (p *AuthServiceProxy) GetUiPackage(ctx context.Context) (string, error)
- func (p *AuthServiceProxy) HasEnrolledBiometrics(ctx context.Context) (bool, error)
- func (p *AuthServiceProxy) InvalidateAuthenticatorIds(ctx context.Context, fromSensorId int32, callback IInvalidationCallback) error
- func (p *AuthServiceProxy) RegisterAuthenticationStateListener(ctx context.Context, listener AuthenticationStateListener) error
- func (p *AuthServiceProxy) RegisterEnabledOnKeyguardCallback(ctx context.Context, callback IBiometricEnabledOnKeyguardCallback) error
- func (p *AuthServiceProxy) ResetLockout(ctx context.Context, hardwareAuthToken []byte) error
- func (p *AuthServiceProxy) ResetLockoutTimeBound(ctx context.Context, token binder.IBinder, fromSensorId int32, ...) error
- func (p *AuthServiceProxy) UnregisterAuthenticationStateListener(ctx context.Context, listener AuthenticationStateListener) error
- type AuthServiceStub
- type AuthenticationStateListener
- type AuthenticationStateListenerProxy
- func (p *AuthenticationStateListenerProxy) AsBinder() binder.IBinder
- func (p *AuthenticationStateListenerProxy) OnAuthenticationAcquired(ctx context.Context, biometricSourceType BiometricSourceType, ...) error
- func (p *AuthenticationStateListenerProxy) OnAuthenticationFailed(ctx context.Context, requestReason int32) error
- func (p *AuthenticationStateListenerProxy) OnAuthenticationStarted(ctx context.Context, requestReason int32) error
- func (p *AuthenticationStateListenerProxy) OnAuthenticationStopped(ctx context.Context) error
- func (p *AuthenticationStateListenerProxy) OnAuthenticationSucceeded(ctx context.Context, requestReason int32) error
- type AuthenticationStateListenerServer
- type AuthenticationStateListenerStub
- type BiometricAuthenticatorProxy
- func (p *BiometricAuthenticatorProxy) AsBinder() binder.IBinder
- func (p *BiometricAuthenticatorProxy) CancelAuthenticationFromService(ctx context.Context, token binder.IBinder, requestId int64) error
- func (p *BiometricAuthenticatorProxy) CreateTestSession(ctx context.Context, callback ITestSessionCallback) (ITestSession, error)
- func (p *BiometricAuthenticatorProxy) DumpSensorServiceStateProto(ctx context.Context, clearSchedulerBuffer bool) ([]byte, error)
- func (p *BiometricAuthenticatorProxy) GetAuthenticatorId(ctx context.Context) (int64, error)
- func (p *BiometricAuthenticatorProxy) GetLockoutModeForUser(ctx context.Context) (int32, error)
- func (p *BiometricAuthenticatorProxy) GetSensorProperties(ctx context.Context) (SensorPropertiesInternal, error)
- func (p *BiometricAuthenticatorProxy) HasEnrolledTemplates(ctx context.Context) (bool, error)
- func (p *BiometricAuthenticatorProxy) InvalidateAuthenticatorId(ctx context.Context, callback IInvalidationCallback) error
- func (p *BiometricAuthenticatorProxy) IsHardwareDetected(ctx context.Context) (bool, error)
- func (p *BiometricAuthenticatorProxy) PrepareForAuthentication(ctx context.Context, requireConfirmation bool, token binder.IBinder, ...) error
- func (p *BiometricAuthenticatorProxy) ResetLockout(ctx context.Context, token binder.IBinder, hardwareAuthToken []byte) error
- func (p *BiometricAuthenticatorProxy) StartPreparedClient(ctx context.Context, cookie int32) error
- type BiometricAuthenticatorStub
- type BiometricContextListenerProxy
- func (p *BiometricContextListenerProxy) AsBinder() binder.IBinder
- func (p *BiometricContextListenerProxy) OnDisplayStateChanged(ctx context.Context, displayState int32) error
- func (p *BiometricContextListenerProxy) OnFoldChanged(ctx context.Context, FoldState IBiometricContextListenerFoldState) error
- func (p *BiometricContextListenerProxy) OnHardwareIgnoreTouchesChanged(ctx context.Context, shouldIgnore bool) error
- type BiometricContextListenerStub
- type BiometricEnabledOnKeyguardCallbackProxy
- type BiometricEnabledOnKeyguardCallbackStub
- type BiometricSensorReceiverProxy
- func (p *BiometricSensorReceiverProxy) AsBinder() binder.IBinder
- func (p *BiometricSensorReceiverProxy) OnAcquired(ctx context.Context, sensorId int32, acquiredInfo int32, vendorCode int32) error
- func (p *BiometricSensorReceiverProxy) OnAuthenticationFailed(ctx context.Context, sensorId int32) error
- func (p *BiometricSensorReceiverProxy) OnAuthenticationSucceeded(ctx context.Context, sensorId int32, token []byte) error
- func (p *BiometricSensorReceiverProxy) OnError(ctx context.Context, sensorId int32, cookie int32, error_ int32, ...) error
- type BiometricSensorReceiverStub
- type BiometricServiceLockoutResetCallbackProxy
- type BiometricServiceLockoutResetCallbackStub
- type BiometricServiceProxy
- func (p *BiometricServiceProxy) AsBinder() binder.IBinder
- func (p *BiometricServiceProxy) Authenticate(ctx context.Context, token binder.IBinder, operationId int64, ...) (int64, error)
- func (p *BiometricServiceProxy) CanAuthenticate(ctx context.Context, authenticators int32) (int32, error)
- func (p *BiometricServiceProxy) CancelAuthentication(ctx context.Context, token binder.IBinder, requestId int64) error
- func (p *BiometricServiceProxy) CreateTestSession(ctx context.Context, sensorId int32, callback ITestSessionCallback) (ITestSession, error)
- func (p *BiometricServiceProxy) GetAuthenticatorIds(ctx context.Context) ([]int64, error)
- func (p *BiometricServiceProxy) GetCurrentModality(ctx context.Context, authenticators int32) (int32, error)
- func (p *BiometricServiceProxy) GetCurrentStrength(ctx context.Context, sensorId int32) (int32, error)
- func (p *BiometricServiceProxy) GetLastAuthenticationTime(ctx context.Context, authenticators int32) (int64, error)
- func (p *BiometricServiceProxy) GetSensorProperties(ctx context.Context) ([]SensorPropertiesInternal, error)
- func (p *BiometricServiceProxy) GetSupportedModalities(ctx context.Context, authenticators int32) (int32, error)
- func (p *BiometricServiceProxy) HasEnrolledBiometrics(ctx context.Context) (bool, error)
- func (p *BiometricServiceProxy) InvalidateAuthenticatorIds(ctx context.Context, fromSensorId int32, callback IInvalidationCallback) error
- func (p *BiometricServiceProxy) OnReadyForAuthentication(ctx context.Context, requestId int64, cookie int32) error
- func (p *BiometricServiceProxy) RegisterAuthenticator(ctx context.Context, id int32, modality int32, strength int32, ...) error
- func (p *BiometricServiceProxy) RegisterEnabledOnKeyguardCallback(ctx context.Context, callback IBiometricEnabledOnKeyguardCallback) error
- func (p *BiometricServiceProxy) ResetLockout(ctx context.Context, hardwareAuthToken []byte) error
- func (p *BiometricServiceProxy) ResetLockoutTimeBound(ctx context.Context, token binder.IBinder, fromSensorId int32, ...) error
- type BiometricServiceReceiverProxy
- func (p *BiometricServiceReceiverProxy) AsBinder() binder.IBinder
- func (p *BiometricServiceReceiverProxy) OnAcquired(ctx context.Context, acquiredInfo int32, message string) error
- func (p *BiometricServiceReceiverProxy) OnAuthenticationFailed(ctx context.Context) error
- func (p *BiometricServiceReceiverProxy) OnAuthenticationSucceeded(ctx context.Context, authenticationType int32) error
- func (p *BiometricServiceReceiverProxy) OnDialogDismissed(ctx context.Context, reason int32) error
- func (p *BiometricServiceReceiverProxy) OnError(ctx context.Context, modality int32, error_ int32, vendorCode int32) error
- func (p *BiometricServiceReceiverProxy) OnSystemEvent(ctx context.Context, event int32) error
- type BiometricServiceReceiverStub
- type BiometricServiceStub
- type BiometricSourceType
- type BiometricStateListenerProxy
- func (p *BiometricStateListenerProxy) AsBinder() binder.IBinder
- func (p *BiometricStateListenerProxy) OnBiometricAction(ctx context.Context, action int32) error
- func (p *BiometricStateListenerProxy) OnEnrollmentsChanged(ctx context.Context, sensorId int32, hasEnrollments bool) error
- func (p *BiometricStateListenerProxy) OnStateChanged(ctx context.Context, newState int32) error
- type BiometricStateListenerStub
- type BiometricSysuiReceiverProxy
- func (p *BiometricSysuiReceiverProxy) AsBinder() binder.IBinder
- func (p *BiometricSysuiReceiverProxy) OnDeviceCredentialPressed(ctx context.Context) error
- func (p *BiometricSysuiReceiverProxy) OnDialogAnimatedIn(ctx context.Context, startFingerprintNow bool) error
- func (p *BiometricSysuiReceiverProxy) OnDialogDismissed(ctx context.Context, reason int32, credentialAttestation []byte) error
- func (p *BiometricSysuiReceiverProxy) OnStartFingerprintNow(ctx context.Context) error
- func (p *BiometricSysuiReceiverProxy) OnSystemEvent(ctx context.Context, event int32) error
- func (p *BiometricSysuiReceiverProxy) OnTryAgainPressed(ctx context.Context) error
- type BiometricSysuiReceiverStub
- type ComponentInfoInternal
- type IAuthService
- type IAuthServiceServer
- type IBiometricAuthenticator
- type IBiometricAuthenticatorServer
- type IBiometricContextListener
- type IBiometricContextListenerFoldState
- type IBiometricContextListenerServer
- type IBiometricEnabledOnKeyguardCallback
- type IBiometricEnabledOnKeyguardCallbackServer
- type IBiometricSensorReceiver
- type IBiometricSensorReceiverServer
- type IBiometricService
- type IBiometricServiceLockoutResetCallback
- type IBiometricServiceLockoutResetCallbackServer
- type IBiometricServiceReceiver
- type IBiometricServiceReceiverServer
- type IBiometricServiceServer
- type IBiometricStateListener
- type IBiometricStateListenerServer
- type IBiometricSysuiReceiver
- type IBiometricSysuiReceiverServer
- type IInvalidationCallback
- type IInvalidationCallbackServer
- type ITestSession
- type ITestSessionCallback
- type ITestSessionCallbackServer
- type ITestSessionServer
- type InvalidationCallbackProxy
- type InvalidationCallbackStub
- type PromptInfo
- type SensorLocationInternal
- type SensorPropertiesInternal
- type TestSessionCallbackProxy
- type TestSessionCallbackStub
- type TestSessionProxy
- func (p *TestSessionProxy) AcceptAuthentication(ctx context.Context) error
- func (p *TestSessionProxy) AsBinder() binder.IBinder
- func (p *TestSessionProxy) CleanupInternalState(ctx context.Context) error
- func (p *TestSessionProxy) FinishEnroll(ctx context.Context) error
- func (p *TestSessionProxy) NotifyAcquired(ctx context.Context, acquireInfo int32) error
- func (p *TestSessionProxy) NotifyError(ctx context.Context, errorCode int32) error
- func (p *TestSessionProxy) RejectAuthentication(ctx context.Context) error
- func (p *TestSessionProxy) SetTestHalEnabled(ctx context.Context, enableTestHal bool) error
- func (p *TestSessionProxy) StartEnroll(ctx context.Context) error
- type TestSessionStub
Constants ¶
const ( TransactionAuthenticationStateListenerOnAuthenticationStarted = binder.FirstCallTransaction + 0 TransactionAuthenticationStateListenerOnAuthenticationStopped = binder.FirstCallTransaction + 1 TransactionAuthenticationStateListenerOnAuthenticationSucceeded = binder.FirstCallTransaction + 2 TransactionAuthenticationStateListenerOnAuthenticationFailed = binder.FirstCallTransaction + 3 TransactionAuthenticationStateListenerOnAuthenticationAcquired = binder.FirstCallTransaction + 4 )
const ( MethodAuthenticationStateListenerOnAuthenticationStarted = "onAuthenticationStarted" MethodAuthenticationStateListenerOnAuthenticationStopped = "onAuthenticationStopped" MethodAuthenticationStateListenerOnAuthenticationSucceeded = "onAuthenticationSucceeded" MethodAuthenticationStateListenerOnAuthenticationFailed = "onAuthenticationFailed" MethodAuthenticationStateListenerOnAuthenticationAcquired = "onAuthenticationAcquired" )
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 )
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" )
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 )
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" )
const ( TransactionIBiometricContextListenerOnFoldChanged = binder.FirstCallTransaction + 0 TransactionIBiometricContextListenerOnDisplayStateChanged = binder.FirstCallTransaction + 1 TransactionIBiometricContextListenerOnHardwareIgnoreTouchesChanged = binder.FirstCallTransaction + 2 )
const ( MethodIBiometricContextListenerOnFoldChanged = "onFoldChanged" MethodIBiometricContextListenerOnDisplayStateChanged = "onDisplayStateChanged" MethodIBiometricContextListenerOnHardwareIgnoreTouchesChanged = "onHardwareIgnoreTouchesChanged" )
const ( TransactionIBiometricSensorReceiverOnAuthenticationSucceeded = binder.FirstCallTransaction + 0 TransactionIBiometricSensorReceiverOnAuthenticationFailed = binder.FirstCallTransaction + 1 TransactionIBiometricSensorReceiverOnError = binder.FirstCallTransaction + 2 TransactionIBiometricSensorReceiverOnAcquired = binder.FirstCallTransaction + 3 )
const ( MethodIBiometricSensorReceiverOnAuthenticationSucceeded = "onAuthenticationSucceeded" MethodIBiometricSensorReceiverOnAuthenticationFailed = "onAuthenticationFailed" MethodIBiometricSensorReceiverOnError = "onError" MethodIBiometricSensorReceiverOnAcquired = "onAcquired" )
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 )
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" )
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 )
const ( MethodIBiometricServiceReceiverOnAuthenticationSucceeded = "onAuthenticationSucceeded" MethodIBiometricServiceReceiverOnAuthenticationFailed = "onAuthenticationFailed" MethodIBiometricServiceReceiverOnError = "onError" MethodIBiometricServiceReceiverOnAcquired = "onAcquired" MethodIBiometricServiceReceiverOnDialogDismissed = "onDialogDismissed" MethodIBiometricServiceReceiverOnSystemEvent = "onSystemEvent" )
const ( TransactionIBiometricStateListenerOnStateChanged = binder.FirstCallTransaction + 0 TransactionIBiometricStateListenerOnBiometricAction = binder.FirstCallTransaction + 1 TransactionIBiometricStateListenerOnEnrollmentsChanged = binder.FirstCallTransaction + 2 )
const ( MethodIBiometricStateListenerOnStateChanged = "onStateChanged" MethodIBiometricStateListenerOnBiometricAction = "onBiometricAction" MethodIBiometricStateListenerOnEnrollmentsChanged = "onEnrollmentsChanged" )
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 )
const ( MethodIBiometricSysuiReceiverOnDialogDismissed = "onDialogDismissed" MethodIBiometricSysuiReceiverOnTryAgainPressed = "onTryAgainPressed" MethodIBiometricSysuiReceiverOnDeviceCredentialPressed = "onDeviceCredentialPressed" MethodIBiometricSysuiReceiverOnSystemEvent = "onSystemEvent" MethodIBiometricSysuiReceiverOnDialogAnimatedIn = "onDialogAnimatedIn" MethodIBiometricSysuiReceiverOnStartFingerprintNow = "onStartFingerprintNow" )
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 )
const ( MethodITestSessionSetTestHalEnabled = "setTestHalEnabled" MethodITestSessionStartEnroll = "startEnroll" MethodITestSessionFinishEnroll = "finishEnroll" MethodITestSessionAcceptAuthentication = "acceptAuthentication" MethodITestSessionRejectAuthentication = "rejectAuthentication" MethodITestSessionNotifyAcquired = "notifyAcquired" MethodITestSessionNotifyError = "notifyError" MethodITestSessionCleanupInternalState = "cleanupInternalState" )
const ( TransactionITestSessionCallbackOnCleanupStarted = binder.FirstCallTransaction + 0 TransactionITestSessionCallbackOnCleanupFinished = binder.FirstCallTransaction + 1 )
const ( MethodITestSessionCallbackOnCleanupStarted = "onCleanupStarted" MethodITestSessionCallbackOnCleanupFinished = "onCleanupFinished" )
const DescriptorAuthenticationStateListener = "android.hardware.biometrics.AuthenticationStateListener"
const DescriptorIAuthService = "android.hardware.biometrics.IAuthService"
const DescriptorIBiometricAuthenticator = "android.hardware.biometrics.IBiometricAuthenticator"
const DescriptorIBiometricContextListener = "android.hardware.biometrics.IBiometricContextListener"
const DescriptorIBiometricEnabledOnKeyguardCallback = "android.hardware.biometrics.IBiometricEnabledOnKeyguardCallback"
const DescriptorIBiometricSensorReceiver = "android.hardware.biometrics.IBiometricSensorReceiver"
const DescriptorIBiometricService = "android.hardware.biometrics.IBiometricService"
const DescriptorIBiometricServiceLockoutResetCallback = "android.hardware.biometrics.IBiometricServiceLockoutResetCallback"
const DescriptorIBiometricServiceReceiver = "android.hardware.biometrics.IBiometricServiceReceiver"
const DescriptorIBiometricStateListener = "android.hardware.biometrics.IBiometricStateListener"
const DescriptorIBiometricSysuiReceiver = "android.hardware.biometrics.IBiometricSysuiReceiver"
const DescriptorIInvalidationCallback = "android.hardware.biometrics.IInvalidationCallback"
const DescriptorITestSession = "android.hardware.biometrics.ITestSession"
const DescriptorITestSessionCallback = "android.hardware.biometrics.ITestSessionCallback"
const (
MethodIBiometricEnabledOnKeyguardCallbackOnChanged = "onChanged"
)
const (
MethodIBiometricServiceLockoutResetCallbackOnLockoutReset = "onLockoutReset"
)
const (
MethodIInvalidationCallbackOnCompleted = "onCompleted"
)
const (
TransactionIBiometricEnabledOnKeyguardCallbackOnChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIBiometricServiceLockoutResetCallbackOnLockoutReset = binder.FirstCallTransaction + 0
)
const (
TransactionIInvalidationCallbackOnCompleted = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthServiceProxy ¶
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 (*AuthServiceProxy) CancelAuthentication ¶
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 (*AuthServiceProxy) GetLastAuthenticationTime ¶
func (*AuthServiceProxy) GetPromptMessage ¶
func (*AuthServiceProxy) GetSensorProperties ¶
func (p *AuthServiceProxy) GetSensorProperties( ctx context.Context, ) ([]SensorPropertiesInternal, error)
func (*AuthServiceProxy) GetSettingName ¶
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 (*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 ¶
func NewAuthenticationStateListenerProxy ¶
func NewAuthenticationStateListenerProxy( remote binder.IBinder, ) *AuthenticationStateListenerProxy
func (*AuthenticationStateListenerProxy) AsBinder ¶
func (p *AuthenticationStateListenerProxy) AsBinder() binder.IBinder
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 ¶
func (s *AuthenticationStateListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BiometricAuthenticatorProxy ¶
func NewBiometricAuthenticatorProxy ¶
func NewBiometricAuthenticatorProxy( remote binder.IBinder, ) *BiometricAuthenticatorProxy
func (*BiometricAuthenticatorProxy) AsBinder ¶
func (p *BiometricAuthenticatorProxy) AsBinder() binder.IBinder
func (*BiometricAuthenticatorProxy) CancelAuthenticationFromService ¶
func (*BiometricAuthenticatorProxy) CreateTestSession ¶
func (p *BiometricAuthenticatorProxy) CreateTestSession( ctx context.Context, callback ITestSessionCallback, ) (ITestSession, error)
func (*BiometricAuthenticatorProxy) DumpSensorServiceStateProto ¶
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 (*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 ¶
func NewBiometricContextListenerProxy ¶
func NewBiometricContextListenerProxy( remote binder.IBinder, ) *BiometricContextListenerProxy
func (*BiometricContextListenerProxy) AsBinder ¶
func (p *BiometricContextListenerProxy) AsBinder() binder.IBinder
func (*BiometricContextListenerProxy) OnDisplayStateChanged ¶
func (p *BiometricContextListenerProxy) OnDisplayStateChanged( ctx context.Context, displayState int32, ) error
func (*BiometricContextListenerProxy) OnFoldChanged ¶
func (p *BiometricContextListenerProxy) OnFoldChanged( ctx context.Context, FoldState IBiometricContextListenerFoldState, ) error
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 ¶
func (s *BiometricContextListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BiometricEnabledOnKeyguardCallbackProxy ¶
func NewBiometricEnabledOnKeyguardCallbackProxy ¶
func NewBiometricEnabledOnKeyguardCallbackProxy( remote binder.IBinder, ) *BiometricEnabledOnKeyguardCallbackProxy
func (*BiometricEnabledOnKeyguardCallbackProxy) AsBinder ¶
func (p *BiometricEnabledOnKeyguardCallbackProxy) AsBinder() binder.IBinder
type BiometricEnabledOnKeyguardCallbackStub ¶
type BiometricEnabledOnKeyguardCallbackStub struct {
Impl IBiometricEnabledOnKeyguardCallback
Transport binder.VersionAwareTransport
}
BiometricEnabledOnKeyguardCallbackStub dispatches incoming binder transactions to a typed IBiometricEnabledOnKeyguardCallback implementation.
func (*BiometricEnabledOnKeyguardCallbackStub) Descriptor ¶
func (s *BiometricEnabledOnKeyguardCallbackStub) Descriptor() string
func (*BiometricEnabledOnKeyguardCallbackStub) OnTransaction ¶
func (s *BiometricEnabledOnKeyguardCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BiometricSensorReceiverProxy ¶
func NewBiometricSensorReceiverProxy ¶
func NewBiometricSensorReceiverProxy( remote binder.IBinder, ) *BiometricSensorReceiverProxy
func (*BiometricSensorReceiverProxy) AsBinder ¶
func (p *BiometricSensorReceiverProxy) AsBinder() binder.IBinder
func (*BiometricSensorReceiverProxy) OnAcquired ¶
func (*BiometricSensorReceiverProxy) OnAuthenticationFailed ¶
func (p *BiometricSensorReceiverProxy) OnAuthenticationFailed( ctx context.Context, sensorId int32, ) error
func (*BiometricSensorReceiverProxy) OnAuthenticationSucceeded ¶
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 ¶
func NewBiometricServiceLockoutResetCallbackProxy ¶
func NewBiometricServiceLockoutResetCallbackProxy( remote binder.IBinder, ) *BiometricServiceLockoutResetCallbackProxy
func (*BiometricServiceLockoutResetCallbackProxy) AsBinder ¶
func (p *BiometricServiceLockoutResetCallbackProxy) AsBinder() binder.IBinder
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 (s *BiometricServiceLockoutResetCallbackStub) Descriptor() string
func (*BiometricServiceLockoutResetCallbackStub) OnTransaction ¶
func (s *BiometricServiceLockoutResetCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type BiometricServiceProxy ¶
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 (*BiometricServiceProxy) CancelAuthentication ¶
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 (*BiometricServiceProxy) GetCurrentStrength ¶
func (*BiometricServiceProxy) GetLastAuthenticationTime ¶
func (*BiometricServiceProxy) GetSensorProperties ¶
func (p *BiometricServiceProxy) GetSensorProperties( ctx context.Context, ) ([]SensorPropertiesInternal, error)
func (*BiometricServiceProxy) GetSupportedModalities ¶
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 (*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 ¶
type BiometricServiceReceiverProxy ¶
func NewBiometricServiceReceiverProxy ¶
func NewBiometricServiceReceiverProxy( remote binder.IBinder, ) *BiometricServiceReceiverProxy
func (*BiometricServiceReceiverProxy) AsBinder ¶
func (p *BiometricServiceReceiverProxy) AsBinder() binder.IBinder
func (*BiometricServiceReceiverProxy) OnAcquired ¶
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) 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 ¶
func (s *BiometricServiceReceiverStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
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 ¶
func NewBiometricStateListenerProxy ¶
func NewBiometricStateListenerProxy( remote binder.IBinder, ) *BiometricStateListenerProxy
func (*BiometricStateListenerProxy) AsBinder ¶
func (p *BiometricStateListenerProxy) AsBinder() binder.IBinder
func (*BiometricStateListenerProxy) OnBiometricAction ¶
func (p *BiometricStateListenerProxy) OnBiometricAction( ctx context.Context, action int32, ) error
func (*BiometricStateListenerProxy) OnEnrollmentsChanged ¶
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 ¶
func NewBiometricSysuiReceiverProxy ¶
func NewBiometricSysuiReceiverProxy( remote binder.IBinder, ) *BiometricSysuiReceiverProxy
func (*BiometricSysuiReceiverProxy) AsBinder ¶
func (p *BiometricSysuiReceiverProxy) AsBinder() binder.IBinder
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 (*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 ¶
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 ¶
func NewInvalidationCallbackProxy ¶
func NewInvalidationCallbackProxy( remote binder.IBinder, ) *InvalidationCallbackProxy
func (*InvalidationCallbackProxy) AsBinder ¶
func (p *InvalidationCallbackProxy) AsBinder() binder.IBinder
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 ¶
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 ¶
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)
Source Files
¶
- authenticationstatelistener.go
- biometricsourcetype.go
- componentinfointernal.go
- get_biometric.go
- iauthservice.go
- ibiometricauthenticator.go
- ibiometriccontextlistener.foldstate.go
- ibiometriccontextlistener.go
- ibiometricenabledonkeyguardcallback.go
- ibiometricsensorreceiver.go
- ibiometricservice.go
- ibiometricservicelockoutresetcallback.go
- ibiometricservicereceiver.go
- ibiometricstatelistener.go
- ibiometricsysuireceiver.go
- iinvalidationcallback.go
- itestsession.go
- itestsessioncallback.go
- promptinfo.go
- sensorlocationinternal.go
- sensorpropertiesinternal.go