Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/BroadcastRadio/
Dregions.cpp50 bool fitsInsideBand(const BandConfig &bandConfig) const;
51 std::vector<RegionalBandConfig> withConfig(BandConfig bandConfig) const;
144 bool RegionalBandDefinition::fitsInsideBand(const BandConfig &bandConfig) const { in fitsInsideBand()
145 if (std::find(mTypes.begin(), mTypes.end(), bandConfig.type) == mTypes.end()) return false; in fitsInsideBand()
146 if (mLowerLimit < bandConfig.lowerLimit) return false; in fitsInsideBand()
147 if (mUpperLimit > bandConfig.upperLimit) return false; in fitsInsideBand()
148 auto&& spacings = bandConfig.spacings; in fitsInsideBand()
150 if (utils::isFm(bandConfig.type)) { in fitsInsideBand()
151 if (0 == (mFmDeemphasis & bandConfig.ext.fm.deemphasis)) return false; in fitsInsideBand()
Dregions.h33 V1_0::BandConfig bandConfig; member
DBroadcastRadioService.cpp205 jobject bandConfig, bool withAudio, jobject callback) { in nativeOpenTuner() argument
225 if (bandConfig != nullptr) { in nativeOpenTuner()
226 bandConfigHal = convert::BandConfigToHal(env, bandConfig, region); in nativeOpenTuner()
Dconvert.cpp414 return BandDescriptorFromHal(env, config.bandConfig, config.region); in BandDescriptorFromHal()
/frameworks/base/services/core/java/com/android/server/broadcastradio/
DBroadcastRadioService.java85 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner() argument
94 return mHal2.openSession(moduleId, bandConfig, withAudio, callback); in openTuner()
96 return mHal1.openTuner(moduleId, bandConfig, withAudio, callback); in openTuner()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DBroadcastRadioService.java60 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner() argument
63 return nativeOpenTuner(mNativeContext, moduleId, bandConfig, withAudio, callback); in openTuner()
/frameworks/base/core/java/android/hardware/radio/
DIRadioService.aidl33 ITuner openTuner(int moduleId, in RadioManager.BandConfig bandConfig, boolean withAudio, in openTuner() argument