Commit graph

26772 commits

Author SHA1 Message Date
Tomasz Wasilczyk
1a925fc9ca Merge "Implement struct printing" 2020-07-24 00:28:07 +00:00
Sarah Chin
ed96b6d960 [automerger skipped] Update VTS tests to use GeranBands P900 and 850 instead am: 96f358efda am: 68af237afa -s ours am: 964346126d -s ours am: 9e54d78eb1 -s ours am: bf71553c30 -s ours
am skip reason: Change-Id If27cb00fe9eb5cf3ce2e73107ed6463c1ebb7cfd with SHA-1 5836f407aa is in history

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

Change-Id: Ief32dc88f7423bd8c8950b63eee8a8bf84629737
2020-07-23 05:45:28 +00:00
Sarah Chin
bf71553c30 [automerger skipped] Update VTS tests to use GeranBands P900 and 850 instead am: 96f358efda am: 68af237afa -s ours am: 964346126d -s ours am: 9e54d78eb1 -s ours
am skip reason: Change-Id If27cb00fe9eb5cf3ce2e73107ed6463c1ebb7cfd with SHA-1 5836f407aa is in history

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

Change-Id: I2a0ef8a914fdd4617c51cbe6e27d25c7331c958b
2020-07-23 05:34:13 +00:00
Sarah Chin
9e54d78eb1 [automerger skipped] Update VTS tests to use GeranBands P900 and 850 instead am: 96f358efda am: 68af237afa -s ours am: 964346126d -s ours
am skip reason: Change-Id If27cb00fe9eb5cf3ce2e73107ed6463c1ebb7cfd with SHA-1 5836f407aa is in history

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

Change-Id: I37ef2f7642feab9b5cececf74e055c83a03bd2a1
2020-07-23 05:20:54 +00:00
Sarah Chin
964346126d [automerger skipped] Update VTS tests to use GeranBands P900 and 850 instead am: 96f358efda am: 68af237afa -s ours
am skip reason: Change-Id If27cb00fe9eb5cf3ce2e73107ed6463c1ebb7cfd with SHA-1 5836f407aa is in history

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

Change-Id: I9f8e6c5a75611c25fcd3c6ccd4444e12a998868c
2020-07-23 05:08:16 +00:00
Sarah Chin
68af237afa Update VTS tests to use GeranBands P900 and 850 instead am: 96f358efda
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1371139

Change-Id: I6953fa59c359395c1ddb02ded114d11a6153b30a
2020-07-23 04:49:44 +00:00
Amy Zhang
4b9252ba3e Merge "Fix Tuner 1.0 default implementation Demux and Frontend mapping" 2020-07-23 03:00:17 +00:00
Amy Zhang
45c1263a66 Fix Tuner 1.0 default implementation Demux and Frontend mapping
The previous impl keeps the demux and frontend mapping in the
Tuner implementation even the instance has been closed.

Clean up the mapping and the local vectors in the Tuner impl
when Demux or Frontend is closed.

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150952766
Change-Id: I2038e902ba7ab323c6dacc886ac6984ee7c475aa
2020-07-22 17:41:02 -07:00
Sarah Chin
96f358efda Update VTS tests to use GeranBands P900 and 850 instead
Also call stopNetworkScan to prevent DEVICE_IN_USE error

Test: run vts VtsHalRadioV1_4Target, VtsHalRadioV1_5Target
Bug: 159582104
Change-Id: If27cb00fe9eb5cf3ce2e73107ed6463c1ebb7cfd
Merged-In: If27cb00fe9eb5cf3ce2e73107ed6463c1ebb7cfd
2020-07-22 16:00:42 -07:00
Tomasz Wasilczyk
8495403000 Implement struct printing
Also:
- fix potential use-after-free in nlbuf iterator
- simplify getFirst usage by migrating from std::optional to std::pair

Bug: 161898189
Test: print all messages from RTMGRP_LINK group

Change-Id: I4aa785ccef60e397ba87088f37e35d9873fc3c82
2020-07-22 15:52:14 -07:00
Sunil Ravi
1868aa0cb2 wifi: Fix for DPP VTS test failures on 5GHz only devices am: 6b75eeb045 am: cbc091b4be
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12207216

Change-Id: Ib14c5ca62bccf711fb9472d4f976c7d014437764
2020-07-22 21:26:11 +00:00
Sunil Ravi
cbc091b4be wifi: Fix for DPP VTS test failures on 5GHz only devices am: 6b75eeb045
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12207216

Change-Id: Ia547f9673497b2b6cfe07a4d7710f4b3a4839fa9
2020-07-22 21:12:29 +00:00
Treehugger Robot
7fccba34a5 Merge "Provide defaults for android.hardware.audio@6.0-impl" am: 3f5116a1f6 am: 5912212c62 am: 3ef9947624 am: b4a1b4f93a am: 8ec7278d14
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1366502

