Searched refs:transferKind (Results 1 - 4 of 4) sorted by relevance

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DURLConnectionTest.java299 private void testRequestBodySurvivesRetries(TransferKind transferKind) throws Exception { argument
310 transferKind.setForRequest(connection, 4);
1072 private void testMarkAndReset(TransferKind transferKind) throws IOException { argument
1074 transferKind.setBody(response, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 1024);
1230 private void testClientConfiguredGzipContentEncodingAndConnectionReuse(TransferKind transferKind, argument
1242 transferKind.setBody(responseOne, gzip("one (gzipped)"), 5);
1245 transferKind.setBody(responseTwo, "two (identity)", 5);
1300 private void testEarlyDisconnectDoesntHarmPooling(TransferKind transferKind) throws Exception { argument
1302 transferKind.setBody(response1, "ABCDEFGHIJK", 1024);
1306 transferKind
1807 testRedirected(TransferKind transferKind, boolean reuse) argument
2016 testResponseRedirectedWithPost(int redirectCode, TransferKind transferKind) argument
2390 testFlushAfterStreamTransmitted(TransferKind transferKind) argument
2607 testInputStreamAvailable(TransferKind transferKind) argument
2646 reusedConnectionFailsWithPost(TransferKind transferKind, int requestSize) argument
[all...]
H A DCacheTest.java210 private void testResponseCaching(TransferKind transferKind) throws IOException { argument
215 transferKind.setBody(mockResponse, "I love puppies but hate spiders", 1);
479 private void testServerPrematureDisconnect(TransferKind transferKind) throws IOException { argument
481 transferKind.setBody(mockResponse, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 16);
516 private void testClientPrematureDisconnect(TransferKind transferKind) throws IOException { argument
520 transferKind.setBody(mockResponse, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 1024);
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
H A DResponseCacheTest.java230 private void testResponseCaching(TransferKind transferKind) throws IOException { argument
235 transferKind.setBody(mockResponse, "I love puppies but hate spiders", 1);
470 private void testServerPrematureDisconnect(TransferKind transferKind) throws IOException { argument
472 transferKind.setBody(response, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 16);
504 private void testClientPrematureDisconnect(TransferKind transferKind) throws IOException { argument
508 transferKind.setBody(response, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 1024);
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
H A DUrlConnectionCacheTest.java214 private void testResponseCaching(TransferKind transferKind) throws IOException { argument
219 transferKind.setBody(response, "I love puppies but hate spiders", 1);
402 private void testServerPrematureDisconnect(TransferKind transferKind) throws IOException { argument
404 transferKind.setBody(response, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 16);
439 private void testClientPrematureDisconnect(TransferKind transferKind) throws IOException { argument
442 transferKind.setBody(response, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 1024);

Completed in 59 milliseconds