Commit graph

235 commits

Author SHA1 Message Date
David Su
f0dfc4d624 Revert "Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated"
This reverts commit 0857d7caa0.

Reason for revert: breaks build: b/162086397

Change-Id: If91c59aa5485cd78e42b743a7bf786c68283aecb
2020-07-24 18:46:33 +00:00
Amy Zhang
68afca6d7c Add the PTS field for recording-time indexing in the DemuxFilterEvent
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: 158816517
Change-Id: Ib29fd0f55aaae2fb44b77f754cceb5152fc7158d
2020-07-24 10:42:43 -07:00
Xin Li
2cda765afc Merge stage-aosp-rvc-ts-dev into rvc-dev am: f73fe6b6bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12203367

Change-Id: I74978fe2cd4eabf829d72ac7e9feee51fb3cd799
2020-07-24 08:26:19 +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
Amy Zhang
80cb96048b Add a getAvSyncHwId_64bit in Tuner HAL 1.1 to support 64 bit hw sync id
Test: atest VtsHalTvTunerV1_1TargetTest
Bug: b/159058358
Change-Id: I3e58beaf4f61b27acce71a530e42293c4a87b181
2020-07-21 22:43:58 -07:00
Amy Zhang
45cc57ac67 Add VTS of Tuner HAL 1.1
For the APIs that have both 1.0 and 1.1 versions, the VTS 1.1
only tests the 1.1 version of them.

For example for getId in IFilter 1.0 and getId_64bit in IFilter 1.1,
the 1.1 VTS only tests the getId_64bit.

Test: atest VtsHalTvTunerV1_1TargetTest
Bug: b/159058358
Change-Id: Ibef0ef40c3d1fbb9ff034bfcabeb44663a444d23
2020-07-21 22:43:48 -07:00
Amy Zhang
bb94eeb456 Add default implementation of Tuner HAL 1.1
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
2020-07-21 22:43:06 -07:00
Amy Zhang
3ab6e1fbbf Enable Tuner HAL 1.1 interface
The first feature to support in this new Tuner HAL is the 64-bit id.
In the current CL, we support Demux and Filter ids in 64-bit format.
More component ids will be suppored in 64-bit in the following CLs.

Test: atest VtsHalTvTunerV1_1TargetTest
Bug: b/159058358
Change-Id: If05eb9f0cd76935064b2e51ff3ff1a3a477e3bd1
2020-07-21 22:42:50 -07: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
0857d7caa0 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
Merged-In: I7a2ad0e8a43c6262628354be316c530ab00ac520
2020-07-21 23:35:29 +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
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
Amy Zhang
de1d2b6cbe Fix bugs in the Tuner HAL 1.0 VTS
The previous implementation did not check some of the
Descrambler API test results to stop the test.
And the test itself was also implemented in a wrong way.

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150987138
Change-Id: Ie26db0ec1b231062d0314631eebec319382da1bc
(cherry picked from commit 6d774c89a1)
2020-07-20 18:12:54 +00:00
Amy Zhang
6d774c89a1 Fix bugs in the Tuner HAL 1.0 VTS
The previous implementation did not check some of the
Descrambler API test results to stop the test.
And the test itself was also implemented in a wrong way.

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150987138
Change-Id: Ie26db0ec1b231062d0314631eebec319382da1bc
2020-07-16 12:41:32 -07:00
Jooyung Han
d18cba85fe update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Merged-In: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
(cherry picked from commit b0907a6bb8)
2020-07-02 12:26:37 +09:00
Jooyung Han
b0907a6bb8 update hidl .bp
HIDL libs are not necessarily part of VNDK now. Because some are
used by VNDK libs, they are still VNDK. But rest are now just
vendor-available.

.hidl_for_test files are also removed because they are used to exclude
test-purpose hidl libs from VNDK libs.

Instead, .hidl_for_system_ext files are added to tests/lazy to
distinguish them from others which are installed /system.

Bug: 143933769
Test: update-makefiles.sh && m com.android.vndk.current
Change-Id: Ia81312dda340b6b5cbdd7a3c21e1d323bda39a4a
2020-07-02 09:18:17 +09:00
Amy Zhang
85a9ab32d7 Implement ES data process in Tuner default impl to support Sample TIS
This CL also provides a new VTS case to test ES input stream.
Please see the test.es https://drive.google.com/file/d/13ZDT9uhEO1LXDT2GcOhB91iIK6m_KEER/view?usp=sharing

