Searched refs:baos (Results 1 – 10 of 10) sorted by relevance
49 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in onCreate()50 e.printStackTrace(new PrintStream(baos)); in onCreate()52 returnResult("FAILED: " + baos.toString()); in onCreate()70 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in returnResult()71 e.printStackTrace(new PrintStream(baos)); in returnResult()72 … Log.wtf("JvmtiActivity", "Could not connect to result socket! " + e + baos.toString()); in returnResult()
135 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in canonicalizeCbor() local137 CborEncoder encoder = new CborEncoder(baos); in canonicalizeCbor()140 return baos.toByteArray(); in canonicalizeCbor()328 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in encodeCbor() local329 CborEncoder encoder = new CborEncoder(baos); in encodeCbor()335 return baos.toByteArray(); in encodeCbor()401 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in signatureDerToCose() local404 baos.write(0x00); in signatureDerToCose()406 baos.write(rBytes); in signatureDerToCose()408 baos.write(0x00); in signatureDerToCose()[all …]
93 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getExampleDrivingPrivilegesCbor() local95 new CborEncoder(baos).encode(new CborBuilder() in getExampleDrivingPrivilegesCbor()106 return baos.toByteArray(); in getExampleDrivingPrivilegesCbor()
57 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in serialize() local58 try (ObjectOutputStream outputStream = new ObjectOutputStream(baos)) { in serialize()61 baos.close(); in serialize()62 return baos.toByteArray(); in serialize()
172 ByteArrayOutputStream baos = new ByteArrayOutputStream(8192); in writeClassFile() local190 baos.write(res); in writeClassFile()200 byte[] outBytes = baos.toByteArray(); in writeClassFile()
314 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in createItemsRequest() local315 CborEncoder encoder = new CborEncoder(baos); in createItemsRequest()321 return baos.toByteArray(); in createItemsRequest()
358 ByteArrayOutputStream baos = new ByteArrayOutputStream(128); in readUtf8String() local362 baos.write(readBuffer, 0, byteCount); in readUtf8String()364 return new String(baos.toByteArray(), StandardCharsets.UTF_8); in readUtf8String()
135 OutputStream baos = new ByteArrayOutputStream(); in readFully() local139 baos.write(buffer, 0, read); in readFully()142 return baos.toString(); in readFully()
347 OutputStream baos = new ByteArrayOutputStream(); in getBitstreamsListString() local348 PrintStream ps = new PrintStream(baos, true); in getBitstreamsListString()353 return baos.toString(); in getBitstreamsListString()
704 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testParcel() local705 assertTrue(b2.compress(Bitmap.CompressFormat.JPEG, 50, baos)); in testParcel()