Commit graph

28354 commits

Author SHA1 Message Date
Amy Zhang
5763ea76bb Merge "Add DVBC Time Interleave Mode enum in Tuner HAL 1.1" 2020-10-01 23:44:59 +00:00
TreeHugger Robot
e601b1ca37 Merge "composer: hold a sp<IComposer> from the service itself" 2020-10-01 22:56:15 +00:00
Steven Moreland
806541d8d2 msgq test service in VTS am: 46e2487ac0 am: 3f20d8ba0f am: 01589d9fcf am: cd52cff015 am: e9492eafde
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425309

Change-Id: Ic711fc9bb6608ace35329ea430c84e42111ff014
2020-10-01 21:37:09 +00:00
Steven Moreland
e9492eafde msgq test service in VTS am: 46e2487ac0 am: 3f20d8ba0f am: 01589d9fcf am: cd52cff015
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425309

Change-Id: Ifc4b43f5f4212313dfdccf19e7b9f59b1f246bc4
2020-10-01 21:06:16 +00:00
Steven Moreland
cd52cff015 msgq test service in VTS am: 46e2487ac0 am: 3f20d8ba0f am: 01589d9fcf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425309

Change-Id: Ib2d4794813fe6270effdbe3347e25d2a98274db3
2020-10-01 20:42:30 +00:00
Steven Moreland
01589d9fcf msgq test service in VTS am: 46e2487ac0 am: 3f20d8ba0f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425309

Change-Id: I75f60810d721fa38aed015b28dcfa389e8a73ac7
2020-10-01 20:26:31 +00:00
Ady Abraham
43e42ff6ec composer: hold a sp<IComposer> from the service itself
IComposerClient assumes that IComposer will outlive its life cycle
and holds a simple pointer to HwcHal. This change is taking the same
approach of newer composer versions (2.2, 2.3, and 2.4) to make sure
that IComposer would outlive IComposerClient.

Test: coral booting with this change
Fixes: 155769496
Change-Id: I3962ede51ce823368c62c4e4e5fb30f7a5680bdf
2020-10-01 20:12:38 +00:00
Steven Moreland
3f20d8ba0f msgq test service in VTS am: 46e2487ac0
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425309

Change-Id: I7714325db521dfa692190c48ce2c6a1cff4d368c
2020-10-01 20:06:47 +00:00
Steven Moreland
2a74fa1f40 msgq service device -> general-tests am: 96e0709f21 am: 5569ed1441 am: 618e41b216 am: 9dde78433a am: 0ffa86870e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425308

Change-Id: I821273e84a49a7a3d515119e337aa7d1f357f7c8
2020-10-01 19:06:14 +00:00
Steven Moreland
0ffa86870e msgq service device -> general-tests am: 96e0709f21 am: 5569ed1441 am: 618e41b216 am: 9dde78433a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425308

Change-Id: Id7820c258285a4b3a25dd6fbad3a6171247b3046
2020-10-01 18:52:15 +00:00
Steven Moreland
9dde78433a msgq service device -> general-tests am: 96e0709f21 am: 5569ed1441 am: 618e41b216
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425308

Change-Id: Ieee97861eb485cc8c5cc463e86e87c9a3e80e223
2020-10-01 18:35:22 +00:00
Steven Moreland
618e41b216 msgq service device -> general-tests am: 96e0709f21 am: 5569ed1441
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425308

Change-Id: Ic7072bea6554f3841ab0b5c7d380ef80c2b83ebc
2020-10-01 18:16:55 +00:00
Steven Moreland
5569ed1441 msgq service device -> general-tests am: 96e0709f21
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1425308

Change-Id: Ie9fe6db7129be1257970c751a3053aea5200a1d1
2020-10-01 17:41:25 +00:00
Amy Zhang
b27802acfe Merge "Extend Scan Message and Message Type in Tuner HAL 1.1" 2020-09-30 23:00:54 +00:00
Amy Zhang
549a39c120 Merge changes I8cbbf1e3,I4ed8ec1f
* changes:
  Add FrontendStatusExt1_1 and getStatusExt1_1 to get 1.1 Extended Frontend Status
  Add DTMB Frontend Type and Related Capabilities enums
2020-09-30 20:01:15 +00:00
Amy Zhang
621887a91a Add DVBC Time Interleave Mode enum in Tuner HAL 1.1
Test: make android.hardware.tv.tuner@1.1
Bug: 158818695
Change-Id: I11ea762a789aaab1cf3a17b3c0515c6a37942098
2020-09-30 11:33:34 -07:00
Les Lee
df227a3b11 Merge "wifi: Add vts 1.3 for hostapd hidl 1.3" 2020-09-30 16:52:38 +00:00
TreeHugger Robot
13357c7926 [automerger skipped] Merge "Rename vts-core to vts" into rvc-qpr-dev-plus-aosp am: 7e7aaaa8db -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/+/12725405

Change-Id: I712ebbd7df5ec7fa945c414bc1933eedb207ecc2
2020-09-30 03:00:29 +00:00
TreeHugger Robot
7e7aaaa8db Merge "Rename vts-core to vts" into rvc-qpr-dev-plus-aosp 2020-09-30 02:41:03 +00:00
Amy Zhang
19ed17bf1d Extend Scan Message and Message Type in Tuner HAL 1.1
A new API would be added in IFrontendCallback 1.1:
onScanMessageExt to receive the extended scan message

Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 158818695
Change-Id: If12535dada78ee2d2c7282ff17f9ab5f4983c750
2020-09-29 19:04:33 -07:00
Amy Zhang
422bb11cca Add FrontendStatusExt1_1 and getStatusExt1_1 to get 1.1 Extended Frontend Status
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 158818695
Change-Id: I8cbbf1e3bca7f2ddda90ad6dd4a2ae0368561bfd
2020-09-29 19:04:18 -07:00
TreeHugger Robot
7fc48c2c9c Merge "Remove PREUPLOAD.cfg from audio HAL example" 2020-09-30 01:51:11 +00:00
Steven Moreland
46e2487ac0 msgq test service in VTS
auto_gen_config: this is a helper binary, so we avoid actually running a
test by not creating a test configuration

test_suites: vts, so that this is built and packaged with VTS

Bug: 168806888
Test: fmq_test
Change-Id: I640b848297667594153c207f8a4fcad989585d98
2020-09-30 00:47:32 +00:00
Steven Moreland
96e0709f21 msgq service device -> general-tests
We don't need this built per-device.

Bug: 168807095
Test: fmq_test
Change-Id: Ia5c4e8fa97ea364ccc3beae3ce6fe0980d12be25
2020-09-30 00:47:15 +00:00
Mikhail Naganov
58d9942ade Remove PREUPLOAD.cfg from audio HAL example
As suggested by the comment on ag/12691153

Bug: 142480271
Test: N/A
Change-Id: Ic9e2b986d3f9734dd884a2c88ca86d251147126b
2020-09-30 00:09:16 +00:00
Amy Zhang
4c49c15e55 Add DTMB Frontend Type and Related Capabilities enums
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 159064654
Change-Id: I4ed8ec1f47d74ba3d585725cb64ba925d7ddf910
2020-09-29 16:26:52 -07:00
nchalko
539362f912 Remove outdated warning now that the v1.0 had shipped am: 897f0d48bb am: 1366d334a1 am: 3b12885c63 am: 149d54ec95 am: 2810f12eae
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1441474

Change-Id: Ia9f0af343a7d1ea020a68c7bbc5b93eadf7d986b
2020-09-29 21:44:30 +00:00
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