Home
last modified time | relevance | path

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

12345678910>>...19

/external/oboe/include/oboe/
DFullDuplexStream.h80 AudioStream *getInputStream() { in getInputStream() function
140 oboe::Result result = getInputStream()->requestStart(); in start()
158 if (getInputStream()) { in stop()
176 return getInputStream()->read(mInputBuffer.get(), numFrames, 0 /* timeout */); in readInput()
244 ResultWithValue<int32_t> resultAvailable = getInputStream()->getAvailableFrames(); in onAudioReady()
258 ResultWithValue<int32_t> resultAvailable = getInputStream()->getAvailableFrames(); in onAudioReady()
281 getInputStream()->requestStop(); in onAudioReady()
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DMockSocketConnectionTest.java84 a.getInputStream(); in testGetInputStreamOnClosedSocket()
89 final InputStream in = a.getInputStream(); in testReadOnClosedSocket()
96 final InputStream in = a.getInputStream(); in testReadOnClosedSocketAsync()
129 final InputStream in = a.getInputStream(); in testContents()
152 final InputStream in = a.getInputStream(); in testWaitForContents()
169 final InputStream in = a.getInputStream(); in testCloseOtherSocket()
175 final InputStream in = a.getInputStream(); in testCloseOtherSocketAsync()
/external/mockwebserver/src/test/java/com/google/mockwebserver/
DMockWebServerTest.java113 InputStream in = connection.getInputStream(); in testRegularResponse()
132 InputStream in = connection.getInputStream(); in testRedirect()
160 InputStream in = connection.getInputStream(); in testDispatchBlocksWaitingForEnqueue()
173 InputStream in = connection.getInputStream(); in testNonHexadecimalChunkSize()
192 InputStream in = urlConnection.getInputStream(); in testResponseTimeout()
203 InputStream in2 = urlConnection2.getInputStream(); in testResponseTimeout()
219 server.getUrl("/a").openConnection().getInputStream(); in testDisconnectAtStart()
223 server.getUrl("/b").openConnection().getInputStream(); // Should succeed. in testDisconnectAtStart()
231 InputStream in = server.getUrl("/").openConnection().getInputStream(); in testStreamingResponseBody()
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
DMockWebServerTest.java89 InputStream in = connection.getInputStream(); in regularResponse()
107 InputStream in = connection.getInputStream(); in redirect()
133 InputStream in = connection.getInputStream(); in dispatchBlocksWaitingForEnqueue()
145 InputStream in = connection.getInputStream(); in nonHexadecimalChunkSize()
162 InputStream in = urlConnection.getInputStream(); in responseTimeout()
173 InputStream in2 = urlConnection2.getInputStream(); in responseTimeout()
188 server.getUrl("/a").openConnection().getInputStream(); in disconnectAtStart()
191 server.getUrl("/b").openConnection().getInputStream(); // Should succeed. in disconnectAtStart()
206 InputStream in = connection.getInputStream(); in throttleRequest()
226 InputStream in = connection.getInputStream();
[all …]
/external/oboe/apps/OboeTester/app/src/main/cpp/
DFullDuplexStreamWithConversion.cpp23 int32_t inputBufferSize = maxFrames * getInputStream()->getChannelCount(); in start()
26 getInputStream()->getFormat(), in start()
35 oboe::ResultWithValue<int32_t> result = getInputStream()->read( in readInput()
40 int32_t numSamples = result.value() * getInputStream()->getChannelCount(); in readInput()
/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()
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZipFileTest.java183 i = zf.getInputStream(ze); in testReadingOfStoredEntry()
272 assertNotNull(zf.getInputStream(ze)); in testDuplicateEntry()
277 assertNotNull(zf.getInputStream(entry)); in testDuplicateEntry()
302 IOUtils.toByteArray(zf.getInputStream(test))); in testUnshrinking()
310 IOUtils.toByteArray(zf.getInputStream(test))); in testUnshrinking()
328 IOUtils.toByteArray(zf.getInputStream(ze))); in testReadingOfFirstStoredEntry()
339 assertArrayEquals(expected, IOUtils.toByteArray(zf.getInputStream(ze))); in testUnzipBZip2CompressedEntry()
353 content.put(entry.getName(), IOUtils.toByteArray(zf.getInputStream(entry))); in testConcurrentReadSeekable()
383 content.put(entry.getName(), IOUtils.toByteArray(zf.getInputStream(entry))); in testConcurrentReadFile()
514 try (InputStream stream = zf.getInputStream(inflatedEntry)) { in testEntryAlignment()
[all …]
/external/apache-commons-io/src/main/java/org/apache/commons/io/build/
DAbstractOrigin.java80 public InputStream getInputStream(final OpenOption... options) throws IOException { in getInputStream() method in AbstractOrigin.ByteArrayOrigin
86 return new InputStreamReader(getInputStream(), charset); in getReader()
123 public InputStream getInputStream(final OpenOption... options) throws IOException { in getInputStream() method in AbstractOrigin.CharSequenceOrigin
132 return new InputStreamReader(getInputStream(), charset); in getReader()
202 public InputStream getInputStream(final OpenOption... options) { in getInputStream() method in AbstractOrigin.InputStreamOrigin
209 return new InputStreamReader(getInputStream(), charset); in getReader()
309 public InputStream getInputStream(final OpenOption... options) throws IOException { in getInputStream() method in AbstractOrigin.ReaderOrigin
464 public InputStream getInputStream(final OpenOption... options) throws IOException { in getInputStream() method in AbstractOrigin
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParserTest.java92 TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_MPD_LIVE)); in parseMediaPresentationDescription()
95 TestUtil.getInputStream( in parseMediaPresentationDescription()
105 TestUtil.getInputStream( in parseMediaPresentationDescription_segmentTemplate()
135 TestUtil.getInputStream( in parseMediaPresentationDescription_eventStream()
201 TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_MPD_LIVE)); in parseMediaPresentationDescription_programInformation()
214 TestUtil.getInputStream( in parseMediaPresentationDescription_locationRedirectRelative()
227 TestUtil.getInputStream( in parseMediaPresentationDescription_locationRedirectAbsolute()
240 TestUtil.getInputStream( in parseMediaPresentationDescription_images()
257 TestUtil.getInputStream( in parseMediaPresentationDescription_labels()
272 TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_MPD_TEXT)); in parseMediaPresentationDescription_text()
[all …]
/external/apache-xml/test/java/src/org/apache/qetest/trax/stream/
DStreamSourceAPITest.java151 …reporter.checkObject(defaultStream.getInputStream(), null, "Default StreamSource should have null … in testCase1()
159 …reporter.checkObject(byteSource1.getInputStream(), bais, "StreamSource(is) has ByteStream " + byte… in testCase1()
165 …rter.checkObject(byteSource2.getInputStream(), bais, "StreamSource(is, sysID) has ByteStream " + b… in testCase1()
172 …reporter.checkObject(readerSource1.getInputStream(), null, "StreamSource(reader) should have null … in testCase1()
178 …reporter.checkObject(readerSource2.getInputStream(), null, "StreamSource(reader, sysID) should hav… in testCase1()
184 …reporter.checkObject(sysIDStream.getInputStream(), null, "StreamSource(sysID) should have null Byt… in testCase1()
191 InputStream gotStream = wackyStream.getInputStream(); in testCase1()
/external/xz-java/src/org/tukaani/xz/
DFilterOptions.java90 public InputStream getInputStream(InputStream in) throws IOException { in getInputStream() method in FilterOptions
91 return getInputStream(in, ArrayCache.getDefaultCache()); in getInputStream()
98 public abstract InputStream getInputStream( in getInputStream() method in FilterOptions
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DURLConnectionTest.java246 connection.getInputStream().close(); in responseHeaders()
339 connection.getInputStream().close(); in getErrorStreamOnSuccessfulRequest()
362 c1.getInputStream().close(); in bug2939()
363 c2.getInputStream().close(); in bug2939()
528 conn.getInputStream(); in getResponseCodeNoResponseBody()
613 readAscii(connection2.getInputStream(), Integer.MAX_VALUE); in connectViaHttpsReusingConnectionsDifferentFactories()
702 connection.getInputStream(); in connectViaHttpsToUntrustedServer()
748 readAscii(client.open(server.getUrl("/")).getInputStream(), 5); in contentDisagreesWithContentLengthHeaderBodyTooShort()
825 readAscii(client.open(server.getUrl("/")).getInputStream(), 5); in contentDisagreesWithChunkedHeaderBodyTooShort()
1043 InputStream in = connection.getInputStream(); in disconnectedConnection()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/smoothstreaming/src/test/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/
DSsManifestParserTest.java40 TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_ISMC_1)); in parseSmoothStreamingManifest()
43 TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_ISMC_2)); in parseSmoothStreamingManifest()
52 TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_ISMC_1)); in parse_populatesFormatLabelWithStreamIndexName()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/smoothstreaming/src/test/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/
DSsManifestParserTest.java40 TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_ISMC_1)); in parseSmoothStreamingManifest()
43 TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_ISMC_2)); in parseSmoothStreamingManifest()
52 TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_ISMC_1)); in parse_populatesFormatLabelWithStreamIndexName()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParserTest.java84 TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_MPD_LIVE)); in parseMediaPresentationDescription()
87 TestUtil.getInputStream( in parseMediaPresentationDescription()
97 TestUtil.getInputStream( in parseMediaPresentationDescription_segmentTemplate()
127 TestUtil.getInputStream( in parseMediaPresentationDescription_eventStream()
193 TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_MPD_LIVE)); in parseMediaPresentationDescription_programInformation()
206 TestUtil.getInputStream( in parseMediaPresentationDescription_images()
223 TestUtil.getInputStream( in parseMediaPresentationDescription_labels()
238 TestUtil.getInputStream(ApplicationProvider.getApplicationContext(), SAMPLE_MPD_TEXT)); in parseMediaPresentationDescription_text()
278 TestUtil.getInputStream( in parseMediaPresentationDescription_trickPlay()
503 TestUtil.getInputStream( in parsePeriodAssetIdentifier()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/changes/
DChangeSetPerformer.java157 copyStream(entryIterator.getInputStream(), out, entry); in perform()
237 InputStream getInputStream() throws IOException; in getInputStream() method
256 public InputStream getInputStream() { in getInputStream() method in ChangeSetPerformer.ArchiveInputStreamIterator
280 public InputStream getInputStream() throws IOException { in getInputStream() method in ChangeSetPerformer.ZipFileIterator
281 return in.getInputStream(current); in getInputStream()
/external/apache-commons-bcel/src/main/java/org/apache/bcel/util/
DClassPath.java91 public InputStream getInputStream() throws IOException { in getClassFile() method in ClassPath.AbstractZip
92 return zipFile.getInputStream(entry); in getClassFile()
126 return entry != null ? zipFile.getInputStream(entry) : null; in getResourceAsStream()
155 InputStream getInputStream() throws IOException;
198 public InputStream getInputStream() throws IOException {
294 public InputStream getInputStream() throws IOException {
629 try (InputStream inputStream = getInputStream(name, suffix)) {
696 public InputStream getInputStream(final String name) throws IOException {
697 return getInputStream(packageToFolder(name), ".class");
709 public InputStream getInputStream(final String name, final String suffix) throws IOException {
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DHttpOverSpdyTest.java115 assertEquals(-1, connection.getInputStream().read()); in emptyResponse()
188 assertEquals("ABC", readAscii(connection1.getInputStream(), 3)); in spdyConnectionReuse()
189 assertEquals("GHI", readAscii(connection2.getInputStream(), 3)); in spdyConnectionReuse()
190 assertEquals("DEF", readAscii(connection1.getInputStream(), 3)); in spdyConnectionReuse()
191 assertEquals("JKL", readAscii(connection2.getInputStream(), 3)); in spdyConnectionReuse()
223 assertEquals("Successful auth!", readAscii(connection.getInputStream(), Integer.MAX_VALUE)); in authenticate()
252 InputStream in = connection.getInputStream(); in readAfterLastByte()
303 readAscii(connection.getInputStream(), Integer.MAX_VALUE); in readTimeoutOnSlowConnection()
363 InputStream in1 = connection1.getInputStream(); in responseCachedWithoutConsumingFullBody()
368 InputStream in2 = connection2.getInputStream(); in responseCachedWithoutConsumingFullBody()
[all …]
/external/downloader/src/main/java/com/google/android/downloader/
DPlatformUrlEngine.java206 Channels.newChannel(urlConnection.getInputStream())) { in readResponseBody()
235 urlConnection.getInputStream().close(); in close()
262 InputStream inputStream = getInputStream(httpUrlConnection);
285 private static InputStream getInputStream(HttpURLConnection httpURLConnection) {
287 return httpURLConnection.getInputStream();
/external/robolectric/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowImageDecoder.java51 InputStream inputStream = getInputStream(); in ImgStream()
64 protected abstract InputStream getInputStream(); in getInputStream() method in ShadowImageDecoder.ImgStream
150 protected InputStream getInputStream() { in ImageDecoder_nCreateInputStream()
165 protected InputStream getInputStream() {
184 protected InputStream getInputStream() {
197 protected InputStream getInputStream() {
220 final InputStream stream = imgStream.getInputStream();
/external/javassist/src/main/javassist/
DURLClassPath.java86 return con.getInputStream(); in openClassfile()
110 InputStream is = con.getInputStream(); in find()
138 InputStream s = con.getInputStream(); in fetchClass()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DProxyTest.java77 DataInputStream clientIn = new DataInputStream(client.getInputStream()); in smallLatency()
110 DataInputStream clientIn = new DataInputStream(client.getInputStream()); in bigLatency()
143 DataInputStream clientIn = new DataInputStream(client.getInputStream()); in smallBandwidth()
170 DataInputStream clientIn = new DataInputStream(client.getInputStream()); in largeBandwidth()
223 InputStream serverIn = rcv.getInputStream(); in handleSocket()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_HttpSocket.java38 public InputStream getInputStream() throws IOException { in getInputStream() method in Support_HttpSocket
40 return instance.getInputStream(); in getInputStream()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DRecipientOperator.java25 public InputStream getInputStream(InputStream dataIn) in getInputStream() method in RecipientOperator
29 return ((InputDecryptor)operator).getInputStream(dataIn); in getInputStream()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/instr/
DInstrumenter.java194 instrument(detector.getInputStream(), output, name); in instrumentAll()
197 return instrumentZip(detector.getInputStream(), output, name); in instrumentAll()
199 return instrumentGzip(detector.getInputStream(), output, name); in instrumentAll()
201 return instrumentPack200(detector.getInputStream(), output, name); in instrumentAll()
203 copy(detector.getInputStream(), output, name); in instrumentAll()

12345678910>>...19