Home
last modified time | relevance | path

Searched refs:bos (Results 1 – 14 of 14) sorted by relevance

/cts/tests/backup/app/src/android/backup/app/
DMainActivity.java71 try (BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(f))) { in createFile() argument
74 bos.write(bytes, 0, bytesToWrite); in createFile()
/cts/tools/cfassembler/src/dxconvext/
DClassFileAssembler.java108 BufferedOutputStream bos = new BufferedOutputStream(os); in run() local
109 writeClassFile(r, bos, isDex); in run()
110 bos.close(); in run()
/cts/hostsidetests/backup/AllowBackup/src/
DAllowBackupTest.java117 try (BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(file))) { in addData() argument
118 bos.write(bytes, 0, bytes.length); in addData()
/cts/hostsidetests/backup/FullBackupOnly/src/
DFullBackupOnlyBackupAgent.java85 try (BufferedOutputStream bos = new BufferedOutputStream( in onRestore() argument
87 bos.write(dataBuf, 0, dataBuf.length); in onRestore()
DFullBackupOnlyTest.java143 try (BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(file))) { in addData() argument
144 bos.write(bytes, 0, bytes.length); in addData()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBitmapUtils.java141 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); in bitmapToInputStream() local
142 bmp.compress(CompressFormat.PNG, 0 /*ignored for PNG*/, bos); in bitmapToInputStream()
143 byte[] bitmapData = bos.toByteArray(); in bitmapToInputStream()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DBitmapUtils.java141 final ByteArrayOutputStream bos = new ByteArrayOutputStream(); in bitmapToInputStream() local
142 bmp.compress(CompressFormat.PNG, 0 /*ignored for PNG*/, bos); in bitmapToInputStream()
143 byte[] bitmapData = bos.toByteArray(); in bitmapToInputStream()
/cts/tests/tests/opengl/src/android/opengl/cts/
DFramebufferTest.java616 BufferedOutputStream bos = null; in saveFrame() local
618 bos = new BufferedOutputStream(new FileOutputStream(filename)); in saveFrame()
620 bmp.compress(Bitmap.CompressFormat.PNG, 90, bos); in saveFrame()
623 if (bos != null) bos.close(); in saveFrame()
/cts/hostsidetests/backup/fullbackupapp/src/android/cts/backup/fullbackupapp/
DFullbackupTest.java141 try (BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(file))) { in addData() argument
142 bos.write(bytes, 0, bytes.length); in addData()
/cts/hostsidetests/dexmetadata/host/src/com/android/cts/dexmetadata/
DInstallDexMetadataHostTest.java270 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in extractProfileFromDexMetadata() local
274 bos.write(buffer, 0, count); in extractProfileFromDexMetadata()
276 return bos.toByteArray(); in extractProfileFromDexMetadata()
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java368 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testDumpCurrentRow() local
369 PrintStream os = new PrintStream(bos); in testDumpCurrentRow()
373 assertEquals(expected, bos.toString()); in testDumpCurrentRow()
408 ByteArrayOutputStream bos = new ByteArrayOutputStream(); in testDumpCursor() local
409 PrintStream os = new PrintStream(bos); in testDumpCursor()
414 assertEquals(expected, bos.toString()); in testDumpCursor()
/cts/tests/tests/media/src/android/media/cts/
DDecodeEditEncodeTest.java891 BufferedOutputStream bos = null; in saveToFile() local
895 bos = new BufferedOutputStream(fos); in saveToFile()
901 bos.write(chunk); in saveToFile()
907 if (bos != null) { in saveToFile()
908 bos.close(); in saveToFile()
/cts/hostsidetests/backup/includeexcludeapp/src/android/cts/backup/includeexcludeapp/
DIncludeExcludeTest.java214 try (BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(file))) { in addData() argument
215 bos.write(bytes, 0, bytes.length); in addData()
/cts/tests/tests/media/res/raw/
Dfootball_qvga.yuv261 …mljikklnmjhijghkmnlkhhfgfedegihknnlf`XOG;1.//.,-.,,,++)**('(&$&)$$4BNZ_bdg`bos{��������؎]���prŻ���…