diff --git a/tv/tuner/1.0/vts/functional/FrontendTests.cpp b/tv/tuner/1.0/vts/functional/FrontendTests.cpp old mode 100755 new mode 100644 index caa2f55a4b..5265f2d790 --- a/tv/tuner/1.0/vts/functional/FrontendTests.cpp +++ b/tv/tuner/1.0/vts/functional/FrontendTests.cpp @@ -377,6 +377,7 @@ AssertionResult FrontendTests::tuneFrontend(FrontendConfig config, bool testWith result &= mDvrTests.getDvrPlaybackMQDescriptor() == success(); mDvrTests.startPlaybackInputThread(dvrConfig.playbackInputFile, dvrConfig.settings.playback()); + mDvrTests.startDvrPlayback(); if (!result) { ALOGW("[vts] Software frontend dvr configure failed."); return failure(); @@ -400,6 +401,7 @@ AssertionResult FrontendTests::stopTuneFrontend(bool testWithDemux) { status = mFrontend->stopTune(); if (mIsSoftwareFe && testWithDemux) { mDvrTests.stopPlaybackThread(); + mDvrTests.stopDvrPlayback(); mDvrTests.closeDvrPlayback(); } return AssertionResult(status == Result::SUCCESS); diff --git a/tv/tuner/1.0/vts/functional/VtsHalTvTunerV1_0TestConfigurations.h b/tv/tuner/1.0/vts/functional/VtsHalTvTunerV1_0TestConfigurations.h index 82e318ba45..aecc391dab 100644 --- a/tv/tuner/1.0/vts/functional/VtsHalTvTunerV1_0TestConfigurations.h +++ b/tv/tuner/1.0/vts/functional/VtsHalTvTunerV1_0TestConfigurations.h @@ -198,7 +198,7 @@ static int defaultScanFrontend = SCAN_DVBT; /** Configuration array for the frontend tune test */ inline void initFrontendConfig() { FrontendDvbtSettings dvbtSettings{ - .frequency = 578000, + .frequency = 578000000, .transmissionMode = FrontendDvbtTransmissionMode::AUTO, .bandwidth = FrontendDvbtBandwidth::BANDWIDTH_8MHZ, .constellation = FrontendDvbtConstellation::AUTO,