Commit graph

191 commits

Author SHA1 Message Date
Ilya Matyukhin
e52cae0fc8 Update default HAL with close and reset methods
Bug: 180625923
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: Ie0881ec827a7ab0c277373da36ecdf3502ef0f15
2021-02-19 02:12:22 -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
Joshua Mccloskey
e4cc8d3bec Merge changes from topic "revert_face_1_1" into sc-dev
* changes:
  Revert "Revert "Revert "Define biometrics.face@1.1 with remote e..."
  Revert^2 "Revert "Add VTS tests for biometrics.face@1.1""
  Revert^2 "Move default implementation from 1.1 to 1.0"
  Revert^2 "Revert "Add enroll_1_1 with preview window id""
2021-02-17 00:50:25 +00:00
Joshua Mccloskey
f6d062fd83 Revert "Revert "Revert "Define biometrics.face@1.1 with remote e..."
Revert^2 "Temporarily remove support for biometrics.face@1.1"

cccbd64ff74ee45a48eaf6a68e97349fb9542c92

Change-Id: I981f607b48a44459363f5edbd075f1fcfcf0a10f
2021-02-16 16:49:09 -08:00
Joshua Mccloskey
a2e77cf352 Revert^2 "Revert "Add VTS tests for biometrics.face@1.1""
605521ca57

Change-Id: I1064436e210d551a077b775c069bae1f86579aea
2021-02-16 16:49:09 -08:00
Joshua Mccloskey
65eddd20ec Revert^2 "Move default implementation from 1.1 to 1.0"
94992158c9

Change-Id: I6f52d0e49c3a6c362a7333adfe07a0103943e456
2021-02-16 16:49:09 -08:00
Joshua Mccloskey
d1f16b824b Revert^2 "Revert "Add enroll_1_1 with preview window id""
35e8d370fe

Change-Id: I8907905ae929af3ad7b1e66477cec589e4f3f09f
2021-02-16 16:49:09 -08:00
Kevin Chyn
9ae2812f75 Merge "Add logs to default biometric HALs" into sc-dev 2021-02-10 23:34:48 +00:00
Kevin Chyn
146f6c8f1d Add logs to default biometric HALs
Bug: 179856730
Test: Presubmit
Change-Id: I6ebf88b36e075586d2596af7a82b4ab8cf24ad22
2021-02-10 11:32:35 -08:00
Ilya Matyukhin
d4dada833a Update the comments for onAuthentication<...>
Bug: 179627783
Test: none
Change-Id: Ic2d97729b2f124d8791da027c5acb43875ea90a9
2021-02-09 15:36:56 -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
Jeongik Cha
38533915d1 Specify version for aidl_interface explicitly
Bug: 150578172
Test: m
Change-Id: I141de8ed6958fe42f727a0fa41473de4c1fb38de
2021-01-28 00:49:49 +09:00
Ilya Matyukhin
f2d3886a2c Update the VTS test
Bug: 172593978
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I3d7c49a173fa7296a1eb2334cce9cf0c3d745fce
2021-01-23 17:53:21 -08:00
Ilya Matyukhin
26b20b9f64 Update the default implementation
Bug: 172593978
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: Ic86c936df8513a6181134053c20fe145cf509f13
2021-01-23 17:53:15 -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
e13bc8109f Update the VTS test
Bug: 174619156
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I908789c3a6c9b0682d13ffff53cf70163a929abf
2021-01-20 16:42:49 -08:00
Ilya Matyukhin
af30cdeca5 Update the default implementation
Bug: 174619156
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: Ibfa8ace1205ba500a865e09218f4fdc69eb6d8fb
2021-01-20 16:42:48 -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
Kevin Chyn
4e7c016758 Change default face sensorId to 4
Fixes: 174816040
Test: atest CtsBiometricsTestCases
Change-Id: Ib3139dd10752f488ac9da220e8ab5d9104279d0f
2020-12-11 15:45:54 -08:00
Kevin Chyn
f19e9530bb Merge "Default face lockout should be duration==0" 2020-12-04 20:02:57 +00:00
Kevin Chyn
f5405b2123 Default face lockout should be duration==0
The default HAL never actually gets rejects, so should not
have a non-zero lockout

Bug: 172957689
Test: atest CtsBiometricsTestCases
Change-Id: I74af8bd0a8a25f509b5572543dfef7d621f24c4e
2020-12-03 19:55:06 -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
cfb5499a45 Update default face implementation
Note that we're configuring this default HAL as "STRONG" so that the
framework can eventually test multi-sensor authenticatorId invalidation