ES Format(all the numbers are in decimal):
1. First line is a general meta data to describe the whole file

m:meta data size in bytes, l:ES frame line count X, V:video raw data size
int bytes, A:audio raw data size in bytes, pv:video pid, pa:audio pid

2. The following X lines(equals to the ES frame line count) are the size/pts information
of the video or audio ES frames. Starting with v means video, a means
audio. They are printed in the same order as how they presented in the
original ts.

v, Len:current ES frame size in bytes, PTS: current ES frame PTS

3. After the X lines of ES frame descriptions, there are the video ES raw
data connected with the audio ES raw data.

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 159027928
Change-Id: I56bd799fd6eda867df54d593235510a5e4758257
2020-06-23 17:53:51 +00:00
Amy Zhang
1fb7d06712 Merge "Enable frontend input loop when FrontendTune happens before Demux is configured." into rvc-dev 2020-06-12 23:16:38 +00:00
Amy Zhang
e0422236e2 Enable frontend input loop when FrontendTune happens before Demux is
configured.

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 153366959
Change-Id: I6fa98e367a7530e308ea2a74e7efeb6ed4d3a56b
2020-06-12 13:05:24 -07:00
TreeHugger Robot
abd049609d Merge "Move testing ts on Cuttlefish under /data/ directory" into rvc-dev 2020-06-12 19:51:48 +00:00
Amy Zhang
6bda6397cc Move testing ts on Cuttlefish under /data/ directory
/data directory is a proper place for test pusher to adb push the ts
during run time. It saves image size comparing to bundle the ts during
compiling.

Files under the /data directory could only be passed around by fd
instead of directly opening. This CL also changes the way the DVR VTS
reads the ts.

Also for virtual frontend, to read the shell data file, we need the
DVR playback to input the data when testing frontend.
This CL also changes the way default implementation reads the data -
from the dvr playback fmq.

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 153366959
Change-Id: I72a98e4c4c0328206da106fb1c3459745c1644b7
2020-06-11 19:29:19 -07:00
Amy Zhang
7e4859ce4a Add TimeFilter test in Tuner VTS
Test: VtsHalTvTunerV1_0TargetTest
Bug: 150953857
Change-Id: I5509f4d368a44a7cb9bbe1b2499a4b4760b510b6
2020-06-10 14:28:53 -07:00
Amy Zhang
71a50c311d Add getLnbByName Test in Tuner VTS
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 157955950
Change-Id: I69f5c37a63543ebde2b85f57d1301b4498183627
2020-06-05 14:43:21 -07:00
Amy Zhang
cda23ea38e Add Broadcast and Record tests for Frontend with Lnb
Test: VtsHalTvTunerV1_0TargetTest
Bug: 157955950
Change-Id: I71d33b9d481e44879867094a519d7a6c444bc10a
2020-06-05 14:43:06 -07:00
Amy Zhang
e5a9da2e17 Add ILnb VTS tests
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 157955950
Change-Id: Icc2fca6f65e48a05c916a9629913cc7b18a8fd80
2020-06-05 14:39:24 -07:00
Amy Zhang
f4c09fbbd0 Add filter linkage test to the Tuner VTS
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150953857
Change-Id: Ic98cf1655551623fdc4e4f7e6784faf814adfda5
2020-06-04 18:48:50 -07:00
Amy Zhang
b035b6a80f Merge "Add DescramberTests in Tuner VTS" into rvc-dev 2020-05-30 00:57:29 +00:00
Amy Zhang
fd7c644470 Add DescramberTests in Tuner VTS
Note that this test also includes MediaCasService openSession test
to pass the session id as the key token to the IDescrambler

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150987138
Change-Id: Iacd4ad5fcd957a6e3bb4a5730337ecaa3adc0aa2
2020-05-29 16:35:18 -07:00
Amy Zhang
b727291a67 Merge "Add IDemux getSyncHwId/getAcSyncTime tests in Tuner VTS" into rvc-dev 2020-05-20 00:07:51 +00:00
Amy Zhang
b717eb547e Add IDemux getSyncHwId/getAcSyncTime tests in Tuner VTS
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150953857
Change-Id: I6e19de3666e9a0edc9db12f002db3ce45c940a2f
2020-05-18 19:27:10 -07:00
Amy Zhang
7bfe997e13 Add IFrontend.getStatus VTS test
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150953857
Change-Id: I4979ae41f102dfd1a836c1d3a67bf3b932891e23
2020-05-15 15:00:00 -07:00
shubang
6ab3f08328 Add more FrontendStatus for CTS
Bug: 155342902
Test: atest android.media.tv.tuner.cts.TunerTest
Change-Id: I90e08eea2470d223f54179a8fa13eef69e2f5230
2020-05-01 17:32:40 -07:00
TreeHugger Robot
11c711a434 Merge "Update FrontendInfo for CTS" into rvc-dev 2020-05-02 00:27:09 +00:00
shubang
f809faed3c Update FrontendInfo for CTS
Bug: 155342902
Test: atest android.media.tv.tuner.cts.TunerFrontendTest
Change-Id: Iacc0eb09499a14cbbb6cc605c91fa404361a073c
2020-04-29 18:16:39 -07:00
Amy Zhang
6e8163a241 Fix issues in Tuner VTS Dvr testing
This CL fixes the following issues:
1. Modified some unnecessary or not proper debug msg in the VTS/Default
impl
2. Some incorrect VTS testing order
3. Added a flush test on Dvr status
4. Used a ts from Android aosp cts for testing
5. Changed the configuration to run with the new ts on cf
6. Fixed some deadlock and logic issues in the VTS/Default
implementation

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150989084
Bug: 153366959
Bug: 153367094
Change-Id: If7eb8534caff4fc11ac4e166ef5391e8f543408d
2020-04-28 19:06:09 -07:00
Amy Zhang
a305c1c58c Refactoring the Dvr data flow tests in the Tuner VTS
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150989084
Change-Id: I496dccd9dddcf6043c05faee6fbe1f0418586bc4
2020-04-28 15:00:38 -07:00
Amy Zhang
d8040b86f7 Merge "Make dvr tests a separate module" into rvc-dev 2020-04-25 00:48:21 +00:00
shubang
fd882510f3 Add Lnbs for CTS
Bug: 150952758
Test: atest android.media.tv.tuner.cts.TunerTest
Change-Id: I0e1954ceaa93c110dabc669759675834f30b9524
2020-04-22 14:59:03 -07:00
Amy Zhang
0fe25be005 Make dvr tests a separate module
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150989084
Change-Id: I35d717f357b176d5cbec5d154f4df30fd2c4a18e
2020-04-21 01:16:57 -07:00
shubang
a990ecee79 Call scan callback for ATSC
It's a temp solution for CTS.

