/frameworks/av/media/libeffects/testlibs/ |
H A D | AudioEqualizer.cpp | 105 void AudioEqualizer::setGain(int band, int32_t millibel) { argument 106 ALOGV("AudioEqualizer::setGain(band=%d, millibel=%d)", band, millibel); 107 assert(band >= 0 && band < mNumPeaking + 2); 108 if (band == 0) { 110 } else if (band == mNumPeaking + 1) { 113 mpPeakingFilters[band - 1].setGain(millibel); 118 void AudioEqualizer::setFrequency(int band, uint32_t millihertz) { argument 119 ALOGV("AudioEqualizer::setFrequency(band 132 setBandwidth(int band, uint32_t cents) argument 172 getBandRange(int band, uint32_t & low, uint32_t & high) const argument 264 int band = mNumPeaking; local [all...] |
H A D | AudioEqualizer.h | 30 // shelf, where each band has frequency and gain controls, and the peaking 34 // Configuration of a single band. 49 // corresponding band. 107 // band The band to set the gain for. 109 void setGain(int band, int32_t millibel); 111 // Gets gain of a certain band. This is always the last value set (or 113 // band The band to get the gain for. 115 int32_t getGain(int band) cons [all...] |
H A D | EffectEqualizer.cpp | 438 ALOGV("Equalizer_getParameter() EQ_PARAM_BAND_LEVEL band %d, level %d", 449 ALOGV("Equalizer_getParameter() EQ_PARAM_CENTER_FREQ band %d, frequency %d", 460 ALOGV("Equalizer_getParameter() EQ_PARAM_BAND_FREQ_RANGE band %d, min %d, max %d", 467 ALOGV("Equalizer_getParameter() EQ_PARAM_GET_BAND frequency %d, band %d", 537 int32_t band; local 555 band = *pParam; 557 ALOGV("setParameter() EQ_PARAM_BAND_LEVEL band %d, level %d", band, level); 558 if (band >= kNumBands) { 562 pEqualizer->setGain(band, leve [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IEqualizer.c | 145 static SLresult IEqualizer_SetBandLevel(SLEqualizerItf self, SLuint16 band, SLmillibel level) argument 151 (band >= thiz->mNumBands)) { 156 thiz->mLevels[band] = level; 164 android_eq_setParam(thiz->mEqEffect, EQ_PARAM_BAND_LEVEL, band, &level); 175 static SLresult IEqualizer_GetBandLevel(SLEqualizerItf self, SLuint16 band, SLmillibel *pLevel) argument 184 if (band >= thiz->mNumBands) { 190 level = thiz->mLevels[band]; 197 android_eq_getParam(thiz->mEqEffect, EQ_PARAM_BAND_LEVEL, band, &level); 210 static SLresult IEqualizer_GetCenterFreq(SLEqualizerItf self, SLuint16 band, SLmilliHertz *pCenter) argument 218 if (band > 245 IEqualizer_GetBandFreqRange(SLEqualizerItf self, SLuint16 band, SLmilliHertz *pMin, SLmilliHertz *pMax) argument 302 const struct EqualizerBand *band; local 321 uint16_t band = 0; local 388 SLuint16 band; local [all...] |
/frameworks/av/media/libstagefright/codecs/mp3dec/src/ |
H A D | pvmp3_poly_phase_synthesis.cpp | 138 for (int32 band = 0; band < FILTERBANK_BANDS; band += 2) 140 int32 *inData = &pChVars->circ_buffer[544 - (band<<5)]; 178 }/* end band loop */
|
H A D | pvmp3_imdct_synth.cpp | 224 int32 band; local 239 for (band = 0; band < bands2process; band++) 241 uint32 current_blk_type = (band < mx_band) ? LONG : blk_type; 243 int32 * out = in + (band * FILTERBANK_BANDS); 244 int32 * history = overlap + (band * FILTERBANK_BANDS); 317 if (band & 1) 332 for (band = bands2process; band < SUBBANDS_NUMBE [all...] |
H A D | pvmp3_equalizer.cpp | 332 for (int32 band = 0; band < FILTERBANK_BANDS; band += 2) 335 int32 *pt_work_buff = &work_buff[band]; 336 int32 *inData = &circ_buffer[544 - (band<<5)]; 372 for (int32 band = 0; band < FILTERBANK_BANDS; band += 3) 374 int32 *inData = &circ_buffer[544 - (band<<5)]; 376 int32 *pt_work_buff = &work_buff[band]; [all...] |
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
H A D | WifiAssociationTestRunner.java | 33 * The instrument will set frequency band if it is necessary 38 * -e security-type [OPEN|WEP64|WEP128|WPA_TKIP|WPA2_AES] -e frequency-band [2.4|5.0|auto] 61 String mFrequencyBand = arguments.getString("frequency-band"); 67 private void setFrequencyBand(String band) { argument 69 if (band.equals("2.4")) { 70 Log.v(TAG, "set frequency band to 2.4"); 72 } else if (band.equals("5.0")) { 73 Log.v(TAG, "set frequency band to 5.0"); 75 } else if (band.equals("auto")) { 76 Log.v(TAG, "set frequency band t [all...] |
/frameworks/base/media/java/android/media/audiofx/ |
H A D | Equalizer.java | 37 * precise control of the gain in each frequency band controlled by the equalizer. 198 * @return the band level range in an array of short integers. The first element is the lower 212 * Sets the given equalizer band to the given gain value. 213 * @param band frequency band that will have the new gain. The numbering of the bands starts 215 * @param level new gain in millibels that will be set to the given band. getBandLevelRange() 222 public void setBandLevel(short band, short level) argument 228 param[1] = (int)band; 234 * Gets the gain set for the given equalizer band. 235 * @param band frequenc 242 getBandLevel(short band) argument 264 getCenterFreq(short band) argument 286 getBandFreqRange(short band) argument [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaEqualizerTest.java | 160 //Test case 1.1: test band frequency 167 short band = mEqualizer.getBand(TEST_FREQUENCY_MILLIHERTZ); 168 assertTrue(msg + ": getBand failed", band >= 0); 169 int[] freqRange = mEqualizer.getBandFreqRange(band); 173 int freq = mEqualizer.getCenterFreq(band);
|
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | IWifiManager.aidl | 64 void setFrequencyBand(int band, boolean persist);
|
H A D | WifiNative.java | 291 //reply is "BAND X" where X is the band 302 public boolean setBand(int band) { argument 303 return doBooleanCommand("DRIVER SETBAND " + band);
|
H A D | WifiStateMachine.java | 335 /* Set the frequency band */ 1061 * Set the operational frequency band 1062 * @param band 1065 public void setFrequencyBand(int band, boolean persist) { argument 1069 band); 1071 sendMessage(CMD_SET_FREQUENCY_BAND, band, 0); 1075 * Returns the operational frequency band 1289 * Set the frequency band from the system setting value, if any. 1292 int band = Settings.Global.getInt(mContext.getContentResolver(), 1294 setFrequencyBand(band, fals [all...] |
H A D | WifiManager.java | 483 * 2.4 GHz and 5 GHz or make a dynamic decision on selecting the band. 839 * Set the operational frequency band. 840 * @param band One of 847 public void setFrequencyBand(int band, boolean persist) { argument 849 mService.setFrequencyBand(band, persist); 854 * Get the operational frequency band. 871 * Check if the chipset supports dual frequency band (2.4 GHz and 5 GHz)
|
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
H A D | tns.c | 88 * description: Retrieve index of nearest band border 95 const Word16 *bandStartOffset) /*!< table of band borders */ 97 Word32 lineNumber, band; local 109 /* find band the line number lies in */ 110 for (band=0; band<numOfBands; band++) { 111 temp = bandStartOffset[band + 1] - lineNumber; 115 temp = (lineNumber - bandStartOffset[band]); 116 temp = (temp - (bandStartOffset[band [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
H A D | EffectBundle.cpp | 535 LVM_EQNB_BandDef_t BandDefs[MAX_NUM_BANDS]; /* Equaliser band definitions */ 1170 // Purpose: limit all EQ band gains to a value less than 0 dB while 1171 // preserving the relative band levels. 1188 // ActiveParams.pEQNB_BandDefinition[band].Gain); 1191 // - the maximum EQ band gain: the volume correction is such that the total of volume + max 1192 // band gain is <= 0 dB 1193 // - the average gain in all bands weighted by their proximity to max gain band. 1204 // skip current band and gains < 0 dB 1207 // no need to continue if one band not processed yet has a higher gain than current 1253 // ActiveParams.pEQNB_BandDefinition[band] 1277 EqualizerGetBandLevel(EffectContext *pContext, int32_t band) argument 1296 EqualizerSetBandLevel(EffectContext *pContext, int band, short Gain) argument 1322 EqualizerGetCentreFrequency(EffectContext *pContext, int32_t band) argument 1360 EqualizerGetBandFreqRange(EffectContext *pContext, int32_t band, uint32_t *pLow, uint32_t *pHi) argument 1385 int band = 0; local 2175 int32_t band; local [all...] |
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/ |
H A D | EqualizerTest.java | 264 public BandLevelParam(Equalizer equalizer, int band, short min, short max, SeekBar seekBar, TextView textView) { argument 267 mBand = band;
|
/frameworks/base/services/java/com/android/server/wifi/ |
H A D | WifiService.java | 609 * Set the operational frequency band 610 * @param band One of 617 public void setFrequencyBand(int band, boolean persist) { argument 620 Slog.i(TAG, "WifiService trying to set frequency band to " + band + 624 mWifiStateMachine.setFrequencyBand(band, persist); 632 * Get the operational frequency band
|
/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL.h | 2026 XAuint16 band, 2031 XAuint16 band, 2036 XAuint16 band, 2041 XAuint16 band,
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 1242 SLuint16 band, 1247 SLuint16 band, 1252 SLuint16 band, 1257 SLuint16 band,
|