Searched refs:byteData (Results 1 – 4 of 4) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | WavAnalyzer.java | 27 public WavAnalyzer(byte[] byteData, int sampleRate, Listener listener) { in WavAnalyzer() argument 31 short[] shortData = new short[byteData.length >> 1]; in WavAnalyzer() 32 ByteBuffer.wrap(byteData).order(ByteOrder.LITTLE_ENDIAN).asShortBuffer().get(shortData); in WavAnalyzer()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | OutputManager.java | 438 byte[] byteData = new byte[refData.length]; in getRmsError() 439 ByteBuffer.wrap(mMemory, 0, mMemIndex).get(byteData); in getRmsError() 440 for (int i = 0; i < byteData.length; i++) { in getRmsError() 441 float d = byteData[i] - refData[i]; in getRmsError()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioRecordTest.java | 216 byte[] byteData = new byte[BUFFER_SIZE]; in testAudioRecordOP() 222 mAudioRecord.read(byteData, 0, BUFFER_SIZE); in testAudioRecordOP() 275 mAudioRecord.read(byteData, 0, BUFFER_SIZE); in testAudioRecordOP() 1182 final byte[] byteData = new byte[BUFFER_SAMPLES]; in doTest() 1208 return blockForData ? record.read(byteData, 0, samples) : in doTest() 1209 record.read(byteData, 0, samples, in doTest()
|
D | AudioTrackSurroundTest.java | 189 byte[] byteData = loadRawResourceBytes(R.raw.sinesweepraw); in testLoadSineSweep() 190 assertTrue(TEST_NAME + ": load sinesweepraw as bytes", byteData.length > shortData.length); in testLoadSineSweep()
|