Bug: 150952758
Test: atest android.media.tv.tuner.cts.TunerTest
Change-Id: I31242910af39108dca5920bd0892fa16aa6d29be
2020-04-17 18:29:27 -07:00
TreeHugger Robot
32e9b63608 Merge "Return SUCCESS in scan for ATSC" into rvc-dev 2020-04-16 23:15:06 +00:00
Dan Shi
fdbc494c69 Remove references of VtsHalHidlTargetTestBase
Bug: 147894326
Test: build
Change-Id: If847cc3aa5bb17682b92266f5460efe9d3fadfab
2020-04-13 23:15:50 -07:00
Amy Zhang
4f6980571a Separate Demux and Filter fixture classes from the Tuner HAL VTS target
test

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150953857
Change-Id: I373c3ba56ab80e02c79d24f865a956dae4b44226
2020-04-13 15:23:58 -07:00
Amy Zhang
b3fb40bd05 Make VtsHalTvTunerV1_0FrontendTest an independent test.
Note that this refactoring extracts two header files for
VtsHalTvTunerV1_0FrontendTest and VtsHalTvTunerV1_0TargetTest.

Test: atest VtsHalTvTunerV1_0FrontendTest/VtsHalTvTunerV1_0TargetTest
Bug: 150953857

Change-Id: Ie5f0dc4a9180ecc779004cb451a45ae54a6ea47c
2020-04-13 15:19:56 -07:00
shubang
71d6059bba Return SUCCESS in scan for ATSC
This is for a CTS test case

