summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKevin Chyn <kchyn@google.com>2020-11-02 18:42:26 -0800
committerKevin Chyn <kchyn@google.com>2020-11-04 14:33:32 -0800
commitd781e2066a3b1006ad29a68da2c01748b6bfbe95 (patch)
treeb4727f87a382297a5c59ef860470db94173e146f /tools/aapt2/java/JavaClassGenerator_test.cpp
parent02c367d8c12dd25c693ef6c18fad29871137a0a3 (diff)
Add sensorId to IBiometricAuthenticator methods
IBiometricAuthenticator is the interface that BiometricService uses to do BiometricManager/BiometricPrompt-related stuff. This change updates the implementations to pass sensorId as a parameter, since the current design allows for FingerprintService, FaceService etc to host multiple HALs and/or sensors. Maintains functionality of deprecated FingerprintManager APIs. Since getSensorProperties() requires internal or test permission, use different binder calls for FingerprintManager invocations vs BiometricService invocations of methods such as isHardwareDetected and hasEnrolledFingerprints. Moves HIDL HAL registration out of *Authenticator class and up one layer (into AuthService), since *Authenticator code is to be shared with AIDL HALs, which provide sensorId, strength, and other configuration via the HAL interface. Bug: 172291793 Test: Enroll, auth (BiometricPrompt and Lockscreen) on face and fingerprint devices Change-Id: Ib2d8b792f0afde49550f320c4041ff1b1b3d5a50
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions