Home
last modified time | relevance | path

Searched refs:visualizer (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DLoudnessEnhancerTest.java158 Visualizer visualizer = null; in test3_0MeasureGainChange() local
185 visualizer = new Visualizer(sessionId); in test3_0MeasureGainChange()
190 visualizer.setEnabled(true); in test3_0MeasureGainChange()
191 assertTrue("visualizer not enabled", visualizer.getEnabled()); in test3_0MeasureGainChange()
193 int status = visualizer.setMeasurementMode(Visualizer.MEASUREMENT_MODE_PEAK_RMS); in test3_0MeasureGainChange()
209 status = visualizer.getMeasurementPeakRms(measurement); in test3_0MeasureGainChange()
219 visualizer.setMeasurementMode(Visualizer.MEASUREMENT_MODE_PEAK_RMS); in test3_0MeasureGainChange()
223 status = visualizer.getMeasurementPeakRms(measurement2); in test3_0MeasureGainChange()
249 if (visualizer != null) in test3_0MeasureGainChange()
250 visualizer.release(); in test3_0MeasureGainChange()
DVisualizerTest.java71 Visualizer visualizer = null; in test0_0ConstructorAndRelease() local
73 visualizer = new Visualizer(0); in test0_0ConstructorAndRelease()
79 if (visualizer != null) { in test0_0ConstructorAndRelease()
80 visualizer.release(); in test0_0ConstructorAndRelease()
574 Visualizer visualizer, byte[] waveform, int samplingRate) { in createListenerLooper()
576 if (visualizer == mVisualizer) { in createListenerLooper()
586 Visualizer visualizer, byte[] fft, int samplingRate) { in createListenerLooper()
589 if (visualizer == mVisualizer) { in createListenerLooper()
/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java679 public void onWaveFormDataCapture(Visualizer visualizer, in OutputListener()
695 Visualizer visualizer, byte[] fft, int samplingRate) {} in OutputListener()