Bug: 150952758
Test: atest android.media.tv.tuner.cts.TunerTest
Change-Id: I8761fec6af392e4f2d18bc38760effcae2aec273
2020-04-10 18:13:25 -07:00
shubang
b0c1bbb354 Add frontend caps for CTS
Bug: 150952758
Test: atest android.media.tv.tuner.cts.TunerTest
Change-Id: I5bf1fbf24ef6375b08554617bcd05792e7e9e521
2020-04-09 16:57:54 -07:00
Amy Zhang
91d504821e Merge "Enhance and refactoring the Tuner VTS on searching frontend by type test" into rvc-dev 2020-04-09 22:51:05 +00:00
Amy Zhang
050bf78644 Enhance and refactoring the Tuner VTS on searching frontend by type test
Test: atest VtsHalTvTunerV1_0TargetTest on cf and vendor device
Bug: 150953857
Change-Id: I9c90e34c6b336d20f5456e7f676ced699f166d54
2020-04-09 11:01:04 -07:00
TreeHugger Robot
8bc18c0ed5 Merge "Add SECTION/TS/AUDIO/VIDEO Tuner vts Broadcast tests" into rvc-dev 2020-04-09 03:28:56 +00:00
Dan Shi
aad51fa000 Rename vts-core to vts
Bug: 151896491
Test: local build
Exempt-From-Owner-Approval: This CL update suite name vts-core to vts as
the suite name is updated. This CL won't change test logic or behavior.

Change-Id: I562b4dc50765e953800a814a8fd84a01c1b9352b
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-04-07 16:37:40 -07:00
Amy Zhang
e2654bfb87 Add SECTION/TS/AUDIO/VIDEO Tuner vts Broadcast tests
Please expect to see a refactoring on a more robust and cleaner version
of the new filter tests the child CL.

Test: atest VtsHalTvTunerV1_0TargetTest on cf and vendor device
Bug: 150953857
Change-Id: I34fbb193d0208d19496f360d900ae5078ece2cc5
2020-04-07 16:01:09 -07:00
Amy
e3b052154d Align Tuner VTS scan tests with the latest scan mechanism
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 135708935
Bug: 150953857
Change-Id: Ibb0a70195b1e8f89a45f3ab1a025dfaab4c76859
2020-03-27 16:01:05 -07:00
Amy
d6afead9fc Copy filtered av data to ion buffer to test on cuttlefish
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 150952766
Change-Id: If007f9c021102dc95be8e9dc70be70d3945192a9
2020-03-27 16:00:47 -07:00
Amy
0f15956fb5 Refactor Tuner VTS dvr and descrambler test implementation
Note that we are not testing them right now
Test entry will be implemented or uncomment in next Tuner develop phase

Test: cuttlefish + vendor device
Bug: 135708935
Change-Id: Iea72bd54c85105f74133c67433bd51f8fd07f28d
(cherry picked from commit fc7cc15ebb)
2020-02-27 15:31:53 -08:00
Amy
c1353fced6 Refactor Tuner VTS broadcast data flow test
Test: cuttlefish + vendor device test
Bug: 135708935
Change-Id: Ia7b6bf76c1f98202fb93ddf5d4f09c742e3f7c8b
(cherry picked from commit 46f46cd931)
2020-02-27 15:31:30 -08:00
Amy
d2ee30021f Refactor Tuner VTS filter part
Test: cuttlefish + vendor device
Bug: 135708935
Change-Id: I77b86da48720fa117d5afd273c3b157ddd650e10
(cherry picked from commit 6fbe5d77d7)
2020-02-27 15:31:06 -08:00
Amy
3c95a93b48 Refactor Tuner vts test Demux part
Test: cuttlefish + vendor device test
Bug: 135708935
Change-Id: I7e8e14809975854d6c88819a40819227a187a5a1
(cherry picked from commit dd08190510)
2020-02-27 15:30:46 -08:00
Amy
c830cfb345 Refactoring Tuner VTS frontend test part
Note that other interface tests are comment out in this CL
and will be refactored and uncomment in the CL chains.

Test: cuttlefish atest + vendor device test
Bug: 135708935
Change-Id: If831219fc588827c9367a506ba7fe7c96bea0286
(cherry picked from commit a5d00e6498)
2020-02-27 15:30:24 -08:00
Henry Fang
460b9610bf Add comments for invalid IP/port and add Invalid filterID/avSyncId
To allow client to identify and specify invalid value

bug: 148110220
Test: Manual
Change-Id: Ib5e88a13cdcca0b62f55fab992293ed17e0ed708
2020-02-16 03:09:25 +00:00
Amy
00e6671d5a Add an xsd and a sample xml to take vendor Tuner Resource Manager use case
priority hint

Test: xmllint --noout --schema tunerResourceManagerUseCaseConfig.xsd tunerResourceManagerUseCaseConfigSample.xml
Bug:
Change-Id: If32019a96a4b0e84f91d628e0e95158d7330037e
2020-02-11 03:21:52 +00:00
Henry Fang
875cd25c07 Remove vberCn, lberCn, xerCn
These values are specific to phase modulation in ISDB-S.
It's not general use case.

