Home
last modified time | relevance | path

Searched refs:freq (Results 1 – 20 of 20) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioBandSpecs.java57 public boolean isInBounds(double freq, double value) { in isInBounds() argument
58 if (freq < mFreqStart || freq > mFreqStop) { in isInBounds()
67 double e = freq - mFreqStart; in isInBounds()
DAudioFrequencySpeakerActivity.java422 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
423 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
429 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
450 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
451 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
457 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
459 if (bandSpecs[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
DAudioFrequencyLineActivity.java391 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
392 if (freq > bandSpecsArray[currentBand].mFreqStop) { in computeResultsForVector()
398 if (freq >= bandSpecsArray[currentBand].mFreqStart) { in computeResultsForVector()
419 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
420 if (freq > bandSpecsArray[currentBand].mFreqStop) { in computeResultsForVector()
426 if (freq >= bandSpecsArray[currentBand].mFreqStart) { in computeResultsForVector()
428 if (bandSpecsArray[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
DAudioFrequencyMicActivity.java612 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
613 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
619 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
640 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in computeResultsForVector() local
641 if (freq > bandSpecs[currentBand].mFreqStop) { in computeResultsForVector()
647 if (freq >= bandSpecs[currentBand].mFreqStart) { in computeResultsForVector()
649 if (bandSpecs[currentBand].isInBounds(freq, value)) { in computeResultsForVector()
DAudioFrequencyVoiceRecognitionActivity.java503 double freq = (double) SAMPLING_RATE * i / (double) BLOCK_SIZE_SAMPLES; in processSpectrum() local
504 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
510 if (freq >= bandsSpecs[currentBand].mFreqStart) { in processSpectrum()
533 double freq = (double) SAMPLING_RATE * i / (double) BLOCK_SIZE_SAMPLES; in processSpectrum()
534 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
540 if (freq >= bandsSpecs[currentBand].mFreqStart) { in processSpectrum()
542 if (bandsSpecs[currentBand].isInBounds(freq, value)) { in processSpectrum()
DAudioFrequencyUnprocessedActivity.java480 double freq = (double)mSamplingRate * i / (double)mBlockSizeSamples; in processSpectrum() local
481 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
487 if (freq >= bandsSpecs[currentBand].mFreqStart) { in processSpectrum()
512 double freq = (double) mSamplingRate * i / (double) mBlockSizeSamples; in processSpectrum() local
513 if (freq > bandsSpecs[currentBand].mFreqStop) { in processSpectrum()
519 if (freq >= bandsSpecs[currentBand].mFreqStart) { in processSpectrum()
521 if (bandsSpecs[currentBand].isInBounds(freq, value)) { in processSpectrum()
DWavAnalyzer.java160 double freq = Common.FREQUENCIES_ORIGINAL[i]; in measurePipStrength() local
163 -2.0 * Math.PI * freq / sampleRate).exp(); in measurePipStrength()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DNativeAudioSource.java45 public void setFreq(float freq) { in setFreq() argument
46 setFreqN(mNativeSourcePtr, freq); in setFreq()
67 private native void setFreqN(long nativeSourcePtr, float freq); in setFreqN() argument
DAudioSource.java35 public void setFreq(float freq) {} in setFreq() argument
/cts/tests/tests/media/audio/jni/
DPeriodicAudioSource.h28 void setAudioFrequency(float freq) { in setAudioFrequency() argument
29 targetFreq_ = freq; in setAudioFrequency()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
DP2pClientConfigFixedFrequencyTestCase.java29 public P2pClientConfigFixedFrequencyTestCase(Context context, int freq) { in P2pClientConfigFixedFrequencyTestCase() argument
30 super(context, freq); in P2pClientConfigFixedFrequencyTestCase()
/cts/apps/CtsVerifier/jni/megaaudio/player/
DWaveTableSource.h58 void setFreq(float freq) { in setFreq() argument
59 mFreq = freq; in setFreq()
DNativeAudioSource.cpp43 JNIEnv *env, jobject thiz, jlong native_source_ptr, jfloat freq) { in Java_org_hyphonate_megaaudio_player_NativeAudioSource_setFreqN() argument
45 audioSource->setFreq(freq); in Java_org_hyphonate_megaaudio_player_NativeAudioSource_setFreqN()
DAudioSource.h48 virtual void setFreq(float freq) {} in setFreq() argument
/cts/tests/tests/wifi/src/android/net/wifi/rtt/cts/
DTestBase.java369 private static boolean is24Ghz(int freq) { in is24Ghz() argument
370 return freq >= 2142 && freq <= 2484; in is24Ghz()
373 private static boolean is5Ghz(int freq) { in is5Ghz() argument
374 return freq >= 5160 && freq <= 5885; in is5Ghz()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/
DWaveTableSource.java92 public void setFreq(float freq) { in setFreq() argument
93 mFreq = freq; in setFreq()
/cts/tests/location/common/src/android/location/cts/common/
DTestGnssStatusCallback.java112 for (Float freq : mCarrierFrequencies) { in getCarrierFrequencies()
113 result[i++] = freq; in getCarrierFrequencies()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DEqualizerTest.java132 int freq = mEqualizer.getCenterFreq(band); in test1_1BandFrequency() local
134 (freqRange[0] <= freq) && (freqRange[1] >= freq)); in test1_1BandFrequency()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2471/
Dpoc.c85 struct iw_freq freq; /* frequency or channel : member
/cts/tests/tests/broadcastradio/src/android/broadcastradio/cts/
DRadioTunerTest.java206 int freq = mFmBandConfig.getLowerLimit() + mFmBandConfig.getSpacing(); in tune_withFmSelector_onProgramInfoChangedInvoked() local
207 ProgramSelector sel = ProgramSelector.createAmFmSelector(RadioManager.BAND_FM, freq, in tune_withFmSelector_onProgramInfoChangedInvoked()