Home
last modified time | relevance | path

Searched refs:BandConfig (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/services/core/jni/BroadcastRadio/
Dregions.cpp35 using V1_0::BandConfig;
50 bool fitsInsideBand(const BandConfig &bandConfig) const;
51 std::vector<RegionalBandConfig> withConfig(BandConfig bandConfig) const;
144 bool RegionalBandDefinition::fitsInsideBand(const BandConfig &bandConfig) const { in fitsInsideBand()
157 std::vector<RegionalBandConfig> RegionalBandDefinition::withConfig(BandConfig config) const { in withConfig()
175 std::vector<RegionalBandConfig> mapRegions(const hidl_vec<BandConfig>& bands) { in mapRegions()
Dregions.h33 V1_0::BandConfig bandConfig;
37 mapRegions(const hardware::hidl_vec<V1_0::BandConfig>& bands);
DBroadcastRadioService.cpp50 using V1_0::BandConfig;
75 std::vector<hardware::broadcastradio::V1_0::BandConfig> bands;
224 BandConfig bandConfigHal; in nativeOpenTuner()
238 [](const BandConfig & band) { return utils::isFm(band.type); }); in nativeOpenTuner()
274 halTuner->getConfiguration([&](Result result, const BandConfig& config) { in nativeOpenTuner()
Dconvert.h48 JavaRef<jobject> BandConfigFromHal(JNIEnv *env, const V1_0::BandConfig &config, Region region);
49 V1_0::BandConfig BandConfigToHal(JNIEnv *env, jobject jConfig, Region &region);
Dconvert.cpp59 static JavaRef<jobject> BandDescriptorFromHal(JNIEnv *env, const V1_0::BandConfig &config, Region r…
64 } BandConfig; member
417 static JavaRef<jobject> BandDescriptorFromHal(JNIEnv *env, const V1_0::BandConfig &config, Region r… in BandDescriptorFromHal()
441 JavaRef<jobject> BandConfigFromHal(JNIEnv *env, const V1_0::BandConfig &config, Region region) { in BandConfigFromHal()
459 V1_0::BandConfig BandConfigToHal(JNIEnv *env, jobject jConfig, Region &region) { in BandConfigToHal()
461 auto jDescriptor = env->GetObjectField(jConfig, gjni.BandConfig.descriptor); in BandConfigToHal()
469 V1_0::BandConfig config = {}; in BandConfigToHal()
648 gjni.BandConfig.descriptor = GetFieldIDOrDie(env, bandConfigClass, in register_android_server_broadcastradio_convert()
DTuner.cpp49 using V1_0::BandConfig;
237 BandConfig bandConfigHal = convert::BandConfigToHal(env, config, region_unused); in nativeSetConfiguration()
250 BandConfig halConfig; in nativeGetConfiguration()
252 auto hidlResult = halTuner->getConfiguration([&](Result result, const BandConfig& config) { in nativeGetConfiguration()
DTunerCallback.cpp46 using V1_0::BandConfig;
110 virtual Return<void> configChange(Result result, const BandConfig& config);
168 Return<void> NativeCallback::configChange(Result result, const BandConfig& config) { in configChange()
/frameworks/base/core/java/android/hardware/radio/
DRadioTuner.java70 public abstract int setConfiguration(RadioManager.BandConfig config); in setConfiguration()
89 public abstract int getConfiguration(RadioManager.BandConfig[] config); in getConfiguration()
530 public void onConfigurationChanged(RadioManager.BandConfig config) {} in onConfigurationChanged()
DITuner.aidl33 void setConfiguration(in RadioManager.BandConfig config); in setConfiguration()
35 RadioManager.BandConfig getConfiguration(); in getConfiguration()
DRadioManager.java914 public static class BandConfig implements Parcelable { class in RadioManager
918 BandConfig(BandDescriptor descriptor) { in BandConfig() method in RadioManager.BandConfig
922 BandConfig(int region, int type, int lowerLimit, int upperLimit, int spacing) { in BandConfig() method in RadioManager.BandConfig
926 private BandConfig(Parcel in) { in BandConfig() method in RadioManager.BandConfig
973 public static final @android.annotation.NonNull Parcelable.Creator<BandConfig> CREATOR
974 = new Parcelable.Creator<BandConfig>() {
975 public BandConfig createFromParcel(Parcel in) {
989 public BandConfig[] newArray(int size) {
990 return new BandConfig[size];
1022 if (!(obj instanceof BandConfig)) in equals()
[all …]
DRadioManager.aidl20 parcelable RadioManager.BandConfig;
DIRadioService.aidl33 ITuner openTuner(int moduleId, in RadioManager.BandConfig bandConfig, boolean withAudio, in openTuner()
DITunerCallback.aidl28 void onConfigurationChanged(in RadioManager.BandConfig config); in onConfigurationChanged()
DTunerAdapter.java73 public int setConfiguration(RadioManager.BandConfig config) { in setConfiguration()
89 public int getConfiguration(RadioManager.BandConfig[] config) { in getConfiguration()
DTunerCallbackAdapter.java145 public void onConfigurationChanged(RadioManager.BandConfig config) { in onConfigurationChanged()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java80 @NonNull RadioManager.BandConfig config); in nativeSetConfiguration()
81 private native RadioManager.BandConfig nativeGetConfiguration(long nativeContext, int region); in nativeGetConfiguration()
128 public void setConfiguration(RadioManager.BandConfig config) { in setConfiguration()
140 public RadioManager.BandConfig getConfiguration() { in getConfiguration()
DBroadcastRadioService.java52 RadioManager.BandConfig config, boolean withAudio, ITunerCallback callback); in nativeOpenTuner()
60 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner()
DTunerCallback.java116 public void onConfigurationChanged(RadioManager.BandConfig config) { in onConfigurationChanged()
/frameworks/av/media/libeffects/testlibs/
DAudioEqualizer.h35 struct BandConfig { struct
50 const BandConfig * bandConfigs; argument
DEffectEqualizer.cpp64 const AudioEqualizer::BandConfig gBandsClassic[kNumBands] = {
72 const AudioEqualizer::BandConfig gBandsJazz[kNumBands] = {
80 const AudioEqualizer::BandConfig gBandsPop[kNumBands] = {
88 const AudioEqualizer::BandConfig gBandsRock[kNumBands] = {
DAudioEqualizer.cpp208 const BandConfig & bandCfg = presetCfg.bandConfigs[band]; in setPreset()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DTunerSession.java51 private RadioManager.BandConfig mDummyConfig = null;
99 public void setConfiguration(RadioManager.BandConfig config) { in setConfiguration()
109 public RadioManager.BandConfig getConfiguration() { in getConfiguration()
DBroadcastRadioService.java152 public ITuner openSession(int moduleId, @Nullable RadioManager.BandConfig legacyConfig, in openSession()
/frameworks/base/core/tests/BroadcastRadioTests/src/android/hardware/radio/tests/functional/
DRadioTunerTest.java80 RadioManager.BandConfig mAmBandConfig;
81 RadioManager.BandConfig mFmBandConfig;
202 RadioManager.BandConfig[] config = new RadioManager.BandConfig[1]; in testSetAndGetConfiguration()
/frameworks/base/services/core/java/com/android/server/broadcastradio/
DBroadcastRadioService.java85 public ITuner openTuner(int moduleId, RadioManager.BandConfig bandConfig, in openTuner()

12