Home
last modified time | relevance | path

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

1234567891011

/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/oboe/apps/OboeTester/app/src/main/cpp/
DFullDuplexEcho.cpp21 int32_t delayFrames = (int32_t) (kMaxDelayTimeSeconds * getOutputStream()->getSampleRate()); in start()
38 memset(outputFloat, 0, numOutputFrames * getOutputStream()->getBytesPerFrame()); in onBothStreamsReady()
41 int32_t outputStride = getOutputStream()->getChannelCount(); in onBothStreamsReady()
42 float delayFrames = mDelayTimeSeconds * getOutputStream()->getSampleRate(); in onBothStreamsReady()
DFullDuplexStream.cpp113 int32_t bufferSize = getOutputStream()->getBufferCapacityInFrames() in start()
114 * getOutputStream()->getChannelCount(); in start()
123 return getOutputStream()->requestStart(); in start()
127 getOutputStream()->requestStop(); // TODO result? in stop()
DFullDuplexAnalyzer.cpp21 getLoopbackProcessor()->setSampleRate(getOutputStream()->getSampleRate()); in start()
33 int32_t outputStride = getOutputStream()->getChannelCount(); in onBothStreamsReady()
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DTcpConnectionTest.java54 .getOutputStream(); in testInvalidHeader()
67 .getOutputStream(); in testInvalidContent()
82 .getOutputStream(); in testRemoteClose()
111 .getOutputStream(); in testLocalClose()
138 mockConnection.getSocketB().getOutputStream()); in testRemoteDump()
166 new RemoteControlWriter(mockConnection.getSocketB().getOutputStream()); in testLocalDump()
223 mockConnection.getSocketB().getOutputStream()); in testRemoteReset()
DMockSocketConnectionTest.java116 a.getOutputStream(); in testGetOutputStreamOnClosedSocket()
121 final OutputStream out = a.getOutputStream(); in testWriteOnClosedSocket()
129 final OutputStream out = b.getOutputStream(); in testContents()
152 final OutputStream out = b.getOutputStream(); in testWaitForContents()
DTcpServerOutputTest.java80 new ExecutionDataWriter(serverSocket.connect().getOutputStream()); in testShutdownWithConnection()
92 socket.getOutputStream()); in testWriteExecutionData()
122 final OutputStream out = socket.getOutputStream(); in testInvalidHeader()
/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()
DLZMA2Encoder.java47 public FinishableOutputStream getOutputStream(FinishableOutputStream out, in getOutputStream() method in LZMA2Encoder
49 return options.getOutputStream(out, arrayCache); in getOutputStream()
/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()
DSupport_URLConnector.java60 public OutputStream getOutputStream() throws IOException { in getOutputStream() method in Support_URLConnector
67 return instance.getOutputStream(); 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/caliper/caliper/src/main/java/com/google/caliper/bridge/
DOpenedSocket.java58 ObjectOutputStream output = new ObjectOutputStream(getOutputStream(socket)); in fromSocket()
133 private static OutputStream getOutputStream(final Socket socket) throws IOException { in getOutputStream() method in OpenedSocket
134 final OutputStream delegate = socket.getOutputStream(); in getOutputStream()

1234567891011