Commit graph

340 commits

Author SHA1 Message Date
TreeHugger Robot
de4d1e954f Merge changes from topic "fix-IFace-enroll" into sc-dev
* changes:
  IFace: update VTS test to pass std::nullopt for previewSurface
  IFace: update default implementation to use optional previewSurface
  IFace: annotate the previewSurface as @nullable in enroll
2021-07-27 00:21:27 +00:00
Ilya Matyukhin
70b9c17191 Merge "Update comments for IBiometricsFingerprint@2.3" into sc-dev 2021-07-24 02:54:13 +00:00
Ilya Matyukhin
ac11a2e824 Update comments for IBiometricsFingerprint@2.3
This CL adds a comment that discourages use of this interface. The AIDL
interface, IFingerprint, should be used instead.

Bug: 160189286
Test: hidl-gen -L check android.hardware.biometrics.fingerprint@2.3::IBiometricsFingerprint
Change-Id: Ifafb191ac16e03e60d677fce6dc9e41e87bad0c0
2021-07-22 19:39:21 -07:00
Ilya Matyukhin
88796f4992 IFace: update VTS test to pass std::nullopt for previewSurface
Bug: 194346408
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I1e945d821d4b91b9a9ea8f74ae6f817ef04a0f85
2021-07-21 22:55:31 -07:00
Ilya Matyukhin
bde61ca1d3 IFace: update default implementation to use optional previewSurface
Bug: 194346408
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I72d3d6d638a1662ebd1a53a7029ea3bf200efe48
2021-07-21 19:01:55 -07:00
Ilya Matyukhin
5beafca660 IFace: annotate the previewSurface as @nullable in enroll
Bug: 194346408
Test: android.hardware.biometrics.face-update-api
Change-Id: Id8809b27f121a738a41abeee66f5c1fd3840cc44
2021-07-21 18:58:15 -07:00
Ilya Matyukhin
9208a09568 IFace: fix default implementation to pass VTS
Bug: 193849101
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: Ia90c639074a6a9ed270f7c499c8816a8c7224b7f
2021-07-21 23:13:43 +00:00
Ilya Matyukhin
61a6d8d72e IFace: fix VTS test to match the interface contract
Bug: 193849101
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I5b3ed1b87244d6265d23c15ef2c2efe4f6155973
2021-07-21 23:12:17 +00:00
TreeHugger Robot
4f53440f87 Merge changes I0b38a98a,I6f8e6ec1 into sc-dev
* changes:
  IFace: update VTS tests
  IFace: update default implementation
2021-07-07 20:22:39 +00:00
Ilya Matyukhin
046020b149 IFace: update VTS tests
Bug: 170650876
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I0b38a98acaec654b144dbe56fc64c5c741bd4488
2021-07-03 00:10:19 +00:00
Ilya Matyukhin
60406beac6 IFace: update default implementation
Bug: 170651283
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I6f8e6ec12e597034264e2b1383bc7325b0f697b7
2021-07-03 00:10:03 +00:00
Ilya Matyukhin
04247248ce IFingerprint: update VTS tests
Bug: 166799066
Test: VtsHalBiometricsFingerprintTargetTest
Change-Id: I2bf765890203a4edc016d1b7f0abd1d205b2a0ba
2021-07-02 23:58:58 +00:00
Ilya Matyukhin
1d52438592 IFingerprint: update default implementation
Bug: 166800618
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: I0ac3a019081f4f5db6943fc019165ad1aa2e0bc8
2021-07-02 23:58:14 +00:00
Ilya Matyukhin
b09f62d6a6 Merge "IFingerprint: update comments" into sc-dev 2021-06-30 21:38:59 +00:00
Ilya Matyukhin
ea8115d85d IFingerprint: update comments
Bug: 166824758
Test: N/A
Change-Id: Ie77034b88bea1c1317e8d057f19f57167d48d2c3
2021-06-30 18:27:27 +00:00
Ilya Matyukhin
8b372b6734 IFace: update comments
Bug: 152412683
Test: N/A
Change-Id: I4bae4ba9eaa5631d72d5665b54dd5c2b23f7f4d5
2021-06-30 18:26:35 +00:00
Ilya Matyukhin
ba83133139 IFace: Add more comments
Bug: 152412683
Test: N/A
Change-Id: I0d444804acdd7e063c411cc2dec05efb26c6facf
2021-06-29 21:44:17 +00:00
Ilya Matyukhin
916410f1b1 Deflake WorkerThreadTest
Bug: 187402940
Test: atest --host --rerun-until-failure 1000 WorkerThreadTest
Change-Id: I65dc183d7a616a684a42a3780b32f6f8f55ae9c4
2021-06-09 17:55:19 -07:00
Ilya Matyukhin
13d8406217 Fix VTS test
Bug: 187128449
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I8e77b18a5e79ae905a78e540b4da0b304672b514
2021-06-07 16:57:05 -07:00
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
Kevin Chyn
7435e8d77c Add Error::BAD_CALIBRATION
Bug: 189133688
Test: make -j56 android.hardware.biometrics.fingerprint-update-api
Change-Id: Iea26fa2efb8e60fb5d89e89762dc76f0f0c6dce1
2021-05-24 16:53:53 -07:00
Ilya Matyukhin
77160fad8a Deflake WorkerThreadTest
Bug: 187402940
Test: atest --host --retry-until-failure 100 WorkerThreadTest
Change-Id: Ie4abd413e9cf18f73c2a4e22004dc33561006e72
2021-05-10 10:08:26 -07:00
Ilya Matyukhin
de2c1edf46 Fix IFace VTS unable to link default HAL
Bug: 184614916
Test: VtsHalBiometricsFaceTargetTest
Change-Id: Ia811f581690c10251f38144ffaed55624587d281
2021-05-03 21:17:32 +00: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
d85ab6f7a7 Add halHandlesDisplayTouches and halControlsIllumination
Bug: 185522754
Test: m android.hardware.biometrics.fingerprint-update-api
Change-Id: I3a1e71951e202212c0a0951d1b64249436619f56
2021-04-22 23:00:42 +00:00
Ilya Matyukhin
a6d4024cb2 Merge changes from topic "IFace-anapic-review" into sc-dev
* changes:
  Add enum defaults and remove placeholder constants
  Add Session#getEnrollmentConfig and better enum defaults
