HomeSort by relevance Sort by last modified time
    Searched refs:testSSLContext (Results 1 - 3 of 3) sorted by null

  /frameworks/base/core/tests/coretests/src/android/net/http/
AbstractProxyTest.java 29 import libcore.javax.net.ssl.TestSSLContext;
60 TestSSLContext testSSLContext = TestSSLContext.create();
62 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false);
70 SSLSocketFactory sslSocketFactory = newSslSocketFactory(testSSLContext);
83 private SSLSocketFactory newSslSocketFactory(TestSSLContext testSSLContext) throws Exception {
86 .newInstance(testSSLContext.clientContext.getSocketFactory());
149 TestSSLContext testSSLContext = TestSSLContext.create()
    [all...]
  /libcore/luni/src/test/java/libcore/java/net/
URLConnectionTest.java 83 import libcore.javax.net.ssl.TestSSLContext;
455 TestSSLContext testSSLContext = TestSSLContext.create();
457 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false);
462 connection.setSSLSocketFactory(testSSLContext.clientContext.getSocketFactory());
472 TestSSLContext testSSLContext = TestSSLContext.create();
473 SSLSocketFactory clientSocketFactory = testSSLContext.clientContext.getSocketFactory()
    [all...]
  /libcore/luni/src/test/java/libcore/net/http/
HttpResponseCacheTest.java 65 import libcore.javax.net.ssl.TestSSLContext;
297 TestSSLContext testSSLContext = TestSSLContext.create();
298 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false);
306 connection.setSSLSocketFactory(testSSLContext.clientContext.getSocketFactory());
317 connection.setSSLSocketFactory(testSSLContext.clientContext.getSocketFactory());
332 TestSSLContext testSSLContext = TestSSLContext.create()
    [all...]

Completed in 192 milliseconds