Reenable VTS tests for IPTV

Some of the VTS tests were disabled because they were failing
because of IPTV implmementation. Reenabling them since VTS is
passing with the fixes.

Bug: 288170590
Test: atest VtsHalTvTunerTargetTest
Change-Id: I5863c0e561a059f093fc59eae28826fb17648dfa
This commit is contained in:
sadiqsada 2024-01-18 13:49:09 -08:00
parent 5494506c79
commit db9c51aaf3

View file

@ -684,10 +684,6 @@ TEST_P(TunerDemuxAidlTest, openDemux) {
if (!live.hasFrontendConnection) {
return;
}
// Do not execute tests for IPTV Frontend
if (frontendMap[live.frontendId].type == FrontendType::IPTV) {
return;
}
auto live_configs = generateLiveConfigurations();
for (auto& configuration : live_configs) {
live = configuration;
@ -784,10 +780,6 @@ TEST_P(TunerFilterAidlTest, StartFilterInDemux) {
if (!live.hasFrontendConnection) {
return;
}
// Do not execute tests for IPTV Frontend
if (frontendMap[live.frontendId].type == FrontendType::IPTV) {
return;
}
// TODO use parameterized tests
auto live_configs = generateLiveConfigurations();
for (auto& configuration : live_configs) {
@ -802,10 +794,6 @@ TEST_P(TunerFilterAidlTest, ConfigIpFilterInDemuxWithCid) {
if (!live.hasFrontendConnection) {
return;
}
// Do not execute tests for IPTV Frontend
if (frontendMap[live.frontendId].type == FrontendType::IPTV) {
return;
}
auto live_configs = generateLiveConfigurations();
for (auto& configuration : live_configs) {
live = configuration;
@ -821,10 +809,6 @@ TEST_P(TunerFilterAidlTest, ReconfigFilterToReceiveStartId) {
if (!live.hasFrontendConnection) {
return;
}
// Do not execute tests for IPTV Frontend
if (frontendMap[live.frontendId].type == FrontendType::IPTV) {
return;
}
// TODO use parameterized tests
auto live_configs = generateLiveConfigurations();
for (auto& configuration : live_configs) {
@ -1128,7 +1112,7 @@ TEST_P(TunerRecordAidlTest, RecordDataFlowWithTsRecordFilterTest) {
if (!record.support) {
return;
}
// Do not execute tests for IPTV Frontend
// Recording is not currently supported for IPTV frontend
if (frontendMap[live.frontendId].type == FrontendType::IPTV) {
return;
}
@ -1146,7 +1130,7 @@ TEST_P(TunerRecordAidlTest, AttachFiltersToRecordTest) {
if (!record.support) {
return;
}
// Do not execute tests for IPTV Frontend
// Recording is not currently supported for IPTV frontend
if (frontendMap[live.frontendId].type == FrontendType::IPTV) {
return;
}
@ -1182,7 +1166,7 @@ TEST_P(TunerRecordAidlTest, SetStatusCheckIntervalHintToRecordTest) {
if (!record.support) {
return;
}
// Do not execute tests for IPTV Frontend
// Recording is not currently supported for IPTV frontend
if (frontendMap[live.frontendId].type == FrontendType::IPTV) {
return;
}
@ -1287,10 +1271,6 @@ TEST_P(TunerFrontendAidlTest, LinkToCiCam) {
TEST_P(TunerFrontendAidlTest, getHardwareInfo) {
description("Test Frontend get hardware info");
// Do not execute tests for IPTV Frontend
if (frontendMap[live.frontendId].type == FrontendType::IPTV) {
return;
}
if (!live.hasFrontendConnection) {
return;
}
@ -1338,10 +1318,6 @@ TEST_P(TunerBroadcastAidlTest, BroadcastDataFlowAudioFilterTest) {
if (!live.hasFrontendConnection) {
return;
}
// Do not execute tests for IPTV Frontend
if (frontendMap[live.frontendId].type == FrontendType::IPTV) {
return;
}
auto live_configs = generateLiveConfigurations();
for (auto& configuration : live_configs) {
live = configuration;
@ -1369,10 +1345,6 @@ TEST_P(TunerBroadcastAidlTest, IonBufferTest) {
if (!live.hasFrontendConnection) {
return;
}
// Do not execute tests for IPTV Frontend
if (frontendMap[live.frontendId].type == FrontendType::IPTV) {
return;
}
auto live_configs = generateLiveConfigurations();
for (auto& configuration : live_configs) {
live = configuration;
@ -1402,10 +1374,6 @@ TEST_P(TunerBroadcastAidlTest, MediaFilterWithSharedMemoryHandle) {
if (!live.hasFrontendConnection) {
return;
}
// Do not execute tests for IPTV Frontend
if (frontendMap[live.frontendId].type == FrontendType::IPTV) {
return;
}
auto live_configs = generateLiveConfigurations();
for (auto& configuration : live_configs) {
live = configuration;
@ -1419,10 +1387,6 @@ TEST_P(TunerDescramblerAidlTest, CreateDescrambler) {
if (!descrambling.support) {
return;
}
// Do not execute tests for IPTV Frontend
if (frontendMap[live.frontendId].type == FrontendType::IPTV) {
return;
}
vector<DescramblingHardwareConnections> descrambling_configs =
generateDescramblingConfigurations();
if (descrambling_configs.empty()) {
@ -1459,10 +1423,6 @@ TEST_P(TunerDescramblerAidlTest, ScrambledBroadcastDataFlowMediaFiltersTest) {
if (!descrambling.support) {
return;
}
// Do not execute tests for IPTV Frontend
if (frontendMap[live.frontendId].type == FrontendType::IPTV) {
return;
}
vector<DescramblingHardwareConnections> descrambling_configs =
generateDescramblingConfigurations();
if (descrambling_configs.empty()) {