Commit graph

329 commits

Author SHA1 Message Date
Robin Jacob
3d5ea8a757 Merge "Add a delay between tests to make them more robust" into rvc-dev am: ad15d6c05a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11392730

Change-Id: Ic34a9f77830bca7bedae3777450b6cc5ddc439ec
2020-06-15 17:48:15 +00:00
Robin Jacob
ad15d6c05a Merge "Add a delay between tests to make them more robust" into rvc-dev 2020-06-15 17:34:42 +00:00
Ilya Matyukhin
227e0ae083 Reduce the number of iterations in PreEnrollTest am: 744b028807 am: f80eb3cb9e am: 6ada775429 am: c72840c88a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11712201

Change-Id: I5f65cfcfb9d5a0cb9c6f228ff4a337242f109e29
2020-06-04 21:40:15 +00:00
Ilya Matyukhin
6ada775429 Reduce the number of iterations in PreEnrollTest am: 744b028807 am: f80eb3cb9e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11712201

Change-Id: Iec4c3608f11fcf3244c7902775cbda48c6051294
2020-06-04 21:10:03 +00:00
Ilya Matyukhin
798629af9e Reduce the number of iterations in PreEnrollTest am: 744b028807
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11712201

Change-Id: I83175791dd8538ff1e4c7846835a01ebfb0c9a75
2020-06-04 20:56:25 +00:00
Ilya Matyukhin
744b028807 Reduce the number of iterations in PreEnrollTest
The current number of iterations is too high and results in a timeout
from the testing framework.

The goal of the test is to make sure that the generated challenges are
different on every run. It's impossible to test whether any two
challenges will ever be the same for any number of iterations. Hence,
since a 1000 iterations doesn't provide much more value over 10
iterations, 10 was chosen because of its better performance.

Bug: 155844206
Test: "atest VtsHalBiometricsFingerprintV2_1TargetTest" on a blueline
Change-Id: I5db887bdcfed8fb0e44fcedcf9e99dd185d395c3
2020-06-03 01:09:22 +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
Roman Kiryanov
761c93e3b9 Add vintf_fragments to android.hardware.biometrics.fingerprint@2.1-service
Bug: 144386336
Test: boot emulator, lshal | grep fingerprint
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I97ad0451bb3edfe85d33300baaa41c3fbc5c3cc6
Change-Id: I11c8ebea731f5e7b24ee483d20a8cd25fd01be38
2020-04-13 21:12:53 -07:00
Treehugger Robot
21a0954575 Merge "Add vintf_fragments to android.hardware.biometrics.fingerprint@2.1-service" am: 542841648c am: 0433361fd5 am: 9e1e29b25c am: 8c3259e507 am: e487011b4a
Change-Id: Ie1c96eeb3a5d8d941cec5b1a82d7df50b0aa0f18
2020-04-10 19:35:30 +00:00
Treehugger Robot
9e1e29b25c Merge "Add vintf_fragments to android.hardware.biometrics.fingerprint@2.1-service" am: 542841648c am: 0433361fd5
Change-Id: Id9b1e200f54d18c585331009f978edba91e3df05
2020-04-10 18:05:48 +00:00
Roman Kiryanov
407776edee Add vintf_fragments to android.hardware.biometrics.fingerprint@2.1-service
Bug: 144386336
Test: boot emulator, lshal | grep fingerprint
Signed-off-by: Roman Kiryanov <rkir@google.com>
Change-Id: I97ad0451bb3edfe85d33300baaa41c3fbc5c3cc6
2020-04-09 14:17:54 -07:00
Dan Shi
eb5f33e0ef Rename vts-core to vts am: ba894f81db am: 55d110bcd0
Change-Id: Ifc137320af42febc24937f09e5baa4c5a95ac1c4
2020-04-07 23:56:42 +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
49120d936c Remove enroll_2_2 and authenticate_2_2
Bug: 139317981
Bug: 149502271
Test: m vts -j
Test: vts-tradefed run commandAndExit vts -m VtsHalBiometricsFingerprintV2_2Target
Change-Id: I80492f324753291be4118de95e16ec370004afc8
2020-03-24 14:09:16 -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
e524913161 Merge changes from topic "biometrics.fingerprint@2.2"
* changes:
  Add VTS tests for biometrics.fingerprint@2.2
  Define biometrics.fingerprint@2.2
2020-01-23 06:00:40 +00:00
Ilya Matyukhin
b05fa96baa Add VTS tests for biometrics.fingerprint@2.2
Bug: 139317981
Test: m vts -j
Test: vts-tradefed run commandAndExit vts -m VtsHalBiometricsFingerprintV2_2Target
Change-Id: I9119de5e690163fbb9ddbb38b117206e8c95a279
2020-01-22 17:55:47 -08:00
Ilya Matyukhin
671c59917d Define biometrics.fingerprint@2.2
This interface allows to pass a hardware window ID to the enroll and
authenticate methods. Also, FingerprintAcquiredInfo::START is
introduced to make latency measurements possible.

Bug: 139317981
Test: hidl-gen -L check android.hardware.biometrics.fingerprint@2.2

