Home
last modified time | relevance | path

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

/cts/suite/audio_quality/client/src/com/android/cts/audiotest/
DAudioProtocol.java63 private ByteBuffer mDataBuffer = ByteBuffer.allocate(MAX_NON_DATA_PAYLOAD_SIZE); field in AudioProtocol
222 read(mInput, mDataBuffer, 4); // only for id in handleDownload()
223 Integer id = new Integer(mDataBuffer.getInt(0)); in handleDownload()
235 read(mInput, mDataBuffer, len); in handleStartPlayback()
236 final Integer id = new Integer(mDataBuffer.getInt(0)); in handleStartPlayback()
237 final int samplingRate = mDataBuffer.getInt(1 * 4); in handleStartPlayback()
238 final boolean stereo = ((mDataBuffer.getInt(2 * 4) & 0x80000000) != 0); in handleStartPlayback()
239 final int mode = mDataBuffer.getInt(2 * 4) & 0x7fffffff; in handleStartPlayback()
240 final int volume = mDataBuffer.getInt(3 * 4); in handleStartPlayback()
241 final int repeat = mDataBuffer.getInt(4 * 4); in handleStartPlayback()
[all …]