Commit graph

433 commits

Author SHA1 Message Date
Steven Moreland
ffb03995e6 CHECK -> CHECK_EQ copy pasta
Hey did I start this? We can take a little bit better errors. :)

Bug: N/A
Test: N/A
Change-Id: I0e96f7f49dae9968904333da9b8269694058c11c
2021-12-14 01:45:47 +00:00
Joe Bolinger
ce02213c6a Update fingerprint AIDL with additional display id field.
This enables the HAL to use stable display ids (i.e. config_displayUniqueIdArray).

Bug: 174868353
Test: builds
Change-Id: Ib02e9d026d116df3f9acadf6c083f44b37b4169c
2021-10-25 20:48:04 +00:00
Yiming Pan
b692d61e3d Merge "Add OWNERS for VTS module VtsHalBiometricsFingerprintV2_1TargetTest" am: 9f62451015 am: 29828bc55a am: ad7f738d63 am: 8165cd5d57 am: dfe32de916
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793837

Change-Id: Ib74eaf8e191a45e3a1dab4fcc01227231986fc7b
2021-10-01 01:30:57 +00:00
Yiming Pan
29828bc55a Merge "Add OWNERS for VTS module VtsHalBiometricsFingerprintV2_1TargetTest" am: 9f62451015
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1793837

Change-Id: I928b4b4c013f9109190538871b67dade51547fae
2021-10-01 00:36:41 +00:00
Yiming Pan
9f62451015 Merge "Add OWNERS for VTS module VtsHalBiometricsFingerprintV2_1TargetTest" 2021-10-01 00:34:46 +00:00
Treehugger Robot
9bd4c2fa54 Merge "Backfill owner information for VTS module VtsHalBiometricsFingerprintV2_2TargetTest." am: 80d2664e96 am: 1ade669804 am: b71f0a7c41 am: 232efecddc am: f6c290fc31
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814069

Change-Id: I899b0584883d7fd44969db1ca3173df276479803
2021-09-10 18:19:45 +00:00
Treehugger Robot
1ade669804 Merge "Backfill owner information for VTS module VtsHalBiometricsFingerprintV2_2TargetTest." am: 80d2664e96
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1814069

Change-Id: I3c6bd792c8c7a85ef4f31921d997f13d7d18fc9a
2021-09-10 17:22:21 +00:00
Treehugger Robot
80d2664e96 Merge "Backfill owner information for VTS module VtsHalBiometricsFingerprintV2_2TargetTest." 2021-09-10 17:06:41 +00:00
Yiming Pan
e06fdd73c0 Backfill owner information for VTS module VtsHalBiometricsFingerprintV2_2TargetTest.
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: Id9f854295ab38c07a65d87ec32251dd5c2d687cf
2021-08-30 12:58:13 -07:00
Yiming Pan
538c89c06d Add OWNERS for VTS module VtsHalBiometricsFingerprintV2_1TargetTest
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: Idebf408aad47b57901336baecbc2cbfc1cd501b0
2021-08-11 16:38:22 -07:00
Jiyong Park
d55d28a1d0 Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: I0652f1efe920111d79dd8c2ecd52e55dda54538f
Change-Id: Ib58c9f1cb80d083a3c62d03415610be855b80f03
(cherry picked from commit c426c6dbdc)
2021-08-09 11:20:04 +09:00
Jiyong Park
1519b41bdd Merge "Remove ndk_platform backend. Use the ndk backend." 2021-08-05 13:51:02 +00:00
Jiyong Park
c426c6dbdc Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Change-Id: I0652f1efe920111d79dd8c2ecd52e55dda54538f
2021-08-04 12:48:07 +09:00
Hongguang
92545ca013 Generate face HAL java-source
Bug: 194739778
Test: make and CTS cases in b/194739778
Change-Id: Iaf3cd972402017b4606fc494e4fe02acdca99767
2021-08-02 11:58:43 -07:00
Yiming Pan
6019058f8e Merge "Add OWNERS for VTS module VtsHalBiometricsFaceV1_0TargetTest" am: 031685709c am: 512d88c06c am: b9a5f4d4be am: 881abe7bc0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1773791

Change-Id: If35d1a84e78d52896e03d5fdddd11c9821d78dad
2021-07-30 21:46:16 +00:00
Yiming Pan
b9a5f4d4be Merge "Add OWNERS for VTS module VtsHalBiometricsFaceV1_0TargetTest" am: 031685709c am: 512d88c06c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1773791

