Home
last modified time | relevance | path

Searched refs:outStream (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/gesture/src/android/gesture/cts/
DGestureStoreTest.java140 ByteArrayOutputStream outStream = null; in testSaveLoadOutputStream() local
145 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()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DXmlTest.java95 ByteArrayOutputStream outStream = new ByteArrayOutputStream(); in serialize() local
98 outXml.setOutput(outStream, StandardCharsets.UTF_8.name()); in serialize()
111 return outStream; in serialize()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2020-0015/src/android/security/cts/CVE_2020_0015/
DDeviceTest.java72 ByteArrayOutputStream outStream = new ByteArrayOutputStream(); in startVulnerableActivity() local
77 outStream.write(data, 0, nRead); in startVulnerableActivity()
86 intent.putExtra(context.getString(R.string.intentExtraKeyCert), outStream.toByteArray()); in startVulnerableActivity()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-0963/src/android/security/cts/CVE_2021_0963/
DDeviceTest.java69 ByteArrayOutputStream outStream = new ByteArrayOutputStream(); ) { in getByteArrayFromRawRes()
74 outStream.write(byteArray, 0, nRead); in getByteArrayFromRawRes()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DImageReaderDecoderTest.java795 FileOutputStream outStream; in dumpFile() local
798 outStream = new FileOutputStream(fileName); in dumpFile()
804 outStream.write(data); in dumpFile()
805 outStream.close(); in dumpFile()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java1951 FileOutputStream outStream; in dumpFile() local
1954 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() local
1971 outStream = new FileOutputStream(fileName); in dumpFile()
1977 outStream.write(data); in dumpFile()
1978 outStream.close(); in dumpFile()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java354 FileOutputStream outStream = new FileOutputStream(rawoutput); in onPictureTaken() local
355 outStream.write(rawData); in onPictureTaken()
356 outStream.close(); in onPictureTaken()