Commit graph

458 commits

Author SHA1 Message Date
Amy Zhang
7a7838f88c Add ILnb VTS tests am: e5a9da2e17
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11696698

Change-Id: I2d74508971d476a757399fb311a1cfeeedde4882
2020-06-06 00:04:07 +00:00
TreeHugger Robot
c8b45850ba Merge "Add filter linkage test to the Tuner VTS" into rvc-dev am: 738334a656 am: 3b4b7ad573 am: e5e3d7db39 am: 12f6c6e4bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11732805

Change-Id: I92824dbc3b3d681b83e7c18e374ed4e910bea39d
2020-06-05 22:18:30 +00: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
TreeHugger Robot
e5e3d7db39 Merge "Add filter linkage test to the Tuner VTS" into rvc-dev am: 738334a656 am: 3b4b7ad573
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11732805

Change-Id: Ia57dc97846873173eb3bf0d60717ec7edd58f001
2020-06-05 21:42:16 +00: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
TreeHugger Robot
67e0900c29 Merge "Add filter linkage test to the Tuner VTS" into rvc-dev am: 738334a656
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11732805

Change-Id: I02e2e7b9fe704133f1ec2a6ba4dc2207e9c83fbd
2020-06-05 21:28:04 +00: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
9d5a476014 Merge "Add DescramberTests in Tuner VTS" into rvc-dev am: b035b6a80f am: 1635f9e103 am: 4453f76ded am: bf1c441026
Change-Id: I94d88c301e41cf29450b9d9e899b590f29f7b69f
2020-05-30 01:51:35 +00:00
Amy Zhang
bf1c441026 Merge "Add DescramberTests in Tuner VTS" into rvc-dev am: b035b6a80f am: 1635f9e103 am: 4453f76ded
Change-Id: I80be50f9e4d0274fa96006359b2e48e44ba41380
2020-05-30 01:38:42 +00:00
Amy Zhang
484bbd0755 Merge "Add DescramberTests in Tuner VTS" into rvc-dev am: b035b6a80f
Change-Id: Idcb6603a6d324f5c318a9efa3dfc497eb01a3e93
2020-05-30 01:11:31 +00: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
b33b3d76bb Merge "Add IDemux getSyncHwId/getAcSyncTime tests in Tuner VTS" into rvc-dev am: b727291a67 am: b2a4e3c9d5 am: 96b0a2a63b am: e5f4c74160
Change-Id: I91365906380b8e52f688bdc6a3483633a30850b0
2020-05-20 01:03:51 +00:00
Amy Zhang
96b0a2a63b Merge "Add IDemux getSyncHwId/getAcSyncTime tests in Tuner VTS" into rvc-dev am: b727291a67 am: b2a4e3c9d5
Change-Id: I5cd62d09c3d1820b8b695dc9d608d7286355309d
2020-05-20 00:33:58 +00:00
Amy Zhang
2f881d10ad Merge "Add IDemux getSyncHwId/getAcSyncTime tests in Tuner VTS" into rvc-dev am: b727291a67
Change-Id: Ic289ec6d7c74c6d45d2e3beaa9e9a1d675ee7116
2020-05-20 00:22:37 +00: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
74063a1f7d Merge "Add IFrontend.getStatus VTS test" into rvc-dev am: 03859a7c36 am: b89c123d44 am: 8d7a12b1fd am: 6be8a92af1
Change-Id: Ifa07b437590df12788690488eac94cfec0554e7f
2020-05-18 21:15:47 +00:00
Amy Zhang
b89c123d44 Merge "Add IFrontend.getStatus VTS test" into rvc-dev am: 03859a7c36
Change-Id: I88dcf4ce65829a94819a650cc798d2bacfe59c11
2020-05-18 20:28:36 +00: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
TreeHugger Robot
8f8bd1f9c8 Merge "Add more FrontendStatus for CTS" into rvc-dev am: 4c12e5c7ba am: afd0baf1de am: 12568a83ad am: 477f0f0c08
Change-Id: Ia4794ad6a50a3018cbf5ce9f00fc4458da6b3896
2020-05-05 17:36:57 +00:00
TreeHugger Robot
477f0f0c08 Merge "Add more FrontendStatus for CTS" into rvc-dev am: 4c12e5c7ba am: afd0baf1de am: 12568a83ad
Change-Id: Id348fdf929f761cd53e9d636cdf44d15018acde7
2020-05-05 17:20:14 +00:00
TreeHugger Robot
3dc23336ac Merge "Add more FrontendStatus for CTS" into rvc-dev am: 4c12e5c7ba
Change-Id: I7224209095824b58862999ed67089f99a0e41dcf
2020-05-05 16:50:01 +00:00
TreeHugger Robot
91a213bd77 Merge "Update FrontendInfo for CTS" into rvc-dev am: 11c711a434 am: 9d519e45b0 am: 7cee2f592b am: 66e7f5529a
Change-Id: Ic3247de8cdb7550d4734720a26898f283620cac1
2020-05-02 01:23:47 +00:00
TreeHugger Robot
7cee2f592b Merge "Update FrontendInfo for CTS" into rvc-dev am: 11c711a434 am: 9d519e45b0
Change-Id: Ie8e05bd68291e09573b61eee3e50ca6afa2a45e7
2020-05-02 00:51:54 +00:00
TreeHugger Robot
3bfea3e57f Merge "Update FrontendInfo for CTS" into rvc-dev am: 11c711a434
Change-Id: I76374239809a56c08383e2d9b6ca4c9dafc0db16
2020-05-02 00:39:16 +00: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
Amy Zhang
81e4a16fc3 Merge "Fix issues in Tuner VTS Dvr testing" into rvc-dev am: a3f9fae571 am: 24ecb4a927 am: 170186ba2a am: 29cf6be5c9
Change-Id: If84f27886109917929d5e58ca5ec335429b5ae37
2020-05-01 21:02:44 +00:00
Amy Zhang
170186ba2a Merge "Fix issues in Tuner VTS Dvr testing" into rvc-dev am: a3f9fae571 am: 24ecb4a927
Change-Id: Ief7d9298f510ec28a8a51f02e91ec60b82ad2fe5
2020-05-01 20:33:16 +00:00
Amy Zhang
5b9b3049db Merge "Fix issues in Tuner VTS Dvr testing" into rvc-dev am: a3f9fae571
Change-Id: I6737c773f9b27a490bacb45f3a5dba4f15f96ee7
2020-05-01 20:22:00 +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
e03982330f Merge "Refactoring the Dvr data flow tests in the Tuner VTS" into rvc-dev am: 5a49885b8c am: b311b094eb am: c70f233a1c am: 2f45e474ae
Change-Id: I1d3067c4b531e253f904a581fad98ad8f010caa9
2020-04-30 00:53:56 +00:00
Amy Zhang
b311b094eb Merge "Refactoring the Dvr data flow tests in the Tuner VTS" into rvc-dev am: 5a49885b8c
Change-Id: I411b4c03bdc5f92b7117081ac7c1f7d4c47d27f0
2020-04-30 00:17:21 +00: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
f704c34d5a Merge "Make dvr tests a separate module" into rvc-dev am: d8040b86f7 am: 469196a204 am: 38f5760b30 am: f6d560ad52
Change-Id: Iaf7e76e422e9960e9ed934125594f8fc6df43856
2020-04-25 02:02:29 +00:00
Amy Zhang
469196a204 Merge "Make dvr tests a separate module" into rvc-dev am: d8040b86f7
Change-Id: I997cd76cb0e441f0252618f0dbd4561a96ad5e8a
2020-04-25 01:10:28 +00:00
Amy Zhang
d8040b86f7 Merge "Make dvr tests a separate module" into rvc-dev 2020-04-25 00:48:21 +00:00
TreeHugger Robot
474778aefe Merge "Add Lnbs for CTS" into rvc-dev am: 8350572765 am: 199bf5002c am: 53bf01f26a am: 5c690150de
Change-Id: I4beed5d2a2c70c3f370fd2f545e8ff705cbb7cac
2020-04-25 00:31:19 +00:00
TreeHugger Robot
53bf01f26a Merge "Add Lnbs for CTS" into rvc-dev am: 8350572765 am: 199bf5002c
Change-Id: I7fecbfadf9458c9bd82f269bd8f742bf8f235bc9
2020-04-25 00:05:18 +00:00
TreeHugger Robot
a7ed07bd71 Merge "Add Lnbs for CTS" into rvc-dev am: 8350572765
Change-Id: I432e99964cd63c208118f659273d566323ba4743
2020-04-24 23:51:19 +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
TreeHugger Robot
34cfd31ad7 Merge "Call scan callback for ATSC" into rvc-dev am: 873bfe9eb4 am: 0e5e5b9155 am: 328f11d534 am: 17255f2deb
Change-Id: Iffc2667bf8abc3db4dbe14cc17398b2e4d50e154
2020-04-21 04:30:21 +00:00
TreeHugger Robot
0e5e5b9155 Merge "Call scan callback for ATSC" into rvc-dev am: 873bfe9eb4
Change-Id: Ib10473b74e0507772883fa2436d34e8f446e0c46
2020-04-21 03:36:09 +00: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
9b0f587fa5 Merge "Return SUCCESS in scan for ATSC" into rvc-dev am: 32e9b63608 am: 3689a379d1 am: 8ac210a5f8 am: 394a338547
Change-Id: I829bc0db52a41c2c311795f00ab97f14fd2eb002
2020-04-17 01:11:56 +00:00
TreeHugger Robot
3689a379d1 Merge "Return SUCCESS in scan for ATSC" into rvc-dev am: 32e9b63608
Change-Id: I6e9fbcfce0d5cc099a73e3b56abf3b5a46f06e8b
2020-04-16 23:32:36 +00:00
TreeHugger Robot
32e9b63608 Merge "Return SUCCESS in scan for ATSC" into rvc-dev 2020-04-16 23:15:06 +00:00
Dan Shi
4befd773f8 Remove references of VtsHalHidlTargetTestBase am: fdbc494c69 am: d0986448ef am: 2b7b6fd0d5 am: 7cf412e31a
Change-Id: I3abf19c6b62400fab5474f649d2bba2308e4525c
2020-04-14 18:34:49 +00:00
Dan Shi
2b7b6fd0d5 Remove references of VtsHalHidlTargetTestBase am: fdbc494c69 am: d0986448ef
Change-Id: Id3b497448c753a6e31e2d59fedd8759a53e2d10f
2020-04-14 17:51:26 +00:00
Dan Shi
c7c37ff2e2 Remove references of VtsHalHidlTargetTestBase am: fdbc494c69
Change-Id: I7750e55d53f7906016cb916efee3775e44dcca76
2020-04-14 17:33:26 +00:00
Amy Zhang
ed582a45b9 Merge "Separate Demux and Filter fixture classes from the Tuner HAL VTS target test" into rvc-dev am: 62bc360c11 am: 98835c97d9 am: f2aad0eb8a am: 2047cfbb06
Change-Id: I46cb919d2e8ebb33b0041196144c39635b8e5b59
2020-04-14 07:22:23 +00:00
Amy Zhang
5422fdf374 Merge "Make VtsHalTvTunerV1_0FrontendTest an independent test." into rvc-dev am: 5f68f8df94 am: 617f5e32de am: 5842eec9e0 am: 85c508fdd1
Change-Id: I90bd7b893d942d2484cc96417333c9c680c9b786
2020-04-14 07:22:08 +00:00
Amy Zhang
f2aad0eb8a Merge "Separate Demux and Filter fixture classes from the Tuner HAL VTS target test" into rvc-dev am: 62bc360c11 am: 98835c97d9
Change-Id: I96de4556f56a1edd9658bb672463449955359125
2020-04-14 06:46:10 +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
b2a7d646ef Merge "Separate Demux and Filter fixture classes from the Tuner HAL VTS target test" into rvc-dev am: 62bc360c11
Change-Id: Ib2dcfee023ffa529fbb15c966554f378db821884
2020-04-14 06:12:10 +00:00
Amy Zhang
617f5e32de Merge "Make VtsHalTvTunerV1_0FrontendTest an independent test." into rvc-dev am: 5f68f8df94
Change-Id: I0625878cd2c11e1473db421d61cdadd1a4322804
2020-04-14 06:12:03 +00: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
TreeHugger Robot
c3721b2bbe Merge "Add frontend caps for CTS" into rvc-dev am: e4f2dc4874 am: 8a87a1a9b9 am: 7cca0c95ad am: 255ddf9dbf
Change-Id: I6c395ad14ed54cc667db8373ea4497dbd0c94e80
2020-04-10 19:36:50 +00:00
TreeHugger Robot
9f42880e03 Merge "Add frontend caps for CTS" into rvc-dev am: e4f2dc4874
Change-Id: I4255686177dd95d794c77201ac858296d5e7e2e4
2020-04-10 18:56:40 +00:00
TreeHugger Robot
7cca0c95ad Merge "Add frontend caps for CTS" into rvc-dev am: e4f2dc4874 am: 8a87a1a9b9
Change-Id: Icf59d81f9e7086e0c244d500f59a87754e082861
2020-04-10 18:45:10 +00:00
Amy Zhang
c1046e0c4a Merge "Enhance and refactoring the Tuner VTS on searching frontend by type test" into rvc-dev am: 91d504821e am: 6fc52bf3a2 am: bb1f7ff007 am: 42d5db6779
Change-Id: Ia2c82dc5de937faeb8bd588926b980860ad80232
2020-04-10 00:17:47 +00: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
bb1f7ff007 Merge "Enhance and refactoring the Tuner VTS on searching frontend by type test" into rvc-dev am: 91d504821e am: 6fc52bf3a2
Change-Id: I91254b3931f89044396c068742264678317f0031
2020-04-09 23:34:02 +00:00
Amy Zhang
ef35e95a66 Merge "Enhance and refactoring the Tuner VTS on searching frontend by type test" into rvc-dev am: 91d504821e
Change-Id: I52de1f4070ffe23a681a13a0dad80c6fbd708a4f
2020-04-09 23:15:22 +00: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
8432f0850f Merge "Add SECTION/TS/AUDIO/VIDEO Tuner vts Broadcast tests" into rvc-dev am: 8bc18c0ed5 am: 98916e2c02 am: 2ca7761e90 am: ad969a1a57
Change-Id: I413eda2368d221d018cb157d374d9426f9885724
2020-04-09 04:20:36 +00:00
TreeHugger Robot
2ca7761e90 Merge "Add SECTION/TS/AUDIO/VIDEO Tuner vts Broadcast tests" into rvc-dev am: 8bc18c0ed5 am: 98916e2c02
Change-Id: I17ee70c9d691a0585d588b269c708c9729d4bdad
2020-04-09 03:54:19 +00:00
TreeHugger Robot
bf60e12c49 Merge "Add SECTION/TS/AUDIO/VIDEO Tuner vts Broadcast tests" into rvc-dev am: 8bc18c0ed5
Change-Id: If37ca2bc2a79252987a87f2bf962ba915164cefa
2020-04-09 03:41:28 +00: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
eb5f33e0ef Rename vts-core to vts am: ba894f81db am: 55d110bcd0
Change-Id: Ifc137320af42febc24937f09e5baa4c5a95ac1c4
2020-04-07 23:56:42 +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
Dan Shi
ba894f81db 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 15:17:02 -07:00
Dan Shi
3a8a650c61 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
2020-04-07 18:03:49 +00:00
Amy Zhang
2a95706150 Convert VtsHalTvInputV1_0TargetTest to parameterized gtest
Test: atest VtsHalTvInputV1_0TargetTest
Bug: 150382976
Change-Id: I6a7bd522ac10f4462d187d3d6261e523c1b73bd0
2020-03-30 21:35:49 -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
Treehugger Robot
a9e6f70d50 Merge "Remove vberCn, lberCn, xerCn" 2020-03-04 17:21:39 +00:00
Treehugger Robot
1933b53af3 Merge "Add comments for invalid IP/port and add Invalid filterID/avSyncId" 2020-03-04 17:21:31 +00: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
4fe33ed200 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
(cherry picked from commit 460b9610bf)
2020-02-26 16:42:30 -08:00
Henry Fang
355a90a4d0 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
(cherry picked from commit 875cd25c07)
2020-02-26 16:37:11 -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
Treehugger Robot
69459316b8 Merge "Add a few type for Analog frontend" 2020-02-08 02:10:24 +00:00
Amy Zhang
76c90b21cc Merge "Add @export to frontend scan enums" 2020-02-08 01:47:40 +00:00
Amy Zhang
4556d59c3a Merge "Export FrontendDvbtPlpMode" 2020-02-08 01:47:21 +00:00
Amy Zhang
c670dca9c6 Merge "Add DataId for Audio Handle in Audio Track" 2020-02-08 01:47:09 +00:00
shubang
e3b37d3789 Add @export to frontend scan enums
Test: make;
Change-Id: I9489ae28722e73de0aba7e83b115935546e8e357
Merged-In: I9489ae28722e73de0aba7e83b115935546e8e357
(cherry picked from commit efb7ffa6ca)
2020-02-07 02:49:07 +00:00
Henry Fang
8c7b8b7e18 Add a few type for Analog frontend
Test: Manual
bug: 135708935
Change-Id: Ib0dbd610620682854f8c2b421285da39233cec01
Merged-In: Ib0dbd610620682854f8c2b421285da39233cec01
(cherry picked from commit d13c298ff5)
2020-02-06 18:48:40 -08:00
Henry Fang
92f17c7dcb Add DataId for Audio Handle in Audio Track
Test: Manual
bug: 135708935
Change-Id: I639d65999dbf1bf727837298804c350698a9f08a
Merged-In: I639d65999dbf1bf727837298804c350698a9f08a
(cherry picked from commit fe019ac3f7)
2020-02-06 18:47:55 -08:00
shubang
785589353f Export FrontendDvbtPlpMode
Test: make;
Change-Id: I3d4c0667ba1251b3038681759c50b453cd40a8ca
Merged-in: I3d4c0667ba1251b3038681759c50b453cd40a8ca
(cherry picked from commit e266073ed6)
2020-02-06 18:45:19 -08: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
Dongwon Kang
b0607b90b9 Remove unnecessary include in service.cpp
Test: build.
Bug: 139201422

