Commit graph

235 commits

Author SHA1 Message Date
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