Home
last modified time | relevance | path

Searched refs:popEvent (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/module/libmediatranscoding/tests/
DTranscodingSessionController_tests.cpp191 const Event& popEvent(int64_t timeoutUs = 0) { in popEvent() function in android::TestTranscoder
333 EXPECT_EQ(mTranscoder->popEvent(2900000), TestTranscoder::NoEvent); in expectTimeout()
334 EXPECT_EQ(mTranscoder->popEvent(200000), TestTranscoder::Abandon(clientId, sessionId)); in expectTimeout()
335 EXPECT_EQ(mTranscoder->popEvent(100000), TestTranscoder::Failed(clientId, sessionId)); in expectTimeout()
380 EXPECT_EQ(mTranscoder->popEvent(), in testPacerHelper()
385 EXPECT_EQ(mTranscoder->popEvent(), in testPacerHelper()
389 EXPECT_EQ(mTranscoder->popEvent(), in testPacerHelper()
396 EXPECT_EQ(mTranscoder->popEvent(), in testPacerHelper()
401 EXPECT_EQ(mTranscoder->popEvent(100000), in testPacerHelper()
407 EXPECT_EQ(mTranscoder->popEvent(), in testPacerHelper()
[all …]
DTranscodingClientManager_tests.cpp112 const Event& popEvent() { in popEvent() function
487 EXPECT_EQ(mClientCallback1->popEvent(), TestClientCallback::Finished(session.sessionId)); in TEST_F()
494 EXPECT_EQ(mClientCallback1->popEvent(), TestClientCallback::Failed(session.sessionId)); in TEST_F()
505 EXPECT_EQ(mClientCallback2->popEvent(), TestClientCallback::Finished(session.sessionId)); in TEST_F()
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/
DMediaSampleWriterTests.cpp91 const Event& popEvent(bool wait = false) { in popEvent() function in android::TestMuxer
311 EXPECT_EQ(mTestMuxer->popEvent(), TestMuxer::NoEvent); in TEST_F()
319 EXPECT_EQ(mTestMuxer->popEvent(), TestMuxer::NoEvent); in TEST_F()
330 EXPECT_EQ(mTestMuxer->popEvent(), TestMuxer::AddTrack(mediaSource.mTrackFormats[0].get())); in TEST_F()
347 EXPECT_EQ(mTestMuxer->popEvent(), TestMuxer::AddTrack(mediaSource.mTrackFormats[0].get())); in TEST_F()
350 EXPECT_EQ(mTestMuxer->popEvent(), TestMuxer::NoEvent); in TEST_F()
406 EXPECT_EQ(mTestMuxer->popEvent(), TestMuxer::AddTrack(trackFormat.get())); in TEST_F()
440 EXPECT_EQ(mTestMuxer->popEvent(), TestMuxer::Start()); in TEST_F()
453 const TestMuxer::Event& event = mTestMuxer->popEvent(); in TEST_F()
473 EXPECT_EQ(mTestMuxer->popEvent(), TestMuxer::WriteSample(trackIndex, nullptr, &info)); in TEST_F()
[all …]