Home
last modified time | relevance | path

Searched refs:mDvrPlayback (Results 1 – 12 of 12) sorted by relevance

/hardware/interfaces/tv/tuner/1.0/default/
DDemux.cpp85 if (mDvrPlayback != nullptr) { in openFilter()
86 result = mDvrPlayback->addPlaybackFilter(filterId, filter); in openFilter()
160 mDvrPlayback->removePlaybackFilter(*it); in close()
184 mDvrPlayback = new Dvr(type, bufferSize, cb, this); in openDvr()
185 if (!mDvrPlayback->createDvrMQ()) { in openDvr()
186 _hidl_cb(Result::UNKNOWN_ERROR, mDvrPlayback); in openDvr()
191 if (!mDvrPlayback->addPlaybackFilter(*it, mFilters[*it])) { in openDvr()
193 _hidl_cb(Result::UNKNOWN_ERROR, mDvrPlayback); in openDvr()
198 _hidl_cb(Result::SUCCESS, mDvrPlayback); in openDvr()
232 if (mDvrPlayback != nullptr) { in removeFilter()
[all …]
DDemux.h164 sp<Dvr> mDvrPlayback; variable
/hardware/interfaces/tv/tuner/1.1/default/
DDemux.cpp88 if (mDvrPlayback != nullptr) { in openFilter()
89 result = mDvrPlayback->addPlaybackFilter(filterId, filter); in openFilter()
171 mDvrPlayback->removePlaybackFilter(*it); in close()
197 mDvrPlayback = new Dvr(type, bufferSize, cb, this); in openDvr()
198 if (!mDvrPlayback->createDvrMQ()) { in openDvr()
199 _hidl_cb(Result::UNKNOWN_ERROR, mDvrPlayback); in openDvr()
204 if (!mDvrPlayback->addPlaybackFilter(*it, mFilters[*it])) { in openDvr()
206 _hidl_cb(Result::UNKNOWN_ERROR, mDvrPlayback); in openDvr()
211 _hidl_cb(Result::SUCCESS, mDvrPlayback); in openDvr()
245 if (mDvrPlayback != nullptr) { in removeFilter()
[all …]
DDemux.h161 sp<Dvr> mDvrPlayback; variable
/hardware/interfaces/tv/tuner/aidl/vts/functional/
DDvrTests.cpp206 status = mDemux->openDvr(type, bufferSize, mDvrPlaybackCallback, &mDvrPlayback); in openDvrInDemux()
208 mDvrPlaybackCallback->setDvr(mDvrPlayback); in openDvrInDemux()
224 ndk::ScopedAStatus status = mDvrPlayback->configure(setting); in configDvrPlayback()
238 EXPECT_TRUE(mDvrPlayback) << "Test with openDvr first."; in getDvrPlaybackMQDescriptor()
240 status = mDvrPlayback->getQueueDesc(&mDvrPlaybackMQDescriptor); in getDvrPlaybackMQDescriptor()
278 EXPECT_TRUE(mDvrPlayback) << "Test with openDvr first."; in startDvrPlayback()
280 status = mDvrPlayback->start(); in startDvrPlayback()
288 EXPECT_TRUE(mDvrPlayback) << "Test with openDvr first."; in stopDvrPlayback()
290 status = mDvrPlayback->stop(); in stopDvrPlayback()
297 ASSERT_TRUE(mDvrPlayback); in closeDvrPlayback()
[all …]
DDvrTests.h178 std::shared_ptr<IDvr> mDvrPlayback; variable
/hardware/interfaces/tv/tuner/aidl/default/
DDemux.cpp74 mDvrPlayback = ndk::SharedRefBase::make<Dvr>(in_type, in_bufferSize, in_cb, in openDvr()
76 if (!mDvrPlayback->createDvrMQ()) { in openDvr()
78 mDvrPlayback = nullptr; in openDvr()
79 *_aidl_return = mDvrPlayback; in openDvr()
85 if (!mDvrPlayback->addPlaybackFilter(*it, mFilters[*it])) { in openDvr()
87 mDvrPlayback = nullptr; in openDvr()
88 *_aidl_return = mDvrPlayback; in openDvr()
96 *_aidl_return = mDvrPlayback; in openDvr()
168 int result = mDvrPlayback->writePlaybackFMQ(buf, bytes_read); in frontendIptvInputThreadLoop()
295 if (mDvrPlayback != nullptr) { in openFilter()
[all …]
DDemux.h196 std::shared_ptr<Dvr> mDvrPlayback; variable
/hardware/interfaces/tv/tuner/1.0/vts/functional/
DDvrTests.cpp217 mDvrPlayback = dvr; in openDvrInDemux()
221 mDvrPlaybackCallback->setDvr(mDvrPlayback); in openDvrInDemux()
241 Result status = mDvrPlayback->configure(setting); in configDvrPlayback()
255 EXPECT_TRUE(mDvrPlayback) << "Test with openDvr first."; in getDvrPlaybackMQDescriptor()
257 mDvrPlayback->getQueueDesc([&](Result result, const MQDesc& dvrMQDesc) { in getDvrPlaybackMQDescriptor()
301 EXPECT_TRUE(mDvrPlayback) << "Test with openDvr first."; in startDvrPlayback()
303 status = mDvrPlayback->start(); in startDvrPlayback()
311 EXPECT_TRUE(mDvrPlayback) << "Test with openDvr first."; in stopDvrPlayback()
313 status = mDvrPlayback->stop(); in stopDvrPlayback()
320 ASSERT_TRUE(mDvrPlayback); in closeDvrPlayback()
[all …]
DDvrTests.h187 sp<IDvr> mDvrPlayback; variable
/hardware/interfaces/tv/tuner/1.1/vts/functional/
DDvrTests.cpp217 mDvrPlayback = dvr; in openDvrInDemux()
221 mDvrPlaybackCallback->setDvr(mDvrPlayback); in openDvrInDemux()
241 Result status = mDvrPlayback->configure(setting); in configDvrPlayback()
255 EXPECT_TRUE(mDvrPlayback) << "Test with openDvr first."; in getDvrPlaybackMQDescriptor()
257 mDvrPlayback->getQueueDesc([&](Result result, const MQDesc& dvrMQDesc) { in getDvrPlaybackMQDescriptor()
301 EXPECT_TRUE(mDvrPlayback) << "Test with openDvr first."; in startDvrPlayback()
303 status = mDvrPlayback->start(); in startDvrPlayback()
311 EXPECT_TRUE(mDvrPlayback) << "Test with openDvr first."; in stopDvrPlayback()
313 status = mDvrPlayback->stop(); in stopDvrPlayback()
320 ASSERT_TRUE(mDvrPlayback); in closeDvrPlayback()
[all …]
DDvrTests.h188 sp<IDvr> mDvrPlayback; variable