Searched refs:bufferSamples (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/security/src/android/security/cts/ |
D | AudioSecurityTest.java | 370 final int bufferSamples = bufferFrames * channelCount; in testVisualizerCapture_CVE_2017_0396() local 371 final int bufferSize = bufferSamples * 2; // bytes per sample for 16 bits in testVisualizerCapture_CVE_2017_0396() 372 final short data[] = new short[bufferSamples]; // zero data in testVisualizerCapture_CVE_2017_0396() 389 bufferSamples, in testVisualizerCapture_CVE_2017_0396()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AudioHelper.java | 65 public static byte[] createSoundDataInByteArray(int bufferSamples, final int sampleRate, in createSoundDataInByteArray() argument 68 byte[] vai = new byte[bufferSamples]; in createSoundDataInByteArray() 78 public static short[] createSoundDataInShortArray(int bufferSamples, final int sampleRate, in createSoundDataInShortArray() argument 81 short[] vai = new short[bufferSamples]; in createSoundDataInShortArray() 89 public static float[] createSoundDataInFloatArray(int bufferSamples, final int sampleRate, in createSoundDataInFloatArray() argument 92 float[] vaf = new float[bufferSamples]; in createSoundDataInFloatArray()
|
D | AudioTrackTest.java | 1635 final int bufferSamples = bufferFrames * channelCount; in playOnceStaticData() local 1636 final int bufferSize = bufferSamples in playOnceStaticData() 1658 bufferSamples, testSr, in playOnceStaticData() 1661 bufferSamples, in playOnceStaticData() 1666 bufferSamples, testSr, in playOnceStaticData() 1669 bufferSamples, in playOnceStaticData() 1674 bufferSamples, testSr, in playOnceStaticData() 1677 bufferSamples, in playOnceStaticData() 1882 final int bufferSamples = frameCount * format.getChannelCount(); in playOnceStreamByteBuffer() local 1906 bufferSamples, testSampleRate, in playOnceStreamByteBuffer() [all …]
|