Searched refs:getBytes (Results 1 - 25 of 156) sorted by last modified time
1234567
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
H A D | DefaultHostnameVerifierTest.java | 338 InputStream in = new ByteArrayInputStream(encoded.getBytes(Charsets.US_ASCII));
|
H A D | SSLSocketTest.java | 113 byte[] clientToServer = clientToServerString.getBytes(); 114 byte[] serverToClient = serverToClientString.getBytes();
|
/libcore/luni/src/test/java/libcore/net/http/ |
H A D | HttpResponseCacheTest.java | 882 .setBody(gzip("ABCABCABC".getBytes("UTF-8"))) 1846 setBody(response, content.getBytes("UTF-8"), chunkSize);
|
/libcore/luni/src/test/java/libcore/sqlite/ |
H A D | OldDatabaseTest.java | 724 byte[] encInputBytes = input.getBytes(charsetNames[i]); 741 assertEquals(new String(input.getBytes(),"US-ASCII"),encOutput2[0]);
|
H A D | OldFunctionContextTest.java | 274 fc.set_result(args[0].getBytes());
|
H A D | OldStmtTest.java | 338 byte[] b = name.getBytes(); 362 st.bind(1,name.getBytes());
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | DeclarationTest.java | 64 out.write(contents.getBytes("UTF-8"));
|
H A D | ExpatSaxParserTest.java | 117 parse(new ByteArrayInputStream(SNIPPET.getBytes()), 539 new ByteArrayInputStream("bob".getBytes("utf-8")));
|
H A D | NodeTest.java | 41 ByteArrayInputStream bis = new ByteArrayInputStream("<root/>".getBytes());
|
H A D | PullParserTest.java | 558 parser.setInput(new ByteArrayInputStream(snippet.getBytes()), "UTF-8"); 698 byte[] xml = "\ufeff<?xml version='1.0'?><input/>".getBytes("UTF-8"); 709 byte[] xml = "\ufeff<?xml version='1.0'?><input/>".getBytes("UTF-8");
|
H A D | SimpleParserTest.java | 215 new ByteArrayInputStream("test".getBytes())));
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/func/ |
H A D | CipherPBEThread.java | 38 byte[] input = getData().getBytes(); 58 checkEncodedData(getData().getBytes(), decrypted);
|
H A D | CipherRSAThread.java | 35 byte[] input = getData().substring(0, dataBlock).getBytes();
|
H A D | CipherSymmetricKeyThread.java | 37 byte[] input = getData().getBytes(); 71 checkEncodedData(getData().getBytes(), decrypted);
|
H A D | CipherWrapThread.java | 44 checkEncodedData(key.getFormat().getBytes(), decrypted.getFormat().getBytes());
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/ |
H A D | HttpURLConnectionTest.java | 100 .getBytes()); 113 "HTTP/1.1 200 OK\n\n").getBytes());
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
H A D | HttpsURLConnectionTest.java | 975 os.write(respAuthenticationRequired.getBytes()); 1000 os.write(proxyResponse.getBytes()); 1038 + " Message\r\n" + httpsResponseTail).getBytes()); 1085 connection.getOutputStream().write(clientsData.getBytes());
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/io/ |
H A D | ObjectInputStreamTest.java | 440 byte[] cName = C.class.getName().getBytes("UTF-8"); 441 byte[] aName = A.class.getName().getBytes("UTF-8");
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
H A D | URLConnectionTest.java | 346 byte[] ba = new byte[testString.getBytes().length]; 356 BufferedReader r = new BufferedReader(new InputStreamReader(i),testString.getBytes().length); 394 BufferedReader r = new BufferedReader(new InputStreamReader(helloWorld2),testString.getBytes().length); 471 assertEquals(testString.getBytes().length, fileURLCon.getContentLength()); 861 .getOutputStream()), posted.getBytes().length); 1072 String encodedString = new String(header.getBytes(), encoding); 1073 InputStream is = new ByteArrayInputStream(encodedString.getBytes()); 1262 fileURLCon.getInputStream()), testString.getBytes().length); 1324 BufferedWriter out = new BufferedWriter(fstream, testString.getBytes().length);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
H A D | DigestInputStream2Test.java | 227 "This is a test string for digesting".getBytes()); 229 "This is a test string for digesting".getBytes());
|
H A D | Identity2Test.java | 101 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate.getBytes()); 119 ByteArrayInputStream certArray2 = new ByteArrayInputStream(certificate2.getBytes());
|
H A D | KeyStore2Test.java | 93 ByteArrayInputStream certArray = new ByteArrayInputStream(certificate.getBytes()); 111 ByteArrayInputStream certArray2 = new ByteArrayInputStream(certificate2.getBytes()); 134 ByteArrayInputStream certArray3 = new ByteArrayInputStream(certificate3.getBytes());
|
H A D | KeyStore3Test.java | 72 certificateData.getBytes());
|
H A D | KeyStore4Test.java | 450 InputStream is = new ByteArrayInputStream("DATA".getBytes()); 466 keyStore.load(new ByteArrayInputStream("".getBytes()), password);
|
H A D | KeyStorePrivateKeyEntryTest.java | 56 certificateData.getBytes("UTF-8"));
|
Completed in 1297 milliseconds
1234567