Home
last modified time | relevance | path

Searched refs:spacings (Results 1 – 8 of 8) sorted by relevance

/hardware/interfaces/broadcastradio/1.0/default/
DUtils.cpp151 config->spacings.setToExternal(const_cast<unsigned int *>(&halConfig->spacings[0]), in convertBandConfigFromHal()
154 config->spacings.resize(halConfig->num_spacings); in convertBandConfigFromHal()
203 halConfig->num_spacings = config->spacings.size(); in convertBandConfigToHal()
207 memcpy(halConfig->spacings, config->spacings.data(), in convertBandConfigToHal()
/hardware/libhardware/modules/radio/
Dradio_hw.c58 .spacings = { 200 },
74 .spacings = { 10 },
358 frequency += tuner->config.spacings[0]; in callback_thread_loop()
360 frequency -= tuner->config.spacings[0]; in callback_thread_loop()
369 tuner->program.tuned = (frequency / (tuner->config.spacings[0] * 5)) % 2; in callback_thread_loop()
385 frequency += tuner->config.spacings[0] * 25; in callback_thread_loop()
387 frequency -= tuner->config.spacings[0] * 25; in callback_thread_loop()
412 (tuner->config.spacings[0] * 5)) % 2; in callback_thread_loop()
/hardware/interfaces/broadcastradio/1.0/vts/functional/
DVtsHalBroadcastradioV1_0TargetTest.cpp282 if (l.spacings != r.spacings) return false; in operator ==()
505 badConfig.spacings = (std::vector<uint32_t>){ 0 }; in TEST_P()
602 ASSERT_GT(band.spacings.size(), 0u); in TEST_P()
608 uint32_t spacing = band.spacings[0]; in TEST_P()
671 auto badChannel = halConfig.upperLimit + halConfig.spacings[0]; in TEST_P()
/hardware/interfaces/broadcastradio/1.1/default/
DBroadcastRadio.h34 std::vector<uint32_t> spacings; // kHz member
DBroadcastRadio.cpp180 dst.spacings = src.spacings; in getAmFmBands()
DTuner.cpp257 current += mAmfmConfig.spacings[0]; in step()
259 current -= mAmfmConfig.spacings[0]; in step()
/hardware/interfaces/broadcastradio/common/utils1x/
DUtils.cpp235 if (l.spacings != r.spacings) return false; in operator ==()
/hardware/interfaces/broadcastradio/1.0/
Dtypes.hal110 vec<uint32_t> spacings;