Commit graph

340 commits

Author SHA1 Message Date
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
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