Home
last modified time | relevance | path

Searched refs:getAmFmFrequency (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/broadcastradio/aidl/default/
DVirtualRadio.cpp50 uint32_t channelFreq = utils::getAmFmFrequency(it->selector); in getProgram()
53 utils::getAmFmFrequency(it->selector) == channelFreq) { in getProgram()
DBroadcastRadio.cpp81 int32_t freq = static_cast<int32_t>(utils::getAmFmFrequency(sel)); in isDigitalProgramAllowed()
108 int32_t freq = static_cast<int32_t>(utils::getAmFmFrequency(sel)); in isProgramInBand()
128 utils::getAmFmFrequency(info.selector)); in makeSampleProgramInfo()
237 mCurrentProgram = utils::makeSelectorAmfm(utils::getAmFmFrequency(sel)); in tuneInternalLocked()
352 hasAmFmFrequency ? utils::getAmFmFrequency(current) : utils::getDabSId(current); in findNextLocked()
368 utils::getAmFmFrequency(found->selector) == currentChannel) || in findNextLocked()
400 uint32_t nextChannel = hasAmFmFrequency ? utils::getAmFmFrequency(found->selector) in findNextLocked()
441 uint32_t currentChannel = hasAmFmFrequency ? utils::getAmFmFrequency(it->selector) in jumpToFirstSubChannelLocked()
446 utils::getAmFmFrequency(it->selector) == currentChannel) { in jumpToFirstSubChannelLocked()
701 int32_t freq = static_cast<int32_t>(utils::getAmFmFrequency(mCurrentProgram)); in adjustAmFmRangeLocked()
/hardware/interfaces/broadcastradio/common/utilsaidl/src/
DUtils.cpp135 getAmFmFrequency(b)); in tunesTo()
369 uint32_t freq1 = utils::getAmFmFrequency(lhs); in operator ()()
373 uint32_t freq2 = utils::getAmFmFrequency(rhs); in operator ()()
580 uint32_t getAmFmFrequency(const ProgramSelector& sel) { in getAmFmFrequency() function
/hardware/interfaces/broadcastradio/aidl/default/test/
DDefaultBroadcastRadioHalTest.cpp484 EXPECT_EQ(utils::getBand(utils::getAmFmFrequency(it->selector)), utils::FrequencyBand::FM); in TEST_F()
500 EXPECT_EQ(utils::getBand(utils::getAmFmFrequency(it->selector)), utils::FrequencyBand::FM); in TEST_F()
513 EXPECT_EQ(utils::getBand(utils::getAmFmFrequency(it->selector)), utils::FrequencyBand::FM); in TEST_F()
/hardware/interfaces/broadcastradio/common/utilsaidl/include/broadcastradio-utils-aidl/
DUtils.h184 uint32_t getAmFmFrequency(const ProgramSelector& sel);
/hardware/interfaces/broadcastradio/common/utilsaidl/test/
DBroadcastRadioUtilsTest.cpp324 ASSERT_EQ(utils::getAmFmFrequency(sel), static_cast<uint32_t>(kFmFrequencyKHz)); in TEST()
330 ASSERT_EQ(utils::getAmFmFrequency(sel), static_cast<uint32_t>(kHdFrequency)); in TEST()
336 ASSERT_EQ(utils::getAmFmFrequency(sel), 0u); in TEST()
/hardware/interfaces/broadcastradio/aidl/vts/src/
DVtsHalBroadcastradioAidlTargetTest.cpp731 bcutils::getAmFmFrequency(hdSel)); in TEST_P()