/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | DeepStubbingTest.java | 88 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/ |
D | ParentDataEntryWriter.java | 52 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()
|
D | CascadingDataEntryWriter.java | 65 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()
|
D | FilteredDataEntryWriter.java | 90 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()
|
D | JarWriter.java | 108 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()
|
D | DirectoryWriter.java | 78 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
|
D | DataEntryWriter.java | 51 public OutputStream getOutputStream(DataEntry dataEntry) throws IOException; in getOutputStream() method 65 public OutputStream getOutputStream(DataEntry dataEntry, in getOutputStream() method
|
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/ |
D | TcpConnectionTest.java | 55 .getOutputStream(); in testInvalidHeader() 68 .getOutputStream(); in testInvalidContent() 83 .getOutputStream(); in testRemoteClose() 131 .getOutputStream(); in testLocalClose() 157 mockConnection.getSocketB().getOutputStream()); in testRemoteDump() 184 new RemoteControlWriter(mockConnection.getSocketB().getOutputStream()); in testLocalDump() 240 mockConnection.getSocketB().getOutputStream()); in testRemoteReset()
|
D | MockSocketConnectionTest.java | 116 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()
|
D | TcpServerOutputTest.java | 81 new ExecutionDataWriter(serverSocket.connect().getOutputStream()); in testShutdownWithConnection() 93 socket.getOutputStream()); in testWriteExecutionData() 123 final OutputStream out = socket.getOutputStream(); in testInvalidHeader()
|
D | MockServerSocketTest.java | 106 connect().getOutputStream().write(123); in testAccept() 127 serverSocket.accept().getOutputStream().write(42); in testConnect()
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_HttpServer.java | 304 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()
|
D | Support_HttpSocket.java | 43 public OutputStream getOutputStream() throws IOException { in getOutputStream() method in Support_HttpSocket 45 return instance.getOutputStream(); in getOutputStream()
|
D | Support_URLConnector.java | 60 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/ |
D | ExcludedProxyTest.java | 74 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/ |
D | UnixSocketTest.java | 50 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/ |
D | SignerInfoGenerator.java | 160 … return new TeeOutputStream(digester.getOutputStream(), signer.getOutputStream()); in getCalculatingOutputStream() 162 return digester.getOutputStream(); in getCalculatingOutputStream() 166 return signer.getOutputStream(); in getCalculatingOutputStream() 200 OutputStream sOut = signer.getOutputStream(); in generate()
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
D | DeltaEncoder.java | 33 public FinishableOutputStream getOutputStream(FinishableOutputStream out) { in getOutputStream() method in DeltaEncoder 34 return options.getOutputStream(out); in getOutputStream()
|
D | BCJEncoder.java | 45 public FinishableOutputStream getOutputStream(FinishableOutputStream out) { in getOutputStream() method in BCJEncoder 46 return options.getOutputStream(out); in getOutputStream()
|
D | LZMA2Encoder.java | 47 public FinishableOutputStream getOutputStream(FinishableOutputStream out) { in getOutputStream() method in LZMA2Encoder 48 return options.getOutputStream(out); in getOutputStream()
|
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
D | OpenedSocket.java | 58 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()
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
D | IOHandler.java | 206 OutputStream outputStream = clientSock.getOutputStream(); 212 OutputStream outputStream = clientSock.getOutputStream(); 280 OutputStream outputStream = clientSock.getOutputStream(); 286 OutputStream outputStream = clientSock.getOutputStream();
|
/external/apache-xml/src/main/java/org/apache/xalan/transformer/ |
D | SerializerSwitcher.java | 99 OutputStream os = oldSerializer.getOutputStream(); in switchSerializerIfHTML() 189 OutputStream os = serializer.getOutputStream(); in switchSerializerIfHTML()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 126 connection.getOutputStream().write(postBytes); in noDefaultContentLengthOnStreamingPost() 141 connection.getOutputStream().write(postBytes); in userSuppliedContentLengthHeader() 156 connection.getOutputStream().write(postBytes); // push bytes into SpdyDataOutputStream.buffer in closeAfterFlush() 157 connection.getOutputStream().flush(); // FramedConnection.writeData subject to write window in closeAfterFlush() 158 connection.getOutputStream().close(); // FramedConnection.writeData empty frame in closeAfterFlush() 173 connection.getOutputStream().write(postBytes); in setFixedLengthStreamingModeSetsContentLength()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/ |
D | CertificateID.java | 133 OutputStream dgOut = digCalc.getOutputStream(); in createCertID() 142 dgOut = digCalc.getOutputStream(); in createCertID()
|