Searched refs:didRead (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/libs/androidfw/ |
D | StreamingZipInflater.cpp | 213 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead)); in readNextChunk() local 215 ALOGV("Reading input chunk, size %08zx didread %08zx", toRead, didRead); in readNextChunk() 217 if (didRead < 0) { in readNextChunk() 219 return didRead; in readNextChunk() 221 mInNextChunkOffset += didRead; in readNextChunk() 223 mInflateState.avail_in = didRead; in readNextChunk()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 5793 int didRead = instream.read(buffer, 0, (int)toRead); in installApk() local 5794 if (didRead >= 0) mBytes += didRead; in installApk() 5795 apkStream.write(buffer, 0, didRead); in installApk() 5796 size -= didRead; in installApk() 7222 int didRead = instream.read(buffer, 0, (int)toRead); in installApk() local 7223 if (didRead >= 0) mBytes += didRead; in installApk() 7224 apkStream.write(buffer, 0, didRead); in installApk() 7225 size -= didRead; in installApk()
|