HomeSort by relevance Sort by last modified time
    Searched refs:testSSLContext (Results 1 - 2 of 2) 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 86 import libcore.javax.net.ssl.TestSSLContext;
524 TestSSLContext testSSLContext = TestSSLContext.create();
526 server.useHttps(testSSLContext.serverContext.getSocketFactory(), false);
531 connection.setSSLSocketFactory(testSSLContext.clientContext.getSocketFactory());
541 TestSSLContext testSSLContext = TestSSLContext.create();
542 SSLSocketFactory clientSocketFactory = testSSLContext.clientContext.getSocketFactory()
    [all...]

Completed in 958 milliseconds