Bug: 173453845
Test: atest CtsBiometricsTestCases
Change-Id: Idd7b74f0a22c5078dc5c2b0b99f62fdc4b51e25d
2020-11-17 17:15:18 -08: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
4d0df26150 Remove HAT from invalidateAuthenticatorId and correct documentation
1) Removes HAT param from fingerprint AIDL
2) Update documentation for fingerprint and face AIDL

Fixes: 173432893
Test: m android.hardware.biometrics.face-update-api
Test: m android.hardware.biometrics.fingerprint-service.example

Change-Id: I9c5e219c6f7a59609b6ff9d692f5a931f4bcea24
2020-11-16 12:42:40 -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
199bb4a612 Merge "Add FIRST_FRAME_RECEIVED to AcquiredInfo" 2020-10-31 00:59:32 +00: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
8513ef2cc4 Enable the Java backend for IFace
Bug: 171335732
Test: m android.hardware.biometrics.face-update-api
Change-Id: I4c295513217641c3e494a1b2d83f69aeab4c804e
2020-10-21 17:17:27 -07:00
Ilya Matyukhin
aff41d866c Merge "Create OWNERS files for biometric AIDLs" 2020-10-19 22:53:17 +00: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
53af9512bd Create OWNERS files for biometric AIDLs
Bug: none
Test: none
Change-Id: Idbe85483a66365095e0afab9bb64d4ea6068ddf7
2020-10-15 11:46:14 -07:00
Ilya Matyukhin
0916698222 Default implementation skeleton for IFace
Bug: 168730443
Test: atest VtsHalBiometricsFaceTargetTest
Test: atest vts_treble_vintf_vendor_test
Test: atest hal_implementation_test
Change-Id: I97b2b00da928e7f9e175d9853424111d95f285fb
2020-10-12 20:07:13 -07:00
Ilya Matyukhin
3b542cd396 Add VTS tests skeleton for IFace
Bug: 168730443
Test: atest VtsHalBiometricsFaceTargetTest
Change-Id: I90ec41b0b7cc461cce50f55f99e7ee2a836fb2e0
2020-10-12 20:05:33 -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
Xin Li
36dcf1a404 Merge Android R (rvc-dev-plus-aosp-without-vendor@6692709)
Bug: 166295507
Merged-In: I6502829205ede2de914b27e6c2c5c42916af2b39
Change-Id: I7cb06511e43bd1fffd5f80a11dbdf5b1314cfe8e
2020-08-28 13:05:04 -07:00
Dan Shi
ff985a85a8 Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I58bc808a82b2128bb8774f762f9b9fcecd2614fb
2020-07-29 09:46:36 -07:00
Dan Shi
9eaab747fe Suppress gtest error for tests without any instance am: ba4d532fee am: 73122cd284 am: e5c9b5e722 am: 1a52c0eb25 am: 1a3e0f86eb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1374050

Change-Id: I6ddea2dcb636e3ba67ad11d53b9fe12c51314c7a
2020-07-29 06:36:31 +00:00
Dan Shi
e5c9b5e722 Suppress gtest error for tests without any instance am: ba4d532fee am: 73122cd284
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1374050

Change-Id: Ie5e956d4613f5e947c36ba4f1048f0c3aa8944ba
2020-07-29 05:45:58 +00:00
Dan Shi
ba4d532fee Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I8c1a48e6fbd7c8161137902b5332911fa0d7b8b3
2020-07-28 15:12:32 -07:00
Jooyung Han
d610435ac4 update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
(cherry picked from commit b0907a6bb8)
2020-07-07 16:22:36 +09:00
Jooyung Han
d18cba85fe update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
(cherry picked from commit b0907a6bb8)
2020-07-02 12:26:37 +09:00
Jooyung Han
b0907a6bb8 update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
2020-07-02 09:18:17 +09:00
Robin Jacob
42f359f9b5 Merge "Add a delay between tests to make them more robust" into rvc-dev am: ad15d6c05a am: c04da2f2ab am: 38ae0b1a1f am: 40598537a2
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11392730

