Lines Matching refs:frontendId
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
309 return mFrontends[frontendId]; in getFrontendById()
321 Return<void> Tuner::getFrontendDtmbCapabilities(uint32_t frontendId, in getFrontendDtmbCapabilities() argument
325 if (mFrontends[frontendId] != nullptr && in getFrontendDtmbCapabilities()
326 (mFrontends[frontendId]->getFrontendType() == in getFrontendDtmbCapabilities()
335 void Tuner::setFrontendAsDemuxSource(uint32_t frontendId, uint32_t demuxId) { in setFrontendAsDemuxSource() argument
336 mFrontendToDemux[frontendId] = demuxId; in setFrontendAsDemuxSource()
337 if (mFrontends[frontendId] != nullptr && mFrontends[frontendId]->isLocked()) { in setFrontendAsDemuxSource()
353 void Tuner::removeFrontend(uint32_t frontendId) { in removeFrontend() argument
354 mFrontendToDemux.erase(frontendId); in removeFrontend()
357 void Tuner::frontendStopTune(uint32_t frontendId) { in frontendStopTune() argument
358 map<uint32_t, uint32_t>::iterator it = mFrontendToDemux.find(frontendId); in frontendStopTune()
366 void Tuner::frontendStartTune(uint32_t frontendId) { in frontendStartTune() argument
367 map<uint32_t, uint32_t>::iterator it = mFrontendToDemux.find(frontendId); in frontendStartTune()