HomeSort by relevance Sort by last modified time
    Searched refs:AudioQualityVerifierActivity (Results 1 - 15 of 15) sorted by null

  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/
BackgroundAudio.java 48 final int minBufferSize = (BUFFER_TIME * AudioQualityVerifierActivity.SAMPLE_RATE
49 * AudioQualityVerifierActivity.BYTES_PER_SAMPLE) / 1000;
51 AudioTrack.getMinBufferSize(AudioQualityVerifierActivity.SAMPLE_RATE,
52 AudioFormat.CHANNEL_OUT_MONO, AudioQualityVerifierActivity.AUDIO_FORMAT);
59 mAudioTrack = new AudioTrack(AudioQualityVerifierActivity.PLAYBACK_STREAM,
60 AudioQualityVerifierActivity.SAMPLE_RATE, AudioFormat.CHANNEL_OUT_MONO,
61 AudioQualityVerifierActivity.AUDIO_FORMAT, mBufferSize, AudioTrack.MODE_STREAM);
ExperimentService.java 88 Intent intent = new Intent(AudioQualityVerifierActivity.ACTION_EXP_FINISHED);
89 intent.putExtra(AudioQualityVerifierActivity.EXTRA_EXP_ID, mExpID);
90 intent.putExtra(AudioQualityVerifierActivity.EXTRA_RUN_ALL, mRunAll);
91 intent.putExtra(AudioQualityVerifierActivity.EXTRA_ABORTED, aborted);
115 mExpID = intent.getIntExtra(AudioQualityVerifierActivity.EXTRA_EXP_ID, -1);
120 mRunAll = intent.getBooleanExtra(AudioQualityVerifierActivity.EXTRA_RUN_ALL, false);
125 Intent feedback = new Intent(AudioQualityVerifierActivity.ACTION_EXP_STARTED);
126 feedback.putExtra(AudioQualityVerifierActivity.EXTRA_EXP_ID, mExpID);
CalibrateVolumeActivity.java 99 AudioQualityVerifierActivity.SAMPLE_RATE, OUTPUT_AMPL, RAMP);
103 AudioQualityVerifierActivity.SAMPLE_RATE, -1.0f);
157 mSamplesToRead = (READ_TIME * AudioQualityVerifierActivity.SAMPLE_RATE) / 1000;
158 mBuffer = new byte[mSamplesToRead * AudioQualityVerifierActivity.BYTES_PER_SAMPLE];
160 final int minBufferSize = (BUFFER_TIME * AudioQualityVerifierActivity.SAMPLE_RATE *
161 AudioQualityVerifierActivity.BYTES_PER_SAMPLE) / 1000;
165 AudioQualityVerifierActivity.SAMPLE_RATE, AudioFormat.CHANNEL_IN_MONO,
166 AudioQualityVerifierActivity.AUDIO_FORMAT, bufferSize);
186 int maxBytes = mSamplesToRead * AudioQualityVerifierActivity.BYTES_PER_SAMPLE;
209 AudioQualityVerifierActivity.SAMPLE_RATE, -1.0f)
    [all...]
Utils.java 48 AudioQualityVerifierActivity.SAMPLE_RATE,
50 AudioQualityVerifierActivity.AUDIO_FORMAT);
64 AudioQualityVerifierActivity.SAMPLE_RATE,
66 AudioQualityVerifierActivity.AUDIO_FORMAT);
304 return len / AudioQualityVerifierActivity.BYTES_PER_SAMPLE;
316 return data.length / AudioQualityVerifierActivity.BYTES_PER_SAMPLE;
342 AudioTrack at = new AudioTrack(AudioQualityVerifierActivity.PLAYBACK_STREAM, AudioQualityVerifierActivity.SAMPLE_RATE,
343 AudioFormat.CHANNEL_OUT_MONO, AudioQualityVerifierActivity.AUDIO_FORMAT,
ViewResultsActivity.java 68 mResults = intent.getStringExtra(AudioQualityVerifierActivity.EXTRA_RESULTS);
AudioQualityVerifierActivity.java 48 public class AudioQualityVerifierActivity extends PassFailButtons.Activity
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/experiments/
WarmLatencyExperiment.java 20 import com.android.cts.verifier.audioquality.AudioQualityVerifierActivity;
152 AudioQualityVerifierActivity.SAMPLE_RATE, OUTPUT_AMPL, RAMP);
157 int minBufferSize = (BUFFER_TIME_MS * AudioQualityVerifierActivity.SAMPLE_RATE
158 * AudioQualityVerifierActivity.BYTES_PER_SAMPLE) / 1000;
171 AudioQualityVerifierActivity.SAMPLE_RATE, CHANNEL_OUT_CONFIG,
172 AudioQualityVerifierActivity.AUDIO_FORMAT, mBufferSize,
256 this.mSamplesToRead = (READ_TIME * AudioQualityVerifierActivity.SAMPLE_RATE) / 1000;
257 this.mBuffer = new byte[mSamplesToRead * AudioQualityVerifierActivity.BYTES_PER_SAMPLE];
263 * AudioQualityVerifierActivity.SAMPLE_RATE
264 * AudioQualityVerifierActivity.BYTES_PER_SAMPLE
    [all...]