Exempt-From-Owner-Approval: cherry-pick from internal

Merged-In: I13fcd1223eacc999c66c514b549c51a96e4efda6
(cherry picked from commit d6887ca8cc)
Change-Id: I13fcd1223eacc999c66c514b549c51a96e4efda6
2020-02-06 18:47:39 +09:00
shubang
ba232e44af Add getFrontendInfo/status default impl
Test: make; acloud create;
Change-Id: Ie1a81a8e571d430d7e464dc631bdfd2ba51077cc
2020-02-03 11:11:49 -08:00
Amy
fa94a2ca46 Convert VtsHalTvTunerV1_0TargetTest to be parameterized test
Bug: 139309306
Test: atest VtsHalTvTunerV1_0TargetTest
Change-Id: I02cd4b7c58b8339bc2fdc69ecb8fc0e88f5baa3f
(cherry picked from commit a29bfaf17a)
2020-01-23 08:47:31 -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
90a2de6c30 Disable Tuner HAL VTS test cases that use un-licensed stream.
Test: atest
Change-Id: I91c27f536bcf589dd605b402a851af14cd2c993f
(cherry picked from commit 342388ac41)
2020-01-17 13:36:17 -08: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
ed9ba5e08c Add a DVR Record data flow test in the Tuner HAL 1.0 VTS
Test: atest on cuttlefish
Bug: 135708935
Change-Id: I3923b7bcfae6ea07a46603bd9f97e743d36284e2
(cherry picked from commit 97ce9c553d)
Merged-In: I3923b7bcfae6ea07a46603bd9f97e743d36284e2
2019-12-18 19:06:29 +00:00
Amy
4f68e81e70 Adding a DVR Record default implementation in Tuner HAL 1.0
Test: cuttlefish
Bug: 135709325
Change-Id: I415426d6ec048bdd2ae61a3c5142ad02f1d7f1e4
(cherry picked from commit 5ed13574aa)
Merged-In: I415426d6ec048bdd2ae61a3c5142ad02f1d7f1e4
2019-12-18 19:06:23 +00:00
Henry Fang
b442c9bc17 Tuner HAL minor corrections
Test: Manual
bug: 135708935
Change-Id: I2f74b2a4266ea86a80dab8b729bf57a78319b207
(cherry picked from commit d5f570e7d7)
Merged-In: I2f74b2a4266ea86a80dab8b729bf57a78319b207
2019-12-18 19:06:09 +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
6eb4487082 Add TEMI filter, releasing AV handle and CI-CAM
Test: Manual
bug: 135708935
Change-Id: I21701185feb274dc1e8b3cff3db59b9d3f73edf1
Merged-In: I21701185feb274dc1e8b3cff3db59b9d3f73edf1
2019-12-03 22:48:16 +00: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
Steven Moreland
856e1d3874 Merge "update-makefiles.sh: for partial Java pkgs" am: cbd3f444c7 am: 7eebf74e97
am: b2b3af540f