Change-Id: Ie044764984776d32ab52ca941cfa008202eca2c6
2020-01-22 17:55:42 -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
nelsonli
6bc848ea73 [vts-core] add VtsHalBiometricsFingerprintV2_1TargetTest to vts-core
Bug: 142397658
Test: $ atest VtsHalBiometricsFingerprintV2_1TargetTest
Change-Id: I04baa4f4dbc07f927d1a8c05f691dd63bb098a97
2019-10-24 14:57:11 +08:00
nelsonli
6fe484ca11 [vts-core] add VtsHalBiometricsFingerprintV2_1TargetTest to vts-core
Convert VtsHalBiometricsFingerprintV2_1TargetTest to be parameterized test
and add it to vts-core

Bug: 142397658
Test: $ atest VtsHalBiometricsFingerprintV2_1TargetTest
Change-Id: I076d3de4398e071370f3386817b8248a13eb9352
2019-10-18 01:30:09 +08:00
Steven Moreland
b3a4d3832e Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
2019-09-06 01:07:02 +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
Steven Moreland
6d494b2346 Merge "Update hidl makefiles for bpfmt" am: ff0bd741ca
am: 96f40f7b02

Change-Id: Idbf030e4993067bdb8181321bca2de00c9b6f7ef
2019-04-18 14:34:45 -07:00
Steven Moreland
1ae4615d9f Update hidl makefiles for bpfmt
hidl-generated makefiles are now generated such that bpfmt(file) == file.

Bug: 67417008
Test: enable bpfmt hook
Change-Id: I1f69d292bc23a7cc293a66110cb02d597e1019ad
2019-04-17 09:38:50 -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
87f43604b9 Merge "Update makefies: no 'types' internal" 2019-03-05 17:40:03 +00:00
Steven Moreland
7f4e21adda Merge "Update makefies: no 'types'" am: 4ee5ec1469 am: bab622f6a6
am: 7224bc9bcf

Change-Id: I434939e0770afa436c532a945542fce30a71ef7d
2019-03-04 16:05:59 -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
Steven Moreland
a878aee9ab Update makefies: no 'types'
Bug: 123976090
Test: N/A
Change-Id: I30fb04c81889b62775e1b764b965fdb0f893de17
2019-03-04 11:27:17 -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
Keun Soo YIM
68ae05dd2d pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Merged-In: I363450d205868f900e4925ccff1430e2a569f2a4
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-12-07 10:49:56 -08:00
Andrew LeCain
c812b022ed Adding uhid permissions to default fingerprint rc
Test: Sailfish has fingerprint present
Bug: 120112580

Change-Id: I11c3bf02ddb2102a6d326a35e360e067812b0b75
2018-12-03 23:18:37 +00:00
Keun Soo YIM
ff84c37bc1 pack VTS cc_test binaries as general-tests
Test: make general-tests
Bug: 120093339
Change-Id: I363450d205868f900e4925ccff1430e2a569f2a4
2018-11-27 16:11:41 -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
Steven Moreland
7a8b83e1ee vts fingerprint: IWYU utils/Condition.h am: 75023074cf am: 7f55da96a7 am: 342802f1f5
am: c11f6da572

Change-Id: I48596a08a52e3661d05c52edcd7e79d48bcbbed5
2018-08-08 11:12:39 -07:00
Steven Moreland
75023074cf vts fingerprint: IWYU utils/Condition.h
The standard library should be used instead of this class in new code,
but for simplicity, just IWYU (exposed by removing some headers from
some HIDL).

Bug: 65843592
Test: m only
Change-Id: Ib27c4c89a6aae551ebaeed05fc1bbadd780f4ba0
2018-08-07 21:36:11 +00: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
joshmccloskey
7897d0f573 Modified tests to account for different directories being used based on
different first API levels

Fixes: 80028983
Test: Ran tests on P17 and P18
Change-Id: I2752c5b8e15dc5e3ee386b0079a75b482a21543f
2018-05-29 21:44:10 +00:00
Tim Murray
d0fdb4431d fpc: keep fpc in system-background
The fingerprint HAL is insensitive to increased CPU throughput, but it also
has a tendency to spin while waiting for FP hardware. Limit FPC to the
system-background cpuset in order to avoid increased power consumption
when accidentally touching the fingerprint sensor.

bug 76115243
Test: fingerprint in system-background cpuset on taimen

Change-Id: Iaffe6f63bd76b7a1c4acaf0cae980840af515961
2018-03-21 15:42:09 -07:00
Zhuoyao Zhang
4d413de2e7 Convert fingerprint hal test to use VtsHalHidlTargetTestEnvBase am: e95d49ac44 am: 8c85bdb217
am: 1d56f169e2

Change-Id: Icc48f25f2800a5780f467c406c8d7a59e483ad04
2018-02-09 17:50:28 +00:00
Zhuoyao Zhang
e95d49ac44 Convert fingerprint hal test to use VtsHalHidlTargetTestEnvBase
Bug: 64203181
Test: make vts
      vts-tradefed run vts -m VtsHalBiometricsFingerprintV2_0Target

