/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpeg_hook.cpp | 26 dst->mgr.next_output_byte = reinterpret_cast<JOCTET*>(dst->outStream->getBufferPtr()); in Mgr_init_destination_fcn() 27 dst->mgr.free_in_buffer = dst->outStream->getBufferSize(); in Mgr_init_destination_fcn() 32 int32_t len = dst->outStream->getBufferSize(); in Mgr_empty_output_buffer_fcn() 33 if (dst->outStream->write(len, 0) != J_SUCCESS) { in Mgr_empty_output_buffer_fcn() 36 dst->mgr.next_output_byte = reinterpret_cast<JOCTET*>(dst->outStream->getBufferPtr()); in Mgr_empty_output_buffer_fcn() 43 int32_t remaining = dst->outStream->getBufferSize() - dst->mgr.free_in_buffer; in Mgr_term_destination_fcn() 44 if (dst->outStream->write(remaining, 0) != J_SUCCESS) { in Mgr_term_destination_fcn() 49 int32_t MakeDst(j_compress_ptr cinfo, JNIEnv *env, jobject outStream) { in MakeDst() argument 67 d->outStream = new OutputStreamWrapper(); in MakeDst() 68 if(d->outStream->init(env, outStream)) { in MakeDst() [all …]
|
D | jpeg_hook.h | 37 OutputStreamWrapper *outStream; member 41 int32_t MakeDst(j_compress_ptr cinfo, JNIEnv *env, jobject outStream);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapObexServer.java | 1135 OutputStream outStream = null; in sendMessageListingRsp() local 1230 outStream = op.openOutputStream(); in sendMessageListingRsp() 1233 if (outStream != null) { in sendMessageListingRsp() 1235 outStream.close(); in sendMessageListingRsp() 1250 if (outStream != null) { in sendMessageListingRsp() 1252 outStream.close(); in sendMessageListingRsp() 1264 outStream.write(outBytes, bytesWritten, bytesToWrite); in sendMessageListingRsp() 1273 if (outStream != null) { in sendMessageListingRsp() 1275 outStream.close(); in sendMessageListingRsp() 1286 if (outStream != null) { in sendMessageListingRsp() [all …]
|
D | BluetoothMapbMessage.java | 507 FileOutputStream outStream = null; in parse() local 513 outStream = new FileOutputStream(file, false); in parse() 518 outStream.write(buffer, 0, len); in parse() 530 if (outStream != null) { in parse() 532 outStream.close(); in parse() 543 if (outStream == null) { in parse()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | DownloadRequest.java | 86 ParcelFileDescriptor.AutoCloseOutputStream outStream = null; in writePduToContentUri() 90 outStream = new ParcelFileDescriptor.AutoCloseOutputStream(pduFd); in writePduToContentUri() 91 outStream.write(pdu); in writePduToContentUri() 97 if (outStream != null) { in writePduToContentUri() 99 outStream.close(); in writePduToContentUri()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppLauncherActivity.java | 287 FileOutputStream outStream = null; in creatFileForSharedContent() local 344 outStream = context.openFileOutput(fileName, Context.MODE_PRIVATE); in creatFileForSharedContent() 345 if (outStream != null) { in creatFileForSharedContent() 346 outStream.write(byteBuff, 0, byteBuff.length); in creatFileForSharedContent() 363 if (outStream != null) { in creatFileForSharedContent() 364 outStream.close(); in creatFileForSharedContent()
|
/packages/services/Mms/src/com/android/mms/service/ |
D | MmsService.java | 905 ParcelFileDescriptor.AutoCloseOutputStream outStream = null; in writePduToContentUri() 909 outStream = new ParcelFileDescriptor.AutoCloseOutputStream(pduFd); in writePduToContentUri() 910 outStream.write(pdu); in writePduToContentUri() 916 if (outStream != null) { in writePduToContentUri() 918 outStream.close(); in writePduToContentUri()
|
/packages/services/Car/tests/BugReportApp/src/com/google/android/car/bugreport/ |
D | BugReportService.java | 420 private void zipDirectoryToOutputStream(File dirToZip, OutputStream outStream) in zipDirectoryToOutputStream() argument 428 ZipOutputStream zipStream = new ZipOutputStream(new BufferedOutputStream(outStream)); in zipDirectoryToOutputStream() 446 outStream.close(); in zipDirectoryToOutputStream()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | Ver2DictEncoder.java | 64 public Ver2DictEncoder(final OutputStream outStream) { in Ver2DictEncoder() argument 66 mOutStream = outStream; in Ver2DictEncoder()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapServer.java | 107 OutputStream outStream) { in SapServer() argument 113 mRfcommOut = new BufferedOutputStream(outStream); in SapServer()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/ |
D | ExifInterface.java | 961 public OutputStream getExifWriterStream(OutputStream outStream) { in getExifWriterStream() argument 962 if (outStream == null) { in getExifWriterStream() 965 ExifOutputStream eos = new ExifOutputStream(outStream, this); in getExifWriterStream()
|
/packages/apps/Messaging/src/com/android/messaging/util/exif/ |
D | ExifInterface.java | 961 public OutputStream getExifWriterStream(OutputStream outStream) { in getExifWriterStream() argument 962 if (outStream == null) { in getExifWriterStream() 965 ExifOutputStream eos = new ExifOutputStream(outStream, this); in getExifWriterStream()
|
/packages/apps/Camera2/src/com/android/camera/exif/ |
D | ExifInterface.java | 946 public OutputStream getExifWriterStream(OutputStream outStream) { in getExifWriterStream() argument 947 if (outStream == null) { in getExifWriterStream() 950 ExifOutputStream eos = new ExifOutputStream(outStream, this); in getExifWriterStream()
|