bug: 148110220
Test: Manual
Change-Id: If847ca6c31681b1fe9dd94512c41b194dba41127
2020-02-06 15:52:11 -08:00
shubang
ba232e44af Add getFrontendInfo/status default impl
Test: make; acloud create;
Change-Id: Ie1a81a8e571d430d7e464dc631bdfd2ba51077cc
2020-02-03 11:11:49 -08:00
Amy Zhang
739dfb06b8 Merge "Add test mapping for Tuner HAL" 2020-01-23 16:07:05 +00:00
Nick Chalko
fc4c08698a Add test mapping for Tuner HAL
Run HAL VTS

Change-Id: Ie1b62a6e7a8ab54df013cf59655d689e4a662170
Test: atest
Bug: 135705719
2020-01-22 23:44:33 +00:00
Amy
a29bfaf17a Convert VtsHalTvTunerV1_0TargetTest to be parameterized test
Bug: 139309306
Test: atest VtsHalTvTunerV1_0TargetTest
Change-Id: I02cd4b7c58b8339bc2fdc69ecb8fc0e88f5baa3f
2020-01-22 14:50:42 -08:00
Henry Fang
d13c298ff5 Add a few type for Analog frontend
Test: Manual
bug: 135708935
Change-Id: Ib0dbd610620682854f8c2b421285da39233cec01
2020-01-18 00:47:08 +00:00
Amy
342388ac41 Disable Tuner HAL VTS test cases that use un-licensed stream.
Test: atest
Change-Id: I91c27f536bcf589dd605b402a851af14cd2c993f
2020-01-17 05:43:10 +00:00
TreeHugger Robot
6191c9c594 Merge "Export FrontendDvbtPlpMode" 2020-01-16 02:16:40 +00:00
shubang
e266073ed6 Export FrontendDvbtPlpMode
Test: make;
Change-Id: I3d4c0667ba1251b3038681759c50b453cd40a8ca
2020-01-15 02:16:57 -08:00
Henry Fang
fe019ac3f7 Add DataId for Audio Handle in Audio Track
Test: Manual
bug: 135708935
Change-Id: I639d65999dbf1bf727837298804c350698a9f08a
2020-01-14 14:19:47 -08:00
Nick Chalko
4b9ab65f96 Improve documentation for FrontendEventType
Test: m android.hardware.tv.tuner@1.0
Change-Id: I3eece06215debfdb5122faa84ce5a80c1a28a8db
2020-01-08 10:57:39 -08:00
TreeHugger Robot
acea8b8e60 Merge "Add @export to frontend scan enums" 2019-12-23 20:27:34 +00:00
Amy
97ce9c553d Add a DVR Record data flow test in the Tuner HAL 1.0 VTS
Test: atest on cuttlefish
Bug: 135708935
Change-Id: I3923b7bcfae6ea07a46603bd9f97e743d36284e2
2019-12-17 16:06:50 -08:00
Amy
5ed13574aa Adding a DVR Record default implementation in Tuner HAL 1.0
Test: cuttlefish
Bug: 135709325
Change-Id: I415426d6ec048bdd2ae61a3c5142ad02f1d7f1e4
2019-12-17 16:06:25 -08:00
Henry Fang
d5f570e7d7 Tuner HAL minor corrections
Test: Manual
bug: 135708935
Change-Id: I2f74b2a4266ea86a80dab8b729bf57a78319b207
2019-12-17 16:06:17 -08:00
shubang
efb7ffa6ca Add @export to frontend scan enums
Test: make;
Change-Id: I9489ae28722e73de0aba7e83b115935546e8e357
2019-12-11 15:33:20 -08:00
Henry Fang
89f12f58b0 Add TEMI filter, releasing AV handle and CI-CAM
Test: Manual
bug: 135708935
Change-Id: I21701185feb274dc1e8b3cff3db59b9d3f73edf1
2019-11-26 11:18:48 -08:00
Amy
0f94ba87a0 VTS refactoring for filter separation
Test: atest
Bug: 135708935
Change-Id: I22b6249a953b81793fdfbf17adbadeebde12277a
2019-10-25 21:32:21 +00:00
Amy
b4b680167c Refactor Tuner HAL Default Impl for Filter and Dvr separation
Test: manual
Bug: 135709325
Change-Id: I130f555315683fa02272f40d1e6209c5695c884a
2019-10-25 21:32:11 +00:00
Henry Fang
e5125a89ab Add Filter linkage and seperate interface
Test: Manual
bug: 135708935
Change-Id: I5782a183936ffca4f345d14c353ad34210f12df7
2019-10-25 21:32:03 +00:00
TreeHugger Robot
c8eae8a64e Merge "Fix minor issues in dmux default impl" 2019-10-16 17:38:15 +00:00
shubang
9a1e5aa93a Fix minor issues in dmux default impl
Test: mannual
Change-Id: If74df110cd9eda2dadb87a8d659d83233ad75d88
2019-10-15 22:22:26 -07:00
Nick Chalko
b25ffb297b Fix spelling error.
Test: n/a
Change-Id: Ia0be33f6295dcdc1606c3f0c619ff4b1a372ff22
2019-10-15 15:53:07 -07:00
Amy
1109e9fee2 Adding PES filter functionality to assemble PES data
Test: manual
Bug: 135709325
Change-Id: I9bbbae88918004201e6d7d5389473b4fd3a0a969
2019-10-10 19:02:54 -07:00
Amy
7912502053 Adding filter status tracking logic into Demux default impl
Test: manual
Bug: 135709325
Change-Id: I2d473c250dc4d87263d5e7004095d144da684223
2019-10-10 18:43:31 -07:00
TreeHugger Robot
5165caf6c6 Merge "Add a README for tuner HAL." 2019-10-09 02:10:15 +00:00
Nick Chalko
2d724a3251 Add a README for tuner HAL.
Test: viewed on gtiles.
Change-Id: Ib03bd9ffecd0c67a504a129db7b1cf16181f7b1f
2019-10-08 17:56:33 -07:00
Nick Chalko
e36b09b4c9 Fix some spelling errors
Test: m android.hardware.tv.tuner@1.0
Change-Id: I2f1551106a2d18efe0819bea62cd0f9a0679c636
2019-10-08 14:54:52 -07:00
Amy
4bad0f9840 Adding a Broadcast data flow test with a PES filter
Test: atest
Bug: 135708935
Change-Id: I64166ae5113a7c0bfd834a85c722a860c1d16694
2019-10-08 11:21:20 -07:00
Amy
5094ae172d Adding the mocking frontend tuning functionality to take specific ts
file as source of a Demux.