2021-04-22 22:58:59 +00:00
Ilya Matyukhin
c316f63cbb Add enum defaults and remove placeholder constants
Bug: 181358178
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: I7acc4796cb56234280a8ec97dd3cb7921553955f
2021-04-22 12:05:37 -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
TreeHugger Robot
48ac0d6e79 Merge "Fix IFingerprint VTS unable to link default HAL" into sc-dev 2021-04-19 08:00:25 +00:00
Ilya Matyukhin
fa6900abbd Fix IFingerprint VTS unable to link default HAL
Bug: 184614916
Test: on device without AIDL HAL
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: Iff6bebbd2f7a6ce6172d4b9b23f63073165730bc
2021-04-15 03:03:19 +00: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
Kevin Chyn
46816afaf6 Update detectInteraction documentation
Bug: 182004420
Test: Builds
Change-Id: I1f785d4dda9bbde44aeab091b1f6cb1eaddf5afa
2021-04-05 11:22:07 -07:00
Kevin Chyn
0ec2e0c3ec Change default IFingerprint HAL back to STRONG
This way, cuttlefish presubmit can run tests that require
multiple strong sensors

Bug: 163058911
Test: atest CtsBiometricsTestCases
Change-Id: I8ce66d3bc9fe8ea91465a6fcd5e7e75369b1a90f
2021-03-26 18:07:24 -07:00
Kevin Chyn
904b4f8a1e Merge "Add AcqiredInfo.RETRYING_CAPTURE to IFingerprint" into sc-dev 2021-03-25 22:59:07 +00:00
Kevin Chyn
4e9f2f79cb Add AcqiredInfo.RETRYING_CAPTURE to IFingerprint
Bug: 183154058
Test: make -j android.hardware.biometrics.fingerprint-update-api
Change-Id: I76c9f157975af5c354136e0ec9d1b04dd1098b2a
2021-03-25 12:25:21 -07:00
Ilya Matyukhin
11c723db07 Update the comment for generateChallenge
Bug: 182005958
Test: none
Change-Id: Id8c08929a550a93f13d1579b6d2d9745db3001d1
2021-03-25 07:59:05 +00:00
Ilya Matyukhin
cc2b6943c6 Remove SessionState from IFace VTS
Bug: 183570051
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I2b106449cbafeaff1d683eb4ef87e022e12b4ee0
2021-03-24 15:29:48 -07:00
Ilya Matyukhin
66c6464a13 Remove SessionState from IFace example
Bug: 183570051
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: Ia4c33f03e8482d5a89d2543a5bdcd851fbcd8a2c
2021-03-24 15:29:48 -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
aea213b401 Remove SessionState from IFingerprint example
Bug: 183570051
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: I1dd4aa0dc8bd622824ad4c0c0dde78914c49838c
2021-03-24 15:29:48 -07:00
Ilya Matyukhin
caa67677bd Remove SessionState from IFingerprint VTS
Bug: 183570051
Test: atest VtsHalBiometricsFingerprintTargetTes
Change-Id: I75d7d2e9f52db681538f6627ab4cc541ac260dd6
2021-03-24 15:29:48 -07:00
Ilya Matyukhin
2ad929d986 Remove SessionState from IFingerprint
Bug: 183570051
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: I82edc57b7bb36d9688428bc7a65470145aadcb89
2021-03-24 15:29:43 -07:00
TreeHugger Robot
e66993fd28 Merge "Fix flaky WorkerThreadTest" into sc-dev 2021-03-23 02:03:29 +00:00
Ilya Matyukhin
1d998ec20e Fix flaky WorkerThreadTest
Bug: 183250492
Test: atest --host android.hardware.biometrics.fingerprint.WorkerThreadTest
Change-Id: Ic51681103989d13d5c968d9b7ce1ebf9a306edee
2021-03-22 22:05:27 +00: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
Haining Chen
486185569b Rename HardwareInfo to ComponentInfo for the flexibility and
extensibility to support new biometric sensor properties

Bug: 156024031

Test: m -j android.hardware.biometrics.common-update-api
Test: m -j android.hardware.biometrics.face-service.example
Test: m -j android.hardware.biometrics.fingerprint-service.example
Change-Id: Iede6fe7eefbdde2320b495e467430b3e6269b5b6
2021-03-18 16:41:11 -07:00
Ilya Matyukhin
03893b97f4 Merge "Make states atomic and update comments" into sc-dev 2021-03-11 20:11:47 +00:00
Ilya Matyukhin
82adf3c81e Merge "Remove IFingerprint#reset" into sc-dev 2021-03-10 22:17:26 +00:00
Ilya Matyukhin
a2e0942a3f Merge "Remove IFace#reset" into sc-dev 2021-03-10 22:16:50 +00:00