/frameworks/ex/framesequence/jni/ |
D | Stream.cpp | 100 jint bytesRead = mEnv->CallIntMethod(mInputStream, in doRead() local 102 if (mEnv->ExceptionCheck() || bytesRead < 0) { in doRead() 106 mEnv->GetByteArrayRegion(mByteArray, 0, bytesRead, (jbyte*)dstBuffer); in doRead() 107 dstBuffer = (char*)dstBuffer + bytesRead; in doRead() 108 totalBytesRead += bytesRead; in doRead() 109 size -= bytesRead; in doRead()
|
/frameworks/base/core/java/android/hardware/usb/ |
D | UsbRequest.java | 155 int bytesRead; in dequeue() local 157 bytesRead = native_dequeue_direct(); in dequeue() 159 bytesRead = native_dequeue_array(mBuffer.array(), mLength, out); in dequeue() 161 if (bytesRead >= 0) { in dequeue() 162 mBuffer.position(Math.min(bytesRead, mLength)); in dequeue()
|
/frameworks/av/media/libnbaio/ |
D | AudioStreamInSource.cpp | 72 ssize_t bytesRead = mStream->read(mStream, buffer, count * mFrameSize); in read() local 73 if (bytesRead > 0) { in read() 74 size_t framesRead = bytesRead / mFrameSize; in read() 78 return bytesRead; in read()
|
/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/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/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/support/v8/renderscript/java/src/android/support/v8/renderscript/ |
D | ScriptC.java | 91 int bytesRead = is.read(pgm, pgmLength, bytesLeft); in internalCreate() local 92 if (bytesRead <= 0) { in internalCreate() 95 pgmLength += bytesRead; in internalCreate()
|
/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 | 110 int bytesRead = is.read(pgm, pgmLength, bytesLeft); in internalCreate() local 111 if (bytesRead <= 0) { in internalCreate() 114 pgmLength += bytesRead; in internalCreate()
|
D | Program.java | 263 int bytesRead = is.read(str, strLength, bytesLeft); in setShader() local 264 if (bytesRead <= 0) { in setShader() 267 strLength += bytesRead; in setShader()
|
/frameworks/base/libs/androidfw/ |
D | StreamingZipInflater.cpp | 136 size_t bytesRead = 0; in read() local 146 bytesRead += deliverable; in read() 202 return bytesRead; in read()
|
D | BackupHelpers.cpp | 92 int bytesRead = 0; in read_snapshot_file() local 100 bytesRead += amt; in read_snapshot_file() 113 … ALOGW("read_snapshot_file FileState truncated/error with read at %d bytes\n", bytesRead); in read_snapshot_file() 116 bytesRead += amt; in read_snapshot_file() 127 bytesRead += amt; in read_snapshot_file() 132 ALOGW("read_snapshot_file filename truncated/error with read at %d bytes\n", bytesRead); in read_snapshot_file() 137 if (header.totalSize != bytesRead) { in read_snapshot_file() 139 header.totalSize, bytesRead); in read_snapshot_file()
|
/frameworks/base/core/jni/android/graphics/ |
D | CreateJavaOutputStreamAdaptor.cpp | 63 size_t bytesRead = 0; in doRead() local 104 bytesRead += n; in doRead() 109 return bytesRead; in doRead()
|
/frameworks/volley/src/com/android/volley/toolbox/ |
D | DiskBasedCache.java | 117 byte[] data = streamToBytes(cis, (int) (file.length() - cis.bytesRead)); in get() 439 private int bytesRead = 0; field in DiskBasedCache.CountingInputStream 449 bytesRead++; in read() 458 bytesRead += result; in read()
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 189 int bytesRead; in copyToFile() local 190 while ((bytesRead = inputStream.read(buffer)) >= 0) { in copyToFile() 191 out.write(buffer, 0, bytesRead); in copyToFile()
|
/frameworks/av/media/libmedia/ |
D | AudioRecord.cpp | 742 size_t bytesRead = audioBuffer.size; in read() local 743 memcpy(buffer, audioBuffer.i8, bytesRead); in read() 744 buffer = ((char *) buffer) + bytesRead; in read() 745 userSize -= bytesRead; in read() 746 read += bytesRead; in read()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/ |
D | FwdLockEngine.cpp | 675 ssize_t bytesRead = -1; local 689 bytesRead = onRead(uniqueId, decryptHandle, buffer, numBytes); 690 if (bytesRead < 0) { 698 return bytesRead;
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.cpp | 916 ssize_t bytesRead; in onDownloadNext() local 918 bytesRead = mSession->fetchFile( in onDownloadNext() 921 if (bytesRead < 0) { in onDownloadNext() 922 status_t err = bytesRead; in onDownloadNext() 932 buffer->setRange(size - bytesRead, bytesRead); in onDownloadNext() 979 tsBuffer->setRange(tsBuffer->offset(), tsBuffer->size() + bytesRead); in onDownloadNext() 1002 } while (bytesRead != 0); in onDownloadNext()
|
D | LiveSession.cpp | 877 ssize_t bytesRead = 0; in fetchFile() local 929 bytesRead += n; in fetchFile() 940 return bytesRead; in fetchFile()
|
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
D | MediaPlayerProxyTestCase.java | 555 int bytesRead; in copyBetweenStreams() local 556 while ((bytesRead = in.read(buffer)) != -1) { in copyBetweenStreams() 557 out.write(buffer, 0, bytesRead); in copyBetweenStreams()
|
/frameworks/base/core/jni/ |
D | android_hardware_camera2_DngCreator.cpp | 479 ssize_t bytesRead = mInput->read(rowBytes, rowFillAmt, rowSize); in writeToStream() local 480 if (bytesRead <= 0) { in writeToStream() 481 if (bytesRead == NOT_ENOUGH_DATA || bytesRead == 0) { in writeToStream() 483 __FUNCTION__, i, bytesRead); in writeToStream() 487 bytesRead = NOT_ENOUGH_DATA; in writeToStream() 494 return bytesRead; in writeToStream() 496 rowFillAmt += bytesRead; in writeToStream() 497 rowSize -= bytesRead; in writeToStream()
|
/frameworks/av/services/audioflinger/ |
D | Threads.cpp | 5330 ssize_t bytesRead = mInput->stream->read(mInput->stream, in threadLoop() local 5332 if (bytesRead < 0) { in threadLoop() 5333 framesRead = bytesRead; in threadLoop() 5335 framesRead = bytesRead / mFrameSize; in threadLoop()
|