Commit graph

26 commits

Author SHA1 Message Date
Jiyong Park
72b6359859 Freeze AIDL APIs for SC
Ignore-AOSP-First: part of SC finalization

Bug: 188713899
Test: m
Change-Id: Iee18cd05954dc8ea08cc4f985499a70977d1af4f
2021-05-25 10:13:26 +09:00
Ilya Matyukhin
d84af5ce7f Merge "Add previewDisplayId to SensorProps" into sc-dev 2021-04-22 23:52:36 +00:00
Ilya Matyukhin
3d1d3e6f54 Add previewDisplayId to SensorProps
Bug: 183738533
Test: m android.hardware.biometrics.face-update-api
Change-Id: Ia0703815d2aaa616d6e8b8f607bfe6e905ffdb7f
2021-04-22 16:31:17 -07:00
Ilya Matyukhin
929146ecff Add Session#getEnrollmentConfig and better enum defaults
Bug: 183738533
Bug: 181358178
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I45a60d58b0d32b7449bb7a2b04cc469b79454bcb
2021-04-22 12:05:32 -07:00
Ilya Matyukhin
9fcf6b1f49 Update IFace getFeatures/setFeature and feature names
Bug: 185398301
Bug: 185384721
Test: build for aosp_cf_x86_phone-userdebug
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I75d328485550ccbc4d136d6c6fbea92c21d7e421
2021-04-14 14:03:27 -07:00
Ilya Matyukhin
c125d3a17d Remove SessionState from IFace
Bug: 183570051
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I87a1610b280072e3ccc3d280ae492ae5f6f2b6cc
2021-03-24 15:29:48 -07:00
Ilya Matyukhin
cbbfa93a17 Add ISessionCallback#onSessionClosed
Bug: 181984005
Test: m android.hardware.biometrics.fingerprint-update-api
Test: m android.hardware.biometrics.face-update-api
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: I766c3ae0dc9916c376da6432a5545af581dda819
2021-03-22 14:43:22 -07:00
Ilya Matyukhin
a2e0942a3f Merge "Remove IFace#reset" into sc-dev 2021-03-10 22:16:50 +00:00
f
a44f5e998e Remove IFace#reset
Bug: 181247174
Test: m android.hardware.biometrics.face-update-api
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I0569bc52d4c8bc247425cb6784dd1400106077cf
2021-03-09 23:44:25 +00:00
Ilya Matyukhin
095550d581 Merge "Update AcquiredInfo constants" into sc-dev 2021-03-08 19:05:19 +00:00
f
6a25dc5f40 Update AcquiredInfo constants
Bug: 173711478
Test: m android.hardware.biometrics.face-update-api
Change-Id: Ib929c70af16b73a902666e4af96ed95be4629f3c
2021-03-06 03:37:00 +00:00
f
ef7c2a915c Remove timeout from IFace generateChallenge
Bug: 181699471
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: Ief068efc3a2c12fbc6b7d89229355ffbcc1b279c
2021-03-05 22:18:15 +00:00
Haining Chen
5feda3d112 Update sensor properties:
(1) Add software information (eg, matching and PAD algorithm versions)
(2) Remove firmware version from hardware information

Bug: 156024031

