Home
last modified time | relevance | path

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

123456

/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/jar/
DJarFileTest.java263 InputStream is = jarFile.getInputStream(entry); in testGetJarEntry()
290 InputStream is = jarFile.getInputStream(jarFile.getEntry(JAR1_ENTRY1)); in testGetManifest()
361 is = jf.getInputStream(new JarEntry("invalid")); in testGetInputStream()
364 is = jf.getInputStream(jf.getEntry(JAR1_ENTRY1)); in testGetInputStream()
387 InputStream in = jar.getInputStream(entry); in testInputStreamOperations()
393 in = jar.getInputStream(entry); in testInputStreamOperations()
403 in = jar.getInputStream(entry); in testInputStreamOperations()
440 jarFile.getInputStream(zipEntry); in testJar14()
453 jarFile.getInputStream(zipEntry).skip(Long.MAX_VALUE); in testJarVerification()
467 jarFile.getInputStream(zipEntry).skip(Long.MAX_VALUE); in testJarVerificationModifiedEntry()
[all …]
DJarInputStreamTest.java60 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_ConstructorLjava_io_InputStream()
99 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_getNextJarEntry_Ex()
136 InputStream is = new URL(jarName2).openConnection().getInputStream(); in test_getManifest()
141 is = new URL(jarName).openConnection().getInputStream(); in test_getManifest()
154 InputStream is = new URL(jarName).openConnection().getInputStream(); in test_getNextJarEntry()
168 .getInputStream(); in test_JarInputStream_Integrate_Jar_getNextEntry()
184 .getInputStream(); in test_JarInputStream_Modified_Class_getNextEntry()
211 .getInputStream(); in test_JarInputStream_Modified_Manifest_MainAttributes_getNextEntry()
232 .getInputStream(); in test_JarInputStream_Modified_Manifest_EntryAttributes_getNextEntry()
259 .getInputStream(); in test_JarInputStream_Modified_SF_EntryAttributes_getNextEntry()
[all …]
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_HttpTests.java74 is = connector.getInputStream(); in runTests()
94 is = connector.getInputStream(); in runTests()
150 is = connector.getInputStream(); in runTests()
176 is = connector.getInputStream(); in runTests()
205 is = connector.getInputStream(); in runTests()
235 is = connector.getInputStream(); in runTests()
264 is = connector.getInputStream(); in runTests()
293 is = connector.getInputStream(); in runTests()
333 is = connector.getInputStream(); in runTests()
384 is = connector.getInputStream(); in runTests()
[all …]
DSupport_HttpSocket.java38 public InputStream getInputStream() throws IOException { in getInputStream() method in Support_HttpSocket
40 return instance.getInputStream(); in getInputStream()
DSupport_URLConnector.java52 public InputStream getInputStream() throws IOException { in getInputStream() method in Support_URLConnector
57 return instance.getInputStream(); in getInputStream()
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
DZipFileTest.java140 zfile.getInputStream(zfile.getEntry("ztest/file1.txt")); in test_close()
188 in = zfile.getInputStream(zentry); in test_getEntryLjava_lang_String()
197 in = zfile.getInputStream(zentry); in test_getEntryLjava_lang_String()
206 in = zfile.getInputStream(zentry); in test_getEntryLjava_lang_String()
236 is = zfile.getInputStream(zentry); in test_getInputStreamLjava_util_zip_ZipEntry()
275 InputStream is = zfile.getInputStream(zentry); in test_reset()
294 is = zfile.getInputStream(zentry2); in test_reset()
304 is = zfile.getInputStream(zentry2); in test_reset()
321 InputStream is = zfile.getInputStream(zentry); in test_reset_subtest0()
342 is = zfile.getInputStream(zentry2); in test_reset_subtest0()
DGZIPInputStreamTest.java65 .openConnection().getInputStream()); in test_ConstructorLjava_io_InputStream()
89 .openConnection().getInputStream(), 200); in test_ConstructorLjava_io_InputStreamI()
98 .openConnection().getInputStream(), 0); in test_ConstructorLjava_io_InputStreamI()
108 .openConnection().getInputStream(), 200); in test_ConstructorLjava_io_InputStreamI()
137 .openConnection().getInputStream()); in test_read$BII()
256 .openConnection().getInputStream()); in test_close()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DExcludedProxyTest.java52 conn1.getInputStream(); in test_usingProxy()
59 conn3.getInputStream(); in test_usingProxy()
79 InputStream is2 = conn2.getInputStream(); in test_usingProxy()
102 InputStream is = conn4.getInputStream(); in test_usingProxy()
128 s.getInputStream(); in test_Constructor()
145 s.getInputStream(); in test_Constructor()
181 InputStream is = conn.getInputStream(); in test_openConnectionLjava_net_Proxy()
DJarURLConnectionTest.java161 InputStream in = connection.getInputStream(); in test_setUseCaches()
174 connection.getInputStream(); in test_setUseCaches()
226 InputStream is = conn.getInputStream(); in test_getInputStream_DeleteJarFileUsingURLConnection()
257 InputStream is =juc.getInputStream(); in test_getCertificates()
/external/mockwebserver/src/test/java/com/google/mockwebserver/
DMockWebServerTest.java49 InputStream in = connection.getInputStream(); in testRegularResponse()
68 InputStream in = connection.getInputStream(); in testRedirect()
86 InputStream in = connection.getInputStream(); in testNonHexadecimalChunkSize()
105 InputStream in = urlConnection.getInputStream(); in testResponseTimeout()
116 InputStream in2 = urlConnection2.getInputStream(); in testResponseTimeout()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/
DFileURLConnectionTest.java58 assertNotNull(conn.getInputStream()); in testGetInputStream()
64 assertNotNull(conn.getInputStream()); in testGetInputStream()
72 assertNotNull(conn.getInputStream()); in testHeaderFunctions()
78 assertNotNull(conn.getInputStream()); in testHeaderFunctions()
/external/okhttp/src/test/java/com/squareup/okhttp/internal/spdy/
DHttpOverSpdyTest.java111 assertEquals(-1, connection.getInputStream().read()); in emptyResponse()
136 assertEquals("ABC", readAscii(connection1.getInputStream(), 3)); in spdyConnectionReuse()
137 assertEquals("GHI", readAscii(connection2.getInputStream(), 3)); in spdyConnectionReuse()
138 assertEquals("DEF", readAscii(connection1.getInputStream(), 3)); in spdyConnectionReuse()
139 assertEquals("JKL", readAscii(connection2.getInputStream(), 3)); in spdyConnectionReuse()
160 assertEquals("Successful auth!", readAscii(connection.getInputStream(), Integer.MAX_VALUE)); in authenticate()
191 InputStream in = connection.getInputStream(); in readAfterLastByte()
243 assertEquals(expected, readAscii(connection.getInputStream(), limit)); in assertContent()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/modifiers/
DModifierHelper.java142 Structure action = pAction.fetchData(blenderContext.getInputStream()).get(0); in readAnimationModifier249()
147 Structure ipoStructure = pChannelIpo.fetchData(blenderContext.getInputStream()).get(0); in readAnimationModifier249()
157 Structure ipoStructure = pIpo.fetchData(blenderContext.getInputStream()).get(0); in readAnimationModifier249()
183 Structure animData = pAnimData.fetchData(blenderContext.getInputStream()).get(0); in readAnimationModifier250()
186 Structure actionStructure = pAction.fetchData(blenderContext.getInputStream()).get(0); in readAnimationModifier250()
DArmatureModifier.java86 …(Pointer) objectStructure.getFieldValue("data")).fetchData(blenderContext.getInputStream()).get(0); in ArmatureModifier()
98 Structure armatureObject = pArmatureObject.fetchData(blenderContext.getInputStream()).get(0); in ArmatureModifier()
101 …((Pointer) armatureObject.getFieldValue("data")).fetchData(blenderContext.getInputStream()).get(0); in ArmatureModifier()
103 …((Pointer) armatureObject.getFieldValue("pose")).fetchData(blenderContext.getInputStream()).get(0); in ArmatureModifier()
281 …List<Structure> dverts = pDvert.fetchData(blenderContext.getInputStream());// dverts.size() == ver… in getBoneWeightAndIndexBuffer()
291 List<Structure> dw = pDW.fetchData(blenderContext.getInputStream()); in getBoneWeightAndIndexBuffer()
/external/javassist/src/main/javassist/
DURLClassPath.java80 return con.getInputStream(); in openClassfile()
104 InputStream is = con.getInputStream(); in find()
137 InputStream s = con.getInputStream(); in fetchClass()
/external/okhttp/src/test/java/com/squareup/okhttp/internal/http/
DURLConnectionTest.java499 conn.getInputStream(); in getResponseCodeNoResponseBody()
558 readAscii(connection2.getInputStream(), Integer.MAX_VALUE); in connectViaHttpsReusingConnectionsDifferentFactories()
592 connection.getInputStream(); in connectViaHttpsToUntrustedServer()
875 InputStream in = connection.getInputStream(); in disconnectedConnection()
938 InputStream in = client.open(server.getUrl("/")).getInputStream(); in testMarkAndReset()
982 readAscii(connection.getInputStream(), Integer.MAX_VALUE); in nonHexChunkSize()
997 readAscii(connection.getInputStream(), Integer.MAX_VALUE); in missingChunkBody()
1014 assertEquals("ABCABCABC", readAscii(connection.getInputStream(), Integer.MAX_VALUE)); in gzipEncodingEnabledByDefault()
1031 InputStream gunzippedIn = new GZIPInputStream(connection.getInputStream()); in clientConfiguredGzipContentEncoding()
1061 assertEquals("ABCDE", readAscii(connection.getInputStream(), Integer.MAX_VALUE)); in clientConfiguredCustomContentEncoding()
[all …]
/external/proguard/src/proguard/io/
DRenamedDataEntry.java59 public InputStream getInputStream() throws IOException in getInputStream() method in RenamedDataEntry
61 return dataEntry.getInputStream(); in getInputStream()
/external/smack/src/org/jivesoftware/smackx/bytestreams/socks5/
DSocks5BytestreamSession.java68 public InputStream getInputStream() throws IOException { in getInputStream() method in Socks5BytestreamSession
69 return this.socket.getInputStream(); in getInputStream()
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
DUrlAssetInfo.java27 InputStream in = conn.getInputStream(); in create()
59 return conn.getInputStream(); in openStream()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/animations/
DIpoHelper.java60 List<Structure> bezTriples = pBezTriple.fetchData(blenderContext.getInputStream()); in fromIpoStructure()
92 List<Structure> bezTriples = pBezTriple.fetchData(blenderContext.getInputStream()); in fromAction()
114 BlenderInputStream bis = blenderContext.getInputStream(); in getCurveType()
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixSocketTest.java52 InputStream in = worker.getInputStream(); in test_getInputStream()
58 InputStream clientIn = pingClient.getInputStream(); in test_getInputStream()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
DFileBlockHeader.java111 blenderContext.getInputStream().setPosition(blockPosition); in getStructure()
113 structure.fill(blenderContext.getInputStream()); in getStructure()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/constraints/
DConstraintHelper.java84 List<Structure> actions = pActions.fetchData(blenderContext.getInputStream()); in loadConstraints()
96 …Ipo ipo = ipoHelper.fromIpoStructure(pIpo.fetchData(blenderContext.getInputStream()).get(0), blend… in loadConstraints()
109 …List<Structure> poseChannels = ((Structure) pPose.fetchData(blenderContext.getInputStream()).get(0… in loadConstraints()
192 Structure data = pData.fetchData(blenderContext.getInputStream()).get(0); in getConstraintClassName()
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DDrawableTest.java52 assertThat(shadowOf(drawable).getInputStream(), equalTo((InputStream) byteInputStream)); in testCreateFromStream_shouldSetTheInputStreamOnTheReturnedDrawable()
133 assertThat(shadowOf(drawable).getInputStream(), equalTo((InputStream) byteInputStream)); in testCreateFromResourceStream_shouldSetTheInputStreamOnTheReturnedDrawable()
154 assertThat(shadowOf(drawable).getInputStream(), equalTo((InputStream) byteInputStream)); in testCreateFromResourceStreamWithOptions_shouldSetTheInputStreamOnTheReturnedDrawable()
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/
DCommonToken.java79 input = oldToken.getInputStream(); in CommonToken()
167 public CharStream getInputStream() { in getInputStream() method in CommonToken

123456