Searched refs:subChannel (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/android/hardware/radio/ |
D | ProgramSelector.java | 444 @RadioManager.Band int band, int frequencyKhz, int subChannel) { in createAmFmSelector() argument 448 band = (subChannel <= 0) ? RadioManager.BAND_AM : RadioManager.BAND_AM_HD; in createAmFmSelector() 450 band = (subChannel <= 0) ? RadioManager.BAND_FM : RadioManager.BAND_FM_HD; in createAmFmSelector() 459 if (subChannel < 0 || subChannel > 8) { in createAmFmSelector() 460 throw new IllegalArgumentException("Invalid subchannel: " + subChannel); in createAmFmSelector() 462 if (subChannel > 0 && !isDigital) { in createAmFmSelector() 475 if (subChannel > 0) { in createAmFmSelector() 482 new Identifier(IDENTIFIER_TYPE_HD_SUBCHANNEL, subChannel - 1)}; in createAmFmSelector()
|
D | TunerAdapter.java | 155 public int tune(int channel, int subChannel) { in tune() argument 157 mTuner.tune(ProgramSelector.createAmFmSelector(mBand, channel, subChannel)); in tune()
|
D | RadioTuner.java | 183 public abstract int tune(int channel, int subChannel); in tune() argument
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | TunerCallback.cpp | 116 virtual Return<void> newMetadata(uint32_t channel, uint32_t subChannel, 209 auto selector = utils::make_selector(mBand, info.channel, info.subChannel); in tuneComplete() 265 Return<void> NativeCallback::newMetadata(uint32_t channel, uint32_t subChannel, in newMetadata() argument 267 ALOGV("%s(%d, %d)", __func__, channel, subChannel); in newMetadata() 279 if (channel != info.channel || subChannel != info.subChannel) { in newMetadata() 281 channel, subChannel, info.channel, info.subChannel); in newMetadata()
|
D | Tuner.cpp | 296 uint32_t channel, subChannel; in nativeTune() local 297 if (!utils::getLegacyChannel(selector, &channel, &subChannel)) { in nativeTune() 302 convert::ThrowIfFailed(env, halTuner10->tune(channel, subChannel)); in nativeTune()
|
D | convert.cpp | 632 auto selector = utils::make_selector(band, info.channel, info.subChannel); in ProgramInfoFromHal()
|