Change-Id: Ia5be72669a8abae64009c659b6c991a0e64c2d0d
2018-02-08 22:24:04 -08:00
TreeHugger Robot
7d7eae9f78 Merge "Remove subdirs" into stage-aosp-master 2017-11-29 01:16:32 +00:00
TreeHugger Robot
fb9588efc0 Merge "Remove subdirs" 2017-11-29 00:48:42 +00:00
Chih-Hung Hsieh
bbeae6fe23 Use -Werror in hardware/interfaces/biometrics/fingerprint am: 5631258f07 am: a5d28736f4
am: f5f555522b

Change-Id: Ic3bc06c4a3a404f395ced8a64b04d4d27905d3b7
2017-11-29 00:19:02 +00:00
Chih-Hung Hsieh
a5d28736f4 Use -Werror in hardware/interfaces/biometrics/fingerprint
am: 5631258f07

Change-Id: I6c81b78c4d00faccefdaa3e40ebcecc26222c5e9
2017-11-29 00:02:41 +00:00
Steven Moreland
e5c6548346 Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:23:43 -08:00
Steven Moreland
fcca4e23b7 Remove subdirs
Removing whenever I see these in code reviews.

Test: none
Merged-In: I4322f533a837d55618ec2ed2125e8966ace9d61d
Change-Id: I4322f533a837d55618ec2ed2125e8966ace9d61d
2017-11-28 14:22:43 -08:00
Chih-Hung Hsieh
5631258f07 Use -Werror in hardware/interfaces/biometrics/fingerprint
* Fix warning of unused function call result.

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I91da207b80d0715d015195357d645f8cf324fa1e
2017-11-28 13:40:33 -08:00
Xin Li
bb9e38fef9 Merge commit '1a06284b24f5eb7bb9c1fea0817da8898b3b1bff' from
oc-mr1-dev-plus-aosp into stage-aosp-master

Change-Id: I2a044eb8c9981d0a8198ffe2df55559afbd76341
Merged-In: I4fb9f18884f7ef21162015a0032c4431444f7025
2017-11-14 12:08:38 -08:00
Steven Moreland
8db261bc99 Updating makefiles for hidl_interface.
Bug: 64487114
Test: manual
Merged-In: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
Change-Id: Ie13d9e014cf2b81c18c67f551b4644fb9f0ba812
2017-11-13 10:00:18 -08:00
Steven Moreland
a1169dd600 Update makefiles for hidl_interface.
Bug: 35570956
Test: manual
Change-Id: I7a220b78ee081240e1dc30ef5672ba39e3e98375
2017-11-10 09:06:55 -08:00
Steven Moreland
d28c1bdf62 Merge "Automatic mk -> bp." am: e5fd969f19 am: 72c720a4e3
am: 26013bf6ac

Change-Id: Id936fb4806d122045c771c951220361efeef10c6
2017-11-07 21:24:49 +00:00
Steven Moreland
26013bf6ac Merge "Automatic mk -> bp." am: e5fd969f19
am: 72c720a4e3

Change-Id: Icfc8b46117e94461906806023852836a0ace3a55
2017-11-07 21:21:40 +00:00
Steven Moreland
90e3a50f03 Automatic mk -> bp.
Automatic mk -> bp conversion for all modules here
which can be converted and built automatically.

Test: Soong resolves all dependencies
Bug: 37512442
Change-Id: Ib789212cb88d55731397c600d132e7c672c0d8be
2017-11-03 16:30:28 +00:00
Tri Vo
dce01a0e64 Merge "Change tmp dir to /data/system/users/0/fpdata/." am: 3f4e982fbc am: 05a6820b76 am: 245ae95aa1
am: 75a193f6dc

Change-Id: Ic0a809c865d5bc4546483fff5dc34609ab024915
2017-10-15 04:00:09 +00:00
Tri Vo
75a193f6dc Merge "Change tmp dir to /data/system/users/0/fpdata/." am: 3f4e982fbc am: 05a6820b76
am: 245ae95aa1

Change-Id: I351a9f8bd8c4b7eeb311c4379f3ee21860ea0e3f
2017-10-15 03:43:18 +00:00
Tri Vo
3f4e982fbc Merge "Change tmp dir to /data/system/users/0/fpdata/." 2017-10-12 16:08:05 +00:00
Tri Vo
7314d858bf Change tmp dir to /data/system/users/0/fpdata/.
FP hal service can now access test tmp files without selinux denials.

Bug: 67665189
Test: VtsHalBiometricsFingerprintV2_1Target
Change-Id: Ie0a46513524c27bdb7bb42b08eabb57e943b26c6
2017-10-11 14:59:28 -07:00
Steven Moreland
1d7374c5e1 Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1 am: 6c811964a1
am: 116161d94e

Change-Id: I33643636e2511de77fdf7de57777eb67edee2e52
2017-10-11 16:39:21 +00:00
Steven Moreland
116161d94e Update for Soong java makefiles. am: c3e80fa01e am: 0fff75dee1
am: 6c811964a1

