Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DWavAnalyzer.java29 short[] shortData = new short[byteData.length >> 1]; in WavAnalyzer() local
30 ByteBuffer.wrap(byteData).order(ByteOrder.LITTLE_ENDIAN).asShortBuffer().get(shortData); in WavAnalyzer()
31 this.data = Util.toDouble(shortData); in WavAnalyzer()
/cts/tests/tests/media/src/android/media/cts/
DAudioRecordTest.java181 short[] shortData = new short[BUFFER_SIZE]; in testAudioRecordOP() local
187 mAudioRecord.read(shortData, 0, BUFFER_SIZE); in testAudioRecordOP()
517 short[] shortData = new short[BUFFER_SAMPLES]; in testTimestamp() local
521 int ret = record.read(shortData, 0, amount); in testTimestamp()
659 short[] shortData = new short[BUFFER_SAMPLES]; in testSynchronizedRecord() local
665 int ret = record.read(shortData, 0, amount); in testSynchronizedRecord()
916 short[] shortData = new short[BUFFER_SAMPLES]; in doTest() local
922 int ret = blocking ? record.read(shortData, 0, amount) : in doTest()
923 record.read(shortData, 0, amount, AudioRecord.READ_NON_BLOCKING); in doTest()
DAudioTrackSurroundTest.java191 short[] shortData = loadRawResourceShorts(R.raw.sinesweepraw); in testLoadSineSweep() local
192 assertTrue(TEST_NAME + ": load sinesweepraw as shorts", shortData.length > 100); in testLoadSineSweep()
194 assertTrue(TEST_NAME + ": load sinesweepraw as bytes", byteData.length > shortData.length); in testLoadSineSweep()