Home
last modified time | relevance | path

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

123

/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/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/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/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/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/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.3/default/
Dwifi_ap_iface.cpp82 WifiBand band, getValidFrequenciesForBand_cb hidl_status_cb) { in getValidFrequenciesForBand() argument
85 hidl_status_cb, band); in getValidFrequenciesForBand()
104 WifiApIface::getValidFrequenciesForBandInternal(WifiBand band) { in getValidFrequenciesForBandInternal() argument
111 ifname_, hidl_struct_util::convertHidlWifiBandToLegacy(band)); in getValidFrequenciesForBandInternal()
Dwifi_ap_iface.h55 WifiBand band, getValidFrequenciesForBand_cb hidl_status_cb) override;
63 getValidFrequenciesForBandInternal(WifiBand band);
Dwifi_sta_iface.h66 WifiBand band, getValidFrequenciesForBand_cb hidl_status_cb) override;
131 getValidFrequenciesForBandInternal(WifiBand band);
/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/audio/effect/all-versions/default/
DEqualizerEffect.cpp203 Return<Result> EqualizerEffect::setBandLevel(uint16_t band, int16_t level) { in setBandLevel() argument
204 return mEffect->setParam(EQ_PARAM_BAND_LEVEL, band, level); in setBandLevel()
207 Return<void> EqualizerEffect::getBandLevel(uint16_t band, getBandLevel_cb _hidl_cb) { in getBandLevel() argument
209 Result retval = mEffect->getParam(EQ_PARAM_BAND_LEVEL, band, halLevel); in getBandLevel()
214 Return<void> EqualizerEffect::getBandCenterFrequency(uint16_t band, in getBandCenterFrequency() argument
217 Result retval = mEffect->getParam(EQ_PARAM_CENTER_FREQ, band, halFreq); in getBandCenterFrequency()
222 Return<void> EqualizerEffect::getBandFrequencyRange(uint16_t band, in getBandFrequencyRange() argument
225 Result retval = mEffect->getParam(EQ_PARAM_BAND_FREQ_RANGE, band, halFreqs); in getBandFrequencyRange()
DEqualizerEffect.h100 Return<Result> setBandLevel(uint16_t band, int16_t level) override;
101 Return<void> getBandLevel(uint16_t band, getBandLevel_cb _hidl_cb) override;
102 Return<void> getBandCenterFrequency(uint16_t band, getBandCenterFrequency_cb _hidl_cb) override;
103 Return<void> getBandFrequencyRange(uint16_t band, getBandFrequencyRange_cb _hidl_cb) override;
/hardware/libhardware_legacy/include/hardware_legacy/
Dgscan.h37 int band, int max_channels, wifi_channel *channels, int *num_channels);
135 wifi_band band; // when UNSPECIFIED, use channel list member
268 wifi_band band; // band for this set of threshold params member
/hardware/interfaces/wifi/hostapd/1.0/
DIHostapd.hal49 * used to indicate that any supported band can be used. This special
66 * the band.
71 * Note: hw_mode=a is used to specify that 5 GHz band is used with VHT.
99 Band band;
/hardware/interfaces/broadcastradio/1.0/vts/functional/
DVtsHalBroadcastradioV1_0TargetTest.cpp597 auto& band = getBand(0); in TEST_P() local
600 ASSERT_GT(band.spacings.size(), 0u); in TEST_P()
601 ASSERT_GT(band.upperLimit, band.lowerLimit); in TEST_P()
604 uint32_t lowerLimit = band.lowerLimit; in TEST_P()
605 uint32_t upperLimit = band.upperLimit; in TEST_P()
606 uint32_t spacing = band.spacings[0]; in TEST_P()
/hardware/interfaces/wifi/hostapd/1.0/vts/functional/
Dhostapd_hidl_test.cpp75 iface_params.channelParams.band = IHostapd::Band::BAND_ANY; in getIfaceParamsWithAcs()
87 iface_params.channelParams.band = IHostapd::Band::BAND_2_4_GHZ; in getIfaceParamsWithoutAcs()
99 iface_params.channelParams.band = IHostapd::Band::BAND_2_4_GHZ; in getIfaceParamsWithInvalidChannel()
/hardware/interfaces/wifi/supplicant/1.2/
DISupplicantP2pIface.hal38 * passphrase, persistent mode, and frequency/band.
49 * @param freq The required frequency or band for this group.
56 * If an invalid band or unsupported frequency are specified, it fails.
/hardware/interfaces/radio/1.3/
DIRadio.hal39 * For example, CBRS is only on LTE band 48. By specifying this band,
/hardware/interfaces/broadcastradio/1.1/default/
DTuner.cpp274 Band band; in tune() local
277 band = mAmfmConfig.type; in tune()
279 return tuneByProgramSelector(utils::make_selector(band, channel, subChannel)); in tune()
/hardware/interfaces/wifi/hostapd/1.1/vts/functional/
Dhostapd_hidl_test.cpp84 iface_params.channelParams.band = IHostapd::Band::BAND_ANY; in getIfaceParamsWithAcs()
121 iface_params.channelParams.band = IHostapd::Band::BAND_2_4_GHZ; in getIfaceParamsWithoutAcs()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifihal_internal.h96 u32 band,
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmwifi_channels.h308 #define LCHSPEC_CREATE(chan, band, bw, sb) ((uint16)((chan) | (sb) | (bw) | (band))) argument

123