Change-Id: Iced61f9740134186a762ded78cee641ffcce7f4e
2020-06-15 18:32:17 +00:00
Ilya Matyukhin
92ecc4827f Add a delay between tests to make them more robust
Bug: 154342874
Test: atest VtsHalBiometricsFaceV1_0TargetTest
Change-Id: I09713b6814ecb9f4ee4a7f568b1f891a94f4e017
2020-05-08 18:39:40 +00:00
Dan Shi
aad51fa000 Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 16:37:40 -07:00
Dan Shi
ba894f81db Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 15:17:02 -07:00
Dan Shi
3a8a650c61 Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 18:03:49 +00:00
Ilya Matyukhin
35e8d370fe Revert "Revert "Add enroll_1_1 with preview window id""
This reverts commit 921df7abd2.

Change-Id: I13a54a8288e122f7c02f2b23d6aaf21dfd782282
2020-03-31 14:45:31 -07:00
Ilya Matyukhin
94992158c9 Revert "Move default implementation from 1.1 to 1.0"
This reverts commit 1c0e3b7e57.

Change-Id: Ia11585a0206c3bdf99f32f2c0a3364011d05647a
2020-03-31 14:45:31 -07:00
Ilya Matyukhin
605521ca57 Revert "Revert "Add VTS tests for biometrics.face@1.1""
This reverts commit 32142e7c41.

Change-Id: I017ff957e58f99b4a227cfbcc7b3a8ae881ad7e0
2020-03-31 14:45:31 -07:00
Ilya Matyukhin
69d1d66bb4 Revert "Revert "Define biometrics.face@1.1 with remote enrollment""
This reverts commit 9a471eb8be.

Change-Id: I6130e5c3d39d81a077641f6cc225da9f061de1c5
2020-03-31 14:45:31 -07:00
Ilya Matyukhin
9a471eb8be Revert "Define biometrics.face@1.1 with remote enrollment"
This reverts commit ec0b6e26ea.

Reason for revert: this interface is untested in R.

Bug: 151331855
Bug: 149502271
Change-Id: I5d63c6e52c540af328fe108bff1861d16990a6b4
2020-03-24 14:09:16 -07:00
Ilya Matyukhin
32142e7c41 Revert "Add VTS tests for biometrics.face@1.1"
This reverts commit f21a4f0aee.

Reason for revert: this interface is untested in R.

Bug: 151331855
Change-Id: I6fbdd846a9ea56d1595347d0321fbf9018015da7
2020-03-24 14:09:16 -07:00
Ilya Matyukhin
1c0e3b7e57 Move default implementation from 1.1 to 1.0
Bug: 151331855
Test: vts-tradefed run commandAndExit vts-hal -m VtsHalBiometricsFaceV1_0Target
Change-Id: I4a0d136faacd427ac28970d1a30a374cb6618393
2020-03-24 14:09:16 -07:00
Ilya Matyukhin
921df7abd2 Revert "Add enroll_1_1 with preview window id"
This reverts commit 7ab5ab85d0.

Reason for revert: this interface is untested in R.

Bug: 151331855
Bug: 149502271
Change-Id: I819adb2910e70243e19e273675ad15de7736279a
2020-03-24 14:09:16 -07:00
Ilya Matyukhin
7ab5ab85d0 Add enroll_1_1 with preview window id
Bug: 145562442
Test: vts-tradefed run commandAndExit vts-hal -m VtsHalBiometricsFaceV1_0Target
Test: vts-tradefed run commandAndExit vts-hal -m VtsHalBiometricsFaceV1_1Target
Change-Id: I7839fe162dc31c71cc33ae226a23a2239a2093a1
2020-01-23 23:15:25 -08:00
Ilya Matyukhin
366cc53714 Add default implementation for biometrics.face@1.1
Bug: 145027036
Test: vts-tradefed run commandAndExit vts-hal -m VtsHalBiometricsFaceV1_0Target
Test: vts-tradefed run commandAndExit vts-hal -m VtsHalBiometricsFaceV1_1Target
Change-Id: I1aa682644b9b60705a1a8bf40867414b9fc99cd6
2020-01-23 23:15:25 -08:00
Ilya Matyukhin
f21a4f0aee Add VTS tests for biometrics.face@1.1
Bug: 145027036
Test: m vts -j
Change-Id: I14c64aa784291c9027bf6888139f90d53908cf92
2020-01-22 10:50:12 -08:00
Ilya Matyukhin
ec0b6e26ea Define biometrics.face@1.1 with remote enrollment
Bug: 145027036
Test: hidl-gen -L check android.hardware.biometrics.face@1.1

