/aosp12/frameworks/av/media/tests/benchmark/src/native/encoder/ |
H A D | Encoder.cpp | 50 size_t bytesToRead = mParams.frameSize; in onInputAvailable() local 52 bytesToRead = mInputBufferSize - mOffset; in onInputAvailable() 55 if (bufSize < bytesToRead) { in onInputAvailable() 58 bytesToRead = bufSize; in onInputAvailable() 61 ALOGE("bytes to read %zu bufSize %zu \n", bytesToRead, bufSize); in onInputAvailable() 70 mNumInputFrame, bytesToRead, mParams.frameSize, mParams.numFrames); in onInputAvailable() 76 mEleStream->read(buf, bytesToRead); in onInputAvailable() 78 if (bytesgcount != bytesToRead) { in onInputAvailable() 87 if (mNumInputFrame == mParams.numFrames - 1 || bytesToRead == 0) { in onInputAvailable() 102 bytesToRead, presentationTimeUs, mSawInputEOS ? "TRUE" : "FALSE"); in onInputAvailable() [all …]
|
/aosp12/frameworks/av/media/libaaudio/src/utility/ |
H A 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()
|
/aosp12/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/ |
H A D | Encoder.java | 286 int bytesToRead = mFrameSize; in onInputAvailable() local 288 bytesToRead = (int) (mInputBufferSize - mOffset); in onInputAvailable() 291 if (bufSize < bytesToRead) { in onInputAvailable() 294 bytesToRead = bufSize; in onInputAvailable() 302 byte[] inputArray = new byte[bytesToRead]; in onInputAvailable() 303 mInputStream.read(inputArray, 0, bytesToRead); in onInputAvailable() 306 if (mNumInputFrame >= mNumFrames - 1 || bytesToRead == 0) { in onInputAvailable() 317 mediaCodec.queueInputBuffer(inputBufferId, 0, bytesToRead, presentationTimeUs, flag); in onInputAvailable() 319 mOffset += bytesToRead; in onInputAvailable()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
H A D | ScreenInternalAudioRecorder.java | 246 int bytesToRead = readBytes > bufferSize ? bufferSize : readBytes; in encode() local 247 totalBytesRead += bytesToRead; in encode() 248 readBytes -= bytesToRead; in encode() 249 buff.put(buffer, offset, bytesToRead); in encode() 250 offset += bytesToRead; in encode() 251 mCodec.queueInputBuffer(bufferIndex, 0, bytesToRead, mPresentationTime, 0); in encode()
|
/aosp12/frameworks/base/media/java/android/media/ |
H A D | ExifInterfaceUtils.java | 58 int bytesToRead = Math.min(remainder, 8192); in copy() local 59 int bytesRead = in.read(buffer, 0, bytesToRead); in copy() 60 if (bytesRead != bytesToRead) { in copy()
|
H A D | ExifInterface.java | 3806 int bytesToRead = size; in saveWebpAttributes() local 3809 bytesToRead += 1; in saveWebpAttributes() 3835 bytesToRead -= (vp8Frame.length + vp8Signature.length + 4); in saveWebpAttributes() 3852 bytesToRead -= (1 /* VP8L signature */ + 4); in saveWebpAttributes() 3885 copy(totalInputStream, nonHeaderOutputStream, bytesToRead); in saveWebpAttributes()
|
H A D | MediaPlayer.java | 3111 int bytesToRead = (int) Math.min(buffer.length, length2 - total); in addTimedTextSource() 3112 int bytes = IoBridge.read(dupedFd, buffer, 0, bytesToRead); in addTimedTextSource()
|
/aosp12/frameworks/av/media/codecs/mp3dec/test/ |
H A 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()
|
/aosp12/hardware/st/secure_element/ese-spi-driver/ |
H A D | SpiLayerDriver.cc | 104 int SpiLayerDriver_read(uint8_t* rxBuffer, unsigned int bytesToRead) { in SpiLayerDriver_read() argument 126 rc = read(spiDeviceId, rxBuffer, bytesToRead); in SpiLayerDriver_read() 153 if (bytesToRead == 1 && rxBuffer[0] != 0 && rxBuffer[0] != 0x12 && in SpiLayerDriver_read()
|
H A D | SpiLayerDriver.h | 67 int SpiLayerDriver_read(uint8_t *rxBuffer, unsigned int bytesToRead);
|
/aosp12/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothSocket.java | 534 int bytesToRead = length; in read() local 548 if (bytesToRead > mL2capBuffer.remaining()) { in read() 549 bytesToRead = mL2capBuffer.remaining(); in read() 553 + " bytesToRead: " + bytesToRead); in read() 555 mL2capBuffer.get(b, offset, bytesToRead); in read() 556 ret = bytesToRead; in read()
|
/aosp12/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/exoplayer/tests/ |
H A D | AssetDataSource.java | 94 int bytesToRead = in read() local 98 bytesRead = mInputStream.read(buffer, offset, bytesToRead); in read()
|
/aosp12/frameworks/av/media/extractors/mp3/ |
H A 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()
|
/aosp12/frameworks/av/media/libheif/ |
H A D | HeifDecoderImpl.cpp | 250 size_t bytesToRead = offset + size - mCachedOffset - mCachedSize; in readAt() local 251 size_t bytesRead = mStream->read(mCache.get() + mCachedSize, bytesToRead); in readAt() 252 if (bytesRead > bytesToRead || bytesRead == 0) { in readAt() 256 } else if (bytesRead < bytesToRead) { in readAt()
|
/aosp12/frameworks/av/media/libaaudio/src/legacy/ |
H A D | AudioStreamRecord.cpp | 465 size_t bytesToRead = framesToRead * bytesPerDeviceFrame; in read() local 466 … bytesActuallyRead = mAudioRecord->read(mFormatConversionBufferI16.get(), bytesToRead, blocking); in read()
|
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/ |
H A D | StubProvider.java | 472 int bytesToRead; in startWrite() 477 bytesToRead = (int) Math.min(document.rootInfo.getRemainingCapacity(), in startWrite() 479 if (bytesToRead == 0) { in startWrite() 483 bytesRead = inputStream.read(buffer, 0, bytesToRead); in startWrite()
|
/aosp12/art/tools/dmtracedump/ |
H A D | tracedump.cc | 949 int32_t bytesToRead = pHeader->offsetToData - 16; in parseDataHeader() local 956 bytesToRead -= 2; in parseDataHeader() 962 if (fseek(fp, bytesToRead, SEEK_CUR) != 0) { in parseDataHeader() 1002 int32_t bytesToRead = dataHeader->recordSize; in readDataRecord() local 1005 bytesToRead -= 1; in readDataRecord() 1008 bytesToRead -= 2; in readDataRecord() 1015 bytesToRead -= 8; in readDataRecord() 1017 while (bytesToRead-- > 0) { in readDataRecord()
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
H A D | SapMessage.java | 447 int bytesToRead = buffer.length; in read() local 450 while (bytesRead < bytesToRead) { in read() 451 tmpBytesRead = is.read(buffer, bytesRead, bytesToRead - bytesRead); in read()
|
/aosp12/packages/apps/Car/DebuggingRestrictionController/libs/ |
H A D | okhttp-3.12.1.jar | META-INF/MANIFEST.MF
META-INF/
META-INF/proguard/
okhttp3/
... |