Searched refs:bytesToRead (Results 1 – 6 of 6) sorted by relevance
/frameworks/av/media/libaaudio/src/utility/ |
D | FixedBlockReader.cpp | 37 int32_t bytesToRead = numBytes; in readFromStorage() local 39 if (bytesToRead > dataAvailable) { in readFromStorage() 40 bytesToRead = dataAvailable; in readFromStorage() 42 memcpy(buffer, mStorage + mPosition, bytesToRead); in readFromStorage() 43 mPosition += bytesToRead; in readFromStorage() 44 return bytesToRead; in readFromStorage()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
D | mp3reader.cpp | 247 ssize_t bytesToRead = kMaxReadBytes; in resync() local 264 bytesToRead = kMaxReadBytes - remainingBytes; in resync() 272 buf + remainingBytes, bytesToRead); in resync() 277 reachEOS = (totalBytesRead != bytesToRead); in resync()
|
/frameworks/av/media/libheif/ |
D | HeifDecoderImpl.cpp | 234 size_t bytesToRead = offset + size - mCachedOffset - mCachedSize; in readAt() local 235 size_t bytesRead = mStream->read(mCache.get() + mCachedSize, bytesToRead); in readAt() 236 if (bytesRead > bytesToRead || bytesRead == 0) { in readAt() 240 } else if (bytesRead < bytesToRead) { in readAt()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothSocket.java | 499 int bytesToRead = length; in read() local 511 if (bytesToRead > mL2capBuffer.remaining()) { in read() 512 bytesToRead = mL2capBuffer.remaining(); in read() 515 + " bytesToRead: " + bytesToRead); in read() 516 mL2capBuffer.get(b, offset, bytesToRead); in read() 517 ret = bytesToRead; in read()
|
/frameworks/av/media/libstagefright/ |
D | MP3Extractor.cpp | 99 ssize_t bytesToRead = kMaxReadBytes; in Resync() local 117 bytesToRead = kMaxReadBytes - remainingBytes; in Resync() 126 bytesToRead); in Resync() 130 reachEOS = (totalBytesRead != bytesToRead); in Resync()
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 2873 int bytesToRead = (int) Math.min(buffer.length, length2 - total); in addTimedTextSource() 2874 int bytes = IoBridge.read(dupedFd, buffer, 0, bytesToRead); in addTimedTextSource()
|