/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpeg_hook.cpp | 91 int32_t bytesRead = src->inStream->read(src->inStream->getBufferSize(), 0); in Mgr_fill_input_buffer_fcn() local 92 if (bytesRead == J_DONE) { in Mgr_fill_input_buffer_fcn() 97 bytesRead = src->inStream->forceReadEOI(); in Mgr_fill_input_buffer_fcn() 98 } else if (bytesRead < 0) { in Mgr_fill_input_buffer_fcn() 100 } else if (bytesRead == 0) { in Mgr_fill_input_buffer_fcn() 104 src->mgr.bytes_in_buffer = bytesRead; in Mgr_fill_input_buffer_fcn() 105 if (bytesRead != 0) { in Mgr_fill_input_buffer_fcn()
|
D | inputstream_wrapper.cpp | 27 int32_t bytesRead = 0; in read() local 33 bytesRead = static_cast<int32_t>(mEnv->CallIntMethod(mStream, sReadID, in read() 42 if (bytesRead == END_OF_STREAM) { in read() 45 return bytesRead; in read()
|
/packages/apps/Mms/src/com/android/mms/transaction/ |
D | HttpUtils.java | 231 int bytesRead = 0; in httpConnection() local 236 bytesRead = dis.read(tempBody, offset, bytesTobeRead); in httpConnection() 243 if (bytesRead > 0) { in httpConnection() 244 bytesTobeRead -= bytesRead; in httpConnection() 245 offset += bytesRead; in httpConnection() 247 } while (bytesRead >= 0 && bytesTobeRead > 0); in httpConnection() 248 if (bytesRead == -1 && offset > 0 && !readError) { in httpConnection()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherBackupHelper.java | 285 int bytesRead = data.read(mBuffer, 0, dataSize); in restoreEntity() local 286 if (DEBUG) Log.d(TAG, "read " + bytesRead + " of " + dataSize + " available"); in restoreEntity() 959 int bytesRead = 0; in readJournal() local 968 int result = inStream.read(buffer, bytesRead, 1); in readJournal() 971 bytesRead += result; in readJournal() 984 MessageNano.mergeFrom(journal, readCheckedBytes(buffer, bytesRead)); in readJournal() 988 if (VERBOSE) Log.v(TAG, "read " + bytesRead + " bytes of journal"); in readJournal() 995 if (DEBUG) Log.d(TAG, "journal bytes read: " + bytesRead); in readJournal()
|
D | IconCache.java | 480 int bytesRead = 0; in getPreloadedIcon() local 481 while(bytesRead >= 0) { in getPreloadedIcon() 482 bytes.write(buffer, 0, bytesRead); in getPreloadedIcon() 483 bytesRead = resourceFile.read(buffer, 0, buffer.length); in getPreloadedIcon()
|
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
D | Serializer.java | 203 final int bytesRead = is.read(buffer, 0, Math.min(BUFFER_SIZE, length)); in opaque() local 204 if (bytesRead == -1) { in opaque() 208 mOutput.write(buffer, 0, bytesRead); in opaque() 209 totalBytesRead += bytesRead; in opaque()
|
/packages/apps/Dialer/tests/src/com/android/dialer/ |
D | CallDetailActivityTest.java | 284 int bytesRead; in copyBetweenStreams() local 286 while ((bytesRead = in.read(buffer)) != -1) { in copyBetweenStreams() 287 total += bytesRead; in copyBetweenStreams() 288 out.write(buffer, 0, bytesRead); in copyBetweenStreams()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | LoggingInputStream.java | 68 int bytesRead = super.read(b, offset, length); in read() local 69 int copyBytes = bytesRead; in read() 76 return bytesRead; in read()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/ |
D | Utils.java | 169 int bytesRead = 0; in copyStream() local 170 while ((bytesRead = is.read(buffer)) >= 0) { in copyStream() 171 os.write(buffer, 0, bytesRead); in copyStream()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessage.java | 375 int bytesRead; in getDataBytes() local 377 … while ((bytesRead = mInStream.read(data, offset, length-offset)) != (length - offset)) { in getDataBytes() 378 if(bytesRead == -1) in getDataBytes() 380 offset += bytesRead; in getDataBytes()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsService.java | 787 int bytesRead = inStream.read(tempBody, 0, maxSize+1); in readPduFromContentUri() 788 if (bytesRead == 0) { in readPduFromContentUri() 792 if (bytesRead <= maxSize) { in readPduFromContentUri() 793 return Arrays.copyOf(tempBody, bytesRead); in readPduFromContentUri()
|
/packages/apps/Email/provider_src/com/android/email/service/ |
D | Pop3Service.java | 216 public void report(int bytesRead) { in report() argument 217 mContentValues.put(AttachmentColumns.UI_DOWNLOADED_SIZE, bytesRead); in report()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/ |
D | EOLConvertingInputStream.java | 52 public void report(int bytesRead); in report() argument
|