Commit graph

151 commits

Author SHA1 Message Date
Joe Bolinger
7bd42e1b14 Update common and face AIDL for session logging.
Bug: 204585936
Bug: 204584403
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: Icba064c5c48f808327323ab64b7b63f68737a2f8
2022-01-12 16:29:35 -08:00
Steven Moreland
77b74ffc0a Merge "CHECK -> CHECK_EQ copy pasta" am: a8138bfbf6 am: dd39b5c9d0 am: f711c9d406 am: 53c7517b02
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1921302

Change-Id: I3f32bf37c1c025e82e14ee6c9f0ffde87f6bcbd6
2021-12-14 18:40:32 +00:00
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
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
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
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
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
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
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
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
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
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
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
Kevin Chyn
46816afaf6 Update detectInteraction documentation
Bug: 182004420
Test: Builds
Change-Id: I1f785d4dda9bbde44aeab091b1f6cb1eaddf5afa
2021-04-05 11:22:07 -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
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
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