Lines Matching refs:mDvrTests
229 mDvrTests.setDemux(demux); in playbackSingleFilterTest()
230 ASSERT_TRUE(mDvrTests.openDvrInDemux(dvrConf.type, dvrConf.bufferSize)); in playbackSingleFilterTest()
231 ASSERT_TRUE(mDvrTests.configDvrPlayback(dvrConf.settings)); in playbackSingleFilterTest()
232 ASSERT_TRUE(mDvrTests.getDvrPlaybackMQDescriptor()); in playbackSingleFilterTest()
237 mDvrTests.startPlaybackInputThread(dvrConf.playbackInputFile, in playbackSingleFilterTest()
239 ASSERT_TRUE(mDvrTests.startDvrPlayback()); in playbackSingleFilterTest()
242 mDvrTests.stopPlaybackThread(); in playbackSingleFilterTest()
244 ASSERT_TRUE(mDvrTests.stopDvrPlayback()); in playbackSingleFilterTest()
246 mDvrTests.closeDvrPlayback(); in playbackSingleFilterTest()
256 mDvrTests.setDemux(demux); in setStatusCheckIntervalHintTest()
257 ASSERT_TRUE(mDvrTests.openDvrInDemux(dvrConf.type, dvrConf.bufferSize)); in setStatusCheckIntervalHintTest()
258 ASSERT_TRUE(mDvrTests.configDvrPlayback(dvrConf.settings)); in setStatusCheckIntervalHintTest()
259 ASSERT_TRUE(mDvrTests.getDvrPlaybackMQDescriptor()); in setStatusCheckIntervalHintTest()
261 ASSERT_TRUE(mDvrTests.setPlaybackStatusCheckIntervalHint(statusCheckIntervalHint)); in setStatusCheckIntervalHintTest()
263 mDvrTests.startPlaybackInputThread(dvrConf.playbackInputFile, in setStatusCheckIntervalHintTest()
265 ASSERT_TRUE(mDvrTests.startDvrPlayback()); in setStatusCheckIntervalHintTest()
266 mDvrTests.stopPlaybackThread(); in setStatusCheckIntervalHintTest()
267 ASSERT_TRUE(mDvrTests.stopDvrPlayback()); in setStatusCheckIntervalHintTest()
268 mDvrTests.closeDvrPlayback(); in setStatusCheckIntervalHintTest()
304 mDvrTests.setDemux(demux); in attachSingleFilterToRecordDvrTest()
316 ASSERT_TRUE(mDvrTests.openDvrInDemux(dvrSourceConfig.type, dvrSourceConfig.bufferSize)); in attachSingleFilterToRecordDvrTest()
317 ASSERT_TRUE(mDvrTests.configDvrPlayback(dvrSourceConfig.settings)); in attachSingleFilterToRecordDvrTest()
318 ASSERT_TRUE(mDvrTests.getDvrPlaybackMQDescriptor()); in attachSingleFilterToRecordDvrTest()
325 ASSERT_TRUE(mDvrTests.openDvrInDemux(dvrConf.type, dvrConf.bufferSize)); in attachSingleFilterToRecordDvrTest()
326 ASSERT_TRUE(mDvrTests.configDvrRecord(dvrConf.settings)); in attachSingleFilterToRecordDvrTest()
327 ASSERT_TRUE(mDvrTests.getDvrRecordMQDescriptor()); in attachSingleFilterToRecordDvrTest()
335 ASSERT_TRUE(mDvrTests.attachFilterToDvr(filter)); in attachSingleFilterToRecordDvrTest()
336 ASSERT_TRUE(mDvrTests.startDvrRecord()); in attachSingleFilterToRecordDvrTest()
339 ASSERT_TRUE(mDvrTests.stopDvrRecord()); in attachSingleFilterToRecordDvrTest()
340 ASSERT_TRUE(mDvrTests.detachFilterToDvr(filter)); in attachSingleFilterToRecordDvrTest()
342 mDvrTests.closeDvrRecord(); in attachSingleFilterToRecordDvrTest()
356 mDvrTests.setDemux(demux); in recordSingleFilterTest()
370 mFrontendTests.setDvrTests(&mDvrTests); in recordSingleFilterTest()
373 ASSERT_TRUE(mDvrTests.openDvrInDemux(dvrSourceConfig.type, dvrSourceConfig.bufferSize)); in recordSingleFilterTest()
374 ASSERT_TRUE(mDvrTests.configDvrPlayback(dvrSourceConfig.settings)); in recordSingleFilterTest()
375 ASSERT_TRUE(mDvrTests.getDvrPlaybackMQDescriptor()); in recordSingleFilterTest()
391 mFrontendTests.setDvrTests(&mDvrTests); in recordSingleFilterTest()
397 ASSERT_TRUE(mDvrTests.openDvrInDemux(dvrConf.type, dvrConf.bufferSize)); in recordSingleFilterTest()
398 ASSERT_TRUE(mDvrTests.configDvrRecord(dvrConf.settings)); in recordSingleFilterTest()
399 ASSERT_TRUE(mDvrTests.getDvrRecordMQDescriptor()); in recordSingleFilterTest()
406 mDvrTests.startRecordOutputThread(dvrConf.settings.get<DvrSettings::Tag::record>()); in recordSingleFilterTest()
407 ASSERT_TRUE(mDvrTests.attachFilterToDvr(filter)); in recordSingleFilterTest()
408 ASSERT_TRUE(mDvrTests.startDvrRecord()); in recordSingleFilterTest()
416 mDvrTests.startPlaybackInputThread( in recordSingleFilterTest()
419 ASSERT_TRUE(mDvrTests.startDvrPlayback()); in recordSingleFilterTest()
424 mDvrTests.testRecordOutput(); in recordSingleFilterTest()
425 mDvrTests.stopRecordThread(); in recordSingleFilterTest()
431 mDvrTests.stopPlaybackThread(); in recordSingleFilterTest()
432 ASSERT_TRUE(mDvrTests.stopDvrPlayback()); in recordSingleFilterTest()
439 ASSERT_TRUE(mDvrTests.stopDvrRecord()); in recordSingleFilterTest()
440 ASSERT_TRUE(mDvrTests.detachFilterToDvr(filter)); in recordSingleFilterTest()
442 mDvrTests.closeDvrRecord(); in recordSingleFilterTest()
448 mDvrTests.closeDvrPlayback(); in recordSingleFilterTest()
463 mDvrTests.setDemux(demux); in setStatusCheckIntervalHintTest()
475 ASSERT_TRUE(mDvrTests.openDvrInDemux(dvrSourceConfig.type, dvrSourceConfig.bufferSize)); in setStatusCheckIntervalHintTest()
476 ASSERT_TRUE(mDvrTests.configDvrPlayback(dvrSourceConfig.settings)); in setStatusCheckIntervalHintTest()
477 ASSERT_TRUE(mDvrTests.getDvrPlaybackMQDescriptor()); in setStatusCheckIntervalHintTest()
480 ASSERT_TRUE(mDvrTests.openDvrInDemux(dvrConf.type, dvrConf.bufferSize)); in setStatusCheckIntervalHintTest()
481 ASSERT_TRUE(mDvrTests.configDvrRecord(dvrConf.settings)); in setStatusCheckIntervalHintTest()
482 ASSERT_TRUE(mDvrTests.getDvrRecordMQDescriptor()); in setStatusCheckIntervalHintTest()
484 ASSERT_TRUE(mDvrTests.setRecordStatusCheckIntervalHint(statusCheckIntervalHint)); in setStatusCheckIntervalHintTest()
486 ASSERT_TRUE(mDvrTests.startDvrRecord()); in setStatusCheckIntervalHintTest()
487 ASSERT_TRUE(mDvrTests.stopDvrRecord()); in setStatusCheckIntervalHintTest()
488 mDvrTests.closeDvrRecord(); in setStatusCheckIntervalHintTest()
518 mDvrTests.setDemux(demux); in scrambledBroadcastTest()
519 ASSERT_TRUE(mDvrTests.openDvrInDemux(dvrSourceConfig.type, dvrSourceConfig.bufferSize)); in scrambledBroadcastTest()
520 ASSERT_TRUE(mDvrTests.configDvrPlayback(dvrSourceConfig.settings)); in scrambledBroadcastTest()
521 ASSERT_TRUE(mDvrTests.getDvrPlaybackMQDescriptor()); in scrambledBroadcastTest()
573 mDvrTests.startPlaybackInputThread( in scrambledBroadcastTest()
576 ASSERT_TRUE(mDvrTests.startDvrPlayback()); in scrambledBroadcastTest()
588 mDvrTests.stopPlaybackThread(); in scrambledBroadcastTest()
589 ASSERT_TRUE(mDvrTests.stopDvrPlayback()); in scrambledBroadcastTest()
610 mDvrTests.closeDvrPlayback(); in scrambledBroadcastTest()