/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | UsbDescriptor.java | 177 int bytesRead = stream.getReadCount(); in postParse() local 178 if (bytesRead < mLength) { in postParse() 180 stream.advance(mLength - bytesRead); in postParse() 182 mOverUnderRunCount = mLength - bytesRead; in postParse() 184 + " r: " + bytesRead + " < l: " + mLength); in postParse() 185 } else if (bytesRead > mLength) { in postParse() 187 stream.reverse(bytesRead - mLength); in postParse() 189 mOverUnderRunCount = bytesRead - mLength; in postParse() 191 + " r: " + bytesRead + " > l: " + mLength); in postParse()
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/ |
D | amrnbdec_test.cpp | 67 int bytesRead = fread(header, 1, kFileHeaderSize, fpInput); in main() local 68 if (bytesRead != kFileHeaderSize || memcmp(header, "#!AMR\n", kFileHeaderSize)) { in main() 107 bytesRead = fread(&mode, 1, 1, fpInput); in main() 108 if (bytesRead != 1) break; in main() 120 bytesRead = fread(inputBuf, 1, frameSize, fpInput); in main() 121 if (bytesRead != frameSize) break; in main()
|
/frameworks/av/media/libnbaio/ |
D | AudioStreamInSource.cpp | 80 size_t bytesRead; in read() local 81 status_t result = mStream->read(buffer, count * mFrameSize, &bytesRead); in read() 82 if (result == OK && bytesRead > 0) { in read() 83 size_t framesRead = bytesRead / mFrameSize; in read() 88 return bytesRead; in read()
|
/frameworks/av/media/libstagefright/codecs/amrwb/test/ |
D | amrwbdec_test.cpp | 68 int bytesRead = fread(header, 1, kFileHeaderSize, fpInput); in main() local 69 if ((bytesRead != kFileHeaderSize) || in main() 116 bytesRead = fread(&modeByte, 1, 1, fpInput); in main() 117 if (bytesRead != 1) break; in main() 133 bytesRead = fread(inputBuf, 1, frameSize, fpInput); in main() 134 if (bytesRead != frameSize) break; in main()
|
/frameworks/ex/framesequence/jni/ |
D | Stream.cpp | 128 jint bytesRead = mEnv->CallIntMethod(mInputStream, in doRead() local 130 if (mEnv->ExceptionCheck() || bytesRead < 0) { in doRead() 134 mEnv->GetByteArrayRegion(mByteArray, 0, bytesRead, (jbyte*)dstBuffer); in doRead() 135 dstBuffer = (char*)dstBuffer + bytesRead; in doRead() 136 totalBytesRead += bytesRead; in doRead() 137 size -= bytesRead; in doRead()
|
/frameworks/base/services/net/java/android/net/util/ |
D | BlockingSocketReader.java | 122 final int bytesRead; in mainLoop() local 127 bytesRead = Os.read(mSocket, mPacket, 0, mPacket.length); in mainLoop() 128 if (bytesRead < 1) { in mainLoop() 145 handlePacket(mPacket, bytesRead); in mainLoop()
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/ |
D | InputStreamSource.java | 70 int bytesRead; in process() local 71 while ((bytesRead = mInputStream.read(buffer)) > 0) { in process() 72 byteStream.write(buffer, 0, bytesRead); in process() 73 fileSize += bytesRead; in process()
|
/frameworks/av/media/libaaudio/src/utility/ |
D | FixedBlockReader.cpp | 53 int32_t bytesRead = readFromStorage(buffer, bytesLeft); in processVariableBlock() local 54 buffer += bytesRead; in processVariableBlock() 55 bytesLeft -= bytesRead; in processVariableBlock()
|
/frameworks/av/media/img_utils/src/ |
D | FileInput.cpp | 54 size_t bytesRead = ::fread(buf + offset, sizeof(uint8_t), count, mFp); in read() local 62 if (::feof(mFp) != 0 && bytesRead == 0) { in read() 66 return bytesRead; in read()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | GraphReader.java | 47 int bytesRead; in readGraphResource() local 48 while ((bytesRead = reader.read(buffer, 0, 1024)) > 0) { in readGraphResource() 49 writer.write(buffer, 0, bytesRead); in readGraphResource()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 288 ssize_t bytesRead = mAudioRecord->read(buffer, numBytes, blocking); in read() local 289 if (bytesRead == WOULD_BLOCK) { in read() 291 } else if (bytesRead < 0) { in read() 294 if (bytesRead == DEAD_OBJECT) { in read() 298 return AAudioConvert_androidToAAudioResult(bytesRead); in read() 300 int32_t framesRead = (int32_t)(bytesRead / bytesPerFrame); in read()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/ |
D | amrnb_enc_test.cpp | 107 int bytesRead; in encode() local 108 bytesRead = fread(inputBuf, 1, kInputSize, fSrc); in encode() 109 if (bytesRead != kInputSize && !feof(fSrc)) { in encode() 113 } else if (feof(fSrc) && bytesRead == 0) { in encode()
|
/frameworks/base/core/java/android/util/ |
D | Base64InputStream.java | 139 int bytesRead = in.read(inputBuffer); in refill() local 141 if (bytesRead == -1) { in refill() 145 success = coder.process(inputBuffer, 0, bytesRead, false); in refill()
|
/frameworks/base/rs/java/android/renderscript/ |
D | ScriptC.java | 103 int bytesRead = is.read(pgm, pgmLength, bytesLeft); in internalCreate() local 104 if (bytesRead <= 0) { in internalCreate() 107 pgmLength += bytesRead; in internalCreate()
|
D | Program.java | 264 int bytesRead = is.read(str, strLength, bytesLeft); in setShader() local 265 if (bytesRead <= 0) { in setShader() 268 strLength += bytesRead; in setShader()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
D | mp3dec_test.cpp | 100 uint32_t bytesRead; in main() local 101 bool success = mp3Reader.getFrame(inputBuf, &bytesRead); in main() 105 config.inputBufferCurrentLength = bytesRead; in main()
|
/frameworks/rs/support/java/src/android/support/v8/renderscript/ |
D | ScriptC.java | 104 int bytesRead = is.read(pgm, pgmLength, bytesLeft); in internalCreate() local 105 if (bytesRead <= 0) { in internalCreate() 108 pgmLength += bytesRead; in internalCreate()
|
/frameworks/av/media/libheif/ |
D | HeifDecoderImpl.cpp | 235 size_t bytesRead = mStream->read(mCache.get() + mCachedSize, bytesToRead); in readAt() local 236 if (bytesRead > bytesToRead || bytesRead == 0) { in readAt() 239 bytesRead = 0; in readAt() 240 } else if (bytesRead < bytesToRead) { in readAt() 244 mCachedSize += bytesRead; in readAt()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 392 private long bytesRead = 0; field in StrictJarFile.ZipInflaterInputStream 405 + bytesRead, e); in read() 408 if (entry.getSize() != bytesRead) { in read() 409 throw new IOException("Size mismatch on inflated file: " + bytesRead + " vs " in read() 413 bytesRead += i; in read() 425 return super.available() == 0 ? 0 : (int) (entry.getSize() - bytesRead); in available()
|
/frameworks/base/libs/androidfw/ |
D | StreamingZipInflater.cpp | 138 size_t bytesRead = 0; in read() local 148 bytesRead += deliverable; in read() 204 return bytesRead; in read()
|
/frameworks/av/media/libstagefright/httplive/ |
D | HTTPDownloader.cpp | 141 ssize_t bytesRead = 0; in fetchBlock() local 206 bytesRead += n; in fetchBlock() 217 return bytesRead; in fetchBlock()
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/test/ |
D | m4v_h263_enc_test.cpp | 204 int32_t bytesRead; in main() local 205 bytesRead = fread(inputBuf, 1, frameSize, fpInput); in main() 206 if (bytesRead != frameSize) { in main()
|
/frameworks/base/core/jni/android/graphics/ |
D | CreateJavaOutputStreamAdaptor.cpp | 64 size_t bytesRead = 0; in doRead() local 105 bytesRead += n; in doRead() 110 return bytesRead; in doRead()
|
/frameworks/base/packages/PrintSpooler/tests/outofprocess/src/com/android/printspooler/outofprocess/tests/ |
D | BasePrintTest.java | 129 int bytesRead; in runShellCommand() local 132 while ((bytesRead = fis.read(buf)) != -1) { in runShellCommand() 133 stdout.append(new String(buf, 0, bytesRead)); in runShellCommand()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | BytesReadListener.java | 27 void onBytesRead(long bytesRead); in onBytesRead() argument
|