Searched refs:bytesToRead (Results 1 – 7 of 7) 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/base/core/java/android/bluetooth/ |
D | BluetoothSocket.java | 536 int bytesToRead = length; in read() local 550 if (bytesToRead > mL2capBuffer.remaining()) { in read() 551 bytesToRead = mL2capBuffer.remaining(); in read() 555 + " bytesToRead: " + bytesToRead); in read() 557 mL2capBuffer.get(b, offset, bytesToRead); in read() 558 ret = bytesToRead; in read()
|
/frameworks/av/media/libheif/ |
D | HeifDecoderImpl.cpp | 235 size_t bytesToRead = offset + size - mCachedOffset - mCachedSize; in readAt() local 236 size_t bytesRead = mStream->read(mCache.get() + mCachedSize, bytesToRead); in readAt() 237 if (bytesRead > bytesToRead || bytesRead == 0) { in readAt() 241 } else if (bytesRead < bytesToRead) { in readAt()
|
/frameworks/av/media/extractors/mp3/ |
D | MP3Extractor.cpp | 97 ssize_t bytesToRead = kMaxReadBytes; in Resync() local 115 bytesToRead = kMaxReadBytes - remainingBytes; in Resync() 124 bytesToRead); in Resync() 128 reachEOS = (totalBytesRead != bytesToRead); in Resync()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 417 size_t bytesToRead = framesToRead * bytesPerDeviceFrame; in read() local 418 … bytesActuallyRead = mAudioRecord->read(mFormatConversionBufferI16.get(), bytesToRead, blocking); in read()
|
/frameworks/base/media/java/android/media/ |
D | MediaPlayer.java | 3001 int bytesToRead = (int) Math.min(buffer.length, length2 - total); in addTimedTextSource() 3002 int bytes = IoBridge.read(dupedFd, buffer, 0, bytesToRead); in addTimedTextSource()
|