/frameworks/base/core/tests/coretests/src/android/net/ |
D | LocalSocketTest.java | 49 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 …]
|
D | SSLTest.java | 37 InputStream in = ssl.getInputStream(); in testCertificate()
|
/frameworks/base/core/tests/coretests/src/android/net/http/ |
D | HttpResponseCacheTest.java | 121 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/ |
D | SocketTest.java | 79 assertEquals(0xa5, s1.getInputStream().read()); in testSocketSimple() 82 assertEquals(0x5a, s.getInputStream().read()); in testSocketSimple() 123 sock.getInputStream().read(); in testSetReuseAddress()
|
D | SSLSocketTest.java | 98 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/core/tests/coretests/src/android/os/ |
D | MemoryFileTest.java | 88 InputStream is = file.getInputStream(); in testRun() 128 InputStream is = file.getInputStream(); in readIndexOutOfBoundsException() 173 InputStream is = file.getInputStream(); in testReadEOF()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | DropBoxTest.java | 104 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/packages/services/Proxy/src/com/android/proxyhandler/ |
D | ProxyServer.java | 67 String requestLine = getLine(connection.getInputStream()); in run() 125 while (getLine(connection.getInputStream()).length() != 0); in run() 142 while (getLine(connection.getInputStream()).length() != 0); in run()
|
D | SocketConnect.java | 17 this.from = from.getInputStream(); in SocketConnect()
|
/frameworks/base/core/java/android/net/ |
D | LocalSocket.java | 172 public InputStream getInputStream() throws IOException { in getInputStream() method in LocalSocket 174 return impl.getInputStream(); in getInputStream()
|
D | LocalSocketImpl.java | 341 protected InputStream getInputStream() throws IOException in getInputStream() method in LocalSocketImpl 385 return getInputStream().available(); in available()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothSocket.java | 195 as.mSocketIS = as.mSocket.getInputStream(); in acceptSocket() 250 public InputStream getInputStream() throws IOException { in getInputStream() method in BluetoothSocket 312 mSocketIS = mSocket.getInputStream(); in connect() 363 mSocketIS = mSocket.getInputStream(); in bindListen()
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
D | BandwidthEnforcementTestService.java | 100 new InputStreamReader(conn.getInputStream())); in testUrlConnection() 124 new InputStreamReader(conn.getInputStream())); in testUrlConnectionv6()
|
/frameworks/base/core/java/android/webkit/ |
D | PluginData.java | 93 public InputStream getInputStream() { in getInputStream() method in PluginData
|
D | CacheManager.java | 184 public InputStream getInputStream() { in getInputStream() method in CacheManager.CacheResult
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/ |
D | BluetoothMapRfcommTransport.java | 60 return mSocket.getInputStream(); in openInputStream()
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/ |
D | Utils.java | 55 InputStream inputStream = httpConnection.getInputStream(); in getBitmapFromURL()
|
/frameworks/opt/bluetooth/src/android/bluetooth/client/pbap/ |
D | BluetoothPbapObexTransport.java | 55 return mSocket.getInputStream(); in openInputStream()
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
D | SerializedFrame.java | 109 public final DirectByteInputStream getInputStream() { in getInputStream() method in SerializedFrame.DirectByteOutputStream 268 InputStream inputStream = mByteOutputStream.getInputStream(); in deserializeObjectValue()
|
/frameworks/multidex/library/test/src/android/support/multidex/ |
D | ZipUtilTest.java | 120 InputStream in = zip.getInputStream(refEntry); in testCrcValue() 150 InputStream in = zip.getInputStream(refEntry); in testInvalidCrcValue()
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 190 is = getInputStream(); in getText() 207 public InputStream getInputStream() throws IOException { in getInputStream() method in DropBoxManager.Entry
|
/frameworks/base/tests/MusicServiceDemo/src/com/example/android/musicservicedemo/browser/ |
D | MusicProvider.java | 136 is = new BufferedInputStream(urlConnection.getInputStream()); in parseUrl() 138 urlConnection.getInputStream(), "iso-8859-1"), 8); in parseUrl()
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | AsmGeneratorTest.java | 316 ClassReader cr = new ClassReader(zip.getInputStream(entry)); in parseZip() 320 filesFound.put(entry.getName(), zip.getInputStream(entry)); in parseZip()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaTestUtil.java | 94 InputStream in = p.getInputStream(); in captureMemInfo()
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | BandwidthTestUtil.java | 101 InputStream is = ucon.getInputStream(); in DownloadFromUrl()
|