Change-Id: I3b5cc1e7852509012aab7fea078b12b76bd83abb
2020-01-22 10:50:12 -08:00
Treehugger Robot
78e5470dbc Merge "[vts-core] add VtsHalBiometricsFaceV1_0TargetTest to vts-core" 2019-11-24 08:44:43 +00:00
nelsonli
809ea677bf [vts-core] add VtsHalBiometricsFaceV1_0TargetTest to vts-core
Convert VtsHalBiometricsFaceV1_0TargetTest to be parameterized test
and add it to vts-core

Bug: 142397658
Bug: 144744276
Test: $atest VtsHalBiometricsFaceV1_0TargetTest
Change-Id: I7b5839619885f05ed8a24d6c2fefe0ffa92cb644
2019-11-19 08:09:07 +00:00
Ilya Matyukhin
a10570cdd7 Check for the correct userId in callbacks
Sync the code to aosp, then we can start to covert it to parameterized test.

Bug: 142397658
Test: vts-tradefed run commandAndExit vts-hal -m VtsHalBiometricsFaceV1_0Target
Change-Id: I0c9478d635f67c8ac5c4b47c022d76a6f91de230
2019-11-15 08:43:06 +00:00
Ilya Matyukhin
87e8bab583 Update VTS tests to support the latest BiometricsFace.hal
am: 00bc962dea

Change-Id: Id60d66891fe93c719be7a4f6aa009c58475c6ab0
2019-06-28 12:13:02 -07:00
Ilya Matyukhin
00bc962dea Update VTS tests to support the latest BiometricsFace.hal
Bug: 134967390
Test: vts-tradefed run commandAndExit vts-hal -m VtsHalBiometricsFaceV1_0Target
Change-Id: Ifbd04d127626315efd8c8ce36636e550cbb843ff
2019-06-27 17:41:36 -07:00
Steven Moreland
99712c08cc Update hidl makefiles for bpfmt
hidl-generated makefiles are now generated such that bpfmt(file) == file.

Bug: 67417008
Test: enable bpfmt hook
Change-Id: I53e5bf67a0d314e1b10c0ba0c7172a7af358ddcc
2019-04-18 18:13:05 -07:00
Kevin Chyn
6424d7ea26 Address HIDL review comments
Fixes: 127852175

Test: builds
Test: hidl-gen -L hash -r android.hardware:hardware/interfaces android.hardware.biometrics.face@1.0
      hash added to current.txt
Test: make -j56 VtsHalBiometricsFaceV1_0TargetTest

Change-Id: I4a8b6db5824a686ec742ed826ff26e721ff26dc8
2019-03-11 18:56:17 -07:00
Kevin Chyn
b936d1d684 Add SENSOR_DIRTY constant
Fixes: 127993599

Test: Test: hidl-gen -L hash -r android.hardware:hardware/interfaces android.hardware.biometrics.face@1.0
      add updated hash to current.txt
Test: Builds

Change-Id: I98a7953f3a99f263709a15f143a3ca5fd062b489
2019-03-11 11:21:14 -07:00
Kevin Chyn
41b986fb1a Merge "Finalize IBiometricsFace@1.0" 2019-03-06 19:29:58 +00:00
Kevin Chyn
25fe23f55f Finalize IBiometricsFace@1.0
Also update VTS tests

Fixes: 125936336
Fixes: 124512763
Fixes: 123262389

Test: hidl-gen -L hash -r android.hardware:hardware/interfaces android.hardware.biometrics.face@1.0
      add updated hash to current.txt
Test: Builds

Change-Id: I7949b251064d4578a89f6da834aadbfdf7e9a94f
2019-03-05 18:14:51 -08:00
Steven Moreland
b91ac5c6a0 Update makefies: no 'types' internal
Bug: 123976090
Test: N/A
Change-Id: I84b659b163b63d39535b462a3df8a9c19f680976
2019-03-04 14:09:25 -08:00
Ilya Matyukhin
1a34e407bf Implemented VTS tests for BiometricsFace.hal
Test: manually built and ran the tests
Fixes: 110708105
Change-Id: Id2882436b2346032b080cee16a9fc289ee3dbdc2
2019-03-01 10:54:38 -08:00
Kevin Chyn
1c16445989 resetLockout should return Status instead of bool
The actual lockout reset is asynchronous and returns its result in the
onLockoutChanged() callback

Bug: 121196511
Bug: 121198195
Bug: 123262389

