Home
last modified time | relevance | path

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

/hardware/interfaces/tv/tuner/1.0/default/
DDemux.cpp62 uint32_t filterId; in openFilter() local
65 filterId = *mUnusedFilterIds.begin(); in openFilter()
67 mUnusedFilterIds.erase(filterId); in openFilter()
69 filterId = ++mLastUsedFilterId; in openFilter()
72 mUsedFilterIds.insert(filterId); in openFilter()
80 sp<Filter> filter = new Filter(type, filterId, bufferSize, cb, this); in openFilter()
87 mFilters[filterId] = filter; in openFilter()
165 Result Demux::removeFilter(uint32_t filterId) { in removeFilter() argument
169 mUsedFilterIds.erase(filterId); in removeFilter()
170 mRecordFilterIds.erase(filterId); in removeFilter()
[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);
104 uint32_t filterId; member
DDvr.cpp61 uint32_t filterId; in attachFilter() local
65 filterId = id; in attachFilter()
75 mFilters[filterId] = filter; in attachFilter()
77 if (!mDemux->attachRecordFilter(filterId)) { in attachFilter()
88 uint32_t filterId; in detachFilter() local
92 filterId = id; in detachFilter()
102 it = mFilters.find(filterId); in detachFilter()
104 mFilters.erase(filterId); in detachFilter()
105 if (!mDemux->detachRecordFilter(filterId)) { in detachFilter()
DFilter.cpp33 Filter::Filter(DemuxFilterType type, uint32_t filterId, uint32_t bufferSize, in Filter() argument
36 mFilterId = filterId; in Filter()
DFilter.h54 Filter(DemuxFilterType type, uint32_t filterId, uint32_t bufferSize,
/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);
/hardware/interfaces/tv/tuner/1.0/vts/functional/
DVtsHalTvTunerV1_0TargetTest.cpp254 void setFilterId(uint32_t filterId) { mFilterId = filterId; } in setFilterId() argument
947 mFilter->getId([&](Result result, uint32_t filterId) { in addFilterToDemux() argument
948 mFilterId = filterId; in addFilterToDemux()