/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
D | BitmapUtilTests.java | 115 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in createRawData() local 116 b.compress(format, 50, outputStream); in createRawData() 117 final byte[] data = outputStream.toByteArray(); in createRawData() 118 outputStream.close(); in createRawData()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryFileDumper.java | 158 FileOutputStream outputStream = null; in cacheWordList() local 169 outputStream = new FileOutputStream(outputFile); in cacheWordList() 196 checkMagicAndCopyFileTo(new BufferedInputStream(inputStream), outputStream); in cacheWordList() 225 if (null != outputStream) outputStream.close(); in cacheWordList()
|
/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | InterruptableOutputStream.java | 32 public InterruptableOutputStream(OutputStream outputStream) { in InterruptableOutputStream() argument 33 mOutputStream = Utils.checkNotNull(outputStream); in InterruptableOutputStream()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | Parser.java | 591 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(256); in readInlineString() local 599 outputStream.write(i); in readInlineString() 601 outputStream.flush(); in readInlineString() 602 String res = outputStream.toString("UTF-8"); in readInlineString() 603 outputStream.close(); in readInlineString()
|
D | Serializer.java | 70 public Serializer(OutputStream outputStream, boolean startDocument) throws IOException { in Serializer() argument 72 mOutput = outputStream; in Serializer()
|
D | AttachmentLoader.java | 110 public void readChunked(InputStream inputStream, OutputStream outputStream, int len) in readChunked() argument 131 outputStream.write(bytes, 0, read); in readChunked()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexClientSession.java | 352 OutputStream outputStream = null; in sendFile() local 375 outputStream = putOperation.openOutputStream(); in sendFile() 411 outputStream.write(buffer, 0, readLength); in sendFile() 423 outputStream.close(); in sendFile() 450 outputStream.write(buffer, 0, readLength); in sendFile() 485 outputStream.close(); in sendFile()
|
D | BluetoothOppReceiveFileInfo.java | 77 public BluetoothOppReceiveFileInfo(String filename, long length, FileOutputStream outputStream, in BluetoothOppReceiveFileInfo() argument 80 mOutputStream = outputStream; in BluetoothOppReceiveFileInfo()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | ImageManager.java | 208 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()
|
D | CropImage.java | 324 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/Contacts/tests/src/com/android/contacts/ |
D | CallDetailActivityTest.java | 264 OutputStream outputStream = null; in setActivityIntentForRealFileVoicemailEntry() local 268 outputStream = getContentResolver().openOutputStream(mVoicemailUri); in setActivityIntentForRealFileVoicemailEntry() 269 copyBetweenStreams(inputStream, outputStream); in setActivityIntentForRealFileVoicemailEntry() 271 Closeables.closeQuietly(outputStream); in setActivityIntentForRealFileVoicemailEntry()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | ExportProcessor.java | 107 final OutputStream outputStream; in runInternal() local 109 outputStream = mResolver.openOutputStream(uri); in runInternal() 137 writer = new BufferedWriter(new OutputStreamWriter(outputStream)); in runInternal()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapObexServer.java | 645 OutputStream outputStream = null; in pushHeader() local 653 outputStream = op.openOutputStream(); in pushHeader() 654 outputStream.flush(); in pushHeader() 659 if (!closeStream(outputStream, op)) { in pushHeader() 673 OutputStream outputStream = null; in pushBytes() local 676 outputStream = op.openOutputStream(); in pushBytes() 677 outputStream.write(vcardString.getBytes()); in pushBytes() 684 if (!closeStream(outputStream, op)) { in pushBytes()
|
D | BluetoothPbapVcardManager.java | 544 private OutputStream outputStream; field in BluetoothPbapVcardManager.HandlerForStringBuffer 560 outputStream.write(vCard.getBytes()); in write() 571 outputStream = operation.openOutputStream(); in onInit() 587 if (!BluetoothPbapObexServer.closeStream(outputStream, operation)) { in onTerminate()
|
/packages/apps/Camera/tests/src/com/android/camera/activity/ |
D | CameraTestCase.java | 152 ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); in readBlankJpeg() local 159 outputStream.write(buffer, 0, size); in readBlankJpeg() 166 mBlankJpeg = outputStream.toByteArray(); in readBlankJpeg()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTestUtils.java | 461 FileOutputStream outputStream = new FileOutputStream(outputFile); in createTempEmlFile() local 462 Rfc822Output.writeTo(context, msg.mId, outputStream, true, false); in createTempEmlFile() 463 outputStream.close(); in createTempEmlFile()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | Camera.java | 1383 OutputStream outputStream = null; in doAttach() local 1385 outputStream = mContentResolver.openOutputStream(mSaveUri); in doAttach() 1386 outputStream.write(data); in doAttach() 1387 outputStream.close(); in doAttach() 1394 Util.closeSilently(outputStream); in doAttach()
|
/packages/apps/Camera/src/com/android/camera/ |
D | Camera.java | 1431 OutputStream outputStream = null; in doAttach() local 1433 outputStream = mContentResolver.openOutputStream(mSaveUri); in doAttach() 1434 outputStream.write(data); in doAttach() 1435 outputStream.close(); in doAttach() 1442 Util.closeSilently(outputStream); in doAttach()
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 491 final FileOutputStream outputStream = getContentResolver() in saveUpdatedPhoto() local 500 outputStream.write(buffer, 0, length); in saveUpdatedPhoto() 508 outputStream.close(); in saveUpdatedPhoto()
|
/packages/apps/Browser/src/com/android/browser/ |
D | Controller.java | 2189 FileOutputStream outputStream = null; in saveDataUri() local 2193 outputStream = new FileOutputStream(target); in saveDataUri() 2194 outputStream.write(uri.getData()); in saveDataUri() 2204 if (outputStream != null) { in saveDataUri() 2206 outputStream.close(); in saveDataUri()
|