Searched defs:transferKind (Results 1 - 2 of 2) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java924 private void testMarkAndReset(TransferKind transferKind) throws IOException { argument
926 transferKind.setBody(response, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 1024);
1065 TransferKind transferKind) throws Exception {
1068 transferKind.setBody(responseOne, gzip("one (gzipped)".getBytes("UTF-8")), 5);
1071 transferKind.setBody(responseTwo, "two (identity)", 5);
1444 private void testRedirected(TransferKind transferKind, boolean reuse) throws Exception { argument
1448 transferKind.setBody(response, "This page has moved!", 10);
1798 private void testFlushAfterStreamTransmitted(TransferKind transferKind) throws IOException { argument
1806 if (transferKind == TransferKind.CHUNKED) {
1808 } else if (transferKind
1064 testClientConfiguredGzipContentEncodingAndConnectionReuse( TransferKind transferKind) argument
2150 testInputStreamAvailable(TransferKind transferKind) argument
[all...]
/libcore/luni/src/test/java/libcore/net/http/
H A DHttpResponseCacheTest.java261 private void testResponseCaching(TransferKind transferKind) throws IOException { argument
266 transferKind.setBody(response, "I love puppies but hate spiders", 1);
468 private void testServerPrematureDisconnect(TransferKind transferKind) throws IOException { argument
470 transferKind.setBody(response, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 16);
506 private void testClientPrematureDisconnect(TransferKind transferKind) throws IOException { argument
508 transferKind.setBody(response, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 1024);

Completed in 32 milliseconds