Home
last modified time | relevance | path

Searched refs:readAsString (Results 1 – 2 of 2) sorted by relevance

/packages/modules/NetworkStack/src/com/android/server/connectivity/
DNetworkMonitor.java2477 final String content = readAsString(is, (int) contentLength, in sendHttpProbe()
2573 protected static String readAsString(InputStream is, int maxLength, Charset charset) in readAsString() method in NetworkMonitor
2710 apiContent = readAsString(conn.getInputStream(), in sendCapportApiProbe()
/packages/modules/NetworkStack/tests/unit/src/com/android/server/connectivity/
DNetworkMonitorTest.java2391 final String readString = NetworkMonitor.readAsString(new TestInputStream(),
2405 assertEquals(new String(content), wnm.readAsString(new ByteArrayInputStream(content),
2408 assertEquals(new String(content), wnm.readAsString(new ByteArrayInputStream(content),