Searched refs:amplitude (Results 1 – 8 of 8) sorted by relevance
/cts/suite/audio_quality/lib/src/task/ |
D | TaskSound.cpp | 79 int amplitude = atoi(tokens->at(1).string()); in run() local 83 buffer = AudioSignalFactory::generateSineWave(AudioHardware::E2BPS, amplitude, in run() 90 int amplitude = atoi(tokens->at(1).string()); in run() local 93 buffer = AudioSignalFactory::generateWhiteNoise(AudioHardware::E2BPS, amplitude, in run()
|
/cts/apps/CameraITS/utils/ |
D | sensor_fusion_utils.py | 376 def _generate_pwl_waveform(self, pts, step, amplitude): argument 382 pwl_waveform.append((t-pts[1])/(pts[2]-pts[1])*amplitude) 384 pwl_waveform.append(amplitude) 386 pwl_waveform.append((pts[4]-t)/(pts[4]-pts[3])*amplitude) 390 pwl_waveform.append((-1*(t-pts[5])/(pts[6]-pts[5]))*amplitude) 392 pwl_waveform.append(-1*amplitude) 394 pwl_waveform.append((t-pts[8])/(pts[8]-pts[7])*amplitude)
|
/cts/tests/tests/view/src/android/view/cts/input/ |
D | InputDeviceVibratorTest.java | 142 int amplitude = test.amplitudes.get(0); in testInputVibratorEvents() local 143 effect = VibrationEffect.createOneShot(duration, amplitude); in testInputVibratorEvents()
|
D | InputDeviceVibratorManagerTest.java | 168 int amplitude = testData.amplitudes.valueAt(i).get(0); in testInputVibratorManagerEvents() local 169 effect = VibrationEffect.createOneShot(duration, amplitude); in testInputVibratorManagerEvents()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputHidTestCase.java | 264 int amplitude = test.amplitudes.get(0); in testInputVibratorEvents() local 265 effect = VibrationEffect.createOneShot(duration, amplitude); in testInputVibratorEvents() 341 int amplitude = test.amplitudes.get(0); in testInputVibratorManagerEvents() local 342 effect = VibrationEffect.createOneShot(duration, amplitude); in testInputVibratorManagerEvents()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioTrackSurroundTest.java | 473 int amplitude = 8000; in SamplePlayerShorts() local 476 mData[i] = (short)(random.nextInt(amplitude) - (amplitude / 2)); in SamplePlayerShorts()
|
D | AudioHelper.java | 178 int numCycles, double amplitude) { in createSineWavesShort() argument 182 short sample = (short)(amplitude * Math.sin(j * rad) * Short.MAX_VALUE); in createSineWavesShort()
|
D | AudioTrackLatencyTest.java | 133 public double amplitude = 0.5; field in AudioTrackLatencyTest.TestSetup 141 samplesPerFrame, 1, amplitude); in createTrack()
|