Commit graph

339 commits

Author SHA1 Message Date
Amy Zhang
6ec20d27f7 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-09-15 17:42:33 +00: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
Amy Zhang
67a3b8a140 Merge "Enable frontend input loop when FrontendTune happens before Demux is configured." into rvc-dev am: 1fb7d06712
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11853109

Change-Id: I288f95258f5e5f6722bcd3e576648cc4d4fafbf2
2020-06-12 23:37:34 +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
fda43efdbe Merge "Move testing ts on Cuttlefish under /data/ directory" into rvc-dev am: abd049609d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11607814

Change-Id: Ife001c993c1882819ecf9c634ee6e76b4bc679c6
2020-06-12 20:01:42 +00: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
f437c6e40f Merge "Add TimeFilter test in Tuner VTS" into rvc-dev am: aaff02f469
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11799182

Change-Id: I8161c1d25db0f1f23a565accbce117a706531369
2020-06-11 23:02:50 +00: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
TreeHugger Robot
5937bcba54 Merge "Add getLnbByName Test in Tuner VTS" into rvc-dev am: 154d45d77e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11732812

Change-Id: Ieac80934854e94db78489dfcacc77a4d760916c6
2020-06-08 19:41:48 +00:00
Amy Zhang
2524c72cf5 Add Broadcast and Record tests for Frontend with Lnb am: cda23ea38e
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/11714754

Change-Id: I6ad71aaa5b24327817e19f4f037f7a74cf2009f6
2020-06-06 00:04:19 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
c7c37ff2e2 Remove references of VtsHalHidlTargetTestBase am: fdbc494c69
Change-Id: I7750e55d53f7906016cb916efee3775e44dcca76
2020-04-14 17:33:26 +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