Test: atest
Bug: 135709325
Change-Id: I69849db58d68a7496f929940a74a63e7a9e6c6be
2019-10-08 11:21:02 -07:00
Amy
22cd1cbf8c Adding filter configuration and pes filter test based on PID test
Test: atest
Bug: 135708935
Change-Id: I61d6dab9124190b05a030f0ea36dcc15c00b7ac3
2019-10-08 11:20:50 -07:00
Amy
42a5b4b87f Adding a TS filter functionality into the Demux default impl
Test: atest
Bug: 135709325
Change-Id: I149104fd4c7d1ce413036b147365a49973455e72
2019-10-08 11:20:38 -07:00
Henry Fang
859ec12b8d Tuner HAL : patch comments and ATSC3
bug: 135708935
Test: Manual
Change-Id: I2ccd19cba6e9a5fa6f9c61ca9a7ef13b7ab834e3
2019-10-08 11:20:12 -07:00
Amy
fda9224f14 Playback VTS modulization
Test: manual
Bug: 135708935
Change-Id: I07c03223703290196a20b0b3f689637063bac202
2019-09-24 14:58:40 -07:00
Amy
016b73119c Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support default implementation
Test: manual
Bug: 135709325
Change-Id: I846c8d1f50ad636e9718cf792a29c8b076246c54
2019-09-24 13:54:27 -07:00
Henry Fang
0d5c8da338 Add DVBC/DVBS/ISDBT/ISDBS/ISDBS3/ATSC3 support
bug: 135708935
Test: Manual
Change-Id: I667afbe8f4455ba1c70ae3113a2cd6819aa28156
2019-09-24 13:54:27 -07:00
Dongwon Kang
d6887ca8cc Remove unnecessary include in service.cpp
Test: build.
Bug: 139201422
Change-Id: I13fcd1223eacc999c66c514b549c51a96e4efda6
2019-09-23 14:21:57 -07:00
Amy
9db58dfa48 Tuner HAL Demux Playback interface VTS
Test: manual
Bug: 135708935
Change-Id: Ifb93bbd5920f7998d9716a55cba983f8a5ace425
2019-09-18 15:34:54 -07:00
Amy
a4885299c2 Tuner HAL Demux Playback interface implementation
Test: manual
Bug: 135709325
Change-Id: I0b673159b667c5bde47e9ed285cfa1bdc6c668c6
2019-09-18 15:19:20 -07:00
Henry Fang
2226b070fb Add record and playback to Tuner HAL
bug: 135708935
Test: Manual
Change-Id: Ibe8a51be31f455cc15b380748a0810e2706e5c1e
2019-09-18 15:19:08 -07:00
Steven Moreland
38c46d0b98 Merge "Remove libhwbinder/libhidltransport deps" am: 6b62c58a9a am: 8c22c3862f am: 6684ee8c36
am: 9a5ffa3196