Change-Id: I85ccbb4a15cd18938607f5bca4e065b9d7e0182b
2017-10-11 16:31:07 +00:00
Steven Moreland
c3e80fa01e Update for Soong java makefiles.
Test: pass
Bug: 33420795
Change-Id: Id9b1919a19b8ff682738cfb0869a479b4dbb4293
2017-10-10 23:07:20 +00:00
Steven Moreland
70bfb9d250 Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985f am: b53e6ad535
am: 9a17f41f6f

Change-Id: I78d9292068b372238554fd9d35128e69f5b5f9d2
2017-10-04 21:54:11 +00:00
Steven Moreland
9a17f41f6f Merge "Update for hidl adapter module defaults." am: 988c977079 am: 861651985f
am: b53e6ad535

Change-Id: I23269fb7a9bdd352e670a80f390527d9eef31412
2017-10-04 21:51:00 +00:00
Steven Moreland
527fd76a0e Update for hidl adapter module defaults.
Test: pass
Change-Id: Idc6a943149a279bf17cfcfd0f2571473e53bbbbf
2017-10-04 12:47:03 -07:00
Steven Moreland
91799c6cc7 Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3 am: 71a193a425
am: 9fdd241905

Change-Id: I1c852fa6600fecc44d5afd1a65a5f51c43ecf71c
2017-09-27 00:02:52 +00:00
Steven Moreland
9fdd241905 Merge "Fix typo in update makefiles." am: 9960148420 am: f07e364ce3
am: 71a193a425

Change-Id: I45ae43f07323254212532acbf0f891d11143b05f
2017-09-26 23:58:51 +00:00
Steven Moreland
a5299ee739 Fix typo in update makefiles.
Bug: 37518178
Test: pass
Change-Id: Ic401b3a473f15ca4c01e58b3072e19db7c31b653
2017-09-26 21:59:43 +00:00
Steven Moreland
7741c0e17b Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e am: b94d0c7290
am: 97228c0b7d

Change-Id: Ic4b459b7c1a4325453945b0b00db8f44e4e77c26
2017-09-26 13:36:09 +00:00
Steven Moreland
97228c0b7d Update makefiles for hidl adapter. am: 26a0bb2762 am: 73949c1d7e
am: b94d0c7290

Change-Id: If766cffbcc003cc0cc5eb98969b924aa918fff44
2017-09-26 12:53:13 +00:00
Steven Moreland
26a0bb2762 Update makefiles for hidl adapter.
Bug: 37518178
Test: manual
Change-Id: I50e999907d3c64d2b039272b823971998da64d1b
2017-09-25 18:35:56 +00:00
Jaekyun Seok
81104ae5ef Add 'vendor.' prefix to a vendor HAL service name
To prevent property name collisions between properties of system and
vendor, 'vendor.' prefix must be added to a vendor HAL service name.
You can see the details in http://go/treble-sysprop-compatibility.

Test: succeeded building and tested on a walleye device
Bug: 36796459
Change-Id: I4e8fbee791ec917a8f627a1366f4d44ec7e6febc
2017-09-12 08:01:42 +09:00
Tri Vo
b65c5ceff2 VTS tests now static link to HAL def libs.
And use VtsHalTargetTestDefaults.
This is a partial cherry-pick of ag/2657080.

Bug: 64040096
Test: compiles, works fine in internal master
Merged-In: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
Change-Id: I76d47d8546416b57055841851a9d343026cd3210
2017-08-25 11:48:10 -07:00
Nick Desaulniers
3c739df264 biometrics: fingerprint: add locking to default impl
am: e637aa32b8

Change-Id: Ib9f1d713917a87520353d67b8cdabfcdd1f20048
2017-08-18 21:22:46 +00:00
Nick Desaulniers
e637aa32b8 biometrics: fingerprint: add locking to default impl
There exists the following race condition:
a). thread A receives setNotify and sets the callback to some object
b). thread B of the wrapped implementation calls
BiometricsFingerprint::notify which it was given a handle to. Thread B
executes past the nullptr check:
c). thread A receives setNotify and sets the callback to some other
object (or nullptr)
d). thread B resumes in notify with unknown state

Add mutex to protect access to mClientCallback.

Change-Id: I9163204ff5802e9246056caeb2a7857e6138531c
Fixes: 64802340
Test: VtsHalBiometricsFingerprintV2_1IfaceFuzzer
2017-08-18 17:14:53 +00:00
Steven Moreland
dfd8287506 Updating all makefiles.
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Merged-In: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
Merged-In: Ifdc3c17cb2b85c18b37dac2d03bb5c8935c23180
Change-Id: I170fa1c4fe39f8109b1670db58ef99bb11afc0be
2017-08-14 20:25:09 +00:00
Steven Moreland
4f25c2a143 Revert "Revert "Updating all makefiles.""
Relanding without automotive/vehicle/2.0+2.1 changes.

This reverts commit 1020ebedfb.

Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: Icc49df42c2bedf443d878d5d8fbaa53441ea65db
2017-08-11 23:02:01 +00:00
Steven Moreland
1020ebedfb Revert "Updating all makefiles."
This reverts commit 8ac1971678.

