Home
last modified time | relevance | path

Searched refs:getInputStream (Results 1 – 25 of 60) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/net/
DLocalSocketTest.java49 assertEquals(42, ls1.getInputStream().read()); in testBasic()
62 assertEquals(42, ls1.getInputStream().read()); in testBasic()
71 assertEquals(1, ls.getInputStream().read()); in testBasic()
72 assertEquals(4, ls.getInputStream().available()); in testBasic()
77 countRead = ls.getInputStream().read(buffer, 1, 15); in testBasic()
87 ls.getInputStream().read(buffer, 1, 16); in testBasic()
115 ls.getInputStream().read(buffer, -1, 15); in testBasic()
122 ls.getInputStream().read(buffer, 0, -1); in testBasic()
130 countRead = ls1.getInputStream().read(buffer, 0, 0); in testBasic()
132 assertEquals(42, ls1.getInputStream().read()); in testBasic()
[all …]
DSSLTest.java37 InputStream in = ssl.getInputStream(); in testCertificate()
/frameworks/base/core/tests/coretests/src/android/net/http/
DHttpResponseCacheTest.java121 assertEquals('A', c1.getInputStream().read()); in testStatisticsTracking()
127 assertEquals('A', c2.getInputStream().read()); in testStatisticsTracking()
130 assertEquals('A', c3.getInputStream().read()); in testStatisticsTracking()
/frameworks/base/tests/CoreTests/android/core/
DSocketTest.java79 assertEquals(0xa5, s1.getInputStream().read()); in testSocketSimple()
82 assertEquals(0x5a, s.getInputStream().read()); in testSocketSimple()
123 sock.getInputStream().read(); in testSetReuseAddress()
DSSLSocketTest.java98 DataInputStream input = new DataInputStream(socket.getInputStream()); in fetch()
345 InputStream stream = socket.getInputStream(); in testMultithreadedClose()
346 socket.getInputStream().read(buffer); in testMultithreadedClose()
672 InputStream stream = clientSocket.getInputStream(); in run()
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/forwarder/
DAdbUtils.java60 DataInputStream dis = new DataInputStream(localSocket.getInputStream()); in resolve()
117 if(!sendAdbCmd(socket.getInputStream(), socket.getOutputStream(), cmd)) { in getForwardedSocket()
DForwarder.java92 InputStream is = in.getInputStream(); in run()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DDropBoxTest.java104 assertEquals("TEST", new String(buf, 0, e.getInputStream().read(buf)));
160 assertEquals("FILE1", new String(buf1, 0, e1.getInputStream().read(buf1)));
164 assertEquals("DATA2", new String(buf2, 0, e2.getInputStream().read(buf2)));
168 assertEquals("DATA3", new String(buf3, 0, e3.getInputStream().read(buf3)));
630 assertEquals(null, e.getInputStream()); in testDropBoxEntrySerialization()
639 new BufferedReader(new InputStreamReader(e.getInputStream())).readLine()); in testDropBoxEntrySerialization()
655 new BufferedReader(new InputStreamReader(e.getInputStream())).readLine()); in testDropBoxEntrySerialization()
663 assertEquals(null, e.getInputStream()); in testDropBoxEntrySerialization()
679 new BufferedReader(new InputStreamReader(e.getInputStream())).readLine()); in testDropBoxEntrySerialization()
687 assertEquals(null, e.getInputStream()); in testDropBoxEntrySerialization()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DMemoryFileTest.java88 InputStream is = file.getInputStream(); in testRun()
128 InputStream is = file.getInputStream(); in readIndexOutOfBoundsException()
173 InputStream is = file.getInputStream(); in testReadEOF()
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/forwarder/
DConnectionHandler.java105 mFromSocketInputStream = mFromSocket.getInputStream(); in ConnectionHandler()
106 mToSocketInputStream = mToSocket.getInputStream(); in ConnectionHandler()
/frameworks/base/core/java/android/net/
DLocalSocket.java150 public InputStream getInputStream() throws IOException { in getInputStream() method in LocalSocket
152 return impl.getInputStream(); in getInputStream()
DLocalSocketImpl.java288 protected InputStream getInputStream() throws IOException in getInputStream() method in LocalSocketImpl
332 return getInputStream().available(); in available()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java198 as.mSocketIS = as.mSocket.getInputStream(); in acceptSocket()
253 public InputStream getInputStream() throws IOException { in getInputStream() method in BluetoothSocket
315 mSocketIS = mSocket.getInputStream(); in connect()
365 mSocketIS = mSocket.getInputStream(); in bindListen()
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
DBandwidthEnforcementTestService.java100 new InputStreamReader(conn.getInputStream())); in testUrlConnection()
124 new InputStreamReader(conn.getInputStream())); in testUrlConnectionv6()
/frameworks/base/core/java/android/webkit/
DPluginData.java93 public InputStream getInputStream() { in getInputStream() method in PluginData
DCacheManager.java198 public InputStream getInputStream() { in getInputStream() method in CacheManager.CacheResult
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DSerializedFrame.java113 public final DirectByteInputStream getInputStream() { in getInputStream() method in SerializedFrame.DirectByteOutputStream
272 InputStream inputStream = mByteOutputStream.getInputStream(); in deserializeObjectValue()
/frameworks/base/core/java/android/os/
DDropBoxManager.java193 is = getInputStream(); in getText()
210 public InputStream getInputStream() throws IOException { in getInputStream() method in DropBoxManager.Entry
DMemoryFile.java169 public InputStream getInputStream() { in getInputStream() method in MemoryFile
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
DMediaTestUtil.java94 InputStream in = p.getInputStream(); in captureMemInfo()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DBandwidthTestUtil.java101 InputStream is = ucon.getInputStream(); in DownloadFromUrl()
/frameworks/support/volley/src/com/android/volley/toolbox/
DHurlStack.java121 inputStream = connection.getInputStream(); in entityFromConnection()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java302 InputStream inStream = p.getInputStream(); in writeProcmemInfo()
321 InputStream in = p.getInputStream(); in captureMediaserverInfo()
/frameworks/base/test-runner/src/junit/runner/
DTestCaseClassLoader.java173 stream= zipFile.getInputStream(entry); in loadJarData()
/frameworks/base/docs/html/training/basics/network-ops/
Dconnecting.jd206 by calling {@code getInputStream()}.
212 established, the app uses the method <code>getInputStream()</code> to retrieve
236 is = conn.getInputStream();

123