Change-Id: Id5f444028d05b734f0e253443424a255aeeb1cd7
2020-07-22 18:10:25 +00:00
Treehugger Robot
8ec7278d14 Merge "Provide defaults for android.hardware.audio@6.0-impl" am: 3f5116a1f6 am: 5912212c62 am: 3ef9947624 am: b4a1b4f93a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1366502

Change-Id: I922e7bbd0806472f4ffe79e23d3f9d0f149be7a9
2020-07-22 17:53:22 +00:00
Treehugger Robot
b4a1b4f93a Merge "Provide defaults for android.hardware.audio@6.0-impl" am: 3f5116a1f6 am: 5912212c62 am: 3ef9947624
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1366502

Change-Id: I6bfc3c3cc6209c93721d490d644f5babf10682cc
2020-07-22 17:31:46 +00:00
Treehugger Robot
3ef9947624 Merge "Provide defaults for android.hardware.audio@6.0-impl" am: 3f5116a1f6 am: 5912212c62
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1366502

Change-Id: Ib211fdb5c61f6ad1893561d9bd6d86bff0b28178
2020-07-22 17:05:44 +00:00
Treehugger Robot
5912212c62 Merge "Provide defaults for android.hardware.audio@6.0-impl" am: 3f5116a1f6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1366502

Change-Id: I5b92974c36ecb78a1f624d7bbf1e04c5fbf69fab
2020-07-22 16:54:20 +00:00
Treehugger Robot
3f5116a1f6 Merge "Provide defaults for android.hardware.audio@6.0-impl" 2020-07-22 16:37:39 +00:00
Sunil Ravi
6b75eeb045 wifi: Fix for DPP VTS test failures on 5GHz only devices
Pass one 2.4GHz channel (1) and one 5GHz channel(40) in
URI channel-list, so that devices which support only one band
can initiate Authentication.

Bug: 161331637
Test: VtsHalWifiSupplicantV1_2TargetTest
Test: VtsHalWifiSupplicantV1_3TargetTest
Change-Id: Ic2677c5f2c2bebe632f823f0472da0a5ae404c0d
2020-07-21 22:59:37 -07:00
Mikhail Naganov
69143cc4bf Audio VTS: Suppress empty parameter list failures am: b9743d4728 am: 948929d067 am: 4084fa17b5 am: cc4656f5a8 am: 59ca8e29ff
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1368656

Change-Id: I530a1388a3cb11e101f2e9dfb3df6cf44857a16b
2020-07-22 01:25:52 +00:00
Mikhail Naganov
59ca8e29ff Audio VTS: Suppress empty parameter list failures am: b9743d4728 am: 948929d067 am: 4084fa17b5 am: cc4656f5a8
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1368656

Change-Id: Ia964d07281fd8aeb257b3eec6ddafc3efe5d0730
2020-07-22 01:06:45 +00:00
Mikhail Naganov
cc4656f5a8 Audio VTS: Suppress empty parameter list failures am: b9743d4728 am: 948929d067 am: 4084fa17b5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1368656

Change-Id: I6384554bbd26a38c8b3e947b1db313e841d4cd56
2020-07-22 00:47:30 +00:00
Mikhail Naganov
4084fa17b5 Audio VTS: Suppress empty parameter list failures am: b9743d4728 am: 948929d067
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1368656

Change-Id: I3d5925bd34bd84cbf65cf6f86797c1a4f4263ac6
2020-07-22 00:33:45 +00:00
Mikhail Naganov
948929d067 Audio VTS: Suppress empty parameter list failures am: b9743d4728
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1368656

Change-Id: I85b1f7119fd8034be07ea703b274b4eb1ba5fef7
2020-07-22 00:20:56 +00:00
Amy Zhang
05eaa97502 Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated am: f122309667 am: 917757a92e am: 9d989309c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12203374

Change-Id: I73d0ef4c0c1d6cdf1f7e24c1082146b0a733b6da
2020-07-22 00:20:40 +00:00
Amy Zhang
9d989309c1 Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated am: f122309667 am: 917757a92e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12203374

Change-Id: I116b7b7e98eb4b87a81f79949eb2a2c6fb306f13
2020-07-22 00:03:29 +00:00
Amy Zhang
917757a92e Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated am: f122309667
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12203374

Change-Id: Iafbf93ba9bcfc934f57185474cf55dc9abd705cf
2020-07-21 23:43:24 +00:00
Amy Zhang
f122309667 Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated
parameterized tests.

This test can be disabled on the phone target once there is
a cuttlefish tv target enabled to run the test continuously.

The test will be removed from the exception list afterwards.