Reason for revert: Didn't remove automotive changes from this CL.

Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: I1c660cffc8817ad0b33da9f6eceb3d88e7c48416
2017-08-11 22:56:56 +00:00
Steven Moreland
8ac1971678 Updating all makefiles.
Bug: 64487114
Test: none
Merged-In: I8608c8f636c35f21e4246a805a9eff6d14124e0a
Change-Id: I2fa89b6661c39859ec4fb62c4bb0a05a35e645f0
2017-08-10 22:40:04 +00:00
Tri Vo
0c2ce357b1 VTS tests now static link to HAL def libs. #2
And use VtsHalTargetTestDefaults.

Bug: 64040096
Test: crop out all non-affected tests from vts-hal-hidl.xml and run
vts-tradefed run commandAndExit vts-hal-hidl --skip-all-system-status-check 
--skip-preconditions
2 failures, same as without this change:
GatekeeperHidlTest.DeleteAllUsersTest
GatekeeperHidlTest.DeleteUserTest

Change-Id: I8f6995e9536a9aefe283ee3effec9f5a7f03b620
2017-08-10 17:44:57 +00:00
Justin Yun
608d773ef8 Update make file for vndk enabled.
Update the Android.bp generated with hidl-gen.

Test: build with and without BOARD_VNDK_VERSION=current
Bug: 63866913
Change-Id: I1a9db1df49e0f13c5790da2b118ae9ec63ba34a7
2017-08-04 14:12:23 +09:00
Tri Vo
f5d136c231 Update Android.bp HIDL makefiles
Allow HAL definition libs to be static.

Bug: 32920003
Bug: 64040096
Test: update-all-google-makefiles.sh
Change-Id: I1483d572bea6799717d1614fb7d52fe225e31104
2017-08-03 00:30:01 +00:00
Steven Moreland
f203167814 Update makefiles. (2/2)
am: 76cfb84140

Change-Id: I24d21438a5b2f447d2160929c6ff6e17b2b66820
2017-05-22 17:15:20 +00:00
Steven Moreland
76cfb84140 Update makefiles. (2/2)
Adds default configuration for all hals.

Bug: 38415912
Test: pass
Change-Id: Idd1f3a2b7b16ad956d31784a513e93a066cdd02e
2017-05-19 15:54:03 -07:00
Steven Moreland
a32ebce372 Update makefiles for c++-sources and c++-headers. (2/2)
am: bc71124120

Change-Id: Icf36068a4d863a8520854c7a83e51f960c188e12
2017-05-11 00:48:55 +00:00
Steven Moreland
bc71124120 Update makefiles for c++-sources and c++-headers. (2/2)
Test: pass
Bug: 38174080
Change-Id: Icad451f9f9ad5f46412356a4171a8a1222f8e545
2017-05-09 19:58:43 -07:00
Steven Moreland
5c63b11f76 Remove redundant dependencies
android.hidl.base@1.0 and android.hidl.manager@1.0 are built into libhidltransport.

Test: links
Bug: 33276472
Merged-In: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
Change-Id: I08aaad80f7e2fc262aa3a8b66fe932e8133a928d
2017-05-02 15:29:30 -07:00
Kevin Chyn
10dfcc14dc Add onAcquired log back
It was in fingerprintd, which is replaced now

Fixes: 37677260
Test: touch FP when enrolling/authenticating and make sure
onAcquired log is there

Change-Id: Iadecdfa1c18b0aaa083de18dbe7f701c78465ace
2017-04-25 15:05:32 -07:00
TreeHugger Robot
04b086dd08 Merge "setActiveGroup null, 0 length, unwritable dir should fail" into oc-dev 2017-04-14 23:10:32 +00:00
Kevin Chyn
d7e9b0fdc7 setActiveGroup null, 0 length, unwritable dir should fail
with this change, VTS test needs to run in /data/system/
due to SELinux policy + Linux directory permissions

Test: run VTS tests and make sure they all pass
Fixes 37153318

Change-Id: Ib1f19ce7fc0d08ae2941aec5c08c5857c7a9f2fd
2017-04-14 14:10:19 -07:00
TreeHugger Robot
8afd952d48 Merge "Changed the naming scheme for Treble java libraries (both static and dynamic)" into oc-dev 2017-04-14 02:13:28 +00:00
Steven Moreland
750ede4cf9 fingerprint: clean up includes
Bug: 33241851
Test: links
Test: works with BOARD_VNDK_VERSION := current
Change-Id: I7cfec2b8459964edf9a180d01cfdd90dae376fb9
2017-04-13 16:13:47 -07:00
Andreas Huber
6fa374ad30 Changed the naming scheme for Treble java libraries (both static and dynamic)
android.hardware.foo@1.0-java => android.hardware.foo-V1.0-java

