Commit graph

28427 commits

Author SHA1 Message Date
Dan Shi
492f58ac13 [automerger skipped] Rename vts-core to vts am: 97225977fb -s ours am: be92e8b830 -s ours am: d4a390a8dd -s ours am: 97c5a560e5 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

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

Change-Id: I84b27df99541de3bc11777d4ebf7c8972e27a5cd
2020-09-29 21:44:23 +00:00
Dan Shi
f455b49484 [automerger skipped] Rename vts-core to vts am: 3437ee6816 -s ours am: 6de39bafc9 -s ours am: 480a8e9737 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

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

Change-Id: I69d669c919e890d9e6290c27537c3337cdaa55ab
2020-09-29 21:44:08 +00:00
Dan Shi
164c355f08 [automerger skipped] Rename vts-core to vts am: 2fdd0c5c39 -s ours am: ac75d194aa -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

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

Change-Id: Ic37a7444a473874d2eba54bdcadeb1289b357676
2020-09-29 21:43:04 +00:00
nchalko
2810f12eae Remove outdated warning now that the v1.0 had shipped am: 897f0d48bb am: 1366d334a1 am: 3b12885c63 am: 149d54ec95
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1441474

Change-Id: I783eb94f4a36a7f8288150f99a867aa90eac6065
2020-09-29 21:23:41 +00:00
Dan Shi
97c5a560e5 [automerger skipped] Rename vts-core to vts am: 97225977fb -s ours am: be92e8b830 -s ours am: d4a390a8dd -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

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

Change-Id: I4fe766cadf9388eac64e583bc244fc791d250665
2020-09-29 21:23:34 +00:00
Dan Shi
480a8e9737 [automerger skipped] Rename vts-core to vts am: 3437ee6816 -s ours am: 6de39bafc9 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

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

Change-Id: I9adf67c3ae1c49c1dbc015ca1b7b4e851e19e03f
2020-09-29 21:23:19 +00:00
nchalko
149d54ec95 Remove outdated warning now that the v1.0 had shipped am: 897f0d48bb am: 1366d334a1 am: 3b12885c63
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1441474

Change-Id: I0b604a068556a556d9fdebd481df43f1f9b5a308
2020-09-29 21:23:12 +00:00
Dan Shi
d4a390a8dd [automerger skipped] Rename vts-core to vts am: 97225977fb -s ours am: be92e8b830 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

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

Change-Id: If66ae0cab50bec061aa6cec180b711639c737f5a
2020-09-29 21:23:04 +00:00
Dan Shi
6de39bafc9 [automerger skipped] Rename vts-core to vts am: 3437ee6816 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

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

Change-Id: I92a00fe26b22f1202ca89d6ba598d481ec199473
2020-09-29 21:22:44 +00:00
Dan Shi
ac75d194aa [automerger skipped] Rename vts-core to vts am: 2fdd0c5c39 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

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

Change-Id: If1637d3662bd43343bf13f18b1849e0f05489ffd
2020-09-29 21:22:00 +00:00
nchalko
3b12885c63 Remove outdated warning now that the v1.0 had shipped am: 897f0d48bb am: 1366d334a1
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1441474

Change-Id: I244def095eece3f8b28349d566f3672a1461c041
2020-09-29 21:13:52 +00:00
Dan Shi
be92e8b830 [automerger skipped] Rename vts-core to vts am: 97225977fb -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

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

Change-Id: I18f343f62c1d3e03abfb84ffe039255428fc1db7
2020-09-29 21:13:31 +00:00
TreeHugger Robot
6a73ac5b4a Merge changes from topic "nullzero-hal-v7"
* changes:
  audio: Implement VTS tests for V7.0
  audio: Add example HAL implementation
  audio: Reformat README as Markdown
  audio: HAL V7 tweaks
2020-09-29 21:02:17 +00:00
nchalko
1366d334a1 Remove outdated warning now that the v1.0 had shipped am: 897f0d48bb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1441474

