• Home
  • Raw
  • Download

Lines Matching refs:selector

116 ProgramInfo makeSampleProgramInfo(const ProgramSelector& selector) {  in makeSampleProgramInfo()  argument
118 info.selector = selector; in makeSampleProgramInfo()
119 switch (info.selector.primaryId.type) { in makeSampleProgramInfo()
123 utils::getId(selector, IdentifierType::AMFM_FREQUENCY_KHZ)); in makeSampleProgramInfo()
128 utils::getAmFmFrequency(info.selector)); in makeSampleProgramInfo()
132 info.logicallyTunedTo = info.selector.primaryId; in makeSampleProgramInfo()
135 utils::getId(selector, IdentifierType::DAB_FREQUENCY_KHZ)); in makeSampleProgramInfo()
138 info.logicallyTunedTo = info.selector.primaryId; in makeSampleProgramInfo()
270 mCurrentProgramSelector = virtualProgram.selector; in BroadcastRadio()
338 mCurrentProgramSelector = virtualProgram.selector; in tuneInternalLocked()
349 if (programInfo.selector.primaryId.type != IdentifierType::HD_STATION_ID_EXT) { in tuneInternalLocked()
389 if (programInfo.selector.primaryId.type != IdentifierType::HD_STATION_ID_EXT) { in handleProgramInfoUpdateRadioCallback()
392 ProgramSelector sel = programInfo.selector; in handleProgramInfoUpdateRadioCallback()
474 if (utils::tunesTo(current, found->selector)) found++; in findNextLocked()
479 utils::getAmFmFrequency(found->selector) == currentChannel) || in findNextLocked()
480 (hasDabSId && utils::getDabSId(found->selector) == currentChannel)) { in findNextLocked()
509 if ((hasAmFmFrequency && utils::hasAmFmFrequency(found->selector)) || in findNextLocked()
510 (hasDabSId && utils::hasId(found->selector, IdentifierType::DAB_SID_EXT))) { in findNextLocked()
511 uint32_t nextChannel = hasAmFmFrequency ? utils::getAmFmFrequency(found->selector) in findNextLocked()
512 : utils::getDabSId(found->selector); in findNextLocked()
549 bool hasAmFmFrequency = utils::hasAmFmFrequency(it->selector); in jumpToFirstSubChannelLocked()
550 bool hasDabSId = utils::hasId(it->selector, IdentifierType::DAB_SID_EXT); in jumpToFirstSubChannelLocked()
552 uint32_t currentChannel = hasAmFmFrequency ? utils::getAmFmFrequency(it->selector) in jumpToFirstSubChannelLocked()
553 : utils::getDabSId(it->selector); in jumpToFirstSubChannelLocked()
556 if (hasAmFmFrequency && utils::hasAmFmFrequency(it->selector) && in jumpToFirstSubChannelLocked()
557 utils::getAmFmFrequency(it->selector) == currentChannel) { in jumpToFirstSubChannelLocked()
559 } else if (hasDabSId && utils::hasId(it->selector, IdentifierType::DAB_SID_EXT) && in jumpToFirstSubChannelLocked()
560 utils::getDabSId(it->selector) == currentChannel) { in jumpToFirstSubChannelLocked()
584 return isProgramInBand(program.selector, mCurrentAmFmBandRange, in seek()
613 programInfo = tuneInternalLocked(nextProgram.selector); in seek()
699 return utils::satisfies(filter, program.selector) && in startProgramListUpdatesLocked()
700 isProgramInBand(program.selector, mCurrentAmFmBandRange, in startProgramListUpdatesLocked()
832 if (mCurrentProgramInfo.selector.primaryId.type == IdentifierType::INVALID) { in updateCurrentProgramInfoWithAlert()