Change-Id: I3a80895d10767fe68e90a907312a83ded976cbcc
2019-09-06 16:06:13 -07:00
Steven Moreland
6b62c58a9a Merge "Remove libhwbinder/libhidltransport deps" 2019-09-06 19:33:26 +00:00
Amy Zhang
7048f252cf Merge "Add Demux and Descrambler interface to Tuner HAL Test: Manual bug: 135709729" 2019-09-06 01:42:09 +00:00
Steven Moreland
b3a4d3832e Remove libhwbinder/libhidltransport deps
Since these were combined into libhidlbase.

Bug: 135686713
Test: build only (libhwbinder/libhidltransport are empty)
Change-Id: I075670b64eebbbbd6a6ae0e84ad51bf1c6f5ba36
2019-09-06 01:07:02 +00:00
Treehugger Robot
52119b7ee2 Merge "Adding OWNER for the TunerHAL implementation" 2019-09-05 23:31:22 +00:00
Henry Fang
cf05ed7e03 Add Demux and Descrambler interface to Tuner HAL
Test: Manual
bug: 135709729

Change-Id: I78283acdd7c22a2d4a785fa050bedd5e7ccc593e
Merged-In: I78283acdd7c22a2d4a785fa050bedd5e7ccc593e
2019-09-05 21:54:32 +00:00
Amy
7bbbdd2499 Adding OWNER for the TunerHAL implementation
Test: manual
Change-Id: Ia716b7ddabe80203b19d80cf54efb7fb93df3e10
2019-09-05 11:01:25 -07:00
Amy
5c6e59b1b0 Add an OWNER file to the Tuner HAL 1.0 VTS
Test: manual
Change-Id: I2e5992a827dc430118cfbd68982c4ef08aa9b0e1
2019-09-05 10:56:25 -07:00
TreeHugger Robot
9f668424f2 Merge "Add an OWNER file to the Tuner HAL 1.0 VTS" 2019-09-05 17:39:04 +00:00
Amy Zhang
983289314d Merge changes from topic "tuner_filter"
* changes:
  Tuner HAL Demux Filter VTS
  Tuner HAL Filter APIs default implementation
  Add filter function to Demux interface and Add program info to Descrambler
2019-09-05 03:16:23 +00:00
Amy
2814d04173 Add an OWNER file to the Tuner HAL 1.0 VTS
Test: manual
Change-Id: I2e5992a827dc430118cfbd68982c4ef08aa9b0e1
2019-09-04 19:20:29 -07:00
Amy
052275a924 Tuner HAL Demux Filter VTS
Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 135708935
Change-Id: I2b6b7e904cb274e7ccd10e481b04dfd9394afe3e
2019-09-04 18:31:27 -07:00
Amy
a609d5a0e2 Tuner HAL Filter APIs default implementation
Bug: 135709325
Test: manual
Change-Id: If10acac560d3130105079121602be576eb0b225a
2019-09-04 18:31:09 -07:00
Henry Fang
2dfa337903 Add filter function to Demux interface and Add program info to Descrambler
bug: 135708935
Test: Manual
Change-Id: Iacaebdac6a8ce08ca47ae272be13d51fbd502959
2019-09-04 18:30:46 -07:00
TreeHugger Robot
06b7cb24dd Merge "Fix spelling errors" 2019-08-28 17:13:31 +00:00
Amy Zhang
54a8146aeb Merge "Tuner HAL VTS for Tuner and Frontend Interface." 2019-08-23 21:36:34 +00:00
Amy Zhang
6f2162e3db Merge "Tuner HAL default implementation for ATV for Tuner and Frontend Interface." 2019-08-23 21:36:34 +00:00
Peter Kalauskas
0fe5a0e89e Merge "Convert LazyServiceRegistrar usage to singleton" 2019-08-23 19:25:23 +00:00
Nick Chalko
615647f437 Fix spelling errors
Change-Id: Ie8c8212d953ef74192e3b713975b813098a7485a
Test: m VtsHalTvTunerV1_0TargetTest
2019-08-23 10:33:52 -07:00
Amy
7fb75d8cf8 Tuner HAL default implementation for ATV for Tuner and Frontend Interface.
Bug: 135709325
Test: Manual
Change-Id: I5603e2c6dd71c46c9c5f3b0e25425c965e77ed0c
Merged-In: I5603e2c6dd71c46c9c5f3b0e25425c965e77ed0c
2019-08-23 00:47:35 +00:00
Amy
aa2891826c Tuner HAL VTS for Tuner and Frontend Interface.
Bug: 135708935
Test: Manual
Change-Id: I5be2206ffe606ccc5464635f9a26e2c281930a0b
Merged-In: I5be2206ffe606ccc5464635f9a26e2c281930a0b
2019-08-23 00:47:16 +00:00
Henry Fang
ec76614f65 Tuner HAL for ATV
Initialize Tuner HAL review from Tuner and Frontend Interface.