Test: make VtsHalTvTunerV1_0TargetTest
Bug: 161805444
Change-Id: I7a2ad0e8a43c6262628354be316c530ab00ac520
2020-07-21 21:51:40 +00:00
Mikhail Naganov
b9743d4728 Audio VTS: Suppress empty parameter list failures
GTest has introduced a check verifying that the parameter list
for TEST_P tests isn't empty. Having an empty parameter list
isn't actually a problem when the VTS test runs on a device
that lacks the corresponding HAL version.

Bug: 161758075
Test: atest VtsHalAudioV4_0TargetTest
Test: atest VtsHalAudioV5_0TargetTest
Test: atest VtsHalAudioV6_0TargetTest
Test: atest VtsHalAudioEffectV4_0TargetTest
Test: atest VtsHalAudioEffectV5_0TargetTest
Test: atest VtsHalAudioEffectV6_0TargetTest
Change-Id: Ib2a017b74f69b1608d8985f403e9b2a8e54b8311
2020-07-21 10:57:03 -07:00
Treehugger Robot
8c7e35a231 [automerger skipped] Merge changes I6c1af92f,Icf594d40 am: e6849d568a am: 33c8a2614d -s ours am: 40fc6c7244 -s ours am: 2b9a4dbae4 -s ours am: e2faf85252 -s ours
am skip reason: Change-Id I6c1af92f640fde833d2d93f7db4576c92a6f9719 with SHA-1 886f321139 is in history

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

Change-Id: Ia0133f33aa2b0a37ec60bfe1afdf686dda1388fa
2020-07-21 13:28:32 +00:00
Slava Shklyaev
31e0c3141a [automerger skipped] Fix stale NNAPI documentation am: d23380f0a3 am: c3431d60f2 -s ours am: e8ae4affcd -s ours am: cbdc3d8912 -s ours am: 3a754a859f -s ours
am skip reason: Change-Id Icf594d40c73ff8c05044c320ac9eb6a9c5a89754 with SHA-1 456f6d7c91 is in history

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

Change-Id: Ic9e22c91d6ad9057cf9163e216a6d2551398fb38
2020-07-21 13:28:30 +00:00
Treehugger Robot
e2faf85252 [automerger skipped] Merge changes I6c1af92f,Icf594d40 am: e6849d568a am: 33c8a2614d -s ours am: 40fc6c7244 -s ours am: 2b9a4dbae4 -s ours
am skip reason: Change-Id I6c1af92f640fde833d2d93f7db4576c92a6f9719 with SHA-1 886f321139 is in history

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

Change-Id: I5729bf1c8d4265e1f94c154b3e5783cca733aae2
2020-07-21 13:19:05 +00:00
Slava Shklyaev
3a754a859f [automerger skipped] Fix stale NNAPI documentation am: d23380f0a3 am: c3431d60f2 -s ours am: e8ae4affcd -s ours am: cbdc3d8912 -s ours
am skip reason: Change-Id Icf594d40c73ff8c05044c320ac9eb6a9c5a89754 with SHA-1 456f6d7c91 is in history

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

Change-Id: Iefb366a7aed301b8e533b9c0328ab0af04bc3808
2020-07-21 13:19:02 +00:00
Treehugger Robot
2b9a4dbae4 [automerger skipped] Merge changes I6c1af92f,Icf594d40 am: e6849d568a am: 33c8a2614d -s ours am: 40fc6c7244 -s ours
am skip reason: Change-Id I6c1af92f640fde833d2d93f7db4576c92a6f9719 with SHA-1 886f321139 is in history

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

Change-Id: I3a1b9ab98d14c4de45f3494f5f55d9c52437c86b
2020-07-21 13:07:35 +00:00
Slava Shklyaev
cbdc3d8912 [automerger skipped] Fix stale NNAPI documentation am: d23380f0a3 am: c3431d60f2 -s ours am: e8ae4affcd -s ours
am skip reason: Change-Id Icf594d40c73ff8c05044c320ac9eb6a9c5a89754 with SHA-1 456f6d7c91 is in history

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

Change-Id: Idf526a001fc6b2deffe5aa8ee8e5412e18035488
2020-07-21 13:07:33 +00:00
Treehugger Robot
40fc6c7244 [automerger skipped] Merge changes I6c1af92f,Icf594d40 am: e6849d568a am: 33c8a2614d -s ours
am skip reason: Change-Id I6c1af92f640fde833d2d93f7db4576c92a6f9719 with SHA-1 886f321139 is in history

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

Change-Id: I930d9468ac61e7eb3db712e13bdce7074faacacf
2020-07-21 12:54:41 +00:00
Slava Shklyaev
e8ae4affcd [automerger skipped] Fix stale NNAPI documentation am: d23380f0a3 am: c3431d60f2 -s ours
am skip reason: Change-Id Icf594d40c73ff8c05044c320ac9eb6a9c5a89754 with SHA-1 456f6d7c91 is in history

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

