Home
last modified time | relevance | path

Searched refs:SSL_SERVER (Results 1 – 12 of 12) sorted by relevance

/external/webrtc/rtc_base/
Dssl_stream_adapter.h93 enum SSLRole { SSL_CLIENT, SSL_SERVER }; enumerator
143 virtual void SetServerRole(SSLRole role = SSL_SERVER) = 0;
Dopenssl_stream_adapter.h67 void SetServerRole(SSLRole role = SSL_SERVER) override;
Dopenssl_adapter.cc235 RTC_DCHECK(role_ == SSL_SERVER); in Accept()
243 adapter->SetRole(rtc::SSL_SERVER); in Accept()
/external/webrtc/pc/
Ddata_channel_unittest.cc656 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &id)); in TEST_F()
660 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &id)); in TEST_F()
672 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &new_id)); in TEST_F()
689 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &allocated_id)); in TEST_F()
695 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &allocated_id)); in TEST_F()
705 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &allocated_id)); in TEST_F()
712 EXPECT_TRUE(allocator_.AllocateSid(rtc::SSL_SERVER, &allocated_id)); in TEST_F()
Ddtls_srtp_transport.cc262 if (role == rtc::SSL_SERVER) { in ExtractParams()
Djsep_transport.cc671 (*current_dtls_role == rtc::SSL_SERVER && in NegotiateDtlsRole()
694 (is_remote_server ? rtc::SSL_CLIENT : rtc::SSL_SERVER); in NegotiateDtlsRole()
Djsep_transport_unittest.cc254 EXPECT_EQ(rtc::SSL_SERVER, role); // Because remote description was "active". in TEST_P()
523 EXPECT_EQ(rtc::SSL_SERVER, *jsep_transport_->GetDtlsRole()); in TEST_P()
876 EXPECT_EQ(rtc::SSL_SERVER, *role); in TEST_F()
Dwebrtc_session_description_factory.cc390 (rtc::SSL_SERVER == ssl_role); in InternalCreateAnswer()
Dpeer_connection.cc5800 dtls_role = *is_caller_ ? rtc::SSL_SERVER : rtc::SSL_CLIENT; in GetSctpSslRole()
/external/webrtc/p2p/base/
Ddtls_transport_unittest.cc335 client1_.CheckRole(client1_server ? rtc::SSL_SERVER : rtc::SSL_CLIENT); in Connect()
336 client2_.CheckRole(client1_server ? rtc::SSL_CLIENT : rtc::SSL_SERVER); in Connect()
360 client1_.dtls_transport()->SetDtlsRole(client1_server ? rtc::SSL_SERVER in Negotiate()
363 : rtc::SSL_SERVER); in Negotiate()
636 client1_.dtls_transport()->SetDtlsRole(rtc::SSL_SERVER); in TestEventOrdering()
Dtest_turn_server.h110 adapter->SetRole(rtc::SSL_SERVER);
Ddtls_transport.cc595 SetDtlsRole(rtc::SSL_SERVER); in OnReadPacket()
738 if (*dtls_role_ == rtc::SSL_SERVER) { in MaybeStartDtls()