Commit Graph

27779 Commits

Author SHA1 Message Date
Yifan Hong
6446c735a6 Add audio V7 to compatility matrix.
All HIDL HALs defined in the source tree must be specified
in some framework compatibility matrix.

Bug: 110261831
Test: builds
Change-Id: I98a0798cc08761e8aa6a9ca920c67aa6f8155de4
2020-09-15 20:46:36 +00:00
TreeHugger Robot
943e5ad18e Merge changes from topic "IFingerprint.aidl"
* changes:
  Default implementation for IFingerprint
  Add VTS tests for IFingerprint
  Define IFingerprint
2020-09-12 02:25:26 +00:00
Felipe Leme
e57306e747 [automerger skipped] Merge "Add a native UserHalHelper library." am: 82120a8ce4 am: 67a276e764 am: c9a594fc65 am: e14c0eae69 -s ours am: eb2cb587e5 -s ours
am skip reason: Change-Id I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b with SHA-1 b33e2abbfe is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425310

Change-Id: I7bc1581c26fe0fa0e3d1d7bf5b5d1e0a93970011
2020-09-11 23:56:45 +00:00
Felipe Leme
9ccbb08cd2 Added myself (A.K.A felipeal@) to OWNERS. am: 3e15feb00f am: cbae7c852b am: cfecfdd960 am: 48d15fb914 am: d7c0b3d80a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425535

Change-Id: I57831d231fe6b8af2e7e315eaa093e63c358c9f4
2020-09-11 23:45:09 +00:00
Xin Li
386a88e8da [automerger skipped] Merge Android R am: 1136876068 -s ours am: e8d98e4d14 -s ours am: 2c7b6e54c3 -s ours am: 10f108d342 -s ours am: a7661d1c68 -s ours
am skip reason: Change-Id I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68 with SHA-1 f9d897c0ce is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1422435

Change-Id: I19549799d4d5c095a9365141abbd4bae08295c94
2020-09-11 21:27:32 +00:00
Felipe Leme
eb2cb587e5 [automerger skipped] Merge "Add a native UserHalHelper library." am: 82120a8ce4 am: 67a276e764 am: c9a594fc65 am: e14c0eae69 -s ours
am skip reason: Change-Id I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b with SHA-1 b33e2abbfe is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425310

Change-Id: I4010385f34de99cd9a0dc2b9ccaeb15dbf694dd5
2020-09-11 20:17:04 +00:00
Felipe Leme
d7c0b3d80a Added myself (A.K.A felipeal@) to OWNERS. am: 3e15feb00f am: cbae7c852b am: cfecfdd960 am: 48d15fb914
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425535

Change-Id: I72a52bd2fb076c9b7526c134dd6bca1504aa31c4
2020-09-11 20:16:47 +00:00
Felipe Leme
e14c0eae69 Merge "Add a native UserHalHelper library." am: 82120a8ce4 am: 67a276e764 am: c9a594fc65
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425310

Change-Id: Idc8205b9d413b273b857fe7c50e4b91b345f0c41
2020-09-11 19:51:22 +00:00
Felipe Leme
48d15fb914 Added myself (A.K.A felipeal@) to OWNERS. am: 3e15feb00f am: cbae7c852b am: cfecfdd960
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425535

Change-Id: Ib81bae18c93f3d5e4c212d7ee3ed3820b1977375
2020-09-11 19:51:06 +00:00
Felipe Leme
c9a594fc65 Merge "Add a native UserHalHelper library." am: 82120a8ce4 am: 67a276e764
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425310

Change-Id: I0d1d88bf6aca3324e8348642aa7e77aa663ba806
2020-09-11 19:09:16 +00:00
Felipe Leme
67a276e764 Merge "Add a native UserHalHelper library." am: 82120a8ce4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425310

Change-Id: I65b9541fee41d161c416b2dd401d962e4fdecf69
2020-09-11 18:58:13 +00:00
Felipe Leme
cfecfdd960 Added myself (A.K.A felipeal@) to OWNERS. am: 3e15feb00f am: cbae7c852b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425535