Change-Id: I1d8792c255800f3de76f5965d902314c0166b65e
2020-09-29 20:52:03 +00:00
Amy Zhang
da3d4b87e3 Merge "Rename Tuner HAL 1.1 frontendSettingsExt into frontendSettingsExt1_1" 2020-09-29 18:56:06 +00:00
nchalko
897f0d48bb Remove outdated warning now that the v1.0 had shipped
Change-Id: I28f8f137db92b390c8ec27680a5c305e3cef43ba
Test: n/a
2020-09-29 18:29:16 +00:00
Mikhail Naganov
343450a074 audio: Implement VTS tests for V7.0
The major change in V7.0 is use of enum values defined
in the Audio Policy Configuration XSD schema. This allows
decoupling types used at the HIDL layer from system/audio.h.
Added a header audio_policy_configuration_V7_0-enums.h
with utility functions analogous to ones from system/audio.h
but defined for the types generated from XSD schema.

Since the code of VTS tests is shared between versions,
ensured that the VTS tests for the previous HAL versions
didn't regress.

Bug: 142480271
Test: atest VtsHalAudioV6_0TargetTest
      atest VtsHalAudioEffectV6_0TargetTest
      atest VtsHalAudioV7_0TargetTest
      atest VtsHalAudioEffectV7_0TargetTest
Change-Id: Ia7c2d49a02783725080c8fed6a25853e91bba487
2020-09-29 17:45:13 +00:00
TreeHugger Robot
776a7ea1c8 Merge "Update the comment for ReplacedHandle" 2020-09-29 17:38:42 +00:00
Amy Zhang
bc15b5964e Rename Tuner HAL 1.1 frontendSettingsExt into frontendSettingsExt1_1
Test: make
Bug: 158818695
Change-Id: I1d9e89556fc7de0962dcfbf379c115ea4a0e8d32
2020-09-29 10:29:45 -07:00
Marin Shalamanov
5127a97bd8 Update the comment for ReplacedHandle
Test: n/a
Bug: n/a
Change-Id: I388af766fb1b5e78aabfc72c70883e71d05ce18c
2020-09-29 16:04:49 +02:00
Dan Shi
8d5281da2e Rename vts-core to vts
Bug: 151896491
Test: none
Change-Id: If74547c56b46ebc7fd728c1bf52fe9dedac65ffa
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-09-29 06:52:57 +00:00
Dan Shi
2fdd0c5c39 Rename vts-core to vts
Bug: 151896491
Test: none
Change-Id: If74547c56b46ebc7fd728c1bf52fe9dedac65ffa
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-09-29 06:52:28 +00:00
Dan Shi
3437ee6816 Rename vts-core to vts
Bug: 151896491
Test: none
Change-Id: If74547c56b46ebc7fd728c1bf52fe9dedac65ffa
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-09-29 06:51:43 +00:00
Dan Shi
97225977fb Rename vts-core to vts
Bug: 151896491
Test: none
Change-Id: If74547c56b46ebc7fd728c1bf52fe9dedac65ffa
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-09-28 22:16:14 -07:00
Xusong Wang
720845e89c [automerger skipped] Suppress gtest error for tests without any instance am: 7f40613792 am: d55adae254 am: 41e30b93fb am: f333b41dc9 am: bff144c394 -s ours
am skip reason: Change-Id I715ae6f45df66e4a03c12b5d3f38bcc028a9ed7c with SHA-1 af9ac3b8a0 is in history

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

Change-Id: I8828c70ebeee67d8427f7707400b0f9e5f6c7bf6
2020-09-29 03:00:04 +00:00
Xusong Wang
bff144c394 Suppress gtest error for tests without any instance am: 7f40613792 am: d55adae254 am: 41e30b93fb am: f333b41dc9
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1441023

Change-Id: Ie7d4d3171264f9d3c3c2697fd46686b5665273a6
2020-09-29 02:21:57 +00:00
Xusong Wang
f333b41dc9 Suppress gtest error for tests without any instance am: 7f40613792 am: d55adae254 am: 41e30b93fb
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1441023

