Searched refs:getBytes (Results 151 - 156 of 156) sorted by relevance

1234567

/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSocketTest.java113 byte[] clientToServer = clientToServerString.getBytes();
114 byte[] serverToClient = serverToClientString.getBytes();
/libcore/luni/src/test/java/libcore/sqlite/
H A DOldDatabaseTest.java724 byte[] encInputBytes = input.getBytes(charsetNames[i]);
741 assertEquals(new String(input.getBytes(),"US-ASCII"),encOutput2[0]);
/libcore/luni/src/test/java/tests/security/cert/
H A DX509CertSelectorTest.java2069 ByteArrayInputStream bi = new ByteArrayInputStream(TestUtils.rootCert.getBytes());
2071 bi = new ByteArrayInputStream(TestUtils.endCert.getBytes());
/libcore/luni/src/test/java/libcore/java/security/
H A DSignatureTest.java999 assertFalse("Invalid signature must not verify", sig.verify("Invalid".getBytes()));
1098 assertFalse("Invalid signature should not verify", sig.verify("Invalid sig".getBytes()));
/libcore/luni/src/test/java/libcore/net/http/
H A DHttpResponseCacheTest.java882 .setBody(gzip("ABCABCABC".getBytes("UTF-8")))
1846 setBody(response, content.getBytes("UTF-8"), chunkSize);
/libcore/luni/src/test/java/libcore/java/sql/
H A DOldPreparedStatementTest.java2334 public byte[] getBytes(long pos, int length) throws SQLException { method in class:OldPreparedStatementTest.MockBlob

Completed in 333 milliseconds

1234567