Home
last modified time | relevance | path

Searched refs:band (Results 1 – 25 of 105) sorted by relevance

12345

/hardware/interfaces/audio/common/7.0/example/
DEqualizerEffect.cpp59 Return<Result> EqualizerEffect::setBandLevel(uint16_t band, int16_t level) { in setBandLevel() argument
60 if (band < kNumBands) { in setBandLevel()
61 mProperties.bandLevels[band] = level; in setBandLevel()
68 Return<void> EqualizerEffect::getBandLevel(uint16_t band, getBandLevel_cb _hidl_cb) { in getBandLevel() argument
69 if (band < kNumBands) { in getBandLevel()
70 _hidl_cb(Result::OK, mProperties.bandLevels[band]); in getBandLevel()
77 Return<void> EqualizerEffect::getBandCenterFrequency(uint16_t band, in getBandCenterFrequency() argument
79 (void)band; in getBandCenterFrequency()
84 Return<void> EqualizerEffect::getBandFrequencyRange(uint16_t band, in getBandFrequencyRange() argument
86 (void)band; in getBandFrequencyRange()
/hardware/interfaces/audio/effect/2.0/
DIEqualizerEffect.hal29 * Returns the minimum and maximum band levels supported.
35 * Sets the gain for the given equalizer band.
37 setBandLevel(uint16_t band, int16_t level) generates (Result retval);
40 * Gets the gain for the given equalizer band.
42 getBandLevel(uint16_t band) generates (Result retval, int16_t level);
45 * Gets the center frequency of the given band, in milliHertz.
47 getBandCenterFrequency(uint16_t band)
51 * Gets the frequency range of the given frequency band, in milliHertz.
53 getBandFrequencyRange(uint16_t band)
57 * Gets the band that has the most effect on the given frequency
[all …]
/hardware/interfaces/audio/effect/5.0/
DIEqualizerEffect.hal29 * Returns the minimum and maximum band levels supported.
35 * Sets the gain for the given equalizer band.
37 setBandLevel(uint16_t band, int16_t level) generates (Result retval);
40 * Gets the gain for the given equalizer band.
42 getBandLevel(uint16_t band) generates (Result retval, int16_t level);
45 * Gets the center frequency of the given band, in milliHertz.
47 getBandCenterFrequency(uint16_t band)
51 * Gets the frequency range of the given frequency band, in milliHertz.
53 getBandFrequencyRange(uint16_t band)
57 * Gets the band that has the most effect on the given frequency
[all …]
/hardware/interfaces/audio/effect/7.0/
DIEqualizerEffect.hal29 * Returns the minimum and maximum band levels supported.
35 * Sets the gain for the given equalizer band.
37 setBandLevel(uint16_t band, int16_t level) generates (Result retval);
40 * Gets the gain for the given equalizer band.
42 getBandLevel(uint16_t band) generates (Result retval, int16_t level);
45 * Gets the center frequency of the given band, in milliHertz.
47 getBandCenterFrequency(uint16_t band)
51 * Gets the frequency range of the given frequency band, in milliHertz.
53 getBandFrequencyRange(uint16_t band)
57 * Gets the band that has the most effect on the given frequency
[all …]
/hardware/interfaces/audio/effect/6.0/
DIEqualizerEffect.hal29 * Returns the minimum and maximum band levels supported.
35 * Sets the gain for the given equalizer band.
37 setBandLevel(uint16_t band, int16_t level) generates (Result retval);
40 * Gets the gain for the given equalizer band.
42 getBandLevel(uint16_t band) generates (Result retval, int16_t level);
45 * Gets the center frequency of the given band, in milliHertz.
47 getBandCenterFrequency(uint16_t band)
51 * Gets the frequency range of the given frequency band, in milliHertz.
53 getBandFrequencyRange(uint16_t band)
57 * Gets the band that has the most effect on the given frequency
[all …]
/hardware/interfaces/audio/effect/4.0/
DIEqualizerEffect.hal29 * Returns the minimum and maximum band levels supported.
35 * Sets the gain for the given equalizer band.
37 setBandLevel(uint16_t band, int16_t level) generates (Result retval);
40 * Gets the gain for the given equalizer band.
42 getBandLevel(uint16_t band) generates (Result retval, int16_t level);
45 * Gets the center frequency of the given band, in milliHertz.
47 getBandCenterFrequency(uint16_t band)
51 * Gets the frequency range of the given frequency band, in milliHertz.
53 getBandFrequencyRange(uint16_t band)
57 * Gets the band that has the most effect on the given frequency
[all …]
/hardware/interfaces/audio/aidl/default/dynamicProcessing/
DDynamicsProcessingSw.cpp67 .band = 0,
73 .band = std::numeric_limits<int>::max(),
358 if (0 != bandSet.count({cfg.channel, cfg.band})) { in setEqBandCfgs()
362 bandSet.insert({cfg.channel, cfg.band}); in setEqBandCfgs()
369 targetCfgs[cfg.channel * stage.bandCount + cfg.band] = cfg; in setEqBandCfgs()
395 if (0 != bandSet.count({it.channel, it.band})) { in setMbcBandCfgs()
399 bandSet.insert({it.channel, it.band}); in setMbcBandCfgs()
407 mMbcChBands[it.channel * bandCount + it.band] = it; in setMbcBandCfgs()
500 const DynamicsProcessing::EqBandConfig& band, int maxChannel, int maxBand, in validateEqBandConfig() argument
502 return band.channel >= 0 && band.channel < maxChannel && in validateEqBandConfig()
[all …]
/hardware/qcom/audio/post_proc/
Dequalizer.c85 int equalizer_get_band_level(equalizer_context_t *context, int32_t band) in equalizer_get_band_level() argument
87 ALOGV("%s: band: %d level: %d", __func__, band, in equalizer_get_band_level()
88 context->band_levels[band] * 100); in equalizer_get_band_level()
89 return context->band_levels[band] * 100; in equalizer_get_band_level()
92 int equalizer_set_band_level(equalizer_context_t *context, int32_t band, in equalizer_set_band_level() argument
95 ALOGV("%s: band: %d, level: %d", __func__, band, level); in equalizer_set_band_level()
101 context->band_levels[band] = level; in equalizer_set_band_level()
116 int equalizer_get_center_frequency(equalizer_context_t *context __unused, int32_t band) in equalizer_get_center_frequency() argument
118 ALOGV("%s: band: %d", __func__, band); in equalizer_get_center_frequency()
119 return (equalizer_band_freq_range[band][0] + in equalizer_get_center_frequency()
[all …]
/hardware/interfaces/broadcastradio/common/utils1x/
DUtils.cpp119 bool isAm(const Band band) { in isAm() argument
120 return band == Band::AM || band == Band::AM_HD; in isAm()
123 bool isFm(const Band band) { in isFm() argument
124 return band == Band::FM || band == Band::FM_HD; in isFm()
166 ProgramSelector make_selector(Band band, uint32_t channel, uint32_t subChannel) { in make_selector() argument
169 ALOGW_IF((subChannel > 0) && (band == Band::AM || band == Band::FM), in make_selector()
174 if (isAm(band)) { in make_selector()
176 } else if (isFm(band)) { in make_selector()
179 LOG_ALWAYS_FATAL("Unsupported band: %s", toString(band).c_str()); in make_selector()
/hardware/interfaces/radio/aidl/compat/libradiocompat/network/
Dstructs.h38 ::aidl::android::hardware::radio::network::GeranBands toAidl(V1_1::GeranBands band);
39 V1_1::GeranBands toHidl(::aidl::android::hardware::radio::network::GeranBands band);
40 ::aidl::android::hardware::radio::network::UtranBands toAidl(V1_5::UtranBands band);
41 V1_5::UtranBands toHidl(::aidl::android::hardware::radio::network::UtranBands band);
42 ::aidl::android::hardware::radio::network::EutranBands toAidl(V1_5::EutranBands band);
43 V1_5::EutranBands toHidl(::aidl::android::hardware::radio::network::EutranBands band);
44 ::aidl::android::hardware::radio::network::NgranBands toAidl(V1_5::NgranBands band);
45 V1_5::NgranBands toHidl(::aidl::android::hardware::radio::network::NgranBands band);
Dstructs.cpp35 aidl::GeranBands toAidl(V1_1::GeranBands band) { in toAidl() argument
36 return aidl::GeranBands(band); in toAidl()
39 V1_1::GeranBands toHidl(aidl::GeranBands band) { in toHidl() argument
40 return V1_1::GeranBands(band); in toHidl()
43 aidl::UtranBands toAidl(V1_5::UtranBands band) { in toAidl() argument
44 return aidl::UtranBands(band); in toAidl()
47 V1_5::UtranBands toHidl(aidl::UtranBands band) { in toHidl() argument
48 return V1_5::UtranBands(band); in toHidl()
51 aidl::EutranBands toAidl(V1_5::EutranBands band) { in toAidl() argument
52 return aidl::EutranBands(band); in toAidl()
[all …]
/hardware/interfaces/broadcastradio/common/utils1x/include/broadcastradio-utils-1x/
DUtils.h49 bool isAm(const V1_0::Band band);
50 bool isFm(const V1_0::Band band);
68 V1_1::ProgramSelector make_selector(V1_0::Band band, uint32_t channel, uint32_t subChannel = 0);
/hardware/interfaces/broadcastradio/1.0/
Dtypes.hal41 /** value for field "type" of radio band described in struct radio_hal_band_config */
43 /** Amplitude Modulation band: LW, MW, SW */
45 /** Frequency Modulation band: FM */
78 /** Additional attributes for an FM band configuration */
94 /** Additional attributes for an AM band configuration */
100 /* Radio band configuration. Describes a given band supported by the radio
101 * module. The HAL can expose only one band per type with the the maximum range
103 * this module can operate and expose separate band configurations for
139 /** band descriptors */
213 uint32_t channel; /** current channel. (e.g kHz for band type AM_FM) */
DITuner.hal24 * Apply current radio band configuration (band, range, channel spacing...).
28 * @param config The band configuration to apply.
37 * Retrieve current radio band configuration.
40 * @param config Current band configuration
49 * or after a time out or full band scan if no station found.
65 * or after a time out or full band scan if no station found.
81 * or after a time out or full band scan if no station found.
/hardware/interfaces/wifi/1.0/
DIWifiApIface.hal39 * for the provided band.
41 * @param band Band for which the frequency list is being generated.
49 * @return frequencies vector of valid frequencies for the provided band.
51 getValidFrequenciesForBand(WifiBand band)
/hardware/interfaces/wifi/hostapd/1.2/
DIHostapd.hal44 * 2.4 GHz band.
48 * 5 GHz band.
52 * 6 GHz band.
63 * Note: hw_mode=a is used to specify that 5 GHz band or 6 GHz band is
69 * Whether 6GHz band enabled or not on softAp.
70 * Note: hw_mode=a is used to specify that 5 GHz band or 6 GHz band is
/hardware/interfaces/audio/effect/all-versions/default/
DEqualizerEffect.cpp216 Return<Result> EqualizerEffect::setBandLevel(uint16_t band, int16_t level) { in setBandLevel() argument
217 return mEffect->setParam(EQ_PARAM_BAND_LEVEL, band, level); in setBandLevel()
220 Return<void> EqualizerEffect::getBandLevel(uint16_t band, getBandLevel_cb _hidl_cb) { in getBandLevel() argument
222 Result retval = mEffect->getParam(EQ_PARAM_BAND_LEVEL, band, halLevel); in getBandLevel()
227 Return<void> EqualizerEffect::getBandCenterFrequency(uint16_t band, in getBandCenterFrequency() argument
230 Result retval = mEffect->getParam(EQ_PARAM_CENTER_FREQ, band, halFreq); in getBandCenterFrequency()
235 Return<void> EqualizerEffect::getBandFrequencyRange(uint16_t band, in getBandFrequencyRange() argument
238 Result retval = mEffect->getParam(EQ_PARAM_BAND_FREQ_RANGE, band, halFreqs); in getBandFrequencyRange()
DEqualizerEffect.h106 Return<Result> setBandLevel(uint16_t band, int16_t level) override;
107 Return<void> getBandLevel(uint16_t band, getBandLevel_cb _hidl_cb) override;
108 Return<void> getBandCenterFrequency(uint16_t band, getBandCenterFrequency_cb _hidl_cb) override;
109 Return<void> getBandFrequencyRange(uint16_t band, getBandFrequencyRange_cb _hidl_cb) override;
/hardware/interfaces/audio/aidl/android/hardware/audio/effect/
DDynamicsProcessing.aidl134 int band;
164 int band;
/hardware/interfaces/wifi/1.5/vts/functional/
Dwifi_chip_hidl_test.cpp161 unsafeChannel24Ghz.band = WifiBand::BAND_24GHZ; in TEST_P()
165 unsafeChannel5Ghz.band = WifiBand::BAND_5GHZ; in TEST_P()
202 WifiBand band = WifiBand::BAND_24GHZ_5GHZ_6GHZ; in TEST_P() local
204 band, ifaceModeMask, filterMask); in TEST_P()
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/current/android/hardware/wifi/
DStaBackgroundScanBucketParameters.aidl38 android.hardware.wifi.WifiBand band;
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/1/android/hardware/wifi/
DStaBackgroundScanBucketParameters.aidl38 android.hardware.wifi.WifiBand band;
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/2/android/hardware/wifi/
DStaBackgroundScanBucketParameters.aidl38 android.hardware.wifi.WifiBand band;
/hardware/interfaces/wifi/aidl/android/hardware/wifi/
DStaBackgroundScanBucketParameters.aidl36 WifiBand band;
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.effect/1/android/hardware/audio/effect/
DDynamicsProcessing.aidl78 int band;
86 int band;

12345