Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 967c8e88 authored by Ray Chin's avatar Ray Chin
Browse files

Bypass share memory handle test for passthrough filter

Bug: 369466988
Test: atest VtsHalTvTunerTargetTest
Change-Id: Idd4e7286098d15e482ab645e3cd286ef963e2616
parent 73a53868
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -214,9 +214,7 @@ void TunerBroadcastAidlTest::mediaFilterUsingSharedMemoryTest(FilterConfig filte
    ASSERT_TRUE(mFilterTests.startFilter(filterId));
    // tune test
    ASSERT_TRUE(mFrontendTests.tuneFrontend(frontendConf, true /*testWithDemux*/));
    if (!isPassthroughFilter(filterConf)) {
    ASSERT_TRUE(filterDataOutputTest());
    }
    ASSERT_TRUE(mFrontendTests.stopTuneFrontend(true /*testWithDemux*/));
    ASSERT_TRUE(mFilterTests.stopFilter(filterId));
    ASSERT_TRUE(mFilterTests.releaseShareAvHandle(filterId));
@@ -1363,6 +1361,10 @@ TEST_P(TunerBroadcastAidlTest, MediaFilterWithSharedMemoryHandle) {
    auto live_configs = generateLiveConfigurations();
    for (auto& configuration : live_configs) {
        live = configuration;
        // shared memory handle is not used by a passthrough filter at all
        if (isPassthroughFilter(filterMap[live.videoFilterId])) {
            continue;
        }
        mediaFilterUsingSharedMemoryTest(filterMap[live.videoFilterId],
                                         frontendMap[live.frontendId]);
    }