Home
last modified time | relevance | path

Searched refs:frontendId (Results 1 – 25 of 41) sorted by relevance

12

/hardware/interfaces/tv/tuner/1.0/default/
DTuner.cpp110 Return<void> Tuner::openFrontendById(uint32_t frontendId, openFrontendById_cb _hidl_cb) { in openFrontendById() argument
113 if (frontendId >= mFrontendSize || frontendId < 0) { in openFrontendById()
114 ALOGW("[ WARN ] Frontend with id %d isn't available", frontendId); in openFrontendById()
119 _hidl_cb(Result::SUCCESS, mFrontends[frontendId]); in openFrontendById()
157 Return<void> Tuner::getFrontendInfo(FrontendId frontendId, getFrontendInfo_cb _hidl_cb) { in getFrontendInfo() argument
161 if (frontendId >= mFrontendSize) { in getFrontendInfo()
177 .type = mFrontends[frontendId]->getFrontendType(), in getFrontendInfo()
185 .frontendCaps = mFrontendCaps[frontendId], in getFrontendInfo()
217 sp<Frontend> Tuner::getFrontendById(uint32_t frontendId) { in getFrontendById() argument
220 return mFrontends[frontendId]; in getFrontendById()
[all …]
DTuner.h43 virtual Return<void> openFrontendById(uint32_t frontendId,
52 virtual Return<void> getFrontendInfo(FrontendId frontendId,
62 sp<Frontend> getFrontendById(uint32_t frontendId);
64 void setFrontendAsDemuxSource(uint32_t frontendId, uint32_t demuxId);
66 void frontendStartTune(uint32_t frontendId);
67 void frontendStopTune(uint32_t frontendId);
69 void removeFrontend(uint32_t frontendId);
/hardware/interfaces/tv/tuner/1.1/default/
DTuner.cpp208 Return<void> Tuner::openFrontendById(uint32_t frontendId, openFrontendById_cb _hidl_cb) { in openFrontendById() argument
211 if (frontendId >= mFrontendSize || frontendId < 0) { in openFrontendById()
212 ALOGW("[ WARN ] Frontend with id %d isn't available", frontendId); in openFrontendById()
217 _hidl_cb(Result::SUCCESS, mFrontends[frontendId]); in openFrontendById()
255 Return<void> Tuner::getFrontendInfo(FrontendId frontendId, getFrontendInfo_cb _hidl_cb) { in getFrontendInfo() argument
259 if (frontendId >= mFrontendSize) { in getFrontendInfo()
266 .type = mFrontends[frontendId]->getFrontendType(), in getFrontendInfo()
273 .statusCaps = mFrontendStatusCaps[frontendId], in getFrontendInfo()
274 .frontendCaps = mFrontendCaps[frontendId], in getFrontendInfo()
306 sp<Frontend> Tuner::getFrontendById(uint32_t frontendId) { in getFrontendById() argument
[all …]
DTuner.h47 virtual Return<void> openFrontendById(uint32_t frontendId,
56 virtual Return<void> getFrontendInfo(uint32_t frontendId, getFrontendInfo_cb _hidl_cb) override;
66 uint32_t frontendId, getFrontendDtmbCapabilities_cb _hidl_cb) override;
68 sp<Frontend> getFrontendById(uint32_t frontendId);
70 void setFrontendAsDemuxSource(uint32_t frontendId, uint32_t demuxId);
72 void frontendStartTune(uint32_t frontendId);
73 void frontendStopTune(uint32_t frontendId);
75 void removeFrontend(uint32_t frontendId);
/hardware/interfaces/tv/tuner/aidl/default/
DTuner.h72 std::shared_ptr<Frontend> getFrontendById(int32_t frontendId);
73 void setFrontendAsDemuxSource(int32_t frontendId, int32_t demuxId);
74 void frontendStartTune(int32_t frontendId);
75 void frontendStopTune(int32_t frontendId);
77 void removeFrontend(int32_t frontendId);
DTuner.cpp244 std::shared_ptr<Frontend> Tuner::getFrontendById(int32_t frontendId) { in getFrontendById() argument
247 return mFrontends[frontendId]; in getFrontendById()
317 void Tuner::setFrontendAsDemuxSource(int32_t frontendId, int32_t demuxId) { in setFrontendAsDemuxSource() argument
318 mFrontendToDemux[frontendId] = demuxId; in setFrontendAsDemuxSource()
319 if (mFrontends[frontendId] != nullptr && mFrontends[frontendId]->isLocked()) { in setFrontendAsDemuxSource()
335 void Tuner::removeFrontend(int32_t frontendId) { in removeFrontend() argument
336 map<int32_t, int32_t>::iterator it = mFrontendToDemux.find(frontendId); in removeFrontend()
340 mFrontendToDemux.erase(frontendId); in removeFrontend()
343 void Tuner::frontendStopTune(int32_t frontendId) { in frontendStopTune() argument
344 map<int32_t, int32_t>::iterator it = mFrontendToDemux.find(frontendId); in frontendStopTune()
[all …]
/hardware/interfaces/tv/tuner/1.0/vts/functional/
DVtsHalTvTunerV1_0TestConfigurations.h171 ? frontendMap.find(live.frontendId) != frontendMap.end() in validateConnections()
173 feIsValid &= scan.hasFrontendConnection ? frontendMap.find(scan.frontendId) != frontendMap.end() in validateConnections()
176 ? frontendMap.find(record.frontendId) != frontendMap.end() in validateConnections()
179 ? frontendMap.find(descrambling.frontendId) != frontendMap.end() in validateConnections()
181 feIsValid &= lnbLive.support ? frontendMap.find(lnbLive.frontendId) != frontendMap.end() : true; in validateConnections()
183 lnbRecord.support ? frontendMap.find(lnbRecord.frontendId) != frontendMap.end() : true; in validateConnections()
190 bool dvrIsValid = (live.hasFrontendConnection && frontendMap[live.frontendId].isSoftwareFe) in validateConnections()
196 if (frontendMap[record.frontendId].isSoftwareFe) { in validateConnections()
206 if (frontendMap[descrambling.frontendId].isSoftwareFe) { in validateConnections()
DVtsHalTvTunerV1_0TargetTest.cpp414 mFrontendTests.tuneTest(frontendMap[live.frontendId]); in TEST_P()
422 mFrontendTests.scanTest(frontendMap[scan.frontendId], FrontendScanType::SCAN_AUTO); in TEST_P()
430 mFrontendTests.scanTest(frontendMap[scan.frontendId], FrontendScanType::SCAN_BLIND); in TEST_P()
465 mFrontendTests.getFrontendIdByType(frontendMap[live.frontendId].type, feId); in TEST_P()
491 mFrontendTests.getFrontendIdByType(frontendMap[live.frontendId].type, feId); in TEST_P()
522 configSingleFilterInDemuxTest(filterMap[live.videoFilterId], frontendMap[live.frontendId]); in TEST_P()
567 broadcastSingleFilterTest(filterMap[live.videoFilterId], frontendMap[live.frontendId]); in TEST_P()
575 broadcastSingleFilterTest(filterMap[live.audioFilterId], frontendMap[live.frontendId]); in TEST_P()
586 broadcastSingleFilterTest(filterMap[live.sectionFilterId], frontendMap[live.frontendId]); in TEST_P()
594 broadcastSingleFilterTest(filterMap[live.videoFilterId], frontendMap[live.frontendId]); in TEST_P()
[all …]
DDemuxTests.cpp30 AssertionResult DemuxTests::setDemuxFrontendDataSource(uint32_t frontendId) { in setDemuxFrontendDataSource() argument
32 auto status = mDemux->setFrontendDataSource(frontendId); in setDemuxFrontendDataSource()
/hardware/interfaces/tv/tuner/1.1/vts/functional/
DDemuxTests.cpp30 AssertionResult DemuxTests::setDemuxFrontendDataSource(uint32_t frontendId) { in setDemuxFrontendDataSource() argument
32 auto status = mDemux->setFrontendDataSource(frontendId); in setDemuxFrontendDataSource()
DVtsHalTvTunerV1_1TargetTest.cpp222 configSingleFilterInDemuxTest(filterMap[live.videoFilterId], frontendMap[live.frontendId]); in TEST_P()
234 configSingleFilterInDemuxTest(filterMap[live.ipFilterId], frontendMap[live.frontendId]); in TEST_P()
244 frontendMap[live.frontendId]); in TEST_P()
252 recordSingleFilterTest(filterMap[record.recordFilterId], frontendMap[record.frontendId], in TEST_P()
261 mFrontendTests.tuneTest(frontendMap[live.frontendId]); in TEST_P()
269 mFrontendTests.scanTest(frontendMap[scan.frontendId], FrontendScanType::SCAN_BLIND); in TEST_P()
277 mediaFilterUsingSharedMemoryTest(filterMap[live.videoFilterId], frontendMap[live.frontendId]); in TEST_P()
290 if (!frontendMap[live.frontendId].canConnectToCiCam) { in TEST_P()
293 mFrontendTests.tuneTest(frontendMap[live.frontendId]); in TEST_P()
DVtsHalTvTunerV1_1TestConfigurations.h156 bool feIsValid = frontendMap.find(live.frontendId) != frontendMap.end() && in validateConnections()
157 frontendMap.find(scan.frontendId) != frontendMap.end(); in validateConnections()
158 feIsValid &= record.support ? frontendMap.find(record.frontendId) != frontendMap.end() : true; in validateConnections()
165 bool dvrIsValid = frontendMap[live.frontendId].config1_0.isSoftwareFe in validateConnections()
171 if (frontendMap[record.frontendId].config1_0.isSoftwareFe) { in validateConnections()
/hardware/interfaces/tv/tuner/aidl/vts/functional/
DVtsHalTvTunerTestConfigurations.h197 mLnbLive.frontendId = feId; in generateLnbLiveCombinations()
231 mScan.frontendId = id; in generateScanCombinations()
275 mLnbRecord.frontendId = feId; in generateLnbRecordCombinations()
353 mDescrambling.frontendId = feId; in generateDescramblingCombinations()
433 mRecord.frontendId = feId; in generateRecordCombinations()
495 mLive.frontendId = feId; in generateLiveCombinations()
553 mLnbDescrambling.frontendId = feId; in generateLnbDescramblingCombinations()
824 ? frontendMap.find(live.frontendId) != frontendMap.end() in validateConnections()
826 feIsValid &= scan.hasFrontendConnection ? frontendMap.find(scan.frontendId) != frontendMap.end() in validateConnections()
829 ? frontendMap.find(record.frontendId) != frontendMap.end() in validateConnections()
[all …]
DVtsHalTvTunerTargetTest.cpp693 mFrontendTests.getFrontendIdByType(frontendMap[live.frontendId].type, feId); in TEST_P()
751 mFrontendTests.getFrontendIdByType(frontendMap[live.frontendId].type, feId); in TEST_P()
787 configSingleFilterInDemuxTest(filterMap[live.videoFilterId], frontendMap[live.frontendId]); in TEST_P()
803 configSingleFilterInDemuxTest(filterMap[live.ipFilterId], frontendMap[live.frontendId]); in TEST_P()
818 frontendMap[live.frontendId]); in TEST_P()
961 mFrontendTests.getFrontendIdByType(frontendMap[live.frontendId].type, feId); in testDelayHint()
1116 if (frontendMap[live.frontendId].type == FrontendType::IPTV) { in TEST_P()
1122 recordSingleFilterTest(filterMap[record.recordFilterId], frontendMap[record.frontendId], in TEST_P()
1134 if (frontendMap[live.frontendId].type == FrontendType::IPTV) { in TEST_P()
1141 frontendMap[record.frontendId], in TEST_P()
[all …]
DDemuxTests.cpp43 AssertionResult DemuxTests::setDemuxFrontendDataSource(int32_t frontendId) { in setDemuxFrontendDataSource() argument
45 auto status = mDemux->setFrontendDataSource(frontendId); in setDemuxFrontendDataSource()
DFrontendTests.h84 AssertionResult getFrontendInfo(int32_t frontendId);
85 AssertionResult openFrontendById(int32_t frontendId);
/hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/1/android/hardware/tv/tuner/
DITuner.aidl39 android.hardware.tv.tuner.IFrontend openFrontendById(in int frontendId); in openFrontendById() argument
43 android.hardware.tv.tuner.FrontendInfo getFrontendInfo(in int frontendId); in getFrontendInfo() argument
/hardware/interfaces/tv/tuner/aidl/android/hardware/tv/tuner/
DITuner.aidl54 IFrontend openFrontendById(in int frontendId); in openFrontendById() argument
89 FrontendInfo getFrontendInfo(in int frontendId); in getFrontendInfo() argument
/hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/2/android/hardware/tv/tuner/
DITuner.aidl39 android.hardware.tv.tuner.IFrontend openFrontendById(in int frontendId); in openFrontendById() argument
43 android.hardware.tv.tuner.FrontendInfo getFrontendInfo(in int frontendId); in getFrontendInfo() argument
DIDemux.aidl38 void setFrontendDataSource(in int frontendId); in setFrontendDataSource() argument
/hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/current/android/hardware/tv/tuner/
DITuner.aidl39 android.hardware.tv.tuner.IFrontend openFrontendById(in int frontendId); in openFrontendById() argument
43 android.hardware.tv.tuner.FrontendInfo getFrontendInfo(in int frontendId); in getFrontendInfo() argument
DIDemux.aidl38 void setFrontendDataSource(in int frontendId); in setFrontendDataSource() argument
/hardware/interfaces/tv/tuner/1.0/
DITuner.hal42 * Create a new instance of Frontend given a frontendId.
46 * @param frontendId the id of the frontend to be opened.
53 openFrontendById(FrontendId frontendId) generates (Result result, IFrontend frontend);
93 * @param frontendId the id of the frontend to be inquiried.
99 getFrontendInfo(FrontendId frontendId) generates (Result result, FrontendInfo info);
/hardware/interfaces/tv/tuner/config/
DTunerTestingConfigReaderV1_0.h129 string frontendId; member
141 string frontendId; member
146 string frontendId; member
157 string frontendId; member
167 string frontendId; member
178 string frontendId; member
188 string frontendId; member
422 live.frontendId = liveConfig.getFrontendConnection(); in connectLiveBroadcast()
455 scan.frontendId = scanConfig.getFrontendConnection(); in connectScan()
494 record.frontendId = recordConfig.getFrontendConnection(); in connectDvrRecord()
[all …]
DTunerTestingConfigAidlReaderV1_0.h160 string frontendId; member
173 string frontendId; member
179 string frontendId; member
190 string frontendId; member
200 string frontendId; member
211 string frontendId; member
221 string frontendId; member
236 string frontendId; member
536 live.frontendId = liveConfig.getFrontendConnection(); in connectLiveBroadcast()
574 scan.frontendId = scanConfig.getFrontendConnection(); in connectScan()
[all …]

12