LoopbackExperiment.java 20 import com.android.cts.verifier.audioquality.AudioQualityVerifierActivity;
66 int duration = (samples * 1000) / AudioQualityVerifierActivity.SAMPLE_RATE; // In ms
67 int padSamples = (END_DELAY_MS * AudioQualityVerifierActivity.SAMPLE_RATE) / 1000;
132 final int minBufferSize = AudioQualityVerifierActivity.SAMPLE_RATE
133 * AudioQualityVerifierActivity.BYTES_PER_SAMPLE;
137 AudioQualityVerifierActivity.SAMPLE_RATE, AudioFormat.CHANNEL_IN_MONO,
138 AudioQualityVerifierActivity.AUDIO_FORMAT, bufferSize);
157 int totalBytes = mSamples * AudioQualityVerifierActivity.BYTES_PER_SAMPLE;
ColdLatencyExperiment.java 20 import com.android.cts.verifier.audioquality.AudioQualityVerifierActivity;
140 this.mSamplesToRead = (READ_TIME * AudioQualityVerifierActivity.SAMPLE_RATE) / 1000;
141 this.mBuffer = new byte[mSamplesToRead * AudioQualityVerifierActivity.BYTES_PER_SAMPLE];
146 * AudioQualityVerifierActivity.SAMPLE_RATE
147 * AudioQualityVerifierActivity.BYTES_PER_SAMPLE;
157 AudioQualityVerifierActivity.SAMPLE_RATE,
159 AudioQualityVerifierActivity.AUDIO_FORMAT,
174 int maxBytes = mSamplesToRead * AudioQualityVerifierActivity.BYTES_PER_SAMPLE;
215 * AudioQualityVerifierActivity.SAMPLE_RATE
216 * AudioQualityVerifierActivity.BYTES_PER_SAMPLE
    [all...]
SoundLevelExperiment.java 20 import com.android.cts.verifier.audioquality.AudioQualityVerifierActivity;
55 AudioQualityVerifierActivity.SAMPLE_RATE, CalibrateVolumeActivity.OUTPUT_AMPL, RAMP);
63 float[] results = mNative.measureRms(pcm, AudioQualityVerifierActivity.SAMPLE_RATE, ONSET_THRESH);
BiasExperiment.java 20 import com.android.cts.verifier.audioquality.AudioQualityVerifierActivity;
46 float[] results = mNative.measureRms(pcm, AudioQualityVerifierActivity.SAMPLE_RATE, ONSET_THRESH);
GlitchExperiment.java 20 import com.android.cts.verifier.audioquality.AudioQualityVerifierActivity;
59 AudioQualityVerifierActivity.SAMPLE_RATE, AMPL, RAMP);
76 float[] ret = mNative.glitchTest(AudioQualityVerifierActivity.SAMPLE_RATE, FREQ,
OverflowExperiment.java 20 import com.android.cts.verifier.audioquality.AudioQualityVerifierActivity;
55 AudioQualityVerifierActivity.SAMPLE_RATE, AMPL, RAMP);
62 float[] ret = mNative.overflowCheck(pcm, AudioQualityVerifierActivity.SAMPLE_RATE);
GainLinearityExperiment.java 20 import com.android.cts.verifier.audioquality.AudioQualityVerifierActivity;
70 float deviation = mNative.linearityTest(pcms, AudioQualityVerifierActivity.SAMPLE_RATE,
SpectrumShapeExperiment.java 20 import com.android.cts.verifier.audioquality.AudioQualityVerifierActivity;
53 float[] ret = mNative.compareSpectra(pcm, refPcm, AudioQualityVerifierActivity.SAMPLE_RATE);

Completed in 988 milliseconds