Home
last modified time | relevance | path

Searched refs:TlsError (Results 1 – 5 of 5) sorted by relevance

/packages/modules/adb/tls/tests/
Dtls_connection_test.cpp38 using TlsError = TlsConnection::TlsError; typedef
244 void StartClientHandshakeAsync(TlsError expected) { in StartClientHandshakeAsync()
294 StartClientHandshakeAsync(TlsError::Success); in TEST_F()
297 ASSERT_EQ(server_->DoHandshake(), TlsError::Success); in TEST_F()
319 StartClientHandshakeAsync(TlsError::CertificateRejected); in TEST_F()
322 ASSERT_EQ(server_->DoHandshake(), TlsError::PeerRejectedCertificate); in TEST_F()
347 StartClientHandshakeAsync(TlsError::Success); in TEST_F()
350 ASSERT_EQ(server_->DoHandshake(), TlsError::Success); in TEST_F()
378 StartClientHandshakeAsync(TlsError::Success); in TEST_F()
381 ASSERT_EQ(server_->DoHandshake(), TlsError::CertificateRejected); in TEST_F()
[all …]
/packages/modules/adb/tls/
Dtls_connection.cpp48 TlsError DoHandshake() override;
63 TlsError GetFailureReason(int err);
194 TlsConnection::TlsError TlsConnectionImpl::GetFailureReason(int err) { in GetFailureReason()
204 return TlsError::PeerRejectedCertificate; in GetFailureReason()
206 return TlsError::CertificateRejected; in GetFailureReason()
208 return TlsError::UnknownFailure; in GetFailureReason()
212 TlsConnection::TlsError TlsConnectionImpl::DoHandshake() { in DoHandshake()
222 return TlsError::UnknownFailure; in DoHandshake()
229 return TlsError::UnknownFailure; in DoHandshake()
259 return TlsError::UnknownFailure; in DoHandshake()
[all …]
/packages/modules/adb/tls/include/adb/tls/
Dtls_connection.h41 enum class TlsError : uint8_t { enum
96 virtual TlsError DoHandshake() = 0;
/packages/modules/adb/pairing_connection/
Dpairing_connection.cpp39 using TlsError = tls::TlsConnection::TlsError; typedef
185 if (tls_->DoHandshake() != TlsError::Success) { in SetupTlsConnection()
/packages/modules/adb/
Dtransport.cpp64 using TlsError = TlsConnection::TlsError; typedef
539 if (err == TlsError::Success) { in DoTlsHandshake()