HomeSort by relevance Sort by last modified time
    Searched refs:readAscii (Results 1 - 4 of 4) sorted by null

  /external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
HttpResponseCacheTest.java 210 readAscii(conn);
272 assertEquals(body, readAscii(connection));
304 assertEquals("I love ", readAscii(urlConnection, "I love ".length()));
306 assertEquals("spiders", readAscii(urlConnection, "spiders".length()));
315 readAscii(urlConnection, "I love puppies but hate spiders".length()));
337 assertEquals("ABC", readAscii(connection));
349 assertEquals("ABC", readAscii(connection));
373 assertEquals("ABC", readAscii(connection1));
379 assertEquals("DEF", readAscii(connection2));
394 assertEquals("ABC", readAscii(connection))
    [all...]
URLConnectionTest.java 337 assertEquals("A", readAscii(connection.getErrorStream(), Integer.MAX_VALUE));
562 readAscii(connection2.getInputStream(), Integer.MAX_VALUE);
    [all...]
  /external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
HttpOverSpdyTest.java 138 assertEquals("ABC", readAscii(connection1.getInputStream(), 3));
139 assertEquals("GHI", readAscii(connection2.getInputStream(), 3));
140 assertEquals("DEF", readAscii(connection1.getInputStream(), 3));
141 assertEquals("JKL", readAscii(connection2.getInputStream(), 3));
162 assertEquals("Successful auth!", readAscii(connection.getInputStream(), Integer.MAX_VALUE));
194 assertEquals("ABC", readAscii(in, 3));
262 assertEquals(expected, readAscii(connection.getInputStream(), limit));
274 private String readAscii(InputStream in, int count) throws IOException {
  /libcore/luni/src/test/java/libcore/java/net/
URLConnectionTest.java 227 assertEquals("A", readAscii(connection.getErrorStream(), Integer.MAX_VALUE));
293 assertEquals("ABC", readAscii(connection1.getInputStream(), Integer.MAX_VALUE));
296 assertEquals("DEF", readAscii(connection2.getInputStream(), Integer.MAX_VALUE));
515 readAscii(connection.getInputStream(), Integer.MAX_VALUE);
    [all...]

Completed in 44 milliseconds