Change-Id: I5e6e2e5106d6315432f59e9872d46e207be8b1ff
2021-07-30 21:20:29 +00:00
TreeHugger Robot
e5433ff609 Merge changes from topic "fix-IFace-enroll" into sc-dev am: de4d1e954f am: 33ec14975d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15353380

Change-Id: I84f55ce41e71e961e8d258522af4fc387f7fe2b1
2021-07-27 00:49:57 +00:00
TreeHugger Robot
e7e8fb975a Merge changes from topic "fix-IFace-enroll" into sc-dev am: de4d1e954f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15353380

Change-Id: I20d803aac7971185026439162ba7cc52a58b83db
2021-07-27 00:35:33 +00:00
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
f073d4a64c Merge "Update comments for IBiometricsFingerprint@2.3" into sc-dev am: 70b9c17191 am: 0a97ea1364
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15364786

Change-Id: I8912831a1dae9841b3d37c582bcd5e2a2db53385
2021-07-24 03:21:01 +00:00
Ilya Matyukhin
ca3f4c0ac1 Merge "Update comments for IBiometricsFingerprint@2.3" into sc-dev am: 70b9c17191
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15364786

Change-Id: If1aae2740b54c5539d7bced35a47bda6e5022358
2021-07-24 03:08:17 +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
Hongguang
87331887db Setting the version explicitly on the face HAL.
Bug: 194348824
Fix: 194348824
Test: make
Change-Id: I35a4778fbd2d64412e4a318ed4a1c356ac68b554
2021-07-22 21:17:30 +00:00
Ilya Matyukhin
14736f1902 Merge changes Ia90c6390,I5b3ed1b8 into sc-dev am: 9581a89057 am: c0d9308881
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15350855

Change-Id: Ia8825424322b14f1c0c48179de0a578422d80986
2021-07-22 19:10:40 +00:00
Ilya Matyukhin
505d154c31 Merge changes Ia90c6390,I5b3ed1b8 into sc-dev am: 9581a89057
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15350855

Change-Id: Ibef116aaaf5d41f5425757c35c579ed0e70c02d7
2021-07-22 19:09:16 +00: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
Yiming Pan
3f3084890b Add OWNERS for VTS module VtsHalBiometricsFaceV1_0TargetTest
Each VTS module is required to have OWNERS file. The ownership is based on
go/vts-owners. For more information about ownership policy, please visit
go/xts-owners-policy.

Test: Tree Hugger
Bug: 143903671
Change-Id: I0c78fc13402cc43b1f67fbc7eca6bece59b4e268
2021-07-21 15:32:26 -07:00
TreeHugger Robot
c8bef520c4 Merge changes I0b38a98a,I6f8e6ec1 into sc-dev am: 4f53440f87 am: 00487b339f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15193438

Change-Id: I73aaee43e46ffa89be1f4a73b2c3ad88853056b3
2021-07-07 20:50:40 +00:00
TreeHugger Robot
bfe3e8721e Merge changes I0b38a98a,I6f8e6ec1 into sc-dev am: 4f53440f87
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15193438

Change-Id: Ie5cb3aa608b3c16830f13a844608255d31306cb2
2021-07-07 20:37:50 +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
22e5ec680c IFingerprint: update VTS tests am: 04247248ce am: 6bf1146fb6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192112

Change-Id: I3a20e045e8a1913408f854c2001643e42fd8666c
2021-07-03 02:04:25 +00:00
Ilya Matyukhin
76b8048610 IFingerprint: update VTS tests am: 04247248ce
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192112

Change-Id: I7b00ebb888973faf2a06af1b2e8a8f95ef626654
2021-07-03 01:49:54 +00:00
Ilya Matyukhin
af6a74151e IFingerprint: update default implementation am: 1d52438592 am: 37ff41de0b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192111

Change-Id: I51f9b8f9a5edc92dfb1e260dbf92e957c8aa61f8
2021-07-03 00:26:49 +00:00
Ilya Matyukhin
f3c53e9c55 IFingerprint: update default implementation am: 1d52438592
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15192111

Change-Id: I9072ef742649bb4258071c43f1fda7cc6d75db0d
2021-07-03 00:11:41 +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
30f67f2b0d Merge "IFingerprint: update comments" into sc-dev am: b09f62d6a6 am: 9eeff5b010 am: e73a0e3863
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15159443