Change-Id: Id007bb0e4d2ea99283f23f65e1d9f05138870854
2020-09-11 18:56:42 +00:00
Felipe Leme
cbae7c852b Added myself (A.K.A felipeal@) to OWNERS. am: 3e15feb00f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425535

Change-Id: I0108032854cff71fc68c59f7207c38ab33f443c4
2020-09-11 18:33:12 +00:00
Xusong Wang
af9ac3b8a0 Suppress gtest error for tests without any instance
NNAPI VTS is parameterized by discovered devices. When there is no
device available, the compilation caching and memory domain tests will
not be instantiated, and will cause a gtest error. This patch suppresses
the error by GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST macro.

Bug: 168152007
Test: 1.2/1.3 VTS without NNAPI driver
Change-Id: I715ae6f45df66e4a03c12b5d3f38bcc028a9ed7c
2020-09-11 10:55:36 -07:00
Felipe Leme
82120a8ce4 Merge "Add a native UserHalHelper library." 2020-09-11 17:43:04 +00:00
Felipe Leme
3e15feb00f Added myself (A.K.A felipeal@) to OWNERS.
Test: N/A
Bug: N/A

Change-Id: Ic5921afceecb1869fcfeda5670b2465a85202cfc
2020-09-11 09:59:11 -07:00
Lakshman Annadorai
3568c5c3b7 Add a native UserHalHelper library.
This library contains helper functions to convert the User HAL reponse
structs to VehiclePropValues and request VehiclePropValues to HAL
structs.

Test: atest android.hardware.automotive.vehicle@2.0-utils-unit-tests
Bug: 150409377
Bug: 167588307

Change-Id: I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b
Merged-In: I978b39e2f3ee58eb3b154f507c714ca1ba2d1e3b
(cherry picked from commit b33e2abbfe)
2020-09-11 16:06:42 +00:00
Xin Li
a7661d1c68 [automerger skipped] Merge Android R am: 1136876068 -s ours am: e8d98e4d14 -s ours am: 2c7b6e54c3 -s ours am: 10f108d342 -s ours
am skip reason: Change-Id I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68 with SHA-1 f9d897c0ce is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1422435

Change-Id: I987f9f5ddfaca47459a2ca64f97a2ec6ca3cc83b
2020-09-11 03:59:02 +00:00
Xin Li
10f108d342 [automerger skipped] Merge Android R am: 1136876068 -s ours am: e8d98e4d14 -s ours am: 2c7b6e54c3 -s ours
am skip reason: Change-Id I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68 with SHA-1 f9d897c0ce is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1422435

Change-Id: I1cf1d9c821c764166cd807a90ead1345dbbe339c
2020-09-11 03:33:32 +00:00
Ilya Matyukhin
a9a3c850bc Default implementation for IFingerprint
Bug: 152416783
Test: atest VtsHalBiometricsFingerprintTargetTest
Test: atest vts_treble_vintf_vendor_test
Test: atest hal_implementation_test
Change-Id: I67efda2d5418147a7cac9cc54920005a199fcbe3
2020-09-10 19:38:49 -07:00
Ilya Matyukhin
14412df89f Add VTS tests for IFingerprint
Bug: 152416783
Test: atest VtsHalBiometricsFingerprintTargetTest
Change-Id: I6aec70e8f9f4342cab2f7ce367698841e22f57f1
2020-09-10 19:38:49 -07:00
Ilya Matyukhin
ed361970c6 Define IFingerprint
Bug: 152416783
Test: m android.hardware.biometrics.fingerprint-update-api
Change-Id: Iba1fae1739366955b6aaed55b59eed0a3fed5a57
2020-09-10 19:38:49 -07:00
Yifan Hong
1da23f2c85 Add fingerprint 2.3 to compatibility matrix.
Test: builds
Bug: 110261831
Change-Id: Ia732a450685ddca53a087e443e121ae47e9e1bf0
2020-09-11 02:30:13 +00:00
Xin Li
2c7b6e54c3 [automerger skipped] Merge Android R am: 1136876068 -s ours am: e8d98e4d14 -s ours
am skip reason: Change-Id I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68 with SHA-1 f9d897c0ce is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1422435

