Home
last modified time | relevance | path

Searched refs:sslSocket (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkDiagnostics.java696 SSLSocket sslSocket = (SSLSocket) SSLSocketFactory.getDefault().createSocket(); in setupSSLSocket() local
697 sslSocket.setSoTimeout(TCP_TIMEOUT_MS); in setupSSLSocket()
703 SSLParameters params = sslSocket.getSSLParameters(); in setupSSLSocket()
705 sslSocket.setSSLParameters(params); in setupSSLSocket()
708 mNetwork.bindSocket(sslSocket); in setupSSLSocket()
709 return sslSocket; in setupSSLSocket()
712 private void sendDoTProbe(@Nullable SSLSocket sslSocket) throws IOException { in sendDoTProbe() argument
717 sslSocket.connect(new InetSocketAddress(mTarget, DNS_TLS_PORT), TCP_CONNECT_TIMEOUT_MS); in sendDoTProbe()
720 sslSocket.startHandshake(); in sendDoTProbe()
721 appendDnsToMeasurementDescription(sixRandomDigits, sslSocket.getLocalSocketAddress()); in sendDoTProbe()
[all …]
/frameworks/base/core/java/android/security/net/config/
DRootTrustManager.java83 SSLSocket sslSocket = (SSLSocket) socket; in checkServerTrusted() local
84 SSLSession session = sslSocket.getHandshakeSession(); in checkServerTrusted()