Test: Builds
Change-Id: Ia5fd34d77ae1f8dba1a943e0e1fc51d458753090
2019-02-13 14:11:29 -08:00
Kevin Chyn
2065f80836 Merge "Add onLockoutChanged for IBiometricsFace" 2019-02-13 17:40:27 +00:00
Kevin Chyn
99625ae670 Add onLockoutChanged for IBiometricsFace
Lockout is moved to the HAL (as compared to IBiometricsFingerprint@2.1)
To maintain public API behavior (BiometricPrompt) there needs to be a
way to synchronously retrieve the lockout status.

Bug: 121196511
Bug: 121198195
Bug: 123262389

Test: Builds
Change-Id: Idb0a1225451e9f123ccb42accbbbd2914ad6cabc
2019-02-12 17:33:16 -08:00
Steven Moreland
f8a47b7f01 Update makefiles.
Bug: 123976090
Test: N/A
Change-Id: I5fb6c126a090a3fe0fa4829ea9224564133dc1ae
2019-02-11 21:14:16 -08:00
TreeHugger Robot
b5556e576b Merge "Fix incorrect comments in types.hal" 2019-02-01 22:31:18 +00:00
Kevin Chyn
fbdc22e7b8 Fix incorrect comments in types.hal
Bug: 123262389

Test: Builds
Change-Id: I56f60c5ac61be6fdd1f1c49f5a7d8ac0e41d2572
2019-01-31 16:16:28 -08:00
Zachary Iqbal
a4c77b9edd Removed completed TODOs from IBiometricsFace HIDL.
Change-Id: I6ef9de184acfe3e1b7dd7f3519c64cc74fb6506d
Test: Built locally.
2019-01-31 15:55:12 -08:00
Kevin Chyn
448e2cf84c Add ACQUIRED_START message
Fixes: 123520106
Bug: 117060268

Test: Builds
Change-Id: Ie2fda4f2cdbae1d9b5f2ed08975f3cd8e98c169b
2019-01-28 12:44:32 -08:00
Kevin Chyn
54c13ddf60 Add additional acquired constants
Fixes: 123101870

Test: Builds
Change-Id: I67365b4a821c43ac01810119e9f1fa24f27d3c7f
2019-01-24 11:20:00 -08:00
Kevin Chyn
16d891dd3d Move lockout to below the HAL
Fixes: 120630211

Test: builds
Change-Id: I87ae317110d0ef6cf5b82afe6ee7724527f9f64e
2018-12-14 16:44:26 -08:00
Kevin Chyn
a009f89d01 Allow multiple accessibility features
Fixes: 120578823

Test: builds
Change-Id: I9f823f0f00e6a6030d777844aedf90b982b2e291
2018-12-11 19:52:27 -08:00
Kevin Chyn
b480f01178 Add face acquired constants
Fixes: 118382625

Test: Builds
Change-Id: I3c9203c7e593aee3b110dd00e31687e364ff78bc
2018-10-25 10:53:58 -07:00
Kevin Chyn
ba9ec8795a Add IBiometricsFace#userActivity
Fixes: 116821097

Test: builds
Change-Id: I88363e186a41ce65665122606b357c7d31d8c18d
2018-10-03 18:16:30 -07:00
Kevin Chyn
2acfd2aab6 Add timeout parameter to generateChallenge
Fixes: 115925222

Test: builds
Change-Id: Idac1730b36eadb5acdb6420cc330585ebb2f3197
2018-09-24 15:27:03 -07:00
Kevin Chyn
0a9e402efe Update FaceAcquiredInfo comments
Fixes: 110887097

Test: builds
Change-Id: Ia38043cf292401aea15a34118c2cc59cacd743f0
2018-09-19 17:01:49 -07:00
Kevin Chyn
af5d0a6d1d Add setter/getter for requireAttention
Also renames pre/postEnroll to get/revokeChallenge

Bug: 110597778

Test: builds
Change-Id: I5547504b27e0f6d304f016e02be91aa15e548e5f
2018-09-05 01:46:36 -07:00
Kevin Chyn
57acf9749a Update Face HIDL enroll method
Bug: 110597778

Test: builds
Change-Id: I61e4f4a61ad0561448bc50a29b84b668e9569551
2018-09-05 00:32:11 -07:00
Zachary Iqbal
1f7007465d Added initial HIDL interface for the biometric face HAL.
Notes:
- Added a basic interface, a stub callback interface and a stubs for
  needed public types.
- Ran make hidl-gen -j64 && hardware/interfaces/update-makefiles.sh
  to create build files for the interface.

Bug: 79577138
Test: None added. This commit simply adds a new interface.
Change-Id: I14b7238dd9ee1076f77c1b60117bdaa156a4f0f5
2018-06-19 12:04:43 -07:00