Change-Id: Ib6374f3dc3a00ebcb0fac50bfcd5eda479692565
2019-11-05 11:13:18 -08:00
Steven Moreland
077b73b7ab update-makefiles.sh: for partial Java pkgs
Packages which contain some non-supported Java types can still have
their Java-supported types used in Java.

Bug: 143566068
Test: mma
Change-Id: I2afc5cc8d0a1bd981108ee2b87d6033fd48bdb37
2019-11-04 12:50:41 -08:00
Amy
5d794f4ffa VTS refactoring for filter separation
Test: atest
Bug: 135708935
Change-Id: I22b6249a953b81793fdfbf17adbadeebde12277a
(cherry picked from commit 0f94ba87a0)
Merged-In: I22b6249a953b81793fdfbf17adbadeebde12277a
2019-10-26 00:30:00 +00:00
Amy
33963aa37b Refactor Tuner HAL Default Impl for Filter and Dvr separation
Test: manual
Bug: 135709325
Change-Id: I130f555315683fa02272f40d1e6209c5695c884a
(cherry picked from commit b4b680167c)
Merged-In: I130f555315683fa02272f40d1e6209c5695c884a
2019-10-26 00:29:45 +00:00
Henry Fang
865220991a Add Filter linkage and seperate interface
Test: Manual
bug: 135708935
Change-Id: I5782a183936ffca4f345d14c353ad34210f12df7
(cherry picked from commit e5125a89ab)
Merged-In: I5782a183936ffca4f345d14c353ad34210f12df7
2019-10-26 00:29:01 +00: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
shubang
7ab999d0a3 Fix minor issues in dmux default impl
Test: mannual
Change-Id: If74df110cd9eda2dadb87a8d659d83233ad75d88
(cherry picked from commit 9a1e5aa93a)
Merged-In: If74df110cd9eda2dadb87a8d659d83233ad75d88
2019-10-17 18:24:09 +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
80d8badd1c Adding PES filter functionality to assemble PES data
Test: manual
Bug: 135709325
Change-Id: I9bbbae88918004201e6d7d5389473b4fd3a0a969
Merged-In: I9bbbae88918004201e6d7d5389473b4fd3a0a969
(cherry picked from commit 1109e9fee2)
2019-10-12 00:09:17 +00:00
Amy
7e4ca874d0 Adding filter status tracking logic into Demux default impl
Test: manual
Bug: 135709325
Change-Id: I2d473c250dc4d87263d5e7004095d144da684223
Merged-In: I2d473c250dc4d87263d5e7004095d144da684223

(cherry picked from commit 7912502053)
2019-10-12 00:08:50 +00: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
058e343f8d Adding a Broadcast data flow test with a PES filter
Test: atest
Bug: 135708935
Change-Id: I64166ae5113a7c0bfd834a85c722a860c1d16694
(cherry picked from commit 4bad0f9840)
2019-10-08 13:45:03 -07:00
Amy
e258376b3c Adding the mocking frontend tuning functionality to take specific ts
file as source of a Demux.

Test: atest
Bug: 135709325
Change-Id: I69849db58d68a7496f929940a74a63e7a9e6c6be
(cherry picked from commit 5094ae172d)
2019-10-08 13:43:37 -07:00
Amy
1a26e69e98 Adding filter configuration and pes filter test based on PID test
Test: atest
Bug: 135708935
Change-Id: I61d6dab9124190b05a030f0ea36dcc15c00b7ac3
(cherry picked from commit 22cd1cbf8c)
2019-10-08 13:42:25 -07:00
Amy
c13371c650 Adding a TS filter functionality into the Demux default impl
Test: atest
Bug: 135709325
Change-Id: I149104fd4c7d1ce413036b147365a49973455e72
(cherry picked from commit 42a5b4b87f)
2019-10-08 13:41:51 -07:00