Change-Id: I0d36be0d08c395aca02f26e9e81f1bdc5f4ebf71
2020-09-29 01:55:45 +00:00
Xusong Wang
41e30b93fb Suppress gtest error for tests without any instance am: 7f40613792 am: d55adae254
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1441023

Change-Id: Ib50cdb52b335dbc012292caa199075403a233315
2020-09-29 01:38:46 +00:00
Xusong Wang
d55adae254 Suppress gtest error for tests without any instance am: 7f40613792
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1441023

Change-Id: Ic6ea56f047cac78ae0ee56a29b54f17da411952a
2020-09-29 01:19:56 +00:00
Les Lee
d6b8e4ab1d Merge "wifi: ignore addAccessPoint_1_2 test if current hidl is 1_3" 2020-09-29 00:29:00 +00:00
TreeHugger Robot
082aabe644 Merge "Make getPresentationPosition mandatory." 2020-09-29 00:10:24 +00:00
Treehugger Robot
343bcd817e Merge "Mark GraphicsMapperHidlTest as allowing not being instantiated" am: ca31517201 am: 527ce01e45 am: 5342c34a26 am: 51cfab68d4 am: 028a65e721
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1439141

Change-Id: Ifb90f9b6ddf8563c9a2abe49863e8791c961e0b6
2020-09-28 23:33:56 +00:00
Treehugger Robot
028a65e721 Merge "Mark GraphicsMapperHidlTest as allowing not being instantiated" am: ca31517201 am: 527ce01e45 am: 5342c34a26 am: 51cfab68d4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1439141

Change-Id: I8be3947c556b67f5db0f1fa7d7e9a2512c83b2c7
2020-09-28 23:19:47 +00:00
Mikhail Naganov
c9e1607de4 audio: Add example HAL implementation
This is partial implementation of the example V7.0 audio HAL
which passes VTS tests. Note that the 'core' part
of the HAL (IDevice/IStream) isn't implemented yet.
It passes VTS because it doesn't provide any devices
(modules) and the audio HAL isn't the 'default' instance.

Bug: 142480271
Test: atest VtsHalAudioV7_0TargetTest
      atest VtsHalAudioEffectV7_0TargetTest
Change-Id: Ie3dd62c5db1cdb5534df4dd7f326c4c8776bf3c4
2020-09-28 23:18:37 +00:00
Xusong Wang
7f40613792 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
Merged-In: I715ae6f45df66e4a03c12b5d3f38bcc028a9ed7c
(cherry picked from commit af9ac3b8a0)
2020-09-28 15:39:01 -07:00
Treehugger Robot
51cfab68d4 Merge "Mark GraphicsMapperHidlTest as allowing not being instantiated" am: ca31517201 am: 527ce01e45 am: 5342c34a26
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1439141

Change-Id: I189e58c030e857b17a65d3bbfaef59affa9ffd68
2020-09-28 22:33:40 +00:00
Treehugger Robot
5342c34a26 Merge "Mark GraphicsMapperHidlTest as allowing not being instantiated" am: ca31517201 am: 527ce01e45
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1439141

Change-Id: I26988bc85183530470762f22c555ada31cfee0ad
2020-09-28 22:20:03 +00:00
Treehugger Robot
527ce01e45 Merge "Mark GraphicsMapperHidlTest as allowing not being instantiated" am: ca31517201
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1439141

Change-Id: Ifa90d54ebe8ab99f36daba611a0d63f3f6fa8fdb
2020-09-28 22:03:07 +00:00
Treehugger Robot
ca31517201 Merge "Mark GraphicsMapperHidlTest as allowing not being instantiated" 2020-09-28 21:47:07 +00:00
Treehugger Robot
b7e266ecd9 [automerger skipped] Merge "Rename vts-core to vts" am: ac116b1f7b -s ours am: 7c9ab94592 -s ours am: 005dc12d50 -s ours am: 664e654758 -s ours am: 91da1cefc5 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

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

