Home
last modified time | relevance | path

Searched refs:socketFactory (Results 1 – 25 of 71) sorted by relevance

123

/external/apache-http/src/org/apache/http/conn/scheme/
DScheme.java68 private final SocketFactory socketFactory; field in Scheme
110 this.socketFactory = factory; in Scheme()
134 return socketFactory; in getSocketFactory()
208 socketFactory.equals(s.socketFactory) in equals()
224 hash = LangUtils.hashCode(hash, this.socketFactory); in hashCode()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DAddressTest.java30 private SocketFactory socketFactory = SocketFactory.getDefault(); field in AddressTest
37 Address a = new Address("square.com", 80, dns, socketFactory, null, null, null, in equalsAndHashcode()
39 Address b = new Address("square.com", 80, dns, socketFactory, null, null, null, in equalsAndHashcode()
46 Address a = new Address("square.com", 80, dns, socketFactory, null, null, null, in differentProxySelectorsAreDifferent()
48 Address b = new Address("square.com", 80, dns, socketFactory, null, null, null, in differentProxySelectorsAreDifferent()
/external/okhttp/repackaged/android/src/main/java/com/android/okhttp/internalandroidapi/
DHttpURLConnectionFactory.java108 public URLConnection openConnection(URL url, SocketFactory socketFactory) throws IOException { in openConnection() argument
109 Objects.requireNonNull(socketFactory); in openConnection()
110 return internalOpenConnection(url, socketFactory, null /* proxy */); in openConnection()
119 public URLConnection openConnection(URL url, SocketFactory socketFactory, Proxy proxy) in openConnection() argument
121 Objects.requireNonNull(socketFactory); in openConnection()
123 return internalOpenConnection(url, socketFactory, proxy); in openConnection()
/external/okhttp/android/src/main/java/com/android/okhttp/internalandroidapi/
DHttpURLConnectionFactory.java106 public URLConnection openConnection(URL url, SocketFactory socketFactory) throws IOException { in openConnection() argument
107 Objects.requireNonNull(socketFactory); in openConnection()
108 return internalOpenConnection(url, socketFactory, null /* proxy */); in openConnection()
117 public URLConnection openConnection(URL url, SocketFactory socketFactory, Proxy proxy) in openConnection() argument
119 Objects.requireNonNull(socketFactory); in openConnection()
121 return internalOpenConnection(url, socketFactory, proxy); in openConnection()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DAddress.java41 final SocketFactory socketFactory; field in Address
51 public Address(String uriHost, int uriPort, Dns dns, SocketFactory socketFactory, in Address() argument
64 if (socketFactory == null) throw new IllegalArgumentException("socketFactory == null"); in Address()
65 this.socketFactory = socketFactory; in Address()
121 return socketFactory; in getSocketFactory()
DOkHttpClient.java134 private SocketFactory socketFactory; field in OkHttpClient
165 this.socketFactory = okHttpClient.socketFactory; in OkHttpClient()
330 public OkHttpClient setSocketFactory(SocketFactory socketFactory) { in setSocketFactory() argument
331 this.socketFactory = socketFactory; in setSocketFactory()
336 return socketFactory; in getSocketFactory()
587 if (result.socketFactory == null) { in copyWithDefaults()
588 result.socketFactory = SocketFactory.getDefault(); in copyWithDefaults()
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
DAddress.java43 final SocketFactory socketFactory; field in Address
53 public Address(String uriHost, int uriPort, Dns dns, SocketFactory socketFactory, in Address() argument
66 if (socketFactory == null) throw new IllegalArgumentException("socketFactory == null"); in Address()
67 this.socketFactory = socketFactory; in Address()
123 return socketFactory; in getSocketFactory()
DOkHttpClient.java137 private SocketFactory socketFactory; field in OkHttpClient
171 this.socketFactory = okHttpClient.socketFactory; in OkHttpClient()
339 public OkHttpClient setSocketFactory(SocketFactory socketFactory) { in setSocketFactory() argument
340 this.socketFactory = socketFactory; in setSocketFactory()
345 return socketFactory; in getSocketFactory()
601 if (result.socketFactory == null) { in copyWithDefaults()
602 result.socketFactory = SocketFactory.getDefault(); in copyWithDefaults()
/external/conscrypt/benchmark-base/src/main/java/org/conscrypt/
DServerEndpoint.java65 private final SSLSocketFactory socketFactory; field in ServerEndpoint
78 ServerEndpoint(SSLSocketFactory socketFactory, SSLServerSocketFactory serverSocketFactory, in ServerEndpoint() argument
82 this.socketFactory = socketFactory; in ServerEndpoint()
135 socket = channelType.accept(serverSocket, socketFactory); in run()
/external/conscrypt/repackaged/benchmark-base/src/main/java/com/android/org/conscrypt/
DServerEndpoint.java68 private final SSLSocketFactory socketFactory; field in ServerEndpoint
81 ServerEndpoint(SSLSocketFactory socketFactory, SSLServerSocketFactory serverSocketFactory, in ServerEndpoint() argument
85 this.socketFactory = socketFactory; in ServerEndpoint()
138 socket = channelType.accept(serverSocket, socketFactory); in run()
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java114 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
145 session.socketFactory = stubSocketFactory; in testSetClientHost()
157 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
213 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
245 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData_NumBytes()
256 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData_NumBytes_AskForMoreBytesThanThereAre()
270 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
342 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
144 session.socketFactory = stubSocketFactory; in testSetClientHost()
156 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
212 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
244 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData_NumBytes()
255 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData_NumBytes_AskForMoreBytesThanThereAre()
269 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
341 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java114 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
145 session.socketFactory = stubSocketFactory; in testSetClientHost()
157 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
213 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
245 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData_NumBytes()
256 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData_NumBytes_AskForMoreBytesThanThereAre()
270 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
342 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java114 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
145 session.socketFactory = stubSocketFactory; in testSetClientHost()
157 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
213 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
245 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData_NumBytes()
256 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData_NumBytes_AskForMoreBytesThanThereAre()
270 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
342 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
144 session.socketFactory = stubSocketFactory; in testSetClientHost()
156 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
212 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
242 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
314 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
144 session.socketFactory = stubSocketFactory; in testSetClientHost()
156 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
212 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
242 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
314 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
144 session.socketFactory = stubSocketFactory; in testSetClientHost()
156 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
212 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
242 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
314 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
144 session.socketFactory = stubSocketFactory; in testSetClientHost()
156 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
212 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
242 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
314 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
144 session.socketFactory = stubSocketFactory; in testSetClientHost()
156 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
212 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
242 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
314 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
144 session.socketFactory = stubSocketFactory; in testSetClientHost()
156 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
212 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
242 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
314 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
144 session.socketFactory = stubSocketFactory; in testSetClientHost()
156 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
212 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
242 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
314 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
144 session.socketFactory = stubSocketFactory; in testSetClientHost()
156 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
212 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
242 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
314 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
144 session.socketFactory = stubSocketFactory; in testSetClientHost()
156 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
212 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
242 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
314 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
144 session.socketFactory = stubSocketFactory; in testSetClientHost()
156 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
212 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
242 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
314 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
144 session.socketFactory = stubSocketFactory; in testSetClientHost()
156 session.socketFactory = stubSocketFactory; in testOpenDataConnection()
212 session.socketFactory = new StubSocketFactory(stubSocket); in testReadData()
242 session.socketFactory = new StubSocketFactory(stubSocket); in testCloseDataConnection()
314 session.socketFactory = new StubSocketFactory(stubSocket); in testSendData()

123