Searched refs:baos (Results 1 – 11 of 11) sorted by relevance
/cts/hostsidetests/jvmti/attaching/app/src/android/jvmti/ |
D | JvmtiActivity.java | 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()
|
/cts/common/device-side/bedstead/queryable/src/test/java/com/android/queryable/util/ |
D | SerializableParcelWrapperTest.java | 66 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in serialize() local 67 try (ObjectOutputStream outputStream = new ObjectOutputStream(baos)) { in serialize() 70 baos.close(); in serialize() 71 return baos.toByteArray(); in serialize()
|
/cts/tests/tests/util/src/android/util/cts/ |
D | Base64Test.java | 366 ByteArrayOutputStream baos; in testOutputStream() local 374 baos = new ByteArrayOutputStream(); in testOutputStream() 375 b64os = new Base64OutputStream(baos, flags); in testOutputStream() 378 actual = baos.toByteArray(); in testOutputStream() 382 baos = new ByteArrayOutputStream(); in testOutputStream() 383 b64os = new Base64OutputStream(baos, flags); in testOutputStream() 388 actual = baos.toByteArray(); in testOutputStream() 393 baos = new ByteArrayOutputStream(); in testOutputStream() 394 b64os = new Base64OutputStream(baos, flags); in testOutputStream() 411 actual = baos.toByteArray(); in testOutputStream()
|
D | StrictJarFileTest.java | 365 ByteArrayOutputStream baos = new ByteArrayOutputStream(128); in readUtf8String() local 369 baos.write(readBuffer, 0, byteCount); in readUtf8String() 371 return new String(baos.toByteArray(), StandardCharsets.UTF_8); in readUtf8String()
|
/cts/tests/tests/identity/src/android/security/identity/cts/ |
D | NoSessionEncryptionTest.java | 86 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in noSessionEncryption() local 87 new CborEncoder(baos).encode( in noSessionEncryption() 100 byte[] sessionTranscript = baos.toByteArray(); in noSessionEncryption()
|
D | ProvisioningTest.java | 103 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in getExampleDrivingPrivilegesCbor() local 105 new CborEncoder(baos).encode(new CborBuilder() in getExampleDrivingPrivilegesCbor() 116 return baos.toByteArray(); in getExampleDrivingPrivilegesCbor()
|
/cts/tools/cfassembler/src/dxconvext/ |
D | ClassFileAssembler.java | 172 ByteArrayOutputStream baos = new ByteArrayOutputStream(8192); in writeClassFile() local 190 baos.write(res); in writeClassFile() 200 byte[] outBytes = baos.toByteArray(); in writeClassFile()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | IdentityCredentialAuthentication.java | 314 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in createItemsRequest() local 315 CborEncoder encoder = new CborEncoder(baos); in createItemsRequest() 321 return baos.toByteArray(); in createItemsRequest()
|
/cts/libs/input/src/com/android/cts/input/ |
D | InputJsonParser.java | 136 OutputStream baos = new ByteArrayOutputStream(); in readFully() local 140 baos.write(buffer, 0, read); in readFully() 143 return baos.toString(); in readFully()
|
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
D | MediaBitstreamsTest.java | 347 OutputStream baos = new ByteArrayOutputStream(); in getBitstreamsListString() local 348 PrintStream ps = new PrintStream(baos, true); in getBitstreamsListString() 353 return baos.toString(); in getBitstreamsListString()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | BitmapFactoryTest.java | 721 ByteArrayOutputStream baos = new ByteArrayOutputStream(); in testParcel() local 722 assertTrue(b2.compress(Bitmap.CompressFormat.JPEG, 50, baos)); in testParcel()
|