Change-Id: I28102c58442f8b4728d26861072650b715c46c8a
2020-09-28 21:42:04 +00:00
Treehugger Robot
91da1cefc5 [automerger skipped] Merge "Rename vts-core to vts" am: ac116b1f7b -s ours am: 7c9ab94592 -s ours am: 005dc12d50 -s ours am: 664e654758 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

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

Change-Id: I1f3defcde18221c57dac04814cb398ebbe980147
2020-09-28 20:54:18 +00:00
Treehugger Robot
664e654758 [automerger skipped] Merge "Rename vts-core to vts" am: ac116b1f7b -s ours am: 7c9ab94592 -s ours am: 005dc12d50 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

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

Change-Id: Ic1be26447a71f841fc6c7dda6be429932197c210
2020-09-28 20:40:51 +00:00
Treehugger Robot
005dc12d50 [automerger skipped] Merge "Rename vts-core to vts" am: ac116b1f7b -s ours am: 7c9ab94592 -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 aad51fa000 is in history

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

Change-Id: I2e5a854e2675f231a64789e943e488e298565229
2020-09-28 20:25:58 +00:00
Treehugger Robot
7c9ab94592 [automerger skipped] Merge "Rename vts-core to vts" am: ac116b1f7b -s ours
am skip reason: Change-Id I562b4dc50765e953800a814a8fd84a01c1b9352b with SHA-1 ba894f81db is in history

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

Change-Id: Ib64276f0c9e8c2885fdbda0f4a054fc75cbe366a
2020-09-28 20:13:15 +00:00
Treehugger Robot
ac116b1f7b Merge "Rename vts-core to vts" 2020-09-28 20:03:10 +00:00
Roshan Pius
ad6248877c [automerger skipped] supplicant(vts): Stop adding empty instance for vendor HAL am: b9ddf021d3 am: 8a4e68b788 am: 329fe1ca18 am: a8cec5d5ce am: d3dcea5f11 -s ours
am skip reason: Change-Id I71097c3afef1765ca514abf2c350c423e3999020 with SHA-1 133389711d is in history

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

Change-Id: I1c33fb9faa464348b3ff1199e08106865700d478
2020-09-28 19:54:49 +00:00
Roshan Pius
d3dcea5f11 supplicant(vts): Stop adding empty instance for vendor HAL am: b9ddf021d3 am: 8a4e68b788 am: 329fe1ca18 am: a8cec5d5ce
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438028

Change-Id: I332a0a820f480104557d9fd69657dcc401b2da0b
2020-09-28 19:04:08 +00:00
Mikhail Naganov
108e702dc7 audio: Reformat README as Markdown
Rename README -> README.md, reformat it as Markdown.
Provide missing descriptions for some directories.

Bug: 142480271
Test: N/A
Change-Id: Ic6f60a21def4bf210a7e1446454d709f68a13422
2020-09-28 18:55:50 +00:00
Mikhail Naganov
648ec5b750 audio: HAL V7 tweaks
- rename AudioBasicConfig -> AudioConfigBase to better
  match a similar structure in audio.h;

- define AudioProfile structure for defining an I/O profile;

- use AudioProfile to replace IStream.getSupported* methods
  with a single IStream.getSupportedProfiles method;

- define AudioDevice type for convenience and clarity;

- move enums definition for AudioInputFlags and AudioOutputFlags
  into XSD. This allows parsing APM config w/o depending on
  the framework code.

Bug: 142480271
Test: m
Change-Id: I1951b2de383751fe53b96954dfd02cdd1ab6cc8f
2020-09-28 18:55:50 +00:00
Roshan Pius
a8cec5d5ce supplicant(vts): Stop adding empty instance for vendor HAL am: b9ddf021d3 am: 8a4e68b788 am: 329fe1ca18
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1438028

Change-Id: Ib32992f893ff0fc118bf11d0173e5a403b6f8a97
2020-09-28 18:50:16 +00:00