Test: m -j android.hardware.biometrics.common-update-api
Test: m -j android.hardware.biometrics.face-update-api
Test: m -j android.hardware.biometrics.face-service.example
Test: m -j android.hardware.biometrics.fingerprint-update-api
Test: m -j android.hardware.biometrics.fingerprint-service.example
Change-Id: I7fb5a31562152d621feed4d775beb14dab3a5fed
2021-02-28 17:45:19 -08:00
Ilya Matyukhin
cd690782ca Set enum defaults for biometrics
Bug: 179853316
Test: m android.hardware.biometrics.common-update-api
Test: m android.hardware.biometrics.fingerprint-update-api
Test: m android.hardware.biometrics.face-update-api
Test: build
Change-Id: Ia13a0e59a5009e17496e84c593a64e3da27fac05
2021-02-26 14:16:03 -08:00
Ilya Matyukhin
bf5b361fa8 Add REENROLL_REQUIRED to IFace
Bug: 180723766
Test: m android.hardware.biometrics.face-update-api
Change-Id: I4687828a9e1bcd42633b28f16656d99632b63520
2021-02-23 14:02:42 -08:00
Ilya Matyukhin
42a106315b Add IFace#reset and ISession#close methods
Bug: 180625923
Test: m android.hardware.biometrics.face-update-api
Test: build
Change-Id: I6ec2436ff4ae4c11a177ab911aebe4e80a591089
2021-02-19 02:12:19 -08:00
Kevin Chyn
45f5b0f9f2 ISession#detectInteraction should be an optional feature
Bug: 178165973
Test: m android.hardware.biometrics.fingerprint-update-api
Test: m android.hardware.biometrics.face-update-api
Change-Id: I4b07b523735e25f233dfec79b787ec536a57660a
2021-02-05 15:44:42 -08:00
Ilya Matyukhin
666dc38de4 Add methonds to set and get authentication features
Bug: 172593978
Test: m android.hardware.biometrics.face-update-api
Change-Id: I497b9bd50fa082f711b3806da9cb8f307b921a22
2021-01-22 23:52:56 -08:00
Ilya Matyukhin
330dae0264 Update the enrollment API
Bug: 174619156
Test: m android.hardware.biometrics.face-update-api
Change-Id: I4683ef3217a3053363cae460a961a75d90cf2e51
2021-01-20 16:42:38 -08:00
Kevin Chyn
f7890cc53d Return new authenticatorId when invalidation finishes
The new authenticatorId will always be needed by the client after
invalidation finishes. This change allows the client to receive it
without requesting getAuthenticatorId.

Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.fingerprint-update-api
Test: m VtsHalBiometricsFaceTargetTest
Test: m VtsHalBiometricsFingerprintTargetTest

Bug: 159667191
Change-Id: I63166315789945966ff8081e07dd714cc14bc2f0
2021-01-11 17:16:08 -08:00
Ilya Matyukhin
39e88771f2 Add new AcquiredInfo constants
Bug: 173711478
Test: m android.hardware.biometrics.face-update-api
Change-Id: Iac8a6f423744782883f141e0012e037630fb43a7
2020-12-01 22:30:13 +00:00
Kevin Chyn
0d13e044f1 Remove sensorId, userId from onChallenge*
These methods were moved into ISession, but forgot to remove the
sensorId, userId parameters

Bug: 173453845
Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.face-service.example
Test: m VtsHalBiometricsFaceTargetTest
Change-Id: I78efd095e0b86f8a8568c8d74d946fd8436f6e65
2020-11-17 15:18:30 -08:00
Kevin Chyn
bad76851cf Add additional face SensorProps
Fixes: 168541000

Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.face-service.example
Change-Id: I664fe1f641e09217b27aef232e39ba7d6fa1e171
2020-11-11 13:28:38 -08:00
Kevin Chyn
898a2e3dd7 Add FIRST_FRAME_RECEIVED to AcquiredInfo
Bug: 164922876
Test: m android.hardware.biometrics.face-update-api
Change-Id: Ia98ff7099d125e6a015f67a0aefb43e006b7f727
2020-10-30 11:39:22 -07:00
Ilya Matyukhin
e503481f87 Remove sensorId and userId from all Session methods
Bug: 168730443
Test: m android.hardware.biometrics.face-update-api
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: Icc4545f46e5de625127553373128663b9b5c9dbe
2020-10-15 21:49:36 -07:00
Ilya Matyukhin
457e9d8530 Define IFace
Bug: 168730443
Test: m android.hardware.biometrics.face-update-api
Change-Id: I6bd1d1240ef91680d8b96cb84849431c25265358
2020-10-12 20:05:29 -07:00