Home
last modified time | relevance | path

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

/frameworks/av/services/tuner/
DTunerDvr.cpp60 shared_ptr<IFilter> halFilter = (static_cast<TunerFilter*>(in_filter.get()))->getHalFilter(); in attachFilter() local
61 if (halFilter == nullptr) { in attachFilter()
66 return mDvr->attachFilter(halFilter); in attachFilter()
75 shared_ptr<IFilter> halFilter = (static_cast<TunerFilter*>(in_filter.get()))->getHalFilter(); in detachFilter() local
76 if (halFilter == nullptr) { in detachFilter()
81 return mDvr->detachFilter(halFilter); in detachFilter()
DTunerDescrambler.cpp61 shared_ptr<IFilter> halFilter = in addPid() local
66 return mDescrambler->addPid(in_pid, halFilter); in addPid()
71 shared_ptr<IFilter> halFilter = in removePid() local
76 return mDescrambler->removePid(in_pid, halFilter); in removePid()
DTunerDemux.cpp100 shared_ptr<IFilter> halFilter = (static_cast<TunerFilter*>(tunerFilter.get()))->getHalFilter(); in getAvSyncHwId() local
101 return mDemux->getAvSyncHwId(halFilter, _aidl_return); in getAvSyncHwId()
DTunerFilter.cpp163 shared_ptr<IFilter> halFilter = static_cast<TunerFilter*>(filter.get())->getHalFilter(); in setDataSource() local
164 return mFilter->setDataSource(halFilter); in setDataSource()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DStartProgramListUpdatesFanoutTest.java142 ProgramFilter halFilter = Convert.programFilterToHal(aidlFilter); in testFanout() local
146 verify(mHalTunerSessionMock, times(1)).startProgramListUpdates(halFilter); in testFanout()
195 ProgramFilter halFilter = Convert.programFilterToHal(idFilter); in testFiltering() local
196 verify(mHalTunerSessionMock, times(1)).startProgramListUpdates(halFilter); in testFiltering()
199 halFilter.identifiers.clear(); in testFiltering()
200 verify(mHalTunerSessionMock, times(1)).startProgramListUpdates(halFilter); in testFiltering()
209 halFilter.excludeModifications = false; in testFiltering()
210 verify(mHalTunerSessionMock, times(1)).startProgramListUpdates(halFilter); in testFiltering()
253 ProgramFilter halFilter = Convert.programFilterToHal(idFilter); in testClientClosing() local
254 verify(mHalTunerSessionMock, times(1)).startProgramListUpdates(halFilter); in testClientClosing()
[all …]
/frameworks/av/services/tuner/hidl/
DTunerHidlDescrambler.cpp66 sp<HidlIFilter> halFilter = in addPid() local
70 HidlResult res = mDescrambler->addPid(getHidlDemuxPid(in_pid), halFilter); in addPid()
79 sp<HidlIFilter> halFilter = in removePid() local
83 HidlResult res = mDescrambler->removePid(getHidlDemuxPid(in_pid), halFilter); in removePid()
DTunerHidlDvr.cpp106 sp<HidlIFilter> halFilter = (static_cast<TunerHidlFilter*>(in_filter.get()))->getHalFilter(); in detachFilter() local
107 if (halFilter == nullptr) { in detachFilter()
112 HidlResult res = mDvr->detachFilter(halFilter); in detachFilter()
DTunerHidlDemux.cpp145 sp<HidlIFilter> halFilter = static_cast<TunerHidlFilter*>(tunerFilter.get())->getHalFilter(); in getAvSyncHwId() local
146 mDemux->getAvSyncHwId(halFilter, [&](HidlResult r, uint32_t id) { in getAvSyncHwId()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DTunerSessionTest.java905 ProgramFilter halFilter = ConversionUtils.filterToHalProgramFilter(fmIdFilter); in startProgramListUpdates_forMultipleSessions() local
906 verify(mBroadcastRadioMock).startProgramListUpdates(halFilter); in startProgramListUpdates_forMultipleSessions()
910 halFilter.identifiers = new android.hardware.broadcastradio.ProgramIdentifier[]{}; in startProgramListUpdates_forMultipleSessions()
911 halFilter.includeCategories = true; in startProgramListUpdates_forMultipleSessions()
912 verify(mBroadcastRadioMock).startProgramListUpdates(halFilter); in startProgramListUpdates_forMultipleSessions()
916 halFilter.excludeModifications = false; in startProgramListUpdates_forMultipleSessions()
917 verify(mBroadcastRadioMock).startProgramListUpdates(halFilter); in startProgramListUpdates_forMultipleSessions()
DConversionUtilsTest.java913 ProgramFilter halFilter = ConversionUtils.filterToHalProgramFilter(filter); in filterToHalProgramFilter_withInvalidIdentifier() local
916 .that(halFilter.identifiers).asList().containsExactly( in filterToHalProgramFilter_withInvalidIdentifier()