Searched refs:outStream (Results 1 – 7 of 7) sorted by relevance
140 ByteArrayOutputStream outStream = null; in testSaveLoadOutputStream() local145 outStream = new ByteArrayOutputStream(); in testSaveLoadOutputStream()146 mGestureStore.save(outStream); in testSaveLoadOutputStream()149 inStream = new ByteArrayInputStream(outStream.toByteArray()); in testSaveLoadOutputStream()162 if (outStream != null) { in testSaveLoadOutputStream()163 outStream.close(); in testSaveLoadOutputStream()
95 ByteArrayOutputStream outStream = new ByteArrayOutputStream(); in serialize() local98 outXml.setOutput(outStream, StandardCharsets.UTF_8.name()); in serialize()111 return outStream; in serialize()
72 ByteArrayOutputStream outStream = new ByteArrayOutputStream(); in startVulnerableActivity() local77 outStream.write(data, 0, nRead); in startVulnerableActivity()86 intent.putExtra(context.getString(R.string.intentExtraKeyCert), outStream.toByteArray()); in startVulnerableActivity()
69 ByteArrayOutputStream outStream = new ByteArrayOutputStream(); ) { in getByteArrayFromRawRes()74 outStream.write(byteArray, 0, nRead); in getByteArrayFromRawRes()
795 FileOutputStream outStream; in dumpFile() local798 outStream = new FileOutputStream(fileName); in dumpFile()804 outStream.write(data); in dumpFile()805 outStream.close(); in dumpFile()
1951 FileOutputStream outStream; in dumpFile() local1954 outStream = new FileOutputStream(fileName); in dumpFile()1960 data.compress(Bitmap.CompressFormat.JPEG, /*quality*/90, outStream); in dumpFile()1961 outStream.close(); in dumpFile()1968 FileOutputStream outStream; in dumpFile() local1971 outStream = new FileOutputStream(fileName); in dumpFile()1977 outStream.write(data); in dumpFile()1978 outStream.close(); in dumpFile()
354 FileOutputStream outStream = new FileOutputStream(rawoutput); in onPictureTaken() local355 outStream.write(rawData); in onPictureTaken()356 outStream.close(); in onPictureTaken()