Bug: 135709729
Test: Manual
Change-Id: Ibfc18049ea471a1cfec6fb9f5b71f8a92cf89045
Merged-In: Ibfc18049ea471a1cfec6fb9f5b71f8a92cf89045
2019-08-23 00:46:49 +00:00
Amy Zhang
74b1b47674 Merge changes from topic "Tuner HAL demux and descrambler"
* changes:
  Tuner HAL VTS for Demux and Descrambler Interface.
  Tuner HAL default implementation for Demux and Descrambler Interface.
  Add Demux and Descrambler interface to Tuner HAL Test: Manual bug: 135709729
2019-08-22 21:06:37 +00:00
Peter Kalauskas
600809eaab Convert LazyServiceRegistrar usage to singleton
Test: lshal
Bug: 139376253
Change-Id: I8a407d84f1a5b51309cf4306cf1beab4ed0c7df4
2019-08-22 12:30:58 -07:00
Nick Chalko
6afc174076 Merge "Improve IFrontend docstrings" 2019-08-22 11:30:05 +00:00
Amy
c247c884fa Tuner HAL VTS for Demux and Descrambler Interface.
Bug: 135708935
Test: Manual
Change-Id: I1f2c9bfe6036dc6070dbf88d9728645f2568dcde
2019-08-21 19:16:41 -07:00
Amy
fd4243a951 Tuner HAL default implementation for Demux and Descrambler Interface.
Bug: 135709325
Test: Manual
Change-Id: I38a92abb761d2d39e8e6a495f2d93dee5f1c9d90
2019-08-21 19:15:47 -07:00
Henry Fang
f3eec03f42 Add Demux and Descrambler interface to Tuner HAL
Test: Manual
bug: 135709729

Change-Id: I78283acdd7c22a2d4a785fa050bedd5e7ccc593e
2019-08-21 18:13:51 -07:00
Amy
79e0167fea Adding OWNER for the TunerHAL implementation
Test: manual
Change-Id: Ia716b7ddabe80203b19d80cf54efb7fb93df3e10
2019-08-21 13:54:39 -07:00
Nick Chalko
7d6690e533 Improve IFrontend docstrings
Change-Id: I9c8395a43807d05ccc4d78da169f7fd1b8ab88ac
Test: m VtsHalTvTunerV1_0TargetTest
2019-08-16 15:31:08 -07:00
Amy Zhang
1de3dec97d Merge changes from topic "Tuner Hal Frontend interface"
* changes:
  Tuner HAL VTS for Tuner and Frontend Interface.
  Tuner HAL default implementation for ATV for Tuner and Frontend Interface.
2019-08-15 18:02:50 +00:00
Amy
01f5eacdcc Tuner HAL VTS for Tuner and Frontend Interface.
Bug: 135708935
Test: Manual
Change-Id: I5be2206ffe606ccc5464635f9a26e2c281930a0b
2019-08-14 15:44:03 -07:00
Amy
126ee92023 Tuner HAL default implementation for ATV for Tuner and Frontend Interface.
Bug: 135709325
Test: Manual
Change-Id: I5603e2c6dd71c46c9c5f3b0e25425c965e77ed0c
2019-08-14 15:39:21 -07:00
Henry Fang
bca165e63a Tuner HAL for ATV
Initialize Tuner HAL review from Tuner and Frontend Interface.

Bug: 135709729
Test: Manual
Change-Id: Ibfc18049ea471a1cfec6fb9f5b71f8a92cf89045
2019-08-14 13:53:39 -07:00