Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioHelper.java266 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes) { in read() argument
270 int samples = super.read(audioData, offsetInBytes, sizeInBytes); in read()
279 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes, int readMode) { in read() argument
283 int samples = super.read(audioData, offsetInBytes, sizeInBytes, readMode); in read()
334 public int read(ByteBuffer audioBuffer, int sizeInBytes) { in read() argument
335 int bytes = super.read(audioBuffer, sizeInBytes); in read()
351 public int read(ByteBuffer audioBuffer, int sizeInBytes, int readMode) { in read() argument
352 int bytes = super.read(audioBuffer, sizeInBytes, readMode); in read()
/cts/tests/tests/media/libaudiojni/
Daudio-track-native.cpp530 const size_t sizeInBytes = sizeInSamples * sizeof(T); in writeToTrack() local
531 ssize_t ret = track->write(data + offsetInSamples, sizeInBytes, isBlocking); in writeToTrack()
Daudio-record-native.cpp588 const size_t sizeInBytes = sizeInSamples * sizeof(T); in readFromRecord() local
589 ssize_t ret = record->read(data + offsetInSamples, sizeInBytes, isBlocking == JNI_TRUE); in readFromRecord()