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()
106 int didRead = instream.read(buffer, 0, (int) toRead); in installApk() local107 if (didRead >= 0) { in installApk()108 bytesReadListener.onBytesRead(didRead); in installApk()110 apkStream.write(buffer, 0, didRead); in installApk()111 size -= didRead; in installApk()