OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getSocketFactory
(Results
1 - 25
of
120
) sorted by null
1
2
3
4
5
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowSSLCertificateSocketFactory.java
19
return SSLSocketFactory.
getSocketFactory
();
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
TestUtils.java
37
Socket s = context.
getSocketFactory
().createSocket(host, port);
46
Socket s = context.
getSocketFactory
().createSocket(host, port);
54
connection.setSSLSocketFactory(context.
getSocketFactory
());
67
connection.setSSLSocketFactory(context.
getSocketFactory
());
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/serialization/
HandshakeCompletedEventTest.java
40
SSLSocket soc = (SSLSocket) cont.
getSocketFactory
().createSocket();
SSLSessionBindingEventTest.java
40
SSLSocket soc = (SSLSocket) cont.
getSocketFactory
().createSocket();
/external/apache-harmony/x-net/src/test/impl/java.injected/javax/net/ssl/
SSLSocketFactoryTest.java
56
customSocketFactory = context.
getSocketFactory
();
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
HttpsURLConnectionTest.java
141
connection.setSSLSocketFactory(ctx.
getSocketFactory
());
174
connection.setSSLSocketFactory(ctx.
getSocketFactory
());
201
SSLSocketFactory socketFactory = ctx.
getSocketFactory
();
261
SSLSocketFactory socketFactory = ctx.
getSocketFactory
();
335
connection.setSSLSocketFactory(getContext().
getSocketFactory
());
371
connection.setSSLSocketFactory(getContext().
getSocketFactory
());
411
connection.setSSLSocketFactory(getContext().
getSocketFactory
());
460
connection.setSSLSocketFactory(getContext().
getSocketFactory
());
494
connection.setSSLSocketFactory(getContext().
getSocketFactory
());
509
connection2.setSSLSocketFactory(getContext().
getSocketFactory
());
[
all
...]
/libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketTest.java
140
String[] cipherSuites = c.clientContext.
getSocketFactory
().getSupportedCipherSuites();
346
SSLSocket client = (SSLSocket) c.clientContext.
getSocketFactory
().createSocket(c.host,
405
final SSLSocket client1 = (SSLSocket) c.clientContext.
getSocketFactory
()
418
final SSLSocket client2 = (SSLSocket) c.clientContext.
getSocketFactory
()
440
SSLSocket client = (SSLSocket) c.clientContext.
getSocketFactory
().createSocket(c.host,
471
SSLSocket client = (SSLSocket) c.clientContext.
getSocketFactory
().createSocket(c.host,
502
clientContext.
getSocketFactory
().createSocket(c.host, c.port);
522
c.clientContext.
getSocketFactory
().createSocket(c.host, c.port);
645
c.clientContext.
getSocketFactory
().createSocket(c.host, c.port);
672
SSLSocket client = (SSLSocket) c.clientContext.
getSocketFactory
().createSocket(c.host
[
all
...]
SSLContextTest.java
161
StandardNames.assertSSLContextEnabledProtocols(tlsVersion, ((SSLSocket) (context.
getSocketFactory
()
180
expectedCipherSuites, sslContext.
getSocketFactory
().getDefaultCipherSuites());
184
SSLSocket sslSocket = (SSLSocket) sslContext.
getSocketFactory
().createSocket();
438
SSLContext.getInstance(protocol).
getSocketFactory
();
441
SSLContext.getInstance(protocol).
getSocketFactory
();
451
SocketFactory sf = sslContext.
getSocketFactory
();
/cts/tests/tests/networksecurityconfig/src/android/security/net/config/cts/
TestUtils.java
94
Socket s = SSLContext.getDefault().
getSocketFactory
().createSocket(host, port);
103
Socket s = SSLContext.getDefault().
getSocketFactory
().createSocket(host, port);
/external/apache-http/src/org/apache/http/conn/scheme/
PlainSocketFactory.java
69
public static PlainSocketFactory
getSocketFactory
() {
Scheme.java
133
public final SocketFactory
getSocketFactory
() {
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/
OkHttp.java
42
SSLSocketFactory socketFactory = sslContext.
getSocketFactory
();
UrlConnection.java
38
SSLSocketFactory socketFactory = sslContext.
getSocketFactory
();
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/
WebSocketCallTest.java
212
server.useHttps(sslContext.
getSocketFactory
(), false);
213
client.setSslSocketFactory(sslContext.
getSocketFactory
());
220
server.useHttps(sslContext.
getSocketFactory
(), false);
221
client.setSslSocketFactory(sslContext.
getSocketFactory
());
/libcore/benchmarks/src/benchmarks/regression/
SSLSocketBenchmark.java
78
this.sf = sslContext.
getSocketFactory
();
/external/apache-http/android/src/android/net/http/
HttpsConnection.java
110
private synchronized static SSLSocketFactory
getSocketFactory
() {
254
sslSock = (SSLSocket)
getSocketFactory
().createSocket(
288
sslSock = (SSLSocket)
getSocketFactory
().createSocket(
/external/apache-http/src/org/apache/http/impl/conn/
DefaultClientConnectionOperator.java
132
final SocketFactory sf = schm.
getSocketFactory
();
232
if (!(schm.
getSocketFactory
() instanceof LayeredSocketFactory)) {
238
final LayeredSocketFactory lsf = (LayeredSocketFactory) schm.
getSocketFactory
();
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
URLConnectionTest.java
504
server.useHttps(sslContext.
getSocketFactory
(), false);
507
client.client().setSslSocketFactory(sslContext.
getSocketFactory
());
518
server.useHttps(sslContext.
getSocketFactory
(), false);
521
client.client().setSslSocketFactory(sslContext.
getSocketFactory
());
547
server.useHttps(sslContext.
getSocketFactory
(), false);
552
SSLSocketFactory clientSocketFactory = sslContext.
getSocketFactory
();
569
server.useHttps(sslContext.
getSocketFactory
(), false);
574
client.client().setSslSocketFactory(sslContext.
getSocketFactory
());
589
server.useHttps(sslContext.
getSocketFactory
(), false);
605
server.useHttps(sslContext.
getSocketFactory
(), false)
[
all
...]
/libcore/luni/src/test/java/libcore/java/net/
URLConnectionTest.java
526
server.useHttps(testSSLContext.serverContext.
getSocketFactory
(), false);
531
connection.setSSLSocketFactory(testSSLContext.clientContext.
getSocketFactory
());
542
SSLSocketFactory clientSocketFactory = testSSLContext.clientContext.
getSocketFactory
();
544
server.useHttps(testSSLContext.serverContext.
getSocketFactory
(), false);
565
server.useHttps(testSSLContext.serverContext.
getSocketFactory
(), false);
572
connection.setSSLSocketFactory(testSSLContext.clientContext.
getSocketFactory
());
592
server.useHttps(testSSLContext.serverContext.
getSocketFactory
(), false);
597
connection.setSSLSocketFactory(testSSLContext.clientContext.
getSocketFactory
());
701
server.useHttps(testSSLContext.serverContext.
getSocketFactory
(), false);
707
connection.setSSLSocketFactory(testSSLContext.clientContext.
getSocketFactory
());
[
all
...]
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
SSLSocketFunctionalTest.java
85
.
getSocketFactory
().createSocket("localhost",
123
.
getSocketFactory
().createSocket("localhost",
155
.
getSocketFactory
().createSocket("localhost",
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
CacheAdapterTest.java
117
client.setSslSocketFactory(sslContext.
getSocketFactory
());
232
client.setSslSocketFactory(sslContext.
getSocketFactory
());
259
server.useHttps(sslContext.
getSocketFactory
(), false /* tunnelProxy */);
/frameworks/base/core/tests/coretests/src/android/net/http/
AbstractProxyTest.java
62
server.useHttps(testSSLContext.serverContext.
getSocketFactory
(), false);
86
.newInstance(testSSLContext.clientContext.
getSocketFactory
());
151
server.useHttps(testSSLContext.serverContext.
getSocketFactory
(), true);
/packages/services/Telephony/tests/src/com/android/phone/common/mail/
MailTransportTest.java
84
// Network#
getSocketFactory
should be used to create socket.
91
verify(mockNetwork).
getSocketFactory
();
211
when(network.
getSocketFactory
()).thenReturn(mockSocketFactory);
350
* @return a mock Network that can create a TestSocket with {@code
getSocketFactory
()
361
when(network.
getSocketFactory
()).thenReturn(mockSocketFactory);
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
SSLContext1Test.java
338
* <code>
getSocketFactory
()</code>
372
assertTrue(sslC[i].
getSocketFactory
() instanceof SSLSocketFactory);
415
sslContext.
getSocketFactory
();
450
.
getSocketFactory
().createSocket());
473
.
getSocketFactory
().createSocket());
/external/apache-http/src/org/apache/http/conn/
MultihomePlainSocketFactory.java
73
public static MultihomePlainSocketFactory
getSocketFactory
() {
Completed in 577 milliseconds
1
2
3
4
5