Change-Id: I5b233030274c895d2ccbc5ca7c3430d6421e7acf
2021-06-30 22:20:20 +00:00
Ilya Matyukhin
4f2216f234 Merge "IFace: update comments" into sc-dev am: 4d00d917b6 am: ebc5b9b3cd am: 768a1e1c67
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15159444

Change-Id: I781256d57e9716c8bd66b080d4aecad06d12b0c0
2021-06-30 22:20:07 +00:00
Ilya Matyukhin
e73a0e3863 Merge "IFingerprint: update comments" into sc-dev am: b09f62d6a6 am: 9eeff5b010
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15159443

Change-Id: If38b2a274cdcb7a3387fd307f3de8e9b101c367c
2021-06-30 22:08:00 +00:00
Ilya Matyukhin
768a1e1c67 Merge "IFace: update comments" into sc-dev am: 4d00d917b6 am: ebc5b9b3cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15159444

Change-Id: I874b2baf5f75ff68be434e7a656a27ce59a200e6
2021-06-30 22:06:46 +00:00
Ilya Matyukhin
d66c3dd174 Merge "IFingerprint: update comments" into sc-dev am: b09f62d6a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15159443

Change-Id: Iabc733dff0c8b9c8fdff90c4eb1e083fc54ffa04
2021-06-30 21:53:49 +00:00
Ilya Matyukhin
d1a949a950 Merge "IFace: update comments" into sc-dev am: 4d00d917b6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15159444

Change-Id: I1497905b8a049c093f3a30a67004f97d55aab707
2021-06-30 21:53:41 +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
e54c324fa4 IFace: Add more comments am: ba83133139 am: 14b9efef2c
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15146596

Change-Id: I6ec3a37a9fe5facead20091bc562625579904c69
2021-06-29 23:51:52 +00:00
Ilya Matyukhin
e93403808b IFace: Add more comments am: ba83133139 am: 1b6ab3f169
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15146596

Change-Id: I0d12f8b3ec2c98864382e6c7bbbd29edd3dfbb75
2021-06-29 23:51:27 +00:00
Ilya Matyukhin
e8bdb486f3 IFace: Add more comments am: ba83133139
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/15146596

Change-Id: I9627f16e7b9cc97ef86c466af6809b158e825db5
2021-06-29 23:36:20 +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
Treehugger Robot
11af040bab Merge "Replace writepid with task_profiles command for cgroup migration" am: a43f14bdac am: 7151796908 am: 555c368ddb am: f3f5630a8c
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1740279

Change-Id: I4dd443b8c75e330a6003796083501077ca1f2d07
2021-06-23 23:38:03 +00:00
Treehugger Robot
555c368ddb Merge "Replace writepid with task_profiles command for cgroup migration" am: a43f14bdac am: 7151796908
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1740279

Change-Id: I8c9ebb5de59a2b8a87c8045cfc8c64b71eac0f10
2021-06-23 23:09:57 +00:00
Suren Baghdasaryan
dd50b2f45d Replace writepid with task_profiles command for cgroup migration
writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.

Bug: 191283136
Test: build and boot
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I249ecc45a001a69d73b06b77154f9b6e5f9964d9
2021-06-23 18:43:27 +00:00
Evgenii Stepanov
9624ae08ae Fingerprint service example - import all deps.
Must include all parent classes in HIDL. As is, this code breaks in
HWASan, and most likely will break with -O0.

Bug: none
Test: build aosp_cf_arm64_phone-userdebug with SANITIZE_TARGET=hwaddress
Change-Id: I93e6990e758e5ae899ba15606e53f6ad7993d01d
2021-06-21 15:47:59 -07: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
f
48dc9fcea5 Make states atomic and update comments
Bug: 166800618
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: I52ee6e8b6ddefdc972e803bcd81819f04061a570
2021-03-10 04:43:58 +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
f
9de6ef99e5 Remove IFingerprint#reset
Bug: 181247174
Test: m android.hardware.biometrics.fingerprint-update-api
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: I2f25bde2955f90f6f0b66cd04faa735420fa1d6a
2021-03-09 23:43:58 +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
TreeHugger Robot
279d906860 Merge "Remove timeout from IFace generateChallenge" into sc-dev 2021-03-06 01:06:35 +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