Commit graph

352 commits

Author SHA1 Message Date
Xin Li
50393137ed Merge ab/6749736 in stage.
Bug: 167233921
Merged-In: I6756cad681e4cfa01868450214da0d7b2d5261e4
Change-Id: Ia529ecf4f48248d5af63673f359916486f71bc35
2020-10-08 23:22:52 -07:00
nchalko
897f0d48bb Remove outdated warning now that the v1.0 had shipped
Change-Id: I28f8f137db92b390c8ec27680a5c305e3cef43ba
Test: n/a
2020-09-29 18:29:16 +00:00
Dan Shi
f2b950f470 Rename vts-core to vts
Bug: 151896491
Test: none
Change-Id: If74547c56b46ebc7fd728c1bf52fe9dedac65ffa
Merged-In: I562b4dc50765e953800a814a8fd84a01c1b9352b
2020-09-26 04:11:28 +00:00
Treehugger Robot
c9e5075d36 Merge "Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated parameterized tests." 2020-09-16 19:07:33 +00:00
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
Amy Zhang
a5207dcde7 Add Tuner HAL VTS tests into the exception list of the uninstantiated
parameterized tests

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 168345664
Change-Id: I1fabb01ea308c286d2b3f29d520afc7518bb2d8a
2020-09-14 12:03:24 -07:00
Amy Zhang
38ae830152 Add Tuner HAL VTS tests into the exception list of the uninstantiated
parameterized tests

The previous fix in the ag/12249074 added the allowlist funtion
under the .cpp file. But they should be under the .h file where all
the test suite classes are defined.

Test: atest VtsHalTvTunerV1_0TargetTest
Bug: 161805444
Change-Id: I4ad7270c75ec6b30db82b0b120f21e3759ed7b93
2020-07-30 03:22:05 +00:00
Amy Zhang
bcd3acde22 Revert "Revert "Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated""
This reverts commit f0dfc4d624.

Reason for revert: To fix the test breakage in the rvc-dev-plus-aosp branch

Change-Id: Ibeb73be943c74891f8ff5acec1ea120c1b820027
2020-07-28 17:49:49 +00:00
David Su
bcc3c36b9e Revert "Add Tuner HAL and TvInput HAL VTS tests into the exception list of the uninstantiated" am: f0dfc4d624 am: b8adfe739d
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/12227496

Change-Id: I30a67872becf4607dbe5a27319fee1017ffd830a
2020-07-24 19:30:54 +00:00
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
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
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
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
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