Searched refs:didRead (Results 1 – 2 of 2) sorted by relevance
213 ssize_t didRead = TEMP_FAILURE_RETRY(::read(mFd, mInBuf, toRead)); in readNextChunk() local215 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()
100 int didRead = instream.read(buffer, 0, (int) toRead); in installApk() local101 if (didRead >= 0) { in installApk()102 bytesReadListener.onBytesRead(didRead); in installApk()104 apkStream.write(buffer, 0, didRead); in installApk()105 size -= didRead; in installApk()