Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DWavAnalyzer.java25 public WavAnalyzer(byte[] byteData, int sampleRate, Listener listener) { in WavAnalyzer() argument
29 short[] shortData = new short[byteData.length >> 1]; in WavAnalyzer()
30 ByteBuffer.wrap(byteData).order(ByteOrder.LITTLE_ENDIAN).asShortBuffer().get(shortData); in WavAnalyzer()
/cts/tests/tests/media/src/android/media/cts/
DAudioRecordTest.java200 byte[] byteData = new byte[BUFFER_SIZE]; in testAudioRecordOP()
206 mAudioRecord.read(byteData, 0, BUFFER_SIZE); in testAudioRecordOP()
259 mAudioRecord.read(byteData, 0, BUFFER_SIZE); in testAudioRecordOP()
1219 byte[] byteData = new byte[BUFFER_SAMPLES]; in doTest()
1225 int ret = blocking ? record.read(byteData, 0, amount) : in doTest()
1226 record.read(byteData, 0, amount, AudioRecord.READ_NON_BLOCKING); in doTest()
DAudioTrackSurroundTest.java195 byte[] byteData = loadRawResourceBytes(R.raw.sinesweepraw); in testLoadSineSweep()
196 assertTrue(TEST_NAME + ": load sinesweepraw as bytes", byteData.length > shortData.length); in testLoadSineSweep()