Home
last modified time | relevance | path

Searched refs:HidlResult (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/services/tuner/hidl/
DTunerHidlTimeFilter.cpp27 using HidlResult = ::android::hardware::tv::tuner::V1_0::Result; typedef
46 HidlResult status = mTimeFilter->setTimeStamp(static_cast<uint64_t>(timeStamp)); in setTimeStamp()
47 if (status != HidlResult::SUCCESS) { in setTimeStamp()
54 HidlResult status = mTimeFilter->clearTimeStamp(); in clearTimeStamp()
55 if (status != HidlResult::SUCCESS) { in clearTimeStamp()
62 HidlResult status; in getSourceTime()
63 mTimeFilter->getSourceTime([&](HidlResult r, uint64_t t) { in getSourceTime()
67 if (status != HidlResult::SUCCESS) { in getSourceTime()
75 HidlResult status; in getTimeStamp()
76 mTimeFilter->getTimeStamp([&](HidlResult r, uint64_t t) { in getTimeStamp()
[all …]
DTunerHidlDemux.cpp36 using HidlResult = ::android::hardware::tv::tuner::V1_0::Result; typedef
62 HidlResult res = mDemux->setFrontendDataSource(frontendId); in setFrontendDataSource()
63 if (res != HidlResult::SUCCESS) { in setFrontendDataSource()
70 HidlResult res = mDemux->setFrontendDataSource(frontendId); in setFrontendDataSourceById()
71 if (res != HidlResult::SUCCESS) { in setFrontendDataSourceById()
108 HidlResult status; in openFilter()
113 [&](HidlResult r, const sp<HidlIFilter>& filter) { in openFilter()
117 if (status != HidlResult::SUCCESS) { in openFilter()
127 HidlResult status; in openTimeFilter()
129 mDemux->openTimeFilter([&](HidlResult r, const sp<HidlITimeFilter>& filter) { in openTimeFilter()
[all …]
DTunerHidlDvr.cpp36 using HidlResult = ::android::hardware::tv::tuner::V1_0::Result; typedef
58 HidlResult res; in getQueueDesc()
59 mDvr->getQueueDesc([&](HidlResult r, const MQDesc& desc) { in getQueueDesc()
63 if (res != HidlResult::SUCCESS) { in getQueueDesc()
74 HidlResult res = mDvr->configure(getHidlDvrSettings(in_settings)); in configure()
75 if (res != HidlResult::SUCCESS) { in configure()
93 HidlResult res = mDvr->attachFilter(hidlFilter); in attachFilter()
94 if (res != HidlResult::SUCCESS) { in attachFilter()
112 HidlResult res = mDvr->detachFilter(halFilter); in detachFilter()
113 if (res != HidlResult::SUCCESS) { in detachFilter()
[all …]
DTunerHidlDescrambler.cpp28 using HidlResult = ::android::hardware::tv::tuner::V1_0::Result; typedef
48 HidlResult res = mDescrambler->setDemuxSource( in setDemuxSource()
50 if (res != HidlResult::SUCCESS) { in setDemuxSource()
57 HidlResult res = mDescrambler->setKeyToken(in_keyToken); in setKeyToken()
58 if (res != HidlResult::SUCCESS) { in setKeyToken()
70 HidlResult res = mDescrambler->addPid(getHidlDemuxPid(in_pid), halFilter); in addPid()
71 if (res != HidlResult::SUCCESS) { in addPid()
83 HidlResult res = mDescrambler->removePid(getHidlDemuxPid(in_pid), halFilter); in removePid()
84 if (res != HidlResult::SUCCESS) { in removePid()
91 HidlResult res = mDescrambler->close(); in close()
[all …]
DTunerHidlLnb.cpp27 using HidlResult = ::android::hardware::tv::tuner::V1_0::Result; typedef
61 HidlResult status = mLnb->setCallback(lnbCallback); in setCallback()
62 if (status != HidlResult::SUCCESS) { in setCallback()
75 HidlResult status = mLnb->setVoltage(static_cast<HidlLnbVoltage>(in_voltage)); in setVoltage()
76 if (status != HidlResult::SUCCESS) { in setVoltage()
89 HidlResult status = mLnb->setTone(static_cast<HidlLnbTone>(in_tone)); in setTone()
90 if (status != HidlResult::SUCCESS) { in setTone()
103 HidlResult status = mLnb->setSatellitePosition(static_cast<HidlLnbPosition>(in_position)); in setSatellitePosition()
104 if (status != HidlResult::SUCCESS) { in setSatellitePosition()
117 HidlResult status = mLnb->sendDiseqcMessage(in_diseqcMessage); in sendDiseqcMessage()
[all …]
DTunerHidlService.cpp107 HidlResult res; in openDemux()
110 mTuner->openDemux([&](HidlResult r, uint32_t demuxId, const sp<IDemux>& demux) { in openDemux()
116 if (res == HidlResult::SUCCESS) { in openDemux()
130 static_cast<int32_t>(HidlResult::UNAVAILABLE)); in getDemuxInfo()
137 static_cast<int32_t>(HidlResult::UNAVAILABLE)); in getDemuxInfoList()
142 HidlResult res; in getDemuxCaps()
144 mTuner->getDemuxCaps([&](HidlResult r, const HidlDemuxCapabilities& demuxCaps) { in getDemuxCaps()
148 if (res == HidlResult::SUCCESS) { in getDemuxCaps()
159 HidlResult res = getHidlFrontendIds(feIds); in getFrontendIds()
160 if (res != HidlResult::SUCCESS) { in getFrontendIds()
[all …]
DTunerHidlFilter.cpp82 using HidlResult = ::android::hardware::tv::tuner::V1_0::Result; typedef
132 HidlResult res; in getQueueDesc()
133 mFilter->getQueueDesc([&](HidlResult r, const MQDesc& desc) { in getQueueDesc()
137 if (res != HidlResult::SUCCESS) { in getQueueDesc()
156 HidlResult res; in getId()
157 mFilter->getId([&](HidlResult r, uint32_t filterId) { in getId()
161 if (res != HidlResult::SUCCESS) { in getId()
183 HidlResult res; in getId64Bit()
184 mFilter_1_1->getId64Bit([&](HidlResult r, uint64_t filterId) { in getId64Bit()
188 if (res != HidlResult::SUCCESS) { in getId64Bit()
[all …]
DTunerHidlFrontend.cpp146 using HidlResult = ::android::hardware::tv::tuner::V1_0::Result; typedef
202 HidlResult status = mFrontend->setCallback(frontendCallback); in setCallback()
203 if (status == HidlResult::SUCCESS) { in setCallback()
211 HidlResult status; in tune()
220 if (status == HidlResult::SUCCESS) { in tune()
228 HidlResult status = mFrontend->stopTune(); in stopTune()
229 if (status == HidlResult::SUCCESS) { in stopTune()
238 HidlResult status; in scan()
250 if (status == HidlResult::SUCCESS) { in scan()
258 HidlResult status = mFrontend->stopScan(); in stopScan()
[all …]
DTunerHidlService.h59 using HidlResult = ::android::hardware::tv::tuner::V1_0::Result; variable
110 HidlResult getHidlFrontendIds(hidl_vec<HidlFrontendId>& ids);
111 HidlResult getHidlFrontendInfo(const int id, HidlFrontendInfo& info);