Change-Id: I1b5d6b555d10a9c6fb9718dfcc0fc71c59b750e8
2020-07-21 12:54:38 +00:00
Treehugger Robot
33c8a2614d Merge changes I6c1af92f,Icf594d40 am: e6849d568a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1363545

Change-Id: I215b9462e277696c8456f70c4cab3bd9270863dc
2020-07-21 12:40:02 +00:00
Slava Shklyaev
c3431d60f2 Fix stale NNAPI documentation am: d23380f0a3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1363544

Change-Id: Id5436153df19086e7482a89541c0ebfb5c1b692b
2020-07-21 12:40:01 +00:00
Treehugger Robot
e6849d568a Merge changes I6c1af92f,Icf594d40
* changes:
  Fix typo in NNAPI documentation
  Fix stale NNAPI documentation
2020-07-21 12:24:31 +00:00
TreeHugger Robot
b1ca9e45c6 Merge "Tuner HAL: fix a memcpy issue" 2020-07-21 03:28:39 +00:00
shubang
3e2de6cc22 Tuner HAL: fix a memcpy issue
Bug: 161481210
Test: cuttlefisih + TIS
Change-Id: I79274970ddd8ed8b7b97f56ca4200499fdee1b38
2020-07-20 19:26:36 -07:00
TreeHugger Robot
611f8578d5 [automerger skipped] Merge changes I6c1af92f,Icf594d40 into rvc-dev-plus-aosp am: ea758da957 am: cd4510d8d8 am: 9fdcffb46a -s ours
am skip reason: Change-Id I6c1af92f640fde833d2d93f7db4576c92a6f9719 with SHA-1 3bbc2aedd0 is in history

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

Change-Id: I691e6c1be24b1385ad363cb12d24d8342645a61b
2020-07-21 01:31:20 +00:00
Slava Shklyaev
e48f80d258 [automerger skipped] Fix stale NNAPI documentation am: 456f6d7c91 am: a8abf8dc6a am: 0368ffb763 -s ours
am skip reason: Change-Id Icf594d40c73ff8c05044c320ac9eb6a9c5a89754 with SHA-1 0d6cefe90b is in history

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

Change-Id: I371caccd49e45a9054e24b7cb74f27830db92d8a
2020-07-21 01:31:18 +00:00
TreeHugger Robot
9fdcffb46a Merge changes I6c1af92f,Icf594d40 into rvc-dev-plus-aosp am: ea758da957 am: cd4510d8d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12183964

Change-Id: Ib578973b70dedc14bbc74c94e977aa0039aabf81
2020-07-21 01:11:10 +00:00
Slava Shklyaev
0368ffb763 Fix stale NNAPI documentation am: 456f6d7c91 am: a8abf8dc6a
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12183963

Change-Id: I98f1ec73622d3e77cf7082b35ff8d1dcd3191ca6
2020-07-21 01:11:06 +00:00
TreeHugger Robot
cd4510d8d8 Merge changes I6c1af92f,Icf594d40 into rvc-dev-plus-aosp am: ea758da957
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12183964

Change-Id: I2aef13ff126859f843a42cfab9d75cf72c2d811e
2020-07-21 00:54:44 +00:00
Slava Shklyaev
a8abf8dc6a Fix stale NNAPI documentation am: 456f6d7c91
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12183963

Change-Id: I96129c9f11ffa2fb8eb21fd851e1d67060b598ce
2020-07-21 00:54:41 +00:00
Treehugger Robot
0314f3e9d4 [automerger skipped] Merge "Use shared variant of VNDK libmedia_helper" am: cd6d4fc277 am: c527a74f0b -s ours am: 3378017466 -s ours am: 3f213994a6 -s ours am: 70de2b624f -s ours
am skip reason: Change-Id I56ad69125811ff768d8064af34acf5603b575b4b with SHA-1 d6db130a2b is in history

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

Change-Id: I5ac4a359f9adad8aa591b8ba8a7732096d9aae01
2020-07-21 00:48:59 +00:00
Devin Moore
679b33fd00 [automerger skipped] Merge changes from topic "nativehandle" am: d0fd93097c am: 19de4b7e04 -s ours am: efbc84068d -s ours am: 806c8613b6 -s ours am: 640d98101d -s ours
am skip reason: Change-Id Ie1d92a50dddf7e3e1bd473e2a957279c6dadb865 with SHA-1 926aa80f04 is in history

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

Change-Id: Iea56b98037a19e4a678cfc74fdac0f36e17b98b8
2020-07-21 00:48:45 +00:00