Bug: 37207894
Test: make
Change-Id: I177f4cfd42f635aaf096107af8309d1a82ed41c0
Merged-In: I8b91881dfaf507c0d852d56ebbb53ff0987e5a34
2017-04-13 15:23:46 -07:00
Steven Moreland
3b36a83a2e Update makefiles (2/2).
Test: pass
Change-Id: Ic7e6289c7b69785491708ce0acbb657f4c704229
2017-04-11 09:58:03 -07:00
Jim Miller
d361f033d4 Log errno
Bug 36790737

Test: ensure errno is logged
Change-Id: Ifa9a0b6ee0baebfdfce894622ef40888dd83dddf
2017-04-06 17:07:48 -07:00
Andreas Huber
40d3a9bd8c Convert all comments into "doxygen-ready" comments.
Bug: 36453077
Test: mma
Change-Id: I0b1f77dfae5d2258969e33d85ecf45401ffbdfaa
2017-03-29 08:53:58 -07:00
Steven Moreland
561b602a99 Update makefiles for hwtypes.h
Test: pass
Change-Id: I8e17eb8fec5d2f04c526476a866c8dd54ccb556c
2017-03-28 15:18:20 +00:00
Kevin Chyn
dfe3d8186f Fingerprint vts tests.
Fix callback mechanism. Add tests for uncovered interfaces.

Test: make vts && adb push
out/host/linux-x86/vts/android-vts/testcases/DATA/nativetest64/VtsHalBiometricsFingerprintV2_1TargetTest/VtsHalBiometricsFingerprintV2_1TargetTest
/data/local/tmp/ && adb shell
./data/local/tmp/VtsHalBiometricsFingerprintV2_1TargetTest
Bug: 32022721
Change-Id: Ibeb955bfb937d9f23f98a2e073235aa745183e94
2017-03-27 13:33:43 -07:00
Nick Desaulniers
8174a847f2 fingerprint: check return status of hwbinder calls
If system_server dies, and return codes of hwbinder calls are not
checked, an abort of the HAL service will occur.  In this case,
warn in the logs, but allow system_server to reopen HAL.

Bug: 34867134
Change-Id: I9fe1c2c0f1c03e8debafb56bff8a7490ccbbcec0
2017-03-20 14:12:43 -07:00
Yifan Hong
4681ab8b21 IBiometricsFingerprint uses "default" service name
The getService() and registerAsService() methods of interface objects
now have default parameters of "default" for the service name. HALs
will not have to use any service name unless they want to register
more than one service.

Test: fingerprint works

Bug: 33844934
Change-Id: I6383c43b4b05469cb986e4f10129a0921f401464
2017-03-16 15:39:08 -07:00
Yuexi Ma
ed2bb4e8f8 Change vts target base test class name
Test: make vts succeed, vts kernel tests and nfc hal tests passed
Change-Id: I95f10ad7a66f261c9030357edd411fe6d94150e8
2017-03-10 21:14:48 +00:00
TreeHugger Robot
ed27972104 Merge "vts: fingerprint: properly set timeouts for tests" 2017-03-09 22:53:45 +00:00
Nick Desaulniers
20ce824289 vts: fingerprint: properly set timeouts for tests
Test:
  make vts;
  adb push
    out/host/linux-x86/vts/android-vts/testcases/DATA/nativetest64/VtsHalBiometricsFingerprintV2_1TargetTest/VtsHalBiometricsFingerprintV2_1TargetTest
    /data/local/tmp/.;
  adb shell /data/local/tmp/VtsHalBiometricsFingerprintV2_1TargetTest

Bug: 32022721
Bug: 34179855
Change-Id: I92ba6157d378fe04b5319b951fa0ef06f6cbaa42
2017-03-09 13:32:10 -08:00
Steven Moreland
48c52249e4 hidl_default to all targets.
find hardware/interfaces -type f -not -path "*/.git/*" \
-exec sed -i -e '/cc_[A-Za-z_]\+/ { N; s/$/\n    defaults:
\["hidl_defaults"\],/ }' {} \;
./hardware/interfaces/update-makefiles.sh

Test: pass
Bug: 35840847
Change-Id: If10c464d2f000b85c8d698fe11a4f3fc4cfad282
2017-03-08 19:31:53 -08:00
Yuexi Ma
50d7e27b3c change all vts hidl tests to use VtsHalHidlTargetBaseTest (internal master)
Bug: 33385836
Test: mma
Change-Id: Ide3ebc4a9db76257f33bcfb0c1f13d2ee33eeaa8
2017-02-28 22:27:28 +00:00
Steven Moreland
7e73d5b908 Remove viral dependency on libhwbinder. (2/2)
find hardware/interfaces -name Android.mk -exec sed -i -e '/libhwbinder
\\/d' {} \;
find hardware/interfaces -name Android.bp -exec sed -i -e
'/"libhwbinder"/d' {} \;
./hardware/interfaces/update-makefiles.sh

Note, automotive has some actual dependencies on libhwbinder, filed
b/35758626 for this.

