diff --git a/tv/tuner/1.0/vts/functional/FrontendTests.cpp b/tv/tuner/1.0/vts/functional/FrontendTests.cpp old mode 100644 new mode 100755 index 4a642a067c..acc524b026 --- 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 &= getDvrTests()->getDvrPlaybackMQDescriptor() == success(); getDvrTests()->startPlaybackInputThread(mDvrConfig.playbackInputFile, mDvrConfig.settings.playback()); + getDvrTests()->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) { getDvrTests()->stopPlaybackThread(); + getDvrTests()->stopDvrPlayback(); getDvrTests()->closeDvrPlayback(); } return AssertionResult(status == Result::SUCCESS); diff --git a/tv/tuner/1.1/vts/functional/FrontendTests.cpp b/tv/tuner/1.1/vts/functional/FrontendTests.cpp index a595a93732..9f0f30dd0f 100644 --- a/tv/tuner/1.1/vts/functional/FrontendTests.cpp +++ b/tv/tuner/1.1/vts/functional/FrontendTests.cpp @@ -444,6 +444,7 @@ AssertionResult FrontendTests::tuneFrontend(FrontendConfig1_1 config, bool testW result &= getDvrTests()->getDvrPlaybackMQDescriptor() == success(); getDvrTests()->startPlaybackInputThread(mDvrConfig.playbackInputFile, mDvrConfig.settings.playback()); + getDvrTests()->startDvrPlayback(); if (!result) { ALOGW("[vts] Software frontend dvr configure failed."); return failure(); @@ -459,6 +460,7 @@ AssertionResult FrontendTests::stopTuneFrontend(bool testWithDemux) { status = mFrontend->stopTune(); if (mIsSoftwareFe && testWithDemux) { getDvrTests()->stopPlaybackThread(); + getDvrTests()->stopDvrPlayback(); getDvrTests()->closeDvrPlayback(); } return AssertionResult(status == Result::SUCCESS); diff --git a/tv/tuner/aidl/vts/functional/FrontendTests.cpp b/tv/tuner/aidl/vts/functional/FrontendTests.cpp index 12b1f33735..42d20f7997 100644 --- a/tv/tuner/aidl/vts/functional/FrontendTests.cpp +++ b/tv/tuner/aidl/vts/functional/FrontendTests.cpp @@ -437,6 +437,7 @@ AssertionResult FrontendTests::tuneFrontend(FrontendConfig config, bool testWith getDvrTests()->startPlaybackInputThread( mDvrConfig.playbackInputFile, mDvrConfig.settings.get()); + getDvrTests()->startDvrPlayback(); } mFrontendCallback->tuneTestOnLock(mFrontend, config.settings); return AssertionResult(true); @@ -448,6 +449,7 @@ AssertionResult FrontendTests::stopTuneFrontend(bool testWithDemux) { status = mFrontend->stopTune(); if (mIsSoftwareFe && testWithDemux) { getDvrTests()->stopPlaybackThread(); + getDvrTests()->stopDvrPlayback(); getDvrTests()->closeDvrPlayback(); } return AssertionResult(status.isOk());