Home
last modified time | relevance | path

Searched refs:bandConfig (Results 1 – 10 of 10) 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/hal1/
DBroadcastRadioService.java59 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner() argument
66 return nativeOpenTuner(mNativeContext, moduleId, bandConfig, withAudio, callback); in openTuner()
/frameworks/base/services/core/java/com/android/server/broadcastradio/
DIRadioServiceHidlImpl.java97 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner() argument
106 return mHal2Client.openSession(moduleId, bandConfig, withAudio, callback); in openTuner()
108 return mHal1Client.openTuner(moduleId, bandConfig, withAudio, callback); in openTuner()
DIRadioServiceAidlImpl.java91 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner() argument
100 return mAidlHalClient.openSession(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
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionDynamicsProcessing.cpp92 DynamicsProcessing::EqBandConfig bandConfig = in setParameter() local
95 {bandConfig}); in setParameter()
99 DynamicsProcessing::EqBandConfig bandConfig = in setParameter() local
102 {bandConfig}); in setParameter()
106 DynamicsProcessing::MbcBandConfig bandConfig = in setParameter() local
109 {bandConfig}); in setParameter()
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/
DRadioManagerTest.java561 RadioManager.BandConfig bandConfig = createFmBandConfig(); in describeContents_forBandConfig() local
564 .that(bandConfig.describeContents()).isEqualTo(0); in describeContents_forBandConfig()
570 RadioManager.BandConfig bandConfig = createAmBandConfig(); in writeToParcel_forBandConfig() local
572 bandConfig.writeToParcel(parcel, /* flags= */ 0); in writeToParcel_forBandConfig()
578 .that(bandConfigFromParcel).isEqualTo(bandConfig); in writeToParcel_forBandConfig()