Test: everything links
Test: (sanity) booted marlin on internal master with these changes
Bug: 35710429
Change-Id: I6d0726c8130d00684b978efbdd48e3ae396f12e5
2017-02-24 12:18:01 -08:00
Tri Vo
d94a7d2df9 Remove .vts spec files
Test: mmma hardware/interfaces
Change-Id: Idae97ce60a6368cfa685ae6b2d71b9ad163e8605
2017-02-22 12:53:52 -08:00
Tri Vo
24602752fa Update makefiles.
Test: mmma hardware/interfaces
Change-Id: Id671b950aabaeb40a7989c094983ccb5c98df528
2017-02-22 12:53:52 -08:00
Zhuoyao Zhang
8422f6aa04 Update the test binary and source file name on master.
* To confirm with Vts naming convention.

Bug: 35273456
Test: mma
Change-Id: I845da64085253cd02480465479618308045a52ed
2017-02-21 20:47:18 -08:00
Ryan Campbell
2caf0a60f3 Remove coverage flags from tests.
Remove unnecessary coverage flags from HAL tests.

Bug: 32749731
Test: none
Change-Id: I7e4e3bce2d9d444bfa8475c140bce2ee7e3b0c0d
2017-02-14 16:50:34 -08:00
Zhuoyao Zhang
f008f8fdc4 Merge "Update .vts files on master based on the latest .hal file and hidl-gen" 2017-02-14 18:51:27 +00:00
Zhuoyao Zhang
3bef939f94 Update .vts files on master based on the latest .hal file and hidl-gen
Test: mma
Change-Id: I9558f300505db83e26f7c241c5cf729cd005a07b
2017-02-13 18:03:06 -08:00
Steven Moreland
a0da1a1c3d Move hidl shims to the vendor partition. (2/2)
We need google shims on the vendor partition because they are providing
an implementation of a vendor defined interface. They were written by
google just as a courtesy/to make the transition easier. They're
basically a set for vendors to assemble their hal implementations
from.

Bug: 34135607
Test: marlin persist.hal.binderization on/off
Change-Id: I2e2af5af39264cf290259755bb9b2eb9827a21f5
2017-02-13 15:03:41 -08:00
TreeHugger Robot
86fa244c12 Merge "Update makefiles to use filgroup syntax." 2017-02-10 23:25:52 +00:00
TreeHugger Robot
b8769344f9 Merge "Fingerprint VTS" 2017-02-10 23:12:54 +00:00
Tri Vo
85120c9490 Update makefiles to use filgroup syntax.
Test: mmma hardware/interfaces
Change-Id: I9f4457c78b7820c242d46359f0debe05d1b3e482
2017-02-10 12:45:19 -08:00
Andreas Huber
d38f147c35 Updated makefiles
Java intermediates are now created in the common rather than the device-
specific generated sources subdirectory.

Bug: 33842609
Test: make
Change-Id: I16af4cd19bf0b24baa0ad9ebfdb86b4d959c8672
2017-02-09 17:20:45 -08:00
Tri Vo
ce608bec74 Migrate driver/profiler to test/vts-testcase/hal.
Bug: 34893894
Test: mmma hardware/interfaces

Change-Id: Ic72716577a5f93700c5056986aff55a76b170b5d
2017-02-07 19:13:28 -08:00
Nick Desaulniers
20105c8b71 Fingerprint VTS
Bug: 34179855
Test:
  make vts;
  adb push
    out/host/linux-x86/vts/android-vts/testcases/DATA/nativetest64/fingerprint_hidl_hal_test/fingerprint_hidl_hal_test
    /data/local/tmp/.;
  adb shell /data/local/tmp/fingerprint_hidl_hal_test;

Change-Id: If9174dc34d0802388a9af8cda88b28329248bc42
2017-02-07 12:21:38 -08:00
Zhuoyao Zhang
60a3eee183 Merge "Update Andriod.bp for hals." 2017-02-03 23:46:49 +00:00
Zhuoyao Zhang
e9b43bbe2d Update Andriod.bp for hals.
* Add driver/profiler build rule for all hals.

Test: mma
Change-Id: I98325f7af14fec7dd1bb64b1668de8c7c20ace92
2017-02-03 10:03:01 -08:00
Yifan Hong
2b60a7d5e1 nit fix: compiler warning for BiometricsFingerprint.cpp
Test: make -j64 compiles without warning
Change-Id: Ieb8e9cd081a4e0511031b7a01deb0f7368a9d70e
2017-01-31 14:51:37 -08:00
Jim Miller
7802f42124 Merge "clean up default fingerprint HIDL@2.1 implementation" 2017-01-26 05:38:44 +00:00
Jim Miller
5f26c1ace2 clean up default fingerprint HIDL@2.1 implementation
- remove Binder dependency by passing keystore token to onAuthenticated()
- move notify() to cpp file

Test: recovers from killing keystore, fingerprint unlocks device,
FingerprintDialog works with crypto objects.

Fixes bug 34264028

Change-Id: Ic0de31603f4bc4147d6faf014af89e787b1ef244
2017-01-25 15:09:37 -08:00
Ryan Campbell
6d7514a4ce Update fingerprint makefile.
Update fingerprint makefile with VTS support in HIDL.