Change-Id: I229165230cd1f6597b8126cb4f941dc8b47437ed
2020-09-11 02:02:41 +00:00
Xin Li
e8d98e4d14 [automerger skipped] Merge Android R am: 1136876068 -s ours
am skip reason: Change-Id I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68 with SHA-1 f9d897c0ce is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1422435

Change-Id: I68e800f6febbf808fc3e3f6117cf3abed5090c30
2020-09-11 00:40:12 +00:00
Kai Wang
770fa0e274 Merge "Add configArray for Gear_Selection in google VHAL" 2020-09-10 19:41:58 +00:00
Xin Li
1136876068 Merge Android R
Bug: 168057903
Merged-In: I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68
Change-Id: I0586c24e16b7d052b0d209e2dffd6124492fcafa
2020-09-09 20:21:17 -07:00
Xusong Wang
ff82dd52a6 Merge "Increase NNAPI VTS single-test timeout to 20m." am: e551cc102e am: aab6678cb4 am: 86de7e8cb4 am: 46d169d055 am: b3a3b0b591
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1380711

Change-Id: I2a76878d7994a936fd8bbff8fde9e2cdbb5287ee
2020-09-10 03:01:30 +00:00
Xusong Wang
b3a3b0b591 Merge "Increase NNAPI VTS single-test timeout to 20m." am: e551cc102e am: aab6678cb4 am: 86de7e8cb4 am: 46d169d055
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1380711

Change-Id: I0619f494ea4699b1fa3daaf24ada48380e8f2f98
2020-09-10 02:32:18 +00:00
Xusong Wang
46d169d055 Merge "Increase NNAPI VTS single-test timeout to 20m." am: e551cc102e am: aab6678cb4 am: 86de7e8cb4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1380711

Change-Id: Ic0d9348652fe2d4b49092137af6b559d65721366
2020-09-10 02:07:05 +00:00
Xusong Wang
86de7e8cb4 Merge "Increase NNAPI VTS single-test timeout to 20m." am: e551cc102e am: aab6678cb4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1380711

Change-Id: I3ea2766b17de82073ab2811e3c7b3ea08fbd0347
2020-09-10 01:49:59 +00:00
Henry Fang
cc89c30c2e [automerger skipped] Add cas@1.2 to compatibility matrix am: 20e36cf74a -s ours am: f9d897c0ce -s ours am: 13fd251180 -s ours am: 4c9990a390 -s ours am: e12846deab -s ours
am skip reason: Change-Id I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7 with SHA-1 0ce0f981a7 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1423572

Change-Id: Ifec07f7955f68c110daf6ef1ca8b9c9132c4af90
2020-09-10 01:46:46 +00:00
Henry Fang
e12846deab [automerger skipped] Add cas@1.2 to compatibility matrix am: 20e36cf74a -s ours am: f9d897c0ce -s ours am: 13fd251180 -s ours am: 4c9990a390 -s ours
am skip reason: Change-Id I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7 with SHA-1 0ce0f981a7 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1423572

Change-Id: Id7b413184a112888d30854eca85f3a6cf9ff67f1
2020-09-10 01:43:12 +00:00
Xusong Wang
aab6678cb4 Merge "Increase NNAPI VTS single-test timeout to 20m." am: e551cc102e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1380711

Change-Id: I17f3ca8aeaa66e2bcc6a1b0613e76230faea2a9a
2020-09-10 01:36:11 +00:00
Henry Fang
4c9990a390 [automerger skipped] Add cas@1.2 to compatibility matrix am: 20e36cf74a -s ours am: f9d897c0ce -s ours am: 13fd251180 -s ours
am skip reason: Change-Id I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7 with SHA-1 0ce0f981a7 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1423572

Change-Id: Ifa0ba89f34c14abbc011b3dd9afbdd1a42b83680
2020-09-10 01:14:47 +00:00
Xusong Wang
e551cc102e Merge "Increase NNAPI VTS single-test timeout to 20m." 2020-09-10 00:58:28 +00:00
Xusong Wang
7a8a6dd5af Increase NNAPI VTS single-test timeout to 20m.
SaveToCache_TOCTOU/PrepareFromCache_TOCTOU loops 100 times to generate
and reload compilation cache. Some drivers may hit the 60-second
timeout.

