/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/ |
H A D | X509CertificateTest.java | 135 .getBytes()); 143 .generateCertificate(new ByteArrayInputStream(selfSignedCert.getBytes())); 150 selfSignedCert.getBytes()));
|
/libcore/luni/src/test/java/libcore/java/sql/ |
H A D | OldResultSetGetterTests.java | 247 assertNull(res.getBytes(i)); 253 res.getBytes(24); 274 stPrep.setBytes(1, testString.getBytes()); 280 byte[] output = res.getBytes(1); 306 stPrep.setBytes(1, testString.getBytes()); 312 byte[] output = res.getBytes(1); 330 assertNull(res.getBytes(t)); 335 res.getBytes(colNames.get(24)); 356 stPrep.setBytes(1, testString.getBytes()); 362 byte[] output = res.getBytes("valu [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/cert/ |
H A D | TestUtils.java | 319 return ENCODED_X509_CERTIFICATE.getBytes(); 781 ByteArrayInputStream bi = new ByteArrayInputStream(rootCert.getBytes()); 783 bi = new ByteArrayInputStream(endCert.getBytes());
|
/libcore/support/src/test/java/tests/http/ |
H A D | MockWebServer.java | 422 out.write((response.getStatus() + "\r\n").getBytes(ASCII)); 424 out.write((header + "\r\n").getBytes(ASCII)); 426 out.write(("\r\n").getBytes(ASCII));
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
H A D | ExpatParser.java | 358 .getBytes(entityParser.encoding)); 361 .getBytes(entityParser.encoding)); 379 .getBytes(entityParser.encoding)); 382 .getBytes(entityParser.encoding));
|
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldDataOutputStreamTest.java | 74 os.write(testString.getBytes(), 5, testLength - 7);
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldAndroidDatagramTest.java | 110 byte[] bytes = s.getBytes();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
H A D | OldAndroidDeflateTest.java | 44 byte[] input = inputString.getBytes("UTF-8");
|
H A D | OldZipInputStreamTest.java | 34 private byte[] dataBytes = "Some data in my file".getBytes();
|
H A D | ZipFileTest.java | 115 replaceBytes(buffer, name2.getBytes(), name1.getBytes());
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/x509/ |
H A D | SubjectPublicKeyInfoTest.java | 45 private static final byte[] ENCODED_BROKEN = "BROKEN!".getBytes(Charset.forName("ASCII"));
|
/libcore/luni/src/test/java/tests/security/cert/ |
H A D | X509CRLTest.java | 76 .getBytes());
|
/libcore/luni/src/test/java/tests/targets/security/ |
H A D | KeyStoreTest.java | 107 encodedCertificate.getBytes()));
|
/libcore/support/src/test/java/org/apache/harmony/testframework/ |
H A D | WrapperTester.java | 91 public byte[] getBytes() throws Exception { method in class:WrapperTester.WrapperSinkTester
|
/libcore/luni/src/main/java/java/sql/ |
H A D | CallableStatement.java | 228 public byte[] getBytes(int parameterIndex) throws SQLException; method in interface:CallableStatement 241 public byte[] getBytes(String parameterName) throws SQLException; method in interface:CallableStatement
|
H A D | ResultSet.java | 462 public byte[] getBytes(int columnIndex) throws SQLException; method in interface:ResultSet 474 public byte[] getBytes(String columnName) throws SQLException; method in interface:ResultSet
|
/libcore/luni/src/main/java/java/util/jar/ |
H A D | JarVerifier.java | 214 byte[] hashBytes = hash.getBytes(StandardCharsets.ISO_8859_1); 390 byte[] hashBytes = hash.getBytes(StandardCharsets.ISO_8859_1);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | Identity2Test.java | 101 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate.getBytes()); 119 ByteArrayInputStream certArray2 = new ByteArrayInputStream(certificate2.getBytes());
|
/libcore/libart/src/main/java/java/lang/ |
H A D | String.java | 704 * each {@code char}. Use {@link #getBytes()} or {@link #getBytes(String)} instead. 719 * @deprecated Use {@link #getBytes()} or {@link #getBytes(String)} 722 public void getBytes(int start, int end, byte[] data, int index) { method in class:String 745 public byte[] getBytes() { method in class:String 746 return getBytes(Charset.defaultCharset()); 758 public byte[] getBytes(String charsetName) throws UnsupportedEncodingException { method in class:String 759 return getBytes(Charset.forNameUEE(charsetName)); 772 public byte[] getBytes(Charse method in class:String [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | InputStreamReaderTest.java | 108 in = new ByteArrayInputStream(source.getBytes("UTF-8")); 455 bis = new ByteArrayInputStream(source.getBytes("UTF-8"));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | SourceChannelTest.java | 51 buffer = ByteBuffer.wrap("bytes".getBytes(ISO8859_1)); 52 positionedBuffer = ByteBuffer.wrap("12345bytes".getBytes(ISO8859_1));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
H A D | HandshakeCompletedEventTest.java | 122 ByteArrayInputStream bis = new ByteArrayInputStream(certificate.getBytes()); 540 byte[] bytes = Base64.decode(keys.getBytes());
|
/libcore/luni/src/main/java/java/net/ |
H A D | PlainSocketImpl.java | 430 getOutputStream().write(request.getBytes(), 0, request.getLength()); 440 int count = getInputStream().read(reply.getBytes(), bytesRead,
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
H A D | BinaryHprofWriter.java | 167 byte[] bytes = string.getBytes("UTF-8");
|
/libcore/dex/src/main/java/com/android/dex/ |
H A D | TableOfContents.java | 167 out.write(DexFormat.apiToMagic(DexFormat.API_NO_EXTENDED_OPCODES).getBytes("UTF-8"));
|