Commit graph

361 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
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
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
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
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
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
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
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
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
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
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
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
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
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