Bug: 160197150
Test: Add a test sleeping for 2min to NNAPI 1.2/1.3 VTS
      and run with vts-tradefed
Change-Id: Id232f4954180d8d7a9b91f8d2e4e6f2ee4640ed7
2020-09-10 00:58:10 +00:00
Henry Fang
13fd251180 [automerger skipped] Add cas@1.2 to compatibility matrix am: 20e36cf74a -s ours am: f9d897c0ce -s ours
am skip reason: Change-Id I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7 with SHA-1 0ce0f981a7 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1423572

Change-Id: Icb78348b3986ccd374f5a799f7c4534c4fc97f5b
2020-09-10 00:45:49 +00:00
Henry Fang
f9d897c0ce [automerger skipped] Add cas@1.2 to compatibility matrix am: 20e36cf74a -s ours
am skip reason: Change-Id I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7 with SHA-1 0ce0f981a7 is in history

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1423572

Change-Id: I33c8b79d82aaaecd05cc1c74f6c6a8613c42fa68
2020-09-10 00:31:04 +00:00
Henry Fang
20e36cf74a Add cas@1.2 to compatibility matrix
Test: m check-vintf-all
Bug: 141783130
Bug: 110261831

Change-Id: Ie8fda69f5552e4e9d92262695884e0de0097fe76
Merged-In: I487aa47c13ad1a50831ddbcb3b9b25de9972e5b7
2020-09-09 14:44:46 -07:00
TreeHugger Robot
a20280dae4 Merge changes from topics "aae-watchdog-vhal-integration", "aae_new_vhal_healthcheck"
* changes:
  New health check in VHAL
  Add vehicle properties to integrate car watchdog
2020-09-09 20:04:00 +00:00
Chris Weir
c9b507f7ee Merge "Add support for poll()-ing nlsockets" 2020-09-09 18:04:16 +00:00
Eric Jeong
81108e249c New health check in VHAL
- VHAL will not be a client to car watchdog.
- Instead, VHAL updates VHAL_HEARTBEAT periodically and car watchdog
determines VHAL's health based on it.

Bug: 165861394
Test: manual test
Change-Id: If84979ad4ed4dd60c18810b8ae17d6ed8e9bb132
2020-09-08 18:56:24 -07:00
Eric Jeong
c5cd6b7c6d Add vehicle properties to integrate car watchdog
- WATCHDOG_ALIVE to tell car watchdog is alive
- WATCHDOG_TERMINATED_PROCESS to pass a process information terminated
- VHAL_HEARTBEAT to signal that VHAL is alive
by car watchdog

Bug: 159912961
Test: build okay
Change-Id: I0498d525aa6465199f0b0011600234feaf7c4aa4
2020-09-08 18:56:03 -07:00
Dan Shi
d4b249725b Merge "Suppress gtest error for tests without any instance" 2020-09-08 23:33:38 +00:00
chrisweir
50c25280c1 Add support for poll()-ing nlsockets
Adding support for polling netlink sockets.

Bug: 168050726
Test: Verify that Netlink Proxy works
Change-Id: I1e363a9c5cb77b10f247d27cc4e6a2428aa92211
2020-09-08 15:16:34 -07:00
Les Lee
c5e6608a68 Merge "wifi: Add Mobile Hotspot(MHS) info callback" 2020-09-08 21:52:54 +00:00
Dan Shi
6b0fd062bb Suppress gtest error for tests without any instance
Bug: 162052785
Test: m -j vts
Change-Id: I627d6790aa08aa9c6e3c5b8bdc533213ee08de21
2020-09-08 10:42:38 -07:00
TreeHugger Robot
353fe667fc Merge "Allow gtest to instantiate no tests without failures" 2020-09-08 17:15:09 +00:00
Jimmy Chen
b1fb1ef306 Merge changes from topic "60ghz-3-google-hal-60ghz"
* changes:
  Wifi: support 60GHz (Wigig) band
  Wifi: add new chip capability WIGIG
2020-09-04 15:10:36 +00:00