/hardware/interfaces/tv/tuner/1.0/default/ |
D | Tuner.cpp | 110 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 …]
|
D | Tuner.h | 43 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/ |
D | Tuner.cpp | 208 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 …]
|
D | Tuner.h | 47 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/ |
D | Tuner.h | 72 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);
|
D | Tuner.cpp | 244 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/ |
D | VtsHalTvTunerV1_0TestConfigurations.h | 171 ? 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()
|
D | VtsHalTvTunerV1_0TargetTest.cpp | 414 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 …]
|
D | DemuxTests.cpp | 30 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/ |
D | DemuxTests.cpp | 30 AssertionResult DemuxTests::setDemuxFrontendDataSource(uint32_t frontendId) { in setDemuxFrontendDataSource() argument 32 auto status = mDemux->setFrontendDataSource(frontendId); in setDemuxFrontendDataSource()
|
D | VtsHalTvTunerV1_1TargetTest.cpp | 222 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()
|
D | VtsHalTvTunerV1_1TestConfigurations.h | 156 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/ |
D | VtsHalTvTunerTestConfigurations.h | 197 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 …]
|
D | VtsHalTvTunerTargetTest.cpp | 693 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 …]
|
D | DemuxTests.cpp | 43 AssertionResult DemuxTests::setDemuxFrontendDataSource(int32_t frontendId) { in setDemuxFrontendDataSource() argument 45 auto status = mDemux->setFrontendDataSource(frontendId); in setDemuxFrontendDataSource()
|
D | FrontendTests.h | 84 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/ |
D | ITuner.aidl | 39 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/ |
D | ITuner.aidl | 54 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/ |
D | ITuner.aidl | 39 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
|
D | IDemux.aidl | 38 void setFrontendDataSource(in int frontendId); in setFrontendDataSource() argument
|
/hardware/interfaces/tv/tuner/aidl/aidl_api/android.hardware.tv.tuner/current/android/hardware/tv/tuner/ |
D | ITuner.aidl | 39 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
|
D | IDemux.aidl | 38 void setFrontendDataSource(in int frontendId); in setFrontendDataSource() argument
|
/hardware/interfaces/tv/tuner/1.0/ |
D | ITuner.hal | 42 * 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/ |
D | TunerTestingConfigReaderV1_0.h | 129 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 …]
|
D | TunerTestingConfigAidlReaderV1_0.h | 160 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 …]
|