Home
last modified time | relevance | path

Searched refs:outputStream (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Gallery3D/src/com/cooliris/media/
DImageManager.java143 OutputStream outputStream = null; in addImage() local
149 outputStream = new FileOutputStream(file); in addImage()
151 source.compress(CompressFormat.JPEG, 75, outputStream); in addImage()
154 outputStream.write(jpegData); in addImage()
164 Util.closeSilently(outputStream); in addImage()
250 OutputStream outputStream = null; in execute() local
252 outputStream = mCr.openOutputStream(mUri); in execute()
253 if (outputStream != null) { in execute()
254 outputStream.write(mJpegData); in execute()
260 Util.closeSilently(outputStream); in execute()
DCropImage.java179 OutputStream outputStream = null; in performReturn() local
181 outputStream = context.getContentResolver().openOutputStream(outputUri); in performReturn()
182 if (outputStream != null) { in performReturn()
184 Utils.copyStream(inputStream, outputStream); in performReturn()
193 Util.closeSilently(outputStream); in performReturn()
450 OutputStream outputStream = null; in saveOutput() local
452 outputStream = mContentResolver.openOutputStream(mSaveUri); in saveOutput()
453 if (outputStream != null) { in saveOutput()
454 croppedImage.compress(mOutputFormat, 75, outputStream); in saveOutput()
460 Util.closeSilently(outputStream); in saveOutput()
/packages/apps/Email/src/com/android/exchange/adapter/
DParser.java511 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(256); in readInlineString() local
519 outputStream.write(i); in readInlineString()
521 outputStream.flush(); in readInlineString()
522 String res = outputStream.toString("UTF-8"); in readInlineString()
523 outputStream.close(); in readInlineString()
/packages/apps/Camera/src/com/android/camera/
DImageManager.java170 OutputStream outputStream = null; in addImage() local
176 outputStream = new FileOutputStream(file); in addImage()
178 source.compress(CompressFormat.JPEG, 75, outputStream); in addImage()
181 outputStream.write(jpegData); in addImage()
191 Util.closeSilently(outputStream); in addImage()
DCamera.java1140 OutputStream outputStream = null; in doAttach() local
1142 outputStream = mContentResolver.openOutputStream(mSaveUri); in doAttach()
1143 outputStream.write(data); in doAttach()
1144 outputStream.close(); in doAttach()
1151 Util.closeSilently(outputStream); in doAttach()
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java208 OutputStream outputStream = null; in addImage() local
214 outputStream = new FileOutputStream(file); in addImage()
216 source.compress(CompressFormat.JPEG, 75, outputStream); in addImage()
219 outputStream.write(jpegData); in addImage()
229 Util.closeSilently(outputStream); in addImage()
DCropImage.java324 OutputStream outputStream = null; in saveOutput() local
326 outputStream = mContentResolver.openOutputStream(mSaveUri); in saveOutput()
327 if (outputStream != null) { in saveOutput()
328 croppedImage.compress(mOutputFormat, 75, outputStream); in saveOutput()
334 Util.closeSilently(outputStream); in saveOutput()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java342 OutputStream outputStream = null; in sendFile() local
365 outputStream = putOperation.openOutputStream(); in sendFile()
401 outputStream.write(buffer, 0, readLength); in sendFile()
413 outputStream.close(); in sendFile()
440 outputStream.write(buffer, 0, readLength); in sendFile()
475 outputStream.close(); in sendFile()
DBluetoothOppReceiveFileInfo.java77 public BluetoothOppReceiveFileInfo(String filename, long length, FileOutputStream outputStream, in BluetoothOppReceiveFileInfo() argument
80 mOutputStream = outputStream; in BluetoothOppReceiveFileInfo()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapVcardManager.java510 private OutputStream outputStream; field in BluetoothPbapVcardManager.HandlerForStringBuffer
529 outputStream = operation.openOutputStream(); in onInit()
562 outputStream.write(subStr.getBytes(), 0, maxPacketSize); in onEntryCreated()
581 outputStream.write(lastBytes, 0, lastBytes.length); in onTerminate()
587 if (!BluetoothPbapObexServer.closeStream(outputStream, operation)) { in onTerminate()
DBluetoothPbapObexServer.java649 OutputStream outputStream = null; in pushHeader() local
657 outputStream = op.openOutputStream(); in pushHeader()
658 outputStream.flush(); in pushHeader()
663 if (!closeStream(outputStream, op)) { in pushHeader()
680 OutputStream outputStream = null; in pushBytes() local
683 outputStream = op.openOutputStream(); in pushBytes()
706 outputStream.write(subStr.getBytes(), 0, readLength); in pushBytes()
722 if (!closeStream(outputStream, op)) { in pushBytes()
/packages/apps/Contacts/src/com/android/contacts/
DExportVCardActivity.java138 OutputStream outputStream = null; in run() local
140 outputStream = new FileOutputStream(mExportingFileName); in run()
154 composer.addHandler(composer.new HandlerForOutputStream(outputStream)); in run()