/dalvik/libcore/luni/src/test/java/tests/api/java/io/ |
H A D | FileInputStreamTest.java | 211 stringBytes = fileString.getBytes(); 489 fos.write(fileString.getBytes());
|
/dalvik/libcore/sql/src/main/java/java/sql/ |
H A D | ResultSet.java | 464 public byte[] getBytes(int columnIndex) throws SQLException; method in interface:ResultSet 476 public byte[] getBytes(String columnName) throws SQLException; method in interface:ResultSet
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
H A D | URLConnectionTest.java | 593 byte[] ba = new byte[testString.getBytes().length]; 603 BufferedReader r = new BufferedReader(new InputStreamReader(i),testString.getBytes().length); 646 BufferedReader r = new BufferedReader(new InputStreamReader(helloWorld2),testString.getBytes().length); 733 assertEquals(testString.getBytes().length, 1346 .getOutputStream()), posted.getBytes().length); 1673 String encodedString = new String(header.getBytes(), encoding); 1674 InputStream is = new ByteArrayInputStream(encodedString.getBytes()); 1943 fileURLCon.getInputStream()), testString.getBytes().length); 2034 BufferedWriter out = new BufferedWriter(fstream, testString.getBytes().length);
|
/dalvik/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
H A D | HttpsURLConnectionTest.java | 1248 .getBytes()); 1260 os.write(respAuthenticationRequired.getBytes()); 1289 os.write(plainResponse.getBytes()); 1327 .getBytes()); 1374 connection.getOutputStream().write(clientsData.getBytes());
|
/dalvik/libcore/nio/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | SinkChannelTest.java | 82 buffer = ByteBuffer.wrap("bytes".getBytes(ISO8859_1)); 83 positionedBuffer = ByteBuffer.wrap("12345bytes".getBytes(ISO8859_1)); 153 final byte[] strbytes = "bytes".getBytes(ISO8859_1);
|
H A D | FileLockTest.java | 280 raf.write("file lock test".getBytes());
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/provider/cert/ |
H A D | X509CertFactoryImpl.java | 468 pemBegin = "-----BEGIN".getBytes("UTF-8"); //$NON-NLS-1$ //$NON-NLS-2$ 469 pemClose = "-----END".getBytes("UTF-8"); //$NON-NLS-1$ //$NON-NLS-2$ 470 CERT_BOUND_SUFFIX = " CERTIFICATE-----".getBytes("UTF-8"); //$NON-NLS-1$ //$NON-NLS-2$
|
/dalvik/libcore/security/src/main/java/org/apache/harmony/security/x509/ |
H A D | GeneralName.java | 587 byte[] bytes = dns.toLowerCase().getBytes("UTF-8"); //$NON-NLS-1$ 645 byte[] bytes = oid.getBytes("UTF-8"); //$NON-NLS-1$ 699 byte[] ip_bytes = ip.getBytes("UTF-8"); //$NON-NLS-1$
|
/dalvik/libcore/security/src/test/java/tests/api/javax/security/cert/ |
H A D | X509CertificateTest.java | 146 .getBytes()); 154 .generateCertificate(new ByteArrayInputStream(selfSignedCert.getBytes())); 161 selfSignedCert.getBytes()));
|
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/ |
H A D | SSLSessionTest.java | 769 ostream.write(testData.getBytes()); 834 ostream.write(testData.getBytes()); 870 byte[] bytes = new Base64().decode(keys.getBytes());
|
H A D | HandshakeCompletedEventTest.java | 180 ByteArrayInputStream bis = new ByteArrayInputStream(certificate.getBytes()); 669 byte[] bytes = new Base64().decode(keys.getBytes());
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
H A D | PlainSocketImpl.java | 506 getOutputStream().write(request.getBytes(), 0, request.getLength()); 516 int count = getInputStream().read(reply.getBytes(), bytesRead,
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/jce/ |
H A D | PKCS10CertificationRequest.java | 346 X509EncodedKeySpec xspec = new X509EncodedKeySpec(new DERBitString(subjectPKInfo).getBytes()); 430 return sig.verify(sigBits.getBytes());
|
/dalvik/libcore/security/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | Identity2Test.java | 162 .getBytes()); 181 .getBytes());
|
/dalvik/libcore/security/src/test/java/tests/security/cert/ |
H A D | CertificateTest.java | 256 assertTrue(Arrays.equals(TestUtils.rootCert.getBytes(),cert.getEncoded())); 258 byte[] b = TestUtils.rootCert.getBytes();
|
H A D | X509CRLTest.java | 81 .getBytes());
|
/dalvik/libcore/archive/src/main/java/java/util/jar/ |
H A D | Attributes.java | 209 byte[] getBytes() { method in class:Attributes.Name
|
H A D | Manifest.java | 382 byte[] out = name.getBytes();
|
/dalvik/libcore/luni/src/test/java/tests/api/java/lang/ |
H A D | ProcessManagerTest.java | 53 out.write(greeting.getBytes());
|
/dalvik/libcore/nio_char/src/test/java/tests/api/java/nio/charset/ |
H A D | CharsetTest.java | 1043 .getBytes("iso8859-1"))); 1045 cb = c1.decode(ByteBuffer.wrap("".getBytes("iso8859-1"))); 1061 .getBytes("iso8859-1"))); 1098 c.decode(ByteBuffer.wrap("hehe".getBytes()));
|
/dalvik/libcore/security/src/main/java/org/bouncycastle/asn1/util/ |
H A D | ASN1Dump.java | 229 return indent + "DER Bit String" + "[" + ((DERBitString)obj).getBytes().length + ", " + ((DERBitString)obj).getPadBits() + "] " + System.getProperty("line.separator");
|
/dalvik/libcore/security/src/test/java/tests/api/java/security/ |
H A D | PermissionCollectionTest.java | 138 fileOut.write(towrite.toString().getBytes());
|
/dalvik/libcore/security/src/test/java/tests/targets/security/ |
H A D | KeyStoreTest.java | 151 encodedCertificate.getBytes()));
|
/dalvik/libcore/sql/src/main/java/SQLite/JDBC2y/ |
H A D | JDBCResultSet.java | 451 public byte[] getBytes(int columnIndex) throws SQLException { method in class:JDBCResultSet 464 public byte[] getBytes(String columnName) throws SQLException { method in class:JDBCResultSet 466 return getBytes(col); 500 ret = getBytes(columnIndex);
|
/dalvik/libcore/xml/src/test/java/org/apache/harmony/xml/ |
H A D | ExpatParserTest.java | 108 parse(new ByteArrayInputStream(SNIPPET.getBytes()), 169 parser.setInput(new ByteArrayInputStream(SNIPPET.getBytes()), 682 new ByteArrayInputStream("bob".getBytes("utf-8"))); 764 out.write(response.getBytes("UTF-8"));
|