Documentation
¶
Index ¶
- Constants
- type AcquiredInfo
- type Error
- type FingerprintProxy
- type FingerprintSensorType
- type FingerprintStub
- type IFingerprint
- type IFingerprintServer
- type ISession
- type ISessionCallback
- type ISessionCallbackServer
- type ISessionServer
- type PointerContext
- type SensorLocation
- type SensorProps
- type SensorShape
- type SessionCallbackProxy
- func (p *SessionCallbackProxy) AsBinder() binder.IBinder
- func (p *SessionCallbackProxy) OnAcquired(ctx context.Context, info AcquiredInfo, vendorCode int32) error
- func (p *SessionCallbackProxy) OnAuthenticationFailed(ctx context.Context) error
- func (p *SessionCallbackProxy) OnAuthenticationSucceeded(ctx context.Context, enrollmentId int32, hat keymaster.HardwareAuthToken) error
- func (p *SessionCallbackProxy) OnAuthenticatorIdInvalidated(ctx context.Context, newAuthenticatorId int64) error
- func (p *SessionCallbackProxy) OnAuthenticatorIdRetrieved(ctx context.Context, authenticatorId int64) error
- func (p *SessionCallbackProxy) OnChallengeGenerated(ctx context.Context, challenge int64) error
- func (p *SessionCallbackProxy) OnChallengeRevoked(ctx context.Context, challenge int64) error
- func (p *SessionCallbackProxy) OnEnrollmentProgress(ctx context.Context, enrollmentId int32, remaining int32) error
- func (p *SessionCallbackProxy) OnEnrollmentsEnumerated(ctx context.Context, enrollmentIds []int32) error
- func (p *SessionCallbackProxy) OnEnrollmentsRemoved(ctx context.Context, enrollmentIds []int32) error
- func (p *SessionCallbackProxy) OnError(ctx context.Context, error_ Error, vendorCode int32) error
- func (p *SessionCallbackProxy) OnInteractionDetected(ctx context.Context) error
- func (p *SessionCallbackProxy) OnLockoutCleared(ctx context.Context) error
- func (p *SessionCallbackProxy) OnLockoutPermanent(ctx context.Context) error
- func (p *SessionCallbackProxy) OnLockoutTimed(ctx context.Context, durationMillis int64) error
- func (p *SessionCallbackProxy) OnSessionClosed(ctx context.Context) error
- type SessionCallbackStub
- type SessionProxy
- func (p *SessionProxy) AsBinder() binder.IBinder
- func (p *SessionProxy) Authenticate(ctx context.Context, operationId int64) (common.ICancellationSignal, error)
- func (p *SessionProxy) AuthenticateWithContext(ctx context.Context, operationId int64, context_ common.OperationContext) (common.ICancellationSignal, error)
- func (p *SessionProxy) Close(ctx context.Context) error
- func (p *SessionProxy) DetectInteraction(ctx context.Context) (common.ICancellationSignal, error)
- func (p *SessionProxy) DetectInteractionWithContext(ctx context.Context, context_ common.OperationContext) (common.ICancellationSignal, error)
- func (p *SessionProxy) Enroll(ctx context.Context, hat keymaster.HardwareAuthToken) (common.ICancellationSignal, error)
- func (p *SessionProxy) EnrollWithContext(ctx context.Context, hat keymaster.HardwareAuthToken, ...) (common.ICancellationSignal, error)
- func (p *SessionProxy) EnumerateEnrollments(ctx context.Context) error
- func (p *SessionProxy) GenerateChallenge(ctx context.Context) error
- func (p *SessionProxy) GetAuthenticatorId(ctx context.Context) error
- func (p *SessionProxy) InvalidateAuthenticatorId(ctx context.Context) error
- func (p *SessionProxy) OnContextChanged(ctx context.Context, context_ common.OperationContext) error
- func (p *SessionProxy) OnPointerCancelWithContext(ctx context.Context, context_ PointerContext) error
- func (p *SessionProxy) OnPointerDown(ctx context.Context, pointerId int32, x int32, y int32, minor float32, ...) error
- func (p *SessionProxy) OnPointerDownWithContext(ctx context.Context, context_ PointerContext) error
- func (p *SessionProxy) OnPointerUp(ctx context.Context, pointerId int32) error
- func (p *SessionProxy) OnPointerUpWithContext(ctx context.Context, context_ PointerContext) error
- func (p *SessionProxy) OnUiReady(ctx context.Context) error
- func (p *SessionProxy) RemoveEnrollments(ctx context.Context, enrollmentIds []int32) error
- func (p *SessionProxy) ResetLockout(ctx context.Context, hat keymaster.HardwareAuthToken) error
- func (p *SessionProxy) RevokeChallenge(ctx context.Context, challenge int64) error
- func (p *SessionProxy) SetIgnoreDisplayTouches(ctx context.Context, shouldIgnore bool) error
- type SessionStub
- type TouchDetectionParameters
Constants ¶
const ( TransactionIFingerprintGetSensorProps = binder.FirstCallTransaction + 0 TransactionIFingerprintCreateSession = binder.FirstCallTransaction + 1 )
const ( MethodIFingerprintGetSensorProps = "getSensorProps" MethodIFingerprintCreateSession = "createSession" )
const ( TransactionISessionGenerateChallenge = binder.FirstCallTransaction + 0 TransactionISessionRevokeChallenge = binder.FirstCallTransaction + 1 TransactionISessionEnroll = binder.FirstCallTransaction + 2 TransactionISessionAuthenticate = binder.FirstCallTransaction + 3 TransactionISessionDetectInteraction = binder.FirstCallTransaction + 4 TransactionISessionEnumerateEnrollments = binder.FirstCallTransaction + 5 TransactionISessionRemoveEnrollments = binder.FirstCallTransaction + 6 TransactionISessionGetAuthenticatorId = binder.FirstCallTransaction + 7 TransactionISessionInvalidateAuthenticatorId = binder.FirstCallTransaction + 8 TransactionISessionResetLockout = binder.FirstCallTransaction + 9 TransactionISessionClose = binder.FirstCallTransaction + 10 TransactionISessionOnPointerDown = binder.FirstCallTransaction + 11 TransactionISessionOnPointerUp = binder.FirstCallTransaction + 12 TransactionISessionOnUiReady = binder.FirstCallTransaction + 13 TransactionISessionAuthenticateWithContext = binder.FirstCallTransaction + 14 TransactionISessionEnrollWithContext = binder.FirstCallTransaction + 15 TransactionISessionDetectInteractionWithContext = binder.FirstCallTransaction + 16 TransactionISessionOnPointerDownWithContext = binder.FirstCallTransaction + 17 TransactionISessionOnPointerUpWithContext = binder.FirstCallTransaction + 18 TransactionISessionOnContextChanged = binder.FirstCallTransaction + 19 TransactionISessionOnPointerCancelWithContext = binder.FirstCallTransaction + 20 TransactionISessionSetIgnoreDisplayTouches = binder.FirstCallTransaction + 21 )
const ( MethodISessionGenerateChallenge = "generateChallenge" MethodISessionRevokeChallenge = "revokeChallenge" MethodISessionEnroll = "enroll" MethodISessionAuthenticate = "authenticate" MethodISessionDetectInteraction = "detectInteraction" MethodISessionEnumerateEnrollments = "enumerateEnrollments" MethodISessionRemoveEnrollments = "removeEnrollments" MethodISessionGetAuthenticatorId = "getAuthenticatorId" MethodISessionInvalidateAuthenticatorId = "invalidateAuthenticatorId" MethodISessionResetLockout = "resetLockout" MethodISessionClose = "close" MethodISessionOnPointerDown = "onPointerDown" MethodISessionOnPointerUp = "onPointerUp" MethodISessionOnUiReady = "onUiReady" MethodISessionAuthenticateWithContext = "authenticateWithContext" MethodISessionEnrollWithContext = "enrollWithContext" MethodISessionDetectInteractionWithContext = "detectInteractionWithContext" MethodISessionOnPointerDownWithContext = "onPointerDownWithContext" MethodISessionOnPointerUpWithContext = "onPointerUpWithContext" MethodISessionOnContextChanged = "onContextChanged" MethodISessionOnPointerCancelWithContext = "onPointerCancelWithContext" MethodISessionSetIgnoreDisplayTouches = "setIgnoreDisplayTouches" )
const ( TransactionISessionCallbackOnChallengeGenerated = binder.FirstCallTransaction + 0 TransactionISessionCallbackOnChallengeRevoked = binder.FirstCallTransaction + 1 TransactionISessionCallbackOnAcquired = binder.FirstCallTransaction + 2 TransactionISessionCallbackOnError = binder.FirstCallTransaction + 3 TransactionISessionCallbackOnEnrollmentProgress = binder.FirstCallTransaction + 4 TransactionISessionCallbackOnAuthenticationSucceeded = binder.FirstCallTransaction + 5 TransactionISessionCallbackOnAuthenticationFailed = binder.FirstCallTransaction + 6 TransactionISessionCallbackOnLockoutTimed = binder.FirstCallTransaction + 7 TransactionISessionCallbackOnLockoutPermanent = binder.FirstCallTransaction + 8 TransactionISessionCallbackOnLockoutCleared = binder.FirstCallTransaction + 9 TransactionISessionCallbackOnInteractionDetected = binder.FirstCallTransaction + 10 TransactionISessionCallbackOnEnrollmentsEnumerated = binder.FirstCallTransaction + 11 TransactionISessionCallbackOnEnrollmentsRemoved = binder.FirstCallTransaction + 12 TransactionISessionCallbackOnAuthenticatorIdRetrieved = binder.FirstCallTransaction + 13 TransactionISessionCallbackOnAuthenticatorIdInvalidated = binder.FirstCallTransaction + 14 TransactionISessionCallbackOnSessionClosed = binder.FirstCallTransaction + 15 )
const ( MethodISessionCallbackOnChallengeGenerated = "onChallengeGenerated" MethodISessionCallbackOnChallengeRevoked = "onChallengeRevoked" MethodISessionCallbackOnAcquired = "onAcquired" MethodISessionCallbackOnError = "onError" MethodISessionCallbackOnEnrollmentProgress = "onEnrollmentProgress" MethodISessionCallbackOnAuthenticationSucceeded = "onAuthenticationSucceeded" MethodISessionCallbackOnAuthenticationFailed = "onAuthenticationFailed" MethodISessionCallbackOnLockoutTimed = "onLockoutTimed" MethodISessionCallbackOnLockoutPermanent = "onLockoutPermanent" MethodISessionCallbackOnLockoutCleared = "onLockoutCleared" MethodISessionCallbackOnInteractionDetected = "onInteractionDetected" MethodISessionCallbackOnEnrollmentsEnumerated = "onEnrollmentsEnumerated" MethodISessionCallbackOnEnrollmentsRemoved = "onEnrollmentsRemoved" MethodISessionCallbackOnAuthenticatorIdRetrieved = "onAuthenticatorIdRetrieved" MethodISessionCallbackOnAuthenticatorIdInvalidated = "onAuthenticatorIdInvalidated" MethodISessionCallbackOnSessionClosed = "onSessionClosed" )
const DescriptorIFingerprint = "android.hardware.biometrics.fingerprint.IFingerprint"
const DescriptorISession = "android.hardware.biometrics.fingerprint.ISession"
const DescriptorISessionCallback = "android.hardware.biometrics.fingerprint.ISessionCallback"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AcquiredInfo ¶
type AcquiredInfo byte
const ( AcquiredInfoUNKNOWN AcquiredInfo = 0 AcquiredInfoGOOD AcquiredInfo = 1 AcquiredInfoPARTIAL AcquiredInfo = 2 AcquiredInfoINSUFFICIENT AcquiredInfo = 3 AcquiredInfoSensorDirty AcquiredInfo = 4 AcquiredInfoTooSlow AcquiredInfo = 5 AcquiredInfoTooFast AcquiredInfo = 6 AcquiredInfoVENDOR AcquiredInfo = 7 AcquiredInfoSTART AcquiredInfo = 8 AcquiredInfoTooDark AcquiredInfo = 9 AcquiredInfoTooBright AcquiredInfo = 10 AcquiredInfoIMMOBILE AcquiredInfo = 11 AcquiredInfoRetryingCapture AcquiredInfo = 12 AcquiredInfoLiftTooSoon AcquiredInfo = 13 AcquiredInfoPowerPress AcquiredInfo = 14 )
type FingerprintProxy ¶
func NewFingerprintProxy ¶
func NewFingerprintProxy( remote binder.IBinder, ) *FingerprintProxy
func (*FingerprintProxy) AsBinder ¶
func (p *FingerprintProxy) AsBinder() binder.IBinder
func (*FingerprintProxy) CreateSession ¶
func (p *FingerprintProxy) CreateSession( ctx context.Context, sensorId int32, cb ISessionCallback, ) (ISession, error)
func (*FingerprintProxy) GetSensorProps ¶
func (p *FingerprintProxy) GetSensorProps( ctx context.Context, ) ([]SensorProps, error)
type FingerprintSensorType ¶
type FingerprintSensorType byte
const ( FingerprintSensorTypeUNKNOWN FingerprintSensorType = 0 FingerprintSensorTypeREAR FingerprintSensorType = 1 FingerprintSensorTypeUnderDisplayUltrasonic FingerprintSensorType = 2 FingerprintSensorTypeUnderDisplayOptical FingerprintSensorType = 3 FingerprintSensorTypePowerButton FingerprintSensorType = 4 FingerprintSensorTypeHomeButton FingerprintSensorType = 5 )
type FingerprintStub ¶
type FingerprintStub struct {
Impl IFingerprint
Transport binder.VersionAwareTransport
}
FingerprintStub dispatches incoming binder transactions to a typed IFingerprint implementation.
func (*FingerprintStub) Descriptor ¶
func (s *FingerprintStub) Descriptor() string
func (*FingerprintStub) OnTransaction ¶
func (s *FingerprintStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IFingerprint ¶
type IFingerprint interface {
AsBinder() binder.IBinder
GetSensorProps(ctx context.Context) ([]SensorProps, error)
CreateSession(ctx context.Context, sensorId int32, cb ISessionCallback) (ISession, error)
}
func NewFingerprintStub ¶
func NewFingerprintStub( impl IFingerprintServer, ) IFingerprint
NewFingerprintStub creates a server-side IFingerprint wrapping the given server implementation. The returned value satisfies IFingerprint 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 IFingerprintServer ¶
type IFingerprintServer interface {
GetSensorProps(ctx context.Context) ([]SensorProps, error)
CreateSession(ctx context.Context, sensorId int32, cb ISessionCallback) (ISession, error)
}
IFingerprintServer is the server-side interface that user implementations provide to NewFingerprintStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISession ¶
type ISession interface {
AsBinder() binder.IBinder
GenerateChallenge(ctx context.Context) error
RevokeChallenge(ctx context.Context, challenge int64) error
Enroll(ctx context.Context, hat keymaster.HardwareAuthToken) (common.ICancellationSignal, error)
Authenticate(ctx context.Context, operationId int64) (common.ICancellationSignal, error)
DetectInteraction(ctx context.Context) (common.ICancellationSignal, error)
EnumerateEnrollments(ctx context.Context) error
RemoveEnrollments(ctx context.Context, enrollmentIds []int32) error
GetAuthenticatorId(ctx context.Context) error
InvalidateAuthenticatorId(ctx context.Context) error
ResetLockout(ctx context.Context, hat keymaster.HardwareAuthToken) error
Close(ctx context.Context) error
OnPointerDown(ctx context.Context, pointerId int32, x int32, y int32, minor float32, major float32) error
OnPointerUp(ctx context.Context, pointerId int32) error
OnUiReady(ctx context.Context) error
AuthenticateWithContext(ctx context.Context, operationId int64, context_ common.OperationContext) (common.ICancellationSignal, error)
EnrollWithContext(ctx context.Context, hat keymaster.HardwareAuthToken, context_ common.OperationContext) (common.ICancellationSignal, error)
DetectInteractionWithContext(ctx context.Context, context_ common.OperationContext) (common.ICancellationSignal, error)
OnPointerDownWithContext(ctx context.Context, context_ PointerContext) error
OnPointerUpWithContext(ctx context.Context, context_ PointerContext) error
OnContextChanged(ctx context.Context, context_ common.OperationContext) error
OnPointerCancelWithContext(ctx context.Context, context_ PointerContext) error
SetIgnoreDisplayTouches(ctx context.Context, shouldIgnore bool) error
}
func NewSessionStub ¶
func NewSessionStub( impl ISessionServer, ) ISession
NewSessionStub creates a server-side ISession wrapping the given server implementation. The returned value satisfies ISession 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 ISessionCallback ¶
type ISessionCallback interface {
AsBinder() binder.IBinder
OnChallengeGenerated(ctx context.Context, challenge int64) error
OnChallengeRevoked(ctx context.Context, challenge int64) error
OnAcquired(ctx context.Context, info AcquiredInfo, vendorCode int32) error
OnError(ctx context.Context, error_ Error, vendorCode int32) error
OnEnrollmentProgress(ctx context.Context, enrollmentId int32, remaining int32) error
OnAuthenticationSucceeded(ctx context.Context, enrollmentId int32, hat keymaster.HardwareAuthToken) error
OnAuthenticationFailed(ctx context.Context) error
OnLockoutTimed(ctx context.Context, durationMillis int64) error
OnLockoutPermanent(ctx context.Context) error
OnLockoutCleared(ctx context.Context) error
OnInteractionDetected(ctx context.Context) error
OnEnrollmentsEnumerated(ctx context.Context, enrollmentIds []int32) error
OnEnrollmentsRemoved(ctx context.Context, enrollmentIds []int32) error
OnAuthenticatorIdRetrieved(ctx context.Context, authenticatorId int64) error
OnAuthenticatorIdInvalidated(ctx context.Context, newAuthenticatorId int64) error
OnSessionClosed(ctx context.Context) error
}
func NewSessionCallbackStub ¶
func NewSessionCallbackStub( impl ISessionCallbackServer, ) ISessionCallback
NewSessionCallbackStub creates a server-side ISessionCallback wrapping the given server implementation. The returned value satisfies ISessionCallback 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 ISessionCallbackServer ¶
type ISessionCallbackServer interface {
OnChallengeGenerated(ctx context.Context, challenge int64) error
OnChallengeRevoked(ctx context.Context, challenge int64) error
OnAcquired(ctx context.Context, info AcquiredInfo, vendorCode int32) error
OnError(ctx context.Context, error_ Error, vendorCode int32) error
OnEnrollmentProgress(ctx context.Context, enrollmentId int32, remaining int32) error
OnAuthenticationSucceeded(ctx context.Context, enrollmentId int32, hat keymaster.HardwareAuthToken) error
OnAuthenticationFailed(ctx context.Context) error
OnLockoutTimed(ctx context.Context, durationMillis int64) error
OnLockoutPermanent(ctx context.Context) error
OnLockoutCleared(ctx context.Context) error
OnInteractionDetected(ctx context.Context) error
OnEnrollmentsEnumerated(ctx context.Context, enrollmentIds []int32) error
OnEnrollmentsRemoved(ctx context.Context, enrollmentIds []int32) error
OnAuthenticatorIdRetrieved(ctx context.Context, authenticatorId int64) error
OnAuthenticatorIdInvalidated(ctx context.Context, newAuthenticatorId int64) error
OnSessionClosed(ctx context.Context) error
}
ISessionCallbackServer is the server-side interface that user implementations provide to NewSessionCallbackStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISessionServer ¶
type ISessionServer interface {
GenerateChallenge(ctx context.Context) error
RevokeChallenge(ctx context.Context, challenge int64) error
Enroll(ctx context.Context, hat keymaster.HardwareAuthToken) (common.ICancellationSignal, error)
Authenticate(ctx context.Context, operationId int64) (common.ICancellationSignal, error)
DetectInteraction(ctx context.Context) (common.ICancellationSignal, error)
EnumerateEnrollments(ctx context.Context) error
RemoveEnrollments(ctx context.Context, enrollmentIds []int32) error
GetAuthenticatorId(ctx context.Context) error
InvalidateAuthenticatorId(ctx context.Context) error
ResetLockout(ctx context.Context, hat keymaster.HardwareAuthToken) error
Close(ctx context.Context) error
OnPointerDown(ctx context.Context, pointerId int32, x int32, y int32, minor float32, major float32) error
OnPointerUp(ctx context.Context, pointerId int32) error
OnUiReady(ctx context.Context) error
AuthenticateWithContext(ctx context.Context, operationId int64, context_ common.OperationContext) (common.ICancellationSignal, error)
EnrollWithContext(ctx context.Context, hat keymaster.HardwareAuthToken, context_ common.OperationContext) (common.ICancellationSignal, error)
DetectInteractionWithContext(ctx context.Context, context_ common.OperationContext) (common.ICancellationSignal, error)
OnPointerDownWithContext(ctx context.Context, context_ PointerContext) error
OnPointerUpWithContext(ctx context.Context, context_ PointerContext) error
OnContextChanged(ctx context.Context, context_ common.OperationContext) error
OnPointerCancelWithContext(ctx context.Context, context_ PointerContext) error
SetIgnoreDisplayTouches(ctx context.Context, shouldIgnore bool) error
}
ISessionServer is the server-side interface that user implementations provide to NewSessionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type PointerContext ¶
type PointerContext struct {
PointerId int32
X float32
Y float32
Minor float32
Major float32
Orientation float32
IsAod bool
Time int64
GestureStart int64
}
func (*PointerContext) MarshalParcel ¶
func (s *PointerContext) MarshalParcel( p *parcel.Parcel, ) error
func (*PointerContext) UnmarshalParcel ¶
func (s *PointerContext) UnmarshalParcel( p *parcel.Parcel, ) error
type SensorLocation ¶
type SensorLocation struct {
DisplayId int32
SensorLocationX int32
SensorLocationY int32
SensorRadius int32
Display string
SensorShape SensorShape
}
func (*SensorLocation) MarshalParcel ¶
func (s *SensorLocation) MarshalParcel( p *parcel.Parcel, ) error
func (*SensorLocation) UnmarshalParcel ¶
func (s *SensorLocation) UnmarshalParcel( p *parcel.Parcel, ) error
type SensorProps ¶
type SensorProps struct {
CommonProps common.CommonProps
SensorType FingerprintSensorType
SensorLocations []SensorLocation
SupportsDetectInteraction bool
HalHandlesDisplayTouches bool
HalControlsIllumination bool
TouchDetectionParameters *TouchDetectionParameters
}
func (*SensorProps) MarshalParcel ¶
func (s *SensorProps) MarshalParcel( p *parcel.Parcel, ) error
func (*SensorProps) UnmarshalParcel ¶
func (s *SensorProps) UnmarshalParcel( p *parcel.Parcel, ) error
type SensorShape ¶
type SensorShape byte
const ( SensorShapeSQUARE SensorShape = 0 SensorShapeCIRCLE SensorShape = 1 )
type SessionCallbackProxy ¶
func NewSessionCallbackProxy ¶
func NewSessionCallbackProxy( remote binder.IBinder, ) *SessionCallbackProxy
func (*SessionCallbackProxy) AsBinder ¶
func (p *SessionCallbackProxy) AsBinder() binder.IBinder
func (*SessionCallbackProxy) OnAcquired ¶
func (p *SessionCallbackProxy) OnAcquired( ctx context.Context, info AcquiredInfo, vendorCode int32, ) error
func (*SessionCallbackProxy) OnAuthenticationFailed ¶
func (p *SessionCallbackProxy) OnAuthenticationFailed( ctx context.Context, ) error
func (*SessionCallbackProxy) OnAuthenticationSucceeded ¶
func (p *SessionCallbackProxy) OnAuthenticationSucceeded( ctx context.Context, enrollmentId int32, hat keymaster.HardwareAuthToken, ) error
func (*SessionCallbackProxy) OnAuthenticatorIdInvalidated ¶
func (p *SessionCallbackProxy) OnAuthenticatorIdInvalidated( ctx context.Context, newAuthenticatorId int64, ) error
func (*SessionCallbackProxy) OnAuthenticatorIdRetrieved ¶
func (p *SessionCallbackProxy) OnAuthenticatorIdRetrieved( ctx context.Context, authenticatorId int64, ) error
func (*SessionCallbackProxy) OnChallengeGenerated ¶
func (p *SessionCallbackProxy) OnChallengeGenerated( ctx context.Context, challenge int64, ) error
func (*SessionCallbackProxy) OnChallengeRevoked ¶
func (p *SessionCallbackProxy) OnChallengeRevoked( ctx context.Context, challenge int64, ) error
func (*SessionCallbackProxy) OnEnrollmentProgress ¶
func (*SessionCallbackProxy) OnEnrollmentsEnumerated ¶
func (p *SessionCallbackProxy) OnEnrollmentsEnumerated( ctx context.Context, enrollmentIds []int32, ) error
func (*SessionCallbackProxy) OnEnrollmentsRemoved ¶
func (p *SessionCallbackProxy) OnEnrollmentsRemoved( ctx context.Context, enrollmentIds []int32, ) error
func (*SessionCallbackProxy) OnInteractionDetected ¶
func (p *SessionCallbackProxy) OnInteractionDetected( ctx context.Context, ) error
func (*SessionCallbackProxy) OnLockoutCleared ¶
func (p *SessionCallbackProxy) OnLockoutCleared( ctx context.Context, ) error
func (*SessionCallbackProxy) OnLockoutPermanent ¶
func (p *SessionCallbackProxy) OnLockoutPermanent( ctx context.Context, ) error
func (*SessionCallbackProxy) OnLockoutTimed ¶
func (p *SessionCallbackProxy) OnLockoutTimed( ctx context.Context, durationMillis int64, ) error
func (*SessionCallbackProxy) OnSessionClosed ¶
func (p *SessionCallbackProxy) OnSessionClosed( ctx context.Context, ) error
type SessionCallbackStub ¶
type SessionCallbackStub struct {
Impl ISessionCallback
Transport binder.VersionAwareTransport
}
SessionCallbackStub dispatches incoming binder transactions to a typed ISessionCallback implementation.
func (*SessionCallbackStub) Descriptor ¶
func (s *SessionCallbackStub) Descriptor() string
func (*SessionCallbackStub) OnTransaction ¶
func (s *SessionCallbackStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SessionProxy ¶
func NewSessionProxy ¶
func NewSessionProxy( remote binder.IBinder, ) *SessionProxy
func (*SessionProxy) AsBinder ¶
func (p *SessionProxy) AsBinder() binder.IBinder
func (*SessionProxy) Authenticate ¶
func (p *SessionProxy) Authenticate( ctx context.Context, operationId int64, ) (common.ICancellationSignal, error)
func (*SessionProxy) AuthenticateWithContext ¶
func (p *SessionProxy) AuthenticateWithContext( ctx context.Context, operationId int64, context_ common.OperationContext, ) (common.ICancellationSignal, error)
func (*SessionProxy) DetectInteraction ¶
func (p *SessionProxy) DetectInteraction( ctx context.Context, ) (common.ICancellationSignal, error)
func (*SessionProxy) DetectInteractionWithContext ¶
func (p *SessionProxy) DetectInteractionWithContext( ctx context.Context, context_ common.OperationContext, ) (common.ICancellationSignal, error)
func (*SessionProxy) Enroll ¶
func (p *SessionProxy) Enroll( ctx context.Context, hat keymaster.HardwareAuthToken, ) (common.ICancellationSignal, error)
func (*SessionProxy) EnrollWithContext ¶
func (p *SessionProxy) EnrollWithContext( ctx context.Context, hat keymaster.HardwareAuthToken, context_ common.OperationContext, ) (common.ICancellationSignal, error)
func (*SessionProxy) EnumerateEnrollments ¶
func (p *SessionProxy) EnumerateEnrollments( ctx context.Context, ) error
func (*SessionProxy) GenerateChallenge ¶
func (p *SessionProxy) GenerateChallenge( ctx context.Context, ) error
func (*SessionProxy) GetAuthenticatorId ¶
func (p *SessionProxy) GetAuthenticatorId( ctx context.Context, ) error
func (*SessionProxy) InvalidateAuthenticatorId ¶
func (p *SessionProxy) InvalidateAuthenticatorId( ctx context.Context, ) error
func (*SessionProxy) OnContextChanged ¶
func (p *SessionProxy) OnContextChanged( ctx context.Context, context_ common.OperationContext, ) error
func (*SessionProxy) OnPointerCancelWithContext ¶
func (p *SessionProxy) OnPointerCancelWithContext( ctx context.Context, context_ PointerContext, ) error
func (*SessionProxy) OnPointerDown ¶
func (*SessionProxy) OnPointerDownWithContext ¶
func (p *SessionProxy) OnPointerDownWithContext( ctx context.Context, context_ PointerContext, ) error
func (*SessionProxy) OnPointerUp ¶
func (p *SessionProxy) OnPointerUp( ctx context.Context, pointerId int32, ) error
func (*SessionProxy) OnPointerUpWithContext ¶
func (p *SessionProxy) OnPointerUpWithContext( ctx context.Context, context_ PointerContext, ) error
func (*SessionProxy) RemoveEnrollments ¶
func (p *SessionProxy) RemoveEnrollments( ctx context.Context, enrollmentIds []int32, ) error
func (*SessionProxy) ResetLockout ¶
func (p *SessionProxy) ResetLockout( ctx context.Context, hat keymaster.HardwareAuthToken, ) error
func (*SessionProxy) RevokeChallenge ¶
func (p *SessionProxy) RevokeChallenge( ctx context.Context, challenge int64, ) error
func (*SessionProxy) SetIgnoreDisplayTouches ¶
func (p *SessionProxy) SetIgnoreDisplayTouches( ctx context.Context, shouldIgnore bool, ) error
type SessionStub ¶
type SessionStub struct {
Impl ISession
Transport binder.VersionAwareTransport
}
SessionStub dispatches incoming binder transactions to a typed ISession implementation.
func (*SessionStub) Descriptor ¶
func (s *SessionStub) Descriptor() string
func (*SessionStub) OnTransaction ¶
func (s *SessionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type TouchDetectionParameters ¶
func (*TouchDetectionParameters) MarshalParcel ¶
func (s *TouchDetectionParameters) MarshalParcel( p *parcel.Parcel, ) error
func (*TouchDetectionParameters) UnmarshalParcel ¶
func (s *TouchDetectionParameters) UnmarshalParcel( p *parcel.Parcel, ) error