Home
last modified time | relevance | path

Searched refs:filterId (Results 1 – 10 of 10) sorted by relevance

/hardware/interfaces/tv/tuner/1.0/default/
DDemux.cpp60 uint32_t filterId; in openFilter() local
61 filterId = ++mLastUsedFilterId; in openFilter()
69 sp<Filter> filter = new Filter(type, filterId, bufferSize, cb, this); in openFilter()
76 mFilters[filterId] = filter; in openFilter()
78 mPcrFilterIds.insert(filterId); in openFilter()
84 mPlaybackFilterIds.insert(filterId); in openFilter()
86 result = mDvrPlayback->addPlaybackFilter(filterId, filter); in openFilter()
110 filter->getId([&](Result result, uint32_t filterId) { in getAvSyncHwId() argument
111 id = filterId; in getAvSyncHwId()
228 Result Demux::removeFilter(uint32_t filterId) { in removeFilter() argument
[all …]
DDemux.h85 Result removeFilter(uint32_t filterId);
86 bool attachRecordFilter(int filterId);
87 bool detachRecordFilter(int filterId);
88 Result startFilterHandler(uint32_t filterId);
89 void updateFilterOutput(uint16_t filterId, vector<uint8_t> data);
90 uint16_t getFilterTpid(uint32_t filterId);
115 uint32_t filterId; member
DDvr.cpp61 uint32_t filterId; in attachFilter() local
65 filterId = id; in attachFilter()
74 if (!mDemux->attachRecordFilter(filterId)) { in attachFilter()
84 uint32_t filterId; in detachFilter() local
88 filterId = id; in detachFilter()
96 if (!mDemux->detachRecordFilter(filterId)) { in detachFilter()
341 bool Dvr::addPlaybackFilter(uint32_t filterId, sp<IFilter> filter) { in addPlaybackFilter() argument
342 mFilters[filterId] = filter; in addPlaybackFilter()
346 bool Dvr::removePlaybackFilter(uint32_t filterId) { in removePlaybackFilter() argument
347 mFilters.erase(filterId); in removePlaybackFilter()
DDvr.h84 bool addPlaybackFilter(uint32_t filterId, sp<IFilter> filter);
85 bool removePlaybackFilter(uint32_t filterId);
DFilter.h55 Filter(DemuxFilterType type, uint32_t filterId, uint32_t bufferSize,
DFilter.cpp33 Filter::Filter(DemuxFilterType type, uint32_t filterId, uint32_t bufferSize, in Filter() argument
36 mFilterId = filterId; in Filter()
/hardware/interfaces/tv/tuner/1.0/vts/functional/
DFilterTests.cpp190 AssertionResult FilterTests::getNewlyOpenedFilterId(uint32_t& filterId) { in getNewlyOpenedFilterId() argument
196 mFilter->getId([&](Result result, uint32_t filterId) { in getNewlyOpenedFilterId() argument
197 mFilterId = filterId; in getNewlyOpenedFilterId()
207 filterId = mFilterId; in getNewlyOpenedFilterId()
213 AssertionResult FilterTests::configFilter(DemuxFilterSettings setting, uint32_t filterId) { in configFilter() argument
215 EXPECT_TRUE(mFilters[filterId]) << "Test with getNewlyOpenedFilterId first."; in configFilter()
216 status = mFilters[filterId]->configure(setting); in configFilter()
221 AssertionResult FilterTests::getFilterMQDescriptor(uint32_t filterId) { in getFilterMQDescriptor() argument
223 EXPECT_TRUE(mFilters[filterId]) << "Test with getNewlyOpenedFilterId first."; in getFilterMQDescriptor()
224 EXPECT_TRUE(mFilterCallbacks[filterId]) << "Test with getNewlyOpenedFilterId first."; in getFilterMQDescriptor()
[all …]
DVtsHalTvTunerV1_0TargetTest.cpp39 uint32_t filterId; in configSingleFilterInDemuxTest() local
49 ASSERT_TRUE(mFilterTests.getNewlyOpenedFilterId(filterId)); in configSingleFilterInDemuxTest()
50 ASSERT_TRUE(mFilterTests.configFilter(filterConf.settings, filterId)); in configSingleFilterInDemuxTest()
51 ASSERT_TRUE(mFilterTests.getFilterMQDescriptor(filterId)); in configSingleFilterInDemuxTest()
52 ASSERT_TRUE(mFilterTests.startFilter(filterId)); in configSingleFilterInDemuxTest()
53 ASSERT_TRUE(mFilterTests.stopFilter(filterId)); in configSingleFilterInDemuxTest()
54 ASSERT_TRUE(mFilterTests.closeFilter(filterId)); in configSingleFilterInDemuxTest()
81 uint32_t filterId; in broadcastSingleFilterTest() local
100 ASSERT_TRUE(mFilterTests.getNewlyOpenedFilterId(filterId)); in broadcastSingleFilterTest()
101 ASSERT_TRUE(mFilterTests.configFilter(filterConf.settings, filterId)); in broadcastSingleFilterTest()
[all …]
DFilterTests.h104 void setFilterId(uint32_t filterId) { mFilterId = filterId; } in setFilterId() argument
150 sp<IFilter> getFilterById(uint32_t filterId) { return mFilters[filterId]; } in getFilterById() argument
158 AssertionResult getNewlyOpenedFilterId(uint32_t& filterId);
159 AssertionResult configFilter(DemuxFilterSettings setting, uint32_t filterId);
160 AssertionResult getFilterMQDescriptor(uint32_t filterId);
162 AssertionResult setFilterDataSourceToDemux(uint32_t filterId);
163 AssertionResult startFilter(uint32_t filterId);
165 AssertionResult stopFilter(uint32_t filterId);
166 AssertionResult closeFilter(uint32_t filterId);
/hardware/interfaces/tv/tuner/1.0/
DIFilter.hal111 * @return filterId the hardware resource Id for the filter.
113 getId() generates (Result result, uint32_t filterId);