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

/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DURLConnectionTest.java302 private void testRequestBodySurvivesRetries(TransferKind transferKind) throws Exception { argument
313 transferKind.setForRequest(connection, 4);
1072 private void testMarkAndReset(TransferKind transferKind) throws IOException { argument
1074 transferKind.setBody(response, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 1024);
1237 private void testClientConfiguredGzipContentEncodingAndConnectionReuse(TransferKind transferKind, argument
1249 transferKind.setBody(responseOne, gzip("one (gzipped)"), 5);
1252 transferKind.setBody(responseTwo, "two (identity)", 5);
1307 private void testEarlyDisconnectDoesntHarmPooling(TransferKind transferKind) throws Exception { argument
1309 transferKind.setBody(response1, "ABCDEFGHIJK", 1024);
1313 transferKind
1817 testRedirected(TransferKind transferKind, boolean reuse) argument
2026 testResponseRedirectedWithPost(int redirectCode, TransferKind transferKind) argument
2400 testFlushAfterStreamTransmitted(TransferKind transferKind) argument
2624 testInputStreamAvailable(TransferKind transferKind) argument
2663 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);
499 private void testServerPrematureDisconnect(TransferKind transferKind) throws IOException { argument
501 transferKind.setBody(mockResponse, "ABCDE\nFGHIJKLMNOPQRSTUVWXYZ", 16);
536 private void testClientPrematureDisconnect(TransferKind transferKind) throws IOException { argument
540 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 129 milliseconds