Frankie Lizcano
bcf4ebbbc2
Tuner HAL VTS: Dynamically Configure LnbDescrambling
...
This CL allows the vendor to ommit LnbDescrambling from the
configuration file. The VTS will look at the devices configured by the
vendors and automatically configure the dataflows and determine which
tests to run for LnbDescrambling.
Bug: b/240476983
Test: Test: ts-tradefed run vts --module VtsHalTvTunerTargetTest
Change-Id: I003c6405e7fcc4e3494ef976dca83b9f7d6160a6
2022-08-11 18:00:44 +00:00
Frankie Lizcano
82101d2d5b
Tuner HAL VTS: Testing LnbDescrambling
...
This CL implements integration tests for LnbDescrambling. The new
testing function ScrambledBroadcastTestWithLnb tests the functionality
of the Lnb and, if the frontend is not software, tests passing a signal
through the tuner and descrambling a broadcast.
Additionally, this CL adds a context variable to the
ScrambledBroadcastTest function to determine which dataflow
(LnbDescrambling or Descrambling) is being tested. It specializes
behavior differently for each datflow to model real world
use cases. Notably, a Descrambler could be tested with no frontend when
playing back a descrambled recording, whereas testing an Lnb broadcast
would require a hardware frontend.
Bug: b/240476983
Test: ts-tradefed run vts --module VtsHalTvTunerTargetTest
Change-Id: Ia35d2d45dca4411b0a15f0585d6ddaecd3f9321a
2022-08-11 18:00:27 +00:00
Frankie Lizcano
523e5455fd
Tuner HAL VTS: Added LnbDescrambling
...
This CL implements a new dataflow: LnbDescrambling, which aims to test
descrambling a broadcast brought into the tuner with an Lnb attached.
The struct for the configuration and a function to read this dataflow
from the vendor's input file were added. Additionally, the api was
updated to allow the automatic xml parser to read this new dataflow.
Note, no tests were added for this object yet. Those come later in the
chain. The vendor, at this moment, can only harcode this dataflow. It
will be dynamically configurable later in the chain.
Bug: b/240476983
Test: ts-tradefed run vts --module VtsHalTvTunerTargetTest
Change-Id: I545be7d4b2bea0b80a67fd542a80bba7fa38c4ca
2022-08-11 17:59:48 +00:00
Frankie Lizcano
78b4211964
Merge changes Icb2d96b3,I76c05ca2,Icdbf8961,I74cc059e
...
* changes:
Improve Tuner VTS: Generate Live Combos
Improve Tuner VTS: Generate DVR Record Combos
Improve Tuner VTS: Generate TimeFilter Combinations
Tuner VTS: Pair Audio and Video Filters
2022-08-11 17:53:35 +00:00
Devin Moore
09ca3c1de7
Merge "Remove sensors HIDL entry in compat matrix."
2022-08-11 15:23:17 +00:00
Devin Moore
a2df2e06e6
[automerger skipped] Remove biometrics HIDL entry in compat matrix. am: 4b67aa4a1b am: cb9b12fbc1 am: 1f72596f98 am: 2a2820f37a am: 069fba52ae -s ours
...
am skip reason: Merged-In Ia3736a7d2a3f6e22dff266b3ee38896de9e0f46e with SHA-1 ab540a18ea is already in history
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2182457
Change-Id: I9b1700b207d9484889cf687ec12edf1be82855d8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-11 03:33:25 +00:00
Devin Moore
069fba52ae
Remove biometrics HIDL entry in compat matrix. am: 4b67aa4a1b am: cb9b12fbc1 am: 1f72596f98 am: 2a2820f37a
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2182457
Change-Id: Iad27161420d1c8ab5268f206fa1241bdc3cf35ad
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-11 03:16:55 +00:00
Devin Moore
2a2820f37a
Remove biometrics HIDL entry in compat matrix. am: 4b67aa4a1b am: cb9b12fbc1 am: 1f72596f98
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2182457
Change-Id: I262110a58368804e169ea753745fa563cca4c459
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-11 02:53:18 +00:00
Devin Moore
1f72596f98
Remove biometrics HIDL entry in compat matrix. am: 4b67aa4a1b am: cb9b12fbc1
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2182457
Change-Id: I61601f957a7f8a983bcc45214a27835657f29b53
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-11 02:27:16 +00:00
Devin Moore
cb9b12fbc1
Remove biometrics HIDL entry in compat matrix. am: 4b67aa4a1b
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2182457
Change-Id: I7e805dba464a54d3be84379a717c1db85a9824de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-11 01:29:50 +00:00
Devin Moore
547817a1b7
Remove sensors HIDL entry in compat matrix.
...
This interface has been converted to AIDL.
Test: TH
Bug: 218588089
Change-Id: I68265bee97e1bf43f1cb28fcf66b7c8bedbeeffb
2022-08-10 23:24:01 +00:00
Devin Moore
4b67aa4a1b
Remove biometrics HIDL entry in compat matrix.
...
This interface has been converted to AIDL.
Test: TH
Bug: 218588089
Merged-In: Ia3736a7d2a3f6e22dff266b3ee38896de9e0f46e
Change-Id: Ia3736a7d2a3f6e22dff266b3ee38896de9e0f46e
2022-08-10 22:50:01 +00:00
Yu Shan
848fcb49b4
Remove DefaultConfig.h file.
...
This file is replaced with DefaultProperties.json.
Test: Presubmit
Bug: 238685398
Change-Id: Ib159f781f61de8a7cd1498ad2a07e5dbd0eca734
2022-08-10 20:51:52 +00:00
TreeHugger Robot
67ed1ae812
Merge "Added missing HVAC properties to DefaultProperties.json"
2022-08-10 04:24:35 +00:00
TreeHugger Robot
cac910e539
[automerger skipped] Merge "le_audio_offload: Support two sources for conversational" into tm-qpr-dev am: f3663bf925 -s ours am: 2cee63585b -s ours
...
am skip reason: Merged-In I1bc59d09ec2ad3a8e65712c2fa099e806cce3c2d with SHA-1 51f165b314 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19564909
Change-Id: Ie09552f1b8fe8b0e7f1ffbbd7b7f5ef3bfebf889
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-10 03:01:40 +00:00
Patty
ee9ba6f7ce
[automerger skipped] le_audio_offload: Support two sources for conversational am: 039e85a385 -s ours am: dcc70528a5 -s ours
...
am skip reason: Merged-In I1bc59d09ec2ad3a8e65712c2fa099e806cce3c2d with SHA-1 51f165b314 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19564909
Change-Id: I9b1843295415201819917010fbb6e4470cff6dcc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-10 03:01:38 +00:00
TreeHugger Robot
2cee63585b
[automerger skipped] Merge "le_audio_offload: Support two sources for conversational" into tm-qpr-dev am: f3663bf925 -s ours
...
am skip reason: Merged-In I1bc59d09ec2ad3a8e65712c2fa099e806cce3c2d with SHA-1 51f165b314 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19564909
Change-Id: Icae5fdd78c32644752ecc0bda66fb07261a8275b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-10 02:33:52 +00:00
Patty
dcc70528a5
[automerger skipped] le_audio_offload: Support two sources for conversational am: 039e85a385 -s ours
...
am skip reason: Merged-In I1bc59d09ec2ad3a8e65712c2fa099e806cce3c2d with SHA-1 51f165b314 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19564909
Change-Id: I5a63605497e062ee85a44cedf071884f44ed0d54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-10 02:33:49 +00:00
TreeHugger Robot
f3663bf925
Merge "le_audio_offload: Support two sources for conversational" into tm-qpr-dev
2022-08-10 02:10:27 +00:00
Frankie Lizcano
8b87f25f99
Improve Tuner VTS: Generate Live Combos
...
This CL allows the VTS to read a vendor's configuration file, determine
if the given devices could support the Live dataflow, and generate
all combinations of units to run them on corresponding integration tests.
Each combination is error checked to ensure they meet the minumum
requirements, and any invalid ones are discared, which may narrow the
combination space immensely.
This CL also adds logic to store IP and PCR filter IDs to include
using them in any configuration combinations. We also pair PCR filters
with audio and video filters if the vendor chooses to provide more than
1, enforcing the invariant that the number of pcr, audio, and video
filters must be equal. If there is only 1 pcr filters, we default to
use that one.
Bug: b/182519645
Test: vts-tradefed run vts --module VtsHalTvTunerTargetTest. Manual
tests with different input configuration files.
Change-Id: Icb2d96b32ed7a14b845c752a79744c44fdaf04e3
2022-08-09 23:53:26 +00:00
Tyler Trephan
851a9626c3
Added missing HVAC properties to DefaultProperties.json
...
Test: Built
Bug: 237610879
Change-Id: I8a71d3ab47c2e60ed90a11cfeb4c10b44d93f1c9
2022-08-09 20:54:50 +00:00
Frankie Lizcano
9c464f7c5c
Improve Tuner VTS: Generate DVR Record Combos
...
This CL allows the VTS to read a vendor's configuration file, determine
if the given devices could support the DVR Record dataflow, and runs the
integration tests with all valid combinations.
2 functions were added to help drive the testing logic.
generateRecordCombinations() generates all valid record dataflow
configurations, and the integration tests call
generateRecordCombinations() to analyze whether to generate these
combinations or use the data flow provided by the vendor (if there is
one).
Additionally, when dynamically configuring DVR_Record, a bug was exposed
in the VTS that came about from recycling the function
recordSingleFilterTest(). When LnbRecord was initialized with a software
frontend, the VTS was looking to the record dataflow's dvr source for
input. If record is not hardcoded by the vendor, the VTS would crash.
To fix this error, an enum class was added as a parameter to
RecordSingleFilterTest() to take into consideration which dataflow
(lnbRecord or record [no Lnb]) was calling the function. New behavior is
defined to take into account both cases. Also, lnbRecord will not be
tested if there are no hardware frontends, as this is not very likely to
be configured by vendors.
Bug: b/182519645
Test: vts-tradefed run vts --module VtsHalTvTunerTargetTest. Manual
tests with different input configuration files.
Change-Id: I76c05ca2e33767e4bdcd2072db5144d495d623b0
2022-08-09 20:44:31 +00:00
Yu Shan
144675cfd7
Merge "Deprecate DefaultConfig.h."
2022-08-09 20:32:48 +00:00
Treehugger Robot
585a947488
Merge "Don't use C-style cast." am: d08759dc42 am: fe65055051 am: eeaec2158f am: 6a4a51ec4c am: 1b8a58b6dd
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2178554
Change-Id: Id8c530e4641d1dde572af1010d483f6400382872
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 07:31:10 +00:00
Treehugger Robot
1b8a58b6dd
Merge "Don't use C-style cast." am: d08759dc42 am: fe65055051 am: eeaec2158f am: 6a4a51ec4c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2178554
Change-Id: I242e8079f8efc1c67bd7d628afc14602f061a578
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 07:11:41 +00:00
Treehugger Robot
6a4a51ec4c
Merge "Don't use C-style cast." am: d08759dc42 am: fe65055051 am: eeaec2158f
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2178554
Change-Id: I402fa079eea196fb09468f45c6b115766b1eb343
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 06:57:02 +00:00
Treehugger Robot
eeaec2158f
Merge "Don't use C-style cast." am: d08759dc42 am: fe65055051
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2178554
Change-Id: Ifd92f2b0106b95aff603be0cd849262d07addca4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 06:33:22 +00:00
Treehugger Robot
fe65055051
Merge "Don't use C-style cast." am: d08759dc42
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2178554
Change-Id: If6bda47a289661afd84d40201d9beaa56f07d245
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 06:16:31 +00:00
Treehugger Robot
d08759dc42
Merge "Don't use C-style cast."
2022-08-09 05:56:19 +00:00
Treehugger Robot
38edcd499b
Merge "le_audio_offload: Support two sources for conversational" am: 5b4464928a am: 56ff7775f4 am: a60558a19d am: 033f26f91c am: 8a94467ad7
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2058869
Change-Id: I315369ff8f41ace4ed7f67e9369ae864463cd878
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 04:10:34 +00:00
Treehugger Robot
8a94467ad7
Merge "le_audio_offload: Support two sources for conversational" am: 5b4464928a am: 56ff7775f4 am: a60558a19d am: 033f26f91c
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2058869
Change-Id: I0d1c45b9997bcc648424fd432d44f0746d93c285
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 03:53:46 +00:00
Treehugger Robot
033f26f91c
Merge "le_audio_offload: Support two sources for conversational" am: 5b4464928a am: 56ff7775f4 am: a60558a19d
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2058869
Change-Id: I071b822d0c4a43796125d29a0d0e0d3ade0ebe5f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 03:37:37 +00:00
Treehugger Robot
a60558a19d
Merge "le_audio_offload: Support two sources for conversational" am: 5b4464928a am: 56ff7775f4
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2058869
Change-Id: If1abf47232e7d51bdc1e6923f89c3678dac1974e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 03:19:59 +00:00
Treehugger Robot
56ff7775f4
Merge "le_audio_offload: Support two sources for conversational" am: 5b4464928a
...
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2058869
Change-Id: I997da918ceece45e17d1c607d4d15ca8a2ca9ca3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-09 03:01:20 +00:00
Patty
039e85a385
le_audio_offload: Support two sources for conversational
...
Tag: #feature
Bug: 241775706
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I1bc59d09ec2ad3a8e65712c2fa099e806cce3c2d
Merged-In: I1bc59d09ec2ad3a8e65712c2fa099e806cce3c2d
(cherry picked from commit 51f165b314 )
2022-08-09 10:44:07 +08:00
Treehugger Robot
5b4464928a
Merge "le_audio_offload: Support two sources for conversational"
2022-08-09 02:42:58 +00:00
Yu Shan
9ba443f061
Deprecate DefaultConfig.h.
...
We migrated DefaultConfig.h to config JSON files.
Test: Presubmit
Bug: 238685398
Change-Id: Ia3d2e5b34b0cdbfb5078129aabfe4b080e2e67a8
2022-08-09 00:44:55 +00:00
Sean Hong
31b0fd2fa4
[automerger skipped] Merge "Add seat height properties to the emulator for CTS tests" into tm-qpr-dev am: c9d82cd796 am: 57d21d4d4d -s ours
...
am skip reason: Merged-In I48cd904dec83878570736cb8e99f0e169be753d7 with SHA-1 fb97396b40 is already in history
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19451676
Change-Id: I9163df060bf501ef6fe4141fe3bac75d339c32c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 20:14:51 +00:00
Sean Hong
57d21d4d4d
Merge "Add seat height properties to the emulator for CTS tests" into tm-qpr-dev am: c9d82cd796
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19451676
Change-Id: I0f266cd16b4096f9a41dfa6a9d0da30c91de1b10
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 19:56:47 +00:00
Sean Hong
c9d82cd796
Merge "Add seat height properties to the emulator for CTS tests" into tm-qpr-dev
2022-08-08 19:42:59 +00:00
Arthur Ishiguro
a9f7978a43
Modify onHostEndpointDisconnected to always return OK am: d90c46cc07 am: 4281bb2593
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19539871
Change-Id: I8537f9fbe9075e3716b8ddd063fa70c424f8fabb
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 19:40:11 +00:00
Arthur Ishiguro
4281bb2593
Modify onHostEndpointDisconnected to always return OK am: d90c46cc07
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19539871
Change-Id: I15bf9914be3086913b8388f36da231561421f8e8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-08 19:18:32 +00:00
Tomasz Wasilczyk
b542add5c7
Don't use C-style cast.
...
I thought Type{valueOfOtherPrimitiveType} is a fancy way of doing static
cast. It's not. In fact, it's the same as (Type)valueOfOtherType.
Bug: 241599082
Test: make -k100 tidy-hardware-interfaces-radio
Change-Id: I85ddbe54601b9111030013be85226b90f3d2fe6f
2022-08-08 19:04:26 +00:00
seanhong
3ed6a4042c
Add seat height properties to the emulator for CTS tests
...
Test: atest CarPropertyManagerTest
Bug: 239613431
Change-Id: I48cd904dec83878570736cb8e99f0e169be753d7
Merged-In: I48cd904dec83878570736cb8e99f0e169be753d7
2022-08-08 18:34:30 +00:00
Devin Moore
2bb50a60d7
Merge "Remove automotive.vehicle HIDL entry in compat matrix."
2022-08-08 18:14:53 +00:00
Patty
51f165b314
le_audio_offload: Support two sources for conversational
...
Tag: #feature
Bug: 241775706
Test: atest VtsHalBluetoothAudioTargetTest
Change-Id: I1bc59d09ec2ad3a8e65712c2fa099e806cce3c2d
2022-08-08 15:44:14 +00:00
Arthur Ishiguro
d90c46cc07
Modify onHostEndpointDisconnected to always return OK
...
Update the default HAL to reflect the API definition, which says that
the HAL should silently ignore incorrect values.
Bug: 233853737
Bug: 241339296
Test: Compile only
Change-Id: Iae541e29706dddc6c9acb0563a2b484b75b549b5
(cherry picked from commit bb1d8bfc93 )
2022-08-08 14:20:28 +00:00
Sean Hong
1f925f08ef
Merge "Add seat height properties to the emulator (DefaultConfig.h) for CTS tests"
2022-08-06 06:24:35 +00:00
Sean Hong
af7eac62c1
Merge "Add seat height properties to DefaultProperties.json for CTS tests"
2022-08-06 06:24:35 +00:00
Arthur Ishiguro
457519d5e5
Adds AndroidTest.xml for AIDL sensors VTS test am: ad325a0150 am: 10a6e36e73 am: fd322de409 am: 9b48351b53 am: d582a46c9b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/19531589
Change-Id: Ie08470bc267c4e0026e64d400213d462be4abece
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com >
2022-08-05 20:41:46 +00:00