Home
last modified time | relevance | path

Searched refs:didRead (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/libs/androidfw/
DStreamingZipInflater.cpp213 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/utils/
DRestoreUtils.java100 int didRead = instream.read(buffer, 0, (int) toRead); in installApk() local
101 if (didRead >= 0) { in installApk()
102 bytesReadListener.onBytesRead(didRead); in installApk()
104 apkStream.write(buffer, 0, didRead); in installApk()
105 size -= didRead; in installApk()