Home
last modified time | relevance | path

Searched refs:getOutputStream (Results 1 – 25 of 291) sorted by relevance

12345678910>>...12

/external/mockito/src/test/java/org/mockitousage/stubbing/
DDeepStubbingTest.java88 when(socket.getOutputStream()).thenReturn(out); in simpleCase()
90 assertSame(out, socket.getOutputStream()); in simpleCase()
101 when(socketFactory.createSocket().getOutputStream()).thenReturn(out); in oneLevelDeep()
103 assertSame(out, socketFactory.createSocket().getOutputStream()); in oneLevelDeep()
115 when(sf1.createSocket().getOutputStream()).thenReturn(out1); in interactions()
118 when(sf2.createSocket().getOutputStream()).thenReturn(out2); in interactions()
120 assertSame(out1, sf1.createSocket().getOutputStream()); in interactions()
121 assertSame(out2, sf2.createSocket().getOutputStream()); in interactions()
134 when(sf.createSocket().getOutputStream()).thenReturn(out1); in withArguments()
135 when(sf.createSocket("google.com", 80).getOutputStream()).thenReturn(out2); in withArguments()
[all …]
/external/proguard/src/proguard/io/
DParentDataEntryWriter.java52 return getOutputStream(dataEntry) != null; in createDirectory()
56 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException in getOutputStream() method in ParentDataEntryWriter
58 return getOutputStream(dataEntry, null); in getOutputStream()
62 public OutputStream getOutputStream(DataEntry dataEntry, in getOutputStream() method in ParentDataEntryWriter
65 return dataEntryWriter.getOutputStream(dataEntry.getParent(), in getOutputStream()
DCascadingDataEntryWriter.java65 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException in getOutputStream() method in CascadingDataEntryWriter
67 return getOutputStream(dataEntry, null); in getOutputStream()
71 public OutputStream getOutputStream(DataEntry dataEntry, in getOutputStream() method in CascadingDataEntryWriter
76 dataEntryWriter1.getOutputStream(dataEntry, finisher); in getOutputStream()
82 dataEntryWriter2.getOutputStream(dataEntry, finisher); in getOutputStream()
DFilteredDataEntryWriter.java90 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException in getOutputStream() method in FilteredDataEntryWriter
92 return getOutputStream(dataEntry, null); in getOutputStream()
96 public OutputStream getOutputStream(DataEntry dataEntry, in getOutputStream() method in FilteredDataEntryWriter
106 dataEntryWriter.getOutputStream(dataEntry, finisher) : in getOutputStream()
DJarWriter.java108 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException in getOutputStream() method in JarWriter
110 return getOutputStream(dataEntry, null); in getOutputStream()
114 public OutputStream getOutputStream(DataEntry dataEntry, in getOutputStream() method in JarWriter
187 dataEntryWriter.getOutputStream(dataEntry.getParent(), this); in prepareEntry()
DDirectoryWriter.java78 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException in getOutputStream() method in DirectoryWriter
80 return getOutputStream(dataEntry, null); in getOutputStream()
84 public OutputStream getOutputStream(DataEntry dataEntry, in getOutputStream() method in DirectoryWriter
DDataEntryWriter.java51 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException; in getOutputStream() method
65 public OutputStream getOutputStream(DataEntry dataEntry, in getOutputStream() method
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/urlconnection/
DCronetBufferedOutputStreamTest.java63 connection.getOutputStream(); in testGetOutputStreamAfterConnectionMade()
84 OutputStream out = connection.getOutputStream(); in testWriteAfterConnect()
107 OutputStream out = connection.getOutputStream(); in testWriteAfterReadingResponse()
131 OutputStream out = connection.getOutputStream(); in testPostWithContentLength()
163 OutputStream out = connection.getOutputStream(); in testPostWithContentLengthOneMassiveWrite()
183 OutputStream out = connection.getOutputStream(); in testPostWithContentLengthWriteOneByte()
245 OutputStream out = connection.getOutputStream(); in testPostWithoutContentLengthSmall()
263 OutputStream out = connection.getOutputStream(); in testPostWithoutContentLength()
292 OutputStream out = connection.getOutputStream(); in testPostWithoutContentLengthOneMassiveWrite()
310 OutputStream out = connection.getOutputStream(); in testPostWithoutContentLengthWriteOneByte()
[all …]
DCronetChunkedOutputStreamTest.java74 connection.getOutputStream(); in testGetOutputStreamAfterConnectionMade()
90 OutputStream out = connection.getOutputStream(); in testWriteAfterReadingResponse()
109 OutputStream out = connection.getOutputStream(); in testWriteAfterRequestFailed()
141 OutputStream out = connection.getOutputStream(); in testGetResponseAfterWriteFailed()
183 OutputStream out = connection.getOutputStream(); in testPost()
200 OutputStream out = connection.getOutputStream(); in testTransferEncodingHeaderSet()
217 OutputStream out = connection.getOutputStream(); in testPostOneMassiveWrite()
235 OutputStream out = connection.getOutputStream(); in testPostWriteOneByte()
254 OutputStream out = connection.getOutputStream(); in testPostOneMassiveWriteWriteOneByte()
279 OutputStream out = connection.getOutputStream(); in testPostWholeNumberOfChunks()
[all …]
DCronetFixedModeOutputStreamTest.java79 OutputStream out = connection.getOutputStream(); in testConnectBeforeWrite()
98 OutputStream out = connection.getOutputStream(); in testZeroLengthWriteWithNoResponseBody()
115 OutputStream out = connection.getOutputStream(); in testWriteAfterRequestFailed()
148 OutputStream out = connection.getOutputStream(); in testGetResponseAfterWriteFailed()
220 OutputStream out = connection.getOutputStream(); in testWriteLessThanContentLength()
242 OutputStream out = connection.getOutputStream(); in testWriteMoreThanContentLength()
268 OutputStream out = connection.getOutputStream(); in testWriteMoreThanContentLengthWriteOneByte()
299 OutputStream out = connection.getOutputStream(); in testFixedLengthStreamingMode()
317 OutputStream out = connection.getOutputStream(); in testFixedLengthStreamingModeWriteOneByte()
340 OutputStream out = connection.getOutputStream(); in testFixedLengthStreamingModeLargeData()
[all …]
/external/oboe/apps/OboeTester/app/src/main/cpp/
DFullDuplexEcho.cpp21 int32_t delayFrames = (int32_t) (kMaxDelayTimeSeconds * getOutputStream()->getSampleRate()); in start()
36 * static_cast<size_t>(getOutputStream()->getBytesPerFrame())); in onBothStreamsReady()
39 int32_t outputStride = getOutputStream()->getChannelCount(); in onBothStreamsReady()
40 float delayFrames = mDelayTimeSeconds * getOutputStream()->getSampleRate(); in onBothStreamsReady()
DFullDuplexStream.cpp108 numFrames * getOutputStream()->getChannelCount()); in onAudioReady()
125 int32_t bufferSize = getOutputStream()->getBufferCapacityInFrames() in start()
126 * getOutputStream()->getChannelCount(); in start()
132 getOutputStream()->getFormat()); in start()
138 return getOutputStream()->requestStart(); in start()
142 getOutputStream()->requestStop(); // TODO result? in stop()
DFullDuplexAnalyzer.cpp21 getLoopbackProcessor()->setSampleRate(getOutputStream()->getSampleRate()); in start()
34 int32_t outputStride = getOutputStream()->getChannelCount(); in onBothStreamsReady()
41 int64_t framesWritten = getOutputStream()->getFramesWritten(); in onBothStreamsReady()
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DTcpConnectionTest.java55 .getOutputStream(); in testInvalidHeader()
68 .getOutputStream(); in testInvalidContent()
83 .getOutputStream(); in testRemoteClose()
112 .getOutputStream(); in testLocalClose()
139 mockConnection.getSocketB().getOutputStream()); in testRemoteDump()
167 new RemoteControlWriter(mockConnection.getSocketB().getOutputStream()); in testLocalDump()
224 mockConnection.getSocketB().getOutputStream()); in testRemoteReset()
DMockSocketConnectionTest.java117 a.getOutputStream(); in testGetOutputStreamOnClosedSocket()
122 final OutputStream out = a.getOutputStream(); in testWriteOnClosedSocket()
130 final OutputStream out = b.getOutputStream(); in testContents()
153 final OutputStream out = b.getOutputStream(); in testWaitForContents()
/external/apache-harmony/support/src/test/java/tests/support/
DSupport_HttpServer.java304 OutputStream os = socket.getOutputStream(); in contentTest()
320 OutputStream os = socket.getOutputStream(); in chunkedTest()
341 OutputStream os = socket.getOutputStream(); in authenticateTest()
376 OutputStream os = socket.getOutputStream(); in redirectTest()
394 OutputStream os = socket.getOutputStream(); in otherTest()
430 OutputStream os = socket.getOutputStream(); in headersTest()
473 OutputStream os = socket.getOutputStream(); in postTest()
487 OutputStream os = socket.getOutputStream(); in notFound()
DSupport_HttpSocket.java43 public OutputStream getOutputStream() throws IOException { in getOutputStream() method in Support_HttpSocket
45 return instance.getOutputStream(); in getOutputStream()
/external/xz-java/src/org/tukaani/xz/
DFilterOptions.java64 public FinishableOutputStream getOutputStream(FinishableOutputStream out) { in getOutputStream() method in FilterOptions
65 return getOutputStream(out, ArrayCache.getDefaultCache()); in getOutputStream()
76 public abstract FinishableOutputStream getOutputStream( in getOutputStream() method in FilterOptions
DDeltaEncoder.java33 public FinishableOutputStream getOutputStream(FinishableOutputStream out, in getOutputStream() method in DeltaEncoder
35 return options.getOutputStream(out, arrayCache); in getOutputStream()
DBCJEncoder.java45 public FinishableOutputStream getOutputStream(FinishableOutputStream out, in getOutputStream() method in BCJEncoder
47 return options.getOutputStream(out, arrayCache); in getOutputStream()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DExcludedProxyTest.java74 OutputStream out2 = conn2.getOutputStream(); in test_usingProxy()
98 OutputStream out = conn4.getOutputStream(); in test_usingProxy()
126 OutputStream os = s.getOutputStream(); in test_Constructor()
143 OutputStream os = s.getOutputStream(); in test_Constructor()
177 OutputStream out = conn.getOutputStream(); in test_openConnectionLjava_net_Proxy()
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/
DUnixSocketTest.java50 OutputStream clientOut = pingClient.getOutputStream(); in test_getInputStream()
55 OutputStream out = worker.getOutputStream(); in test_getInputStream()
111 OutputStream o = socket.getOutputStream(); in test_getOutputStream()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/
DSignerInfoGenerator.java162 … return new TeeOutputStream(digester.getOutputStream(), signer.getOutputStream()); in getCalculatingOutputStream()
164 return digester.getOutputStream(); in getCalculatingOutputStream()
168 return signer.getOutputStream(); in getCalculatingOutputStream()
202 OutputStream sOut = signer.getOutputStream(); in generate()
/external/grpc-grpc-java/interop-testing/src/test/java/io/grpc/testing/integration/
DProxyTest.java71 DataOutputStream clientOut = new DataOutputStream(client.getOutputStream()); in smallLatency()
101 DataOutputStream clientOut = new DataOutputStream(client.getOutputStream()); in bigLatency()
133 DataOutputStream clientOut = new DataOutputStream(client.getOutputStream()); in smallBandwidth()
157 DataOutputStream clientOut = new DataOutputStream(client.getOutputStream()); in largeBandwidth()
221 DataOutputStream serverOut = new DataOutputStream(rcv.getOutputStream());
/external/bouncycastle/repackaged_platform/bcpkix/src/main/java/com/android/internal/org/bouncycastle/cms/
DSignerInfoGenerator.java166 … return new TeeOutputStream(digester.getOutputStream(), signer.getOutputStream()); in getCalculatingOutputStream()
168 return digester.getOutputStream(); in getCalculatingOutputStream()
172 return signer.getOutputStream(); in getCalculatingOutputStream()
206 OutputStream sOut = signer.getOutputStream(); in generate()

12345678910>>...12