/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/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | TestUtils.java | 38 s.getInputStream(); in assertConnectionFails() 47 s.getInputStream(); in assertConnectionSucceeds() 56 connection.getInputStream(); in assertUrlConnectionFails() 68 connection.getInputStream(); in assertUrlConnectionSucceeds()
|
/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 | 108 assertEquals("TEST", new String(buf, 0, e.getInputStream().read(buf))); 164 assertEquals("FILE1", new String(buf1, 0, e1.getInputStream().read(buf1))); 168 assertEquals("DATA2", new String(buf2, 0, e2.getInputStream().read(buf2))); 172 assertEquals("DATA3", new String(buf3, 0, e3.getInputStream().read(buf3))); 632 assertEquals(null, e.getInputStream()); in testDropBoxEntrySerialization() 641 new BufferedReader(new InputStreamReader(e.getInputStream())).readLine()); in testDropBoxEntrySerialization() 657 new BufferedReader(new InputStreamReader(e.getInputStream())).readLine()); in testDropBoxEntrySerialization() 665 assertEquals(null, e.getInputStream()); in testDropBoxEntrySerialization() 681 new BufferedReader(new InputStreamReader(e.getInputStream())).readLine()); in testDropBoxEntrySerialization() 688 assertEquals(null, e.getInputStream()); in testDropBoxEntrySerialization() [all …]
|
/frameworks/base/core/java/android/net/ |
D | LocalSocket.java | 173 public InputStream getInputStream() throws IOException { in getInputStream() method in LocalSocket 175 return impl.getInputStream(); in getInputStream()
|
/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/packages/services/Proxy/src/com/android/proxyhandler/ |
D | ProxyServer.java | 73 String requestLine = getLine(connection.getInputStream()); in run() 255 while (getLine(socket.getInputStream()).length() != 0); in skipToRequestBody() 294 line = getLine(src.getInputStream()); in filterAndForwardRequestHeaders()
|
D | SocketConnect.java | 17 this.from = from.getInputStream(); in SocketConnect()
|
/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/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/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/map/ |
D | BluetoothMapRfcommTransport.java | 60 return mSocket.getInputStream(); in openInputStream()
|
/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/bluetooth/ |
D | BluetoothSocket.java | 247 as.mSocketIS = as.mSocket.getInputStream(); in acceptSocket() 308 public InputStream getInputStream() throws IOException { in getInputStream() method in BluetoothSocket 371 mSocketIS = mSocket.getInputStream(); in connect() 422 mSocketIS = mSocket.getInputStream(); in bindListen()
|
/frameworks/base/services/core/java/com/android/server/ |
D | RecoverySystemService.java | 115 dis = new DataInputStream(socket.getInputStream()); in uncrypt() 283 dis = new DataInputStream(socket.getInputStream()); in setupOrClearBcb()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | HTTPHandler.java | 54 mIn = new BufferedInputStream(mSocket.getInputStream()); in HTTPHandler() 136 mIn = new BufferedInputStream(mSocket.getInputStream()); in exchangeWithRetry()
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 195 is = getInputStream(); in getText() 212 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/support/compat/ics/android/support/v4/net/ |
D | DatagramSocketWrapper.java | 81 protected InputStream getInputStream() throws IOException { in getInputStream() method in DatagramSocketWrapper.DatagramSocketImplWrapper
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/ |
D | BitmapHelper.java | 72 is = new BufferedInputStream(urlConnection.getInputStream()); in fetchAndRescaleBitmap()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/model/ |
D | MusicProvider.java | 305 is = new BufferedInputStream(urlConnection.getInputStream()); in fetchJSONFromUrl() 307 urlConnection.getInputStream(), "iso-8859-1")); in fetchJSONFromUrl()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 178 public InputStream getInputStream(ZipEntry ze) { in getInputStream() method in StrictJarFile 259 metaEntries.put(entry.getName(), Streams.readFully(getInputStream(entry))); in getMetaEntries()
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | AsmGeneratorTest.java | 424 try (InputStream inputStream = zipFile.getInputStream(entry)) { in testMethodInjection() 463 ClassReader cr = new ClassReader(zip.getInputStream(entry)); in parseZip() 467 filesFound.put(entry.getName(), zip.getInputStream(entry)); in parseZip()
|