Test: pass
Bug: 34518442
Change-Id: I4556b027f4217ef9748e07555705911c03e1cbbd
2017-01-25 04:03:56 +00:00
Janis Danisevskis
a47afa9439 Adjust for minor changes in the native keystore client interface
Test: boot and use fingerprint to get an auth token
Change-Id: Ib5089457f31d17b73842e5aa4c73e61b590e6fbd
2017-01-20 13:51:53 +00:00
Jim Miller
6bfee7ccb1 Merge "Fix fingerprint crypto operations." 2017-01-19 23:43:26 +00:00
Jim Miller
7f7eb474ce Fix fingerprint crypto operations.
This fixes a bug introduced in the HIDL port where fingerprint no
longer notifies keystore of authentications.

Test: keyguard, FingerprintDialog

Fixes bug 34200870

Change-Id: I5227a5f7feb9eee926ea1511001d0303c90dc594
2017-01-19 13:20:05 -08:00
Steven Moreland
f37a0a439d Ran update-makefiles.sh.
GNSS/Fingerprint/Graphics have all gotten out of sync.

Bug: 34397031
Test: compiles
Change-Id: Ie0a081a4574fd617d5d97ca30ba879f5284efd64
2017-01-19 02:10:44 +00:00
Jim Miller
902de51533 have hal2.1 register as the fingerprint service
Test: fingerprint's should be add-able.
Bug: 33199080
Change-Id: I30dd26c484848163ad63ee9bbd45f1d1ae869a14
2017-01-17 11:45:41 -08:00
Mark Salyzyn
3ff5260601 liblog: use log/log.h when utilizing ALOG macros
Test: compile
Bug: 30465923
Change-Id: I67046a75be057e7905570748a1ed6bfd03c0e1c8
2017-01-11 15:47:40 -08:00
Yifan Hong
a18049ad13 Bp/nFoo -> Bp/nHwFoo.
Test: mma
Bug: 33554989
Change-Id: I4b3f852d20fdfc49f2da671dd3c12d618ffb4140
2017-01-11 13:14:59 -08:00
Yifan Hong
501839495f Update makefiles for hidlizing IBase.
A new dependency android.hidl.base@1.0 is added for
all projects.

Test: mma

Change-Id: Ia70d0eb0d74de06475a339698386d383d491a43a
2016-12-03 01:01:14 -08:00
Yifan Hong
f9d303435d Update to use the correct logging library.
Test: mma compiles
Change-Id: Idb33dea5faaf1a5e54719c2a5a683d2d47e9b8e8
2016-12-01 17:47:02 -08:00
Steven Moreland
f8d68ec855 Update makefiles for logging.
Bug: 32943424
Test: pass
Change-Id: Ic88ce6adf04e0e36db53e4cc06ac2ec5a90c011c
2016-11-21 16:28:54 -08:00
Yifan Hong
6b920e43d3 Split libhidl into base and transport.
Bug: 32756130

Test: mma
Change-Id: Id21cf23abe2910f26bb7895511862443b93dc112
2016-11-18 00:00:54 -08:00
Sasha Levitskiy
52640ee9e1 Fingerprint: Treble: Fix compatibility in the interface description
Bug: 31973669
Test: Human functionality test
Change-Id: I7e3ef8eb9fbcd88a1a22e2e8bbae71756e079862
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2016-11-15 17:04:51 -08:00
Sasha Levitskiy
965bd32a70 Fingerprint: HIDL: add default HAL 2.1 implementation
Test: Manual fingerprint functionality verification.

Bug: 31973669
Change-Id: Ib8bcf602ba0c8884b13d31eb23baa88a912ace20
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2016-11-07 13:09:08 -08:00
Colin Cross
b785f5b82e Support genrules with multiple tools
To allow genrules with more than one tool, rename the tool property to
tools and make it an array, replace $tool with $(location <label>),
and use $() for other variables for consistency.

Bug: 31948427
Test: compare build.ninja
Change-Id: I3d714f70a2af0dc60faeee10e09b6ed166601f1d
2016-11-04 22:49:15 -07:00
Steven Moreland
fcd74ebcdc Running update makefiles.
https://android-review.googlesource.com/#/c/298160/

Test: pass
Change-Id: I14fcde2d3aacc8f8cd9221f2d69e2feae9ae1226
2016-11-02 10:24:33 -07:00
Steven Moreland
69727778a7 Stop all these merge conflicts.
Test: mma -j64
Change-Id: I319198af32adf1fef180c5c2c22ba4b360fa7609
2016-10-26 12:04:37 +02:00
Sasha Levitskiy
2ef9f668d4 Fingerpint: HIDL: Fix annotation typos.
Test: make bullhead_treble-userdebug
Bug: 32234898
Change-Id: I4a9a846b6647a559dcb2eb33dc7573c5c4b2e1d3
Signed-off-by: Sasha Levitskiy <sanek@google.com>
2016-10-21 11:13:03 -07:00
Sasha Levitskiy
7bceb23032 Fingerprint: HIDL: add legacy (2.1) interface definition.
Test: make for bullhead_treble

Change-Id: Ibc720d8cfdd6a3a39904787885ba4f2e398979b3
2016-10-13 09:20:01 -07:00