Home
last modified time | relevance | path

Searched refs:hasAmFmFrequency (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/broadcastradio/aidl/default/
DBroadcastRadio.cpp102 if (!utils::hasAmFmFrequency(sel)) { in isProgramInBand()
349 bool hasAmFmFrequency = utils::hasAmFmFrequency(current); in findNextLocked() local
352 hasAmFmFrequency ? utils::getAmFmFrequency(current) : utils::getDabSId(current); in findNextLocked()
365 if (hasAmFmFrequency || hasDabSId) { in findNextLocked()
367 while ((hasAmFmFrequency && in findNextLocked()
398 if ((hasAmFmFrequency && utils::hasAmFmFrequency(found->selector)) || in findNextLocked()
400 uint32_t nextChannel = hasAmFmFrequency ? utils::getAmFmFrequency(found->selector) in findNextLocked()
438 bool hasAmFmFrequency = utils::hasAmFmFrequency(it->selector); in jumpToFirstSubChannelLocked() local
440 if (hasAmFmFrequency || hasDabSId) { in jumpToFirstSubChannelLocked()
441 uint32_t currentChannel = hasAmFmFrequency ? utils::getAmFmFrequency(it->selector) in jumpToFirstSubChannelLocked()
[all …]
DVirtualRadio.cpp49 if (utils::hasAmFmFrequency(it->selector)) { in getProgram()
52 while (it != mPrograms.end() && utils::hasAmFmFrequency(it->selector) && in getProgram()
/hardware/interfaces/broadcastradio/common/utilsaidl/include/broadcastradio-utils-aidl/
DUtils.h182 bool hasAmFmFrequency(const ProgramSelector& sel);
/hardware/interfaces/broadcastradio/common/utilsaidl/test/
DBroadcastRadioUtilsTest.cpp306 ASSERT_TRUE(utils::hasAmFmFrequency(sel)); in TEST()
312 ASSERT_TRUE(utils::hasAmFmFrequency(sel)); in TEST()
318 ASSERT_FALSE(utils::hasAmFmFrequency(sel)); in TEST()
/hardware/interfaces/broadcastradio/common/utilsaidl/src/
DUtils.cpp575 bool hasAmFmFrequency(const ProgramSelector& sel) { in hasAmFmFrequency() function