Searched defs:bytesRead (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/media/libnbaio/
H A DAudioStreamInSource.cpp73 ssize_t bytesRead = mStream->read(mStream, buffer, count << mBitShift); local
74 if (bytesRead > 0) {
75 size_t framesRead = bytesRead >> mBitShift;
79 return bytesRead;
/frameworks/base/libs/androidfw/
H A DStreamingZipInflater.cpp136 size_t bytesRead = 0; local
146 bytesRead += deliverable;
202 return bytesRead;
H A DBackupHelpers.cpp92 int bytesRead = 0; local
100 bytesRead += amt;
113 ALOGW("read_snapshot_file FileState truncated/error with read at %d bytes\n", bytesRead);
116 bytesRead += amt;
127 bytesRead += amt;
132 ALOGW("read_snapshot_file filename truncated/error with read at %d bytes\n", bytesRead);
137 if (header.totalSize != bytesRead) {
138 ALOGW("read_snapshot_file length mismatch: header.totalSize=%d bytesRead=%d\n",
139 header.totalSize, bytesRead);
/frameworks/base/core/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.cpp63 size_t bytesRead = 0; local
94 bytesRead += n;
99 return bytesRead;
/frameworks/volley/src/com/android/volley/toolbox/
H A DDiskBasedCache.java117 byte[] data = streamToBytes(cis, (int) (file.length() - cis.bytesRead));
434 private int bytesRead = 0; field in class:DiskBasedCache.CountingInputStream
444 bytesRead++;
453 bytesRead += result;
/frameworks/av/drm/libdrmframework/plugins/forward-lock/FwdLockEngine/src/
H A DFwdLockEngine.cpp674 ssize_t bytesRead = -1; local
688 bytesRead = onRead(uniqueId, decryptHandle, buffer, numBytes);
689 if (bytesRead < 0) {
697 return bytesRead;
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp681 size_t bytesRead = audioBuffer.size; local
682 memcpy(buffer, audioBuffer.i8, bytesRead);
683 buffer = ((char *) buffer) + bytesRead;
684 userSize -= bytesRead;
685 read += bytesRead;

Completed in 238 milliseconds