Home
last modified time | relevance | path

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

/cts/tests/tests/security/src/android/security/cts/
DAudioSecurityTest.java371 final int bufferSamples = bufferFrames * channelCount; in testVisualizerCapture_CVE_2017_0396() local
372 final int bufferSize = bufferSamples * 2; // bytes per sample for 16 bits in testVisualizerCapture_CVE_2017_0396()
373 final short data[] = new short[bufferSamples]; // zero data in testVisualizerCapture_CVE_2017_0396()
390 bufferSamples, in testVisualizerCapture_CVE_2017_0396()
/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java64 public static byte[] createSoundDataInByteArray(int bufferSamples, final int sampleRate, in createSoundDataInByteArray() argument
67 byte[] vai = new byte[bufferSamples]; in createSoundDataInByteArray()
77 public static short[] createSoundDataInShortArray(int bufferSamples, final int sampleRate, in createSoundDataInShortArray() argument
80 short[] vai = new short[bufferSamples]; in createSoundDataInShortArray()
88 public static float[] createSoundDataInFloatArray(int bufferSamples, final int sampleRate, in createSoundDataInFloatArray() argument
91 float[] vaf = new float[bufferSamples]; in createSoundDataInFloatArray()
DAudioTrackTest.java1619 final int bufferSamples = bufferFrames * channelCount; in playOnceStaticData() local
1620 final int bufferSize = bufferSamples in playOnceStaticData()
1642 bufferSamples, testSr, in playOnceStaticData()
1645 bufferSamples, in playOnceStaticData()
1650 bufferSamples, testSr, in playOnceStaticData()
1653 bufferSamples, in playOnceStaticData()
1658 bufferSamples, testSr, in playOnceStaticData()
1661 bufferSamples, in playOnceStaticData()
1879 int bufferSamples = bufferSize in testPlayStreamByteBuffer() local
1903 bufferSamples, TEST_SR, in testPlayStreamByteBuffer()
[all …]