Lines Matching refs:frontendId

112 Return<void> Tuner::openFrontendById(uint32_t frontendId, openFrontendById_cb _hidl_cb) {  in openFrontendById()  argument
115 if (frontendId >= mFrontendSize || frontendId < 0) { in openFrontendById()
116 ALOGW("[ WARN ] Frontend with id %d isn't available", frontendId); in openFrontendById()
121 _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()
232 void Tuner::setFrontendAsDemuxSource(uint32_t frontendId, uint32_t demuxId) { in setFrontendAsDemuxSource() argument
233 mFrontendToDemux[frontendId] = demuxId; in setFrontendAsDemuxSource()
234 if (mFrontends[frontendId] != nullptr && mFrontends[frontendId]->isLocked()) { in setFrontendAsDemuxSource()
239 void Tuner::frontendStopTune(uint32_t frontendId) { in frontendStopTune() argument
240 map<uint32_t, uint32_t>::iterator it = mFrontendToDemux.find(frontendId); in frontendStopTune()
248 void Tuner::frontendStartTune(uint32_t frontendId) { in frontendStartTune() argument
249 map<uint32_t, uint32_t>::iterator it = mFrontendToDemux.find(frontendId); in frontendStartTune()