1) The tuner cases should be always allowed on devices w/o tuner.
-- VTS is common for all devices, we must allow the tuner cases to
pass/skip on non TV devices.
-- The tuner HAL is also optional on TV devices, like OTT, the tuner
VTS cases should be skipped on those devices too.
2) Filter type has been checked in Demux::attachRecordFilter().
Bug: 188709323
Test: make vts
Change-Id: Ifd1cb805d7f5d552a4aa7365ba78ff87b8a3ccc1
The current implementation does not clear the previous memcopy before
copying the next round of data into the buffer. This CL fixes the issue.
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 159027928
Change-Id: I3399c69ead046630d9c22e8fbe1e816f6ea529f9
This CL enables the android.hardware.tv.tuner@1.1-service
with the default implementation of Tuner HAL 1.1
The 1.0 Tuner HAL interface implementation are identical to the 1.0
default implementation.
The 1.1 new API implementation are added with *_1_1 suffix.
Note that we cast all the uint32_t id in the 1.0 Hal implementation
into uint64_t even calling the old 1.0 APIs. This makes sure
the 1.1 default implementation internally only record 64-bit ids.
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: b/159058358
Change-Id: Ic506376e520f03235010bc503e337c02d5735ec3