Searched refs:bufferSamples (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/security/src/android/security/cts/ |
D | AudioSecurityTest.java | 371 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/ |
D | AudioHelper.java | 64 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()
|
D | AudioTrackTest.java | 1618 final int bufferSamples = bufferFrames * channelCount; in playOnceStaticData() local 1619 final int bufferSize = bufferSamples in playOnceStaticData() 1641 bufferSamples, testSr, in playOnceStaticData() 1644 bufferSamples, in playOnceStaticData() 1649 bufferSamples, testSr, in playOnceStaticData() 1652 bufferSamples, in playOnceStaticData() 1657 bufferSamples, testSr, in playOnceStaticData() 1660 bufferSamples, in playOnceStaticData() 1878 int bufferSamples = bufferSize in testPlayStreamByteBuffer() local 1902 bufferSamples, TEST_SR, in testPlayStreamByteBuffer() [all …]
|