mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:50:18 +00:00
Add demux to mFrontendTests
aosp/2640754 adds a tuneFrontend call with testWithDemux enabled. tuneFrontend() has some logic that calls DvrTests->openDvrInDemux() which requires mDemux to be available, but mFrontendTests does not have an associated demux. This CL adds a demux resource. Bug: 317268814 Test: atest VtsHalTvTunerTargetTest (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e75c56787a1a9cd6280ab758788bc810ff50cb58) Merged-In: I3eb69d8dc10cd2cdbb2d3526317faee2909787f5 Change-Id: I3eb69d8dc10cd2cdbb2d3526317faee2909787f5
This commit is contained in:
committed by
Android Build Cherrypicker Worker
parent
dc0acfbbfe
commit
630a974006
@@ -48,6 +48,7 @@ void TunerFilterAidlTest::configSingleFilterInDemuxTest(FilterConfig filterConf,
|
||||
ASSERT_TRUE(mFrontendTests.setFrontendCallback());
|
||||
ASSERT_TRUE(mDemuxTests.openDemux(demux, demuxId));
|
||||
ASSERT_TRUE(mDemuxTests.setDemuxFrontendDataSource(feId));
|
||||
mFrontendTests.setDemux(demux);
|
||||
mFilterTests.setDemux(demux);
|
||||
ASSERT_TRUE(mFilterTests.openFilterInDemux(filterConf.type, filterConf.bufferSize));
|
||||
ASSERT_TRUE(mFilterTests.getNewlyOpenedFilterId_64bit(filterId));
|
||||
|
||||
Reference in New Issue
Block a user