/frameworks/base/core/tests/coretests/src/android/net/ |
D | LocalSocketTest.java | 61 assertEquals(42, ls1.getInputStream().read()); in testBasic() 74 assertEquals(42, ls1.getInputStream().read()); in testBasic() 83 assertEquals(1, ls.getInputStream().read()); in testBasic() 84 assertEquals(4, ls.getInputStream().available()); in testBasic() 89 countRead = ls.getInputStream().read(buffer, 1, 15); in testBasic() 99 ls.getInputStream().read(buffer, 1, 16); in testBasic() 127 ls.getInputStream().read(buffer, -1, 15); in testBasic() 134 ls.getInputStream().read(buffer, 0, -1); in testBasic() 142 countRead = ls1.getInputStream().read(buffer, 0, 0); in testBasic() 144 assertEquals(42, ls1.getInputStream().read()); in testBasic() [all …]
|
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/ |
D | TestUtils.java | 40 s.getInputStream(); in assertConnectionFails() 49 s.getInputStream(); in assertConnectionSucceeds() 58 connection.getInputStream(); in assertUrlConnectionFails() 70 connection.getInputStream(); in assertUrlConnectionSucceeds()
|
/frameworks/layoutlib/remote/server/src/com/android/layoutlib/bridge/remote/server/adapters/ |
D | RemoteAssetRepositoryAdapter.java | 42 return StreamUtil.getInputStream(mDelgate.openAsset(path, mode)); in openAsset() 48 return StreamUtil.getInputStream(mDelgate.openNonAsset(cookie, path, mode)); in openNonAsset()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MemoryFileTest.java | 90 InputStream is = file.getInputStream(); in testRun() 130 InputStream is = file.getInputStream(); in readIndexOutOfBoundsException() 175 InputStream is = file.getInputStream(); in testReadEOF()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | AmbientBrightnessStatsTrackerTest.java | 222 statsTracker.readStats(getInputStream(statsFile)); in testReadAmbientBrightnessStats() 249 statsTracker.readStats(getInputStream(statsFile)); in testFailedReadAmbientBrightnessStatsWithException() 271 statsTracker.readStats(getInputStream(statsFile)); in testFailedReadAmbientBrightnessStatsWithException() 285 statsTracker.readStats(getInputStream(statsFile)); in testFailedReadAmbientBrightnessStatsWithException() 441 private InputStream getInputStream(String data) { in getInputStream() method in AmbientBrightnessStatsTrackerTest
|
/frameworks/base/core/java/android/net/ |
D | LocalSocket.java | 190 public InputStream getInputStream() throws IOException { in getInputStream() method in LocalSocket 192 return impl.getInputStream(); in getInputStream()
|
D | LocalSocketImpl.java | 316 protected InputStream getInputStream() throws IOException in getInputStream() method in LocalSocketImpl 360 return getInputStream().available(); in available()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | DropBoxTest.java | 147 assertEquals("TEST", new String(buf, 0, e.getInputStream().read(buf))); 206 assertEquals("FILE1", new String(buf1, 0, e1.getInputStream().read(buf1))); 210 assertEquals("DATA2", new String(buf2, 0, e2.getInputStream().read(buf2))); 214 assertEquals("DATA3", new String(buf3, 0, e3.getInputStream().read(buf3))); 251 assertEquals("test", new String(Streams.readFully(entry.getInputStream()))); in testAddEntry_Success() 742 assertEquals(null, e.getInputStream()); in testDropBoxEntrySerialization() 751 new BufferedReader(new InputStreamReader(e.getInputStream())).readLine()); in testDropBoxEntrySerialization() 767 new BufferedReader(new InputStreamReader(e.getInputStream())).readLine()); in testDropBoxEntrySerialization() 775 assertEquals(null, e.getInputStream()); in testDropBoxEntrySerialization() 791 new BufferedReader(new InputStreamReader(e.getInputStream())).readLine()); in testDropBoxEntrySerialization() [all …]
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
D | ProxyServer.java | 72 String requestLine = getLine(connection.getInputStream()); in run() 254 while (getLine(socket.getInputStream()).length() != 0); in skipToRequestBody() 293 line = getLine(src.getInputStream()); in filterAndForwardRequestHeaders()
|
D | SocketConnect.java | 17 this.from = from.getInputStream(); in SocketConnect()
|
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/ |
D | BandwidthEnforcementTestService.java | 103 new InputStreamReader(conn.getInputStream())); in testUrlConnection() 127 new InputStreamReader(conn.getInputStream())); in testUrlConnectionv6()
|
/frameworks/base/core/java/android/webkit/ |
D | PluginData.java | 98 public InputStream getInputStream() { in getInputStream() method in PluginData
|
D | CacheManager.java | 218 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/multidex/library/test/src/androidx/multidex/ |
D | ZipUtilTest.java | 120 InputStream in = zip.getInputStream(refEntry); in testCrcValue() 150 InputStream in = zip.getInputStream(refEntry); in testInvalidCrcValue()
|
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/ |
D | Main.kt | 46 val reader = ClassReader(zipFile.getInputStream(entry)) in main()
|
/frameworks/layoutlib/remote/common/src/com/android/layout/remote/util/ |
D | StreamUtil.java | 31 public static InputStream getInputStream(@NotNull RemoteInputStream is) { in getInputStream() method in StreamUtil
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothSocket.java | 271 as.mSocketIS = as.mSocket.getInputStream(); in acceptSocket() 344 public InputStream getInputStream() throws IOException { in getInputStream() method in BluetoothSocket 412 mSocketIS = mSocket.getInputStream(); in connect() 472 mSocketIS = mSocket.getInputStream(); in bindListen()
|
/frameworks/base/core/java/android/os/ |
D | DropBoxManager.java | 234 is = getInputStream(); in getText() 251 public @Nullable InputStream getInputStream() throws IOException { in getInputStream() method in DropBoxManager.Entry
|
/frameworks/base/packages/DynamicSystemInstallationService/tests/src/com/android/dynsystem/ |
D | KeyRevocationListTest.java | 76 .when(mockConnection).getInputStream(); in testFromUrl()
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarFile.java | 207 public InputStream getInputStream(ZipEntry ze) { in getInputStream() method in StrictJarFile 302 metaEntries.put(entry.getName(), Streams.readFully(getInputStream(entry))); in getMetaEntries()
|
/frameworks/base/packages/DynamicSystemInstallationService/src/com/android/dynsystem/ |
D | KeyRevocationList.java | 134 try (InputStream stream = connection.getInputStream()) { in fromUrl()
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | Main.java | 80 BufferedInputStream bis = new BufferedInputStream(zipSrc.getInputStream(entry)); in main()
|
/frameworks/libs/service_entitlement/tests/utils/com/android/libraries/entitlement/testing/ |
D | FakeURLStreamHandler.java | 92 public InputStream getInputStream() throws IOException { in getInputStream() method in FakeURLStreamHandler.FakeHttpsURLConnection
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaTestUtil.java | 94 InputStream in = p.getInputStream(); in captureMemInfo()
|