Home
last modified time | relevance | path

Searched refs:DtlsTransportState (Results 1 – 25 of 29) sorted by relevance

12

/external/webrtc/p2p/base/
Ddtls_transport_internal.cc19 webrtc::DtlsTransportState ConvertDtlsTransportState( in ConvertDtlsTransportState()
20 cricket::DtlsTransportState cricket_state) { in ConvertDtlsTransportState()
22 case DtlsTransportState::DTLS_TRANSPORT_NEW: in ConvertDtlsTransportState()
23 return webrtc::DtlsTransportState::kNew; in ConvertDtlsTransportState()
24 case DtlsTransportState::DTLS_TRANSPORT_CONNECTING: in ConvertDtlsTransportState()
25 return webrtc::DtlsTransportState::kConnecting; in ConvertDtlsTransportState()
26 case DtlsTransportState::DTLS_TRANSPORT_CONNECTED: in ConvertDtlsTransportState()
27 return webrtc::DtlsTransportState::kConnected; in ConvertDtlsTransportState()
28 case DtlsTransportState::DTLS_TRANSPORT_CLOSED: in ConvertDtlsTransportState()
29 return webrtc::DtlsTransportState::kClosed; in ConvertDtlsTransportState()
[all …]
Ddtls_transport_internal.h33 enum DtlsTransportState { enum
46 webrtc::DtlsTransportState ConvertDtlsTransportState(
47 cricket::DtlsTransportState cricket_state);
67 virtual DtlsTransportState dtls_state() const = 0;
115 sigslot::signal2<DtlsTransportInternal*, DtlsTransportState> SignalDtlsState;
Ddtls_transport.h109 DtlsTransportState dtls_state() const override;
221 void set_dtls_state(DtlsTransportState state);
227 DtlsTransportState dtls_state_ = DTLS_TRANSPORT_NEW;
Dfake_dtls_transport.h86 void SetDtlsState(DtlsTransportState state) { in SetDtlsState()
130 DtlsTransportState dtls_state() const override { return dtls_state_; } in dtls_state()
302 DtlsTransportState dtls_state_ = DTLS_TRANSPORT_NEW;
Ddtls_transport.cc150 DtlsTransportState DtlsTransport::dtls_state() const { in dtls_state()
802 void DtlsTransport::set_dtls_state(DtlsTransportState state) { in set_dtls_state()
/external/webrtc/pc/
Ddtls_transport_unittest.cc40 DtlsTransportState state() { in state()
44 return DtlsTransportState::kNew; in state()
50 std::vector<DtlsTransportState> states_;
92 ASSERT_EQ(DtlsTransportState::kNew, webrtc_transport->Information().state()); in TEST_F()
95 ASSERT_EQ(DtlsTransportState::kClosed, in TEST_F()
109 DtlsTransportState::kConnected)); in TEST_F()
116 ASSERT_TRUE_WAIT(observer_.state() == DtlsTransportState::kConnected, in TEST_F()
119 ASSERT_TRUE_WAIT(observer_.state() == DtlsTransportState::kClosed, in TEST_F()
128 ASSERT_TRUE_WAIT(observer_.state() == DtlsTransportState::kConnected, in TEST_F()
138 ASSERT_TRUE_WAIT(observer_.state() == DtlsTransportState::kConnected, in TEST_F()
[all …]
Ddtls_transport.cc21 DtlsTransportState TranslateState(cricket::DtlsTransportState internal_state) { in TranslateState()
24 return DtlsTransportState::kNew; in TranslateState()
26 return DtlsTransportState::kConnecting; in TranslateState()
28 return DtlsTransportState::kConnected; in TranslateState()
30 return DtlsTransportState::kClosed; in TranslateState()
32 return DtlsTransportState::kFailed; in TranslateState()
42 info_(DtlsTransportState::kNew), in DtlsTransport()
100 cricket::DtlsTransportState state) { in OnInternalDtlsState()
141 info_ = DtlsTransportInformation(DtlsTransportState::kClosed); in UpdateInformation()
Dtransport_stats.h33 DtlsTransportState dtls_state = DTLS_TRANSPORT_NEW;
Ddtls_transport.h60 cricket::DtlsTransportState state);
Dsctp_transport.h70 cricket::DtlsTransportState state);
Ddtls_srtp_transport.h85 cricket::DtlsTransportState state);
Dsctp_transport.cc168 cricket::DtlsTransportState state) { in OnDtlsStateChange()
Ddtls_srtp_transport.cc302 cricket::DtlsTransportState state) { in OnDtlsState()
/external/webrtc/api/
Ddtls_transport_interface.h29 enum class DtlsTransportState { enum
44 explicit DtlsTransportInformation(DtlsTransportState state);
46 DtlsTransportState state,
59 DtlsTransportState state() const { return state_; } in state()
69 DtlsTransportState state_;
Ddtls_transport_interface.cc16 : state_(DtlsTransportState::kNew) {} in DtlsTransportInformation()
18 DtlsTransportInformation::DtlsTransportInformation(DtlsTransportState state) in DtlsTransportInformation()
22 DtlsTransportState state, in DtlsTransportInformation()
/external/webrtc/logging/rtc_event_log/events/
Drtc_event_dtls_transport_state.h23 explicit RtcEventDtlsTransportState(DtlsTransportState state);
31 DtlsTransportState dtls_transport_state() const { in dtls_transport_state()
38 const DtlsTransportState dtls_transport_state_;
Drtc_event_dtls_transport_state.cc17 RtcEventDtlsTransportState::RtcEventDtlsTransportState(DtlsTransportState state) in RtcEventDtlsTransportState()
28 return RtcEvent::Type::DtlsTransportState; in GetType()
/external/webrtc/api/rtc_event_log/
Drtc_event.h40 DtlsTransportState, enumerator
/external/webrtc/logging/rtc_event_log/encoder/
Drtc_event_log_encoder_new_format.cc135 rtclog2::DtlsTransportStateEvent::DtlsTransportState ConvertToProtoFormat( in ConvertToProtoFormat()
136 webrtc::DtlsTransportState state) { in ConvertToProtoFormat()
138 case webrtc::DtlsTransportState::kNew: in ConvertToProtoFormat()
140 case webrtc::DtlsTransportState::kConnecting: in ConvertToProtoFormat()
142 case webrtc::DtlsTransportState::kConnected: in ConvertToProtoFormat()
144 case webrtc::DtlsTransportState::kClosed: in ConvertToProtoFormat()
146 case webrtc::DtlsTransportState::kFailed: in ConvertToProtoFormat()
148 case webrtc::DtlsTransportState::kNumValues: in ConvertToProtoFormat()
748 case RtcEvent::Type::DtlsTransportState: { in EncodeBatch()
/external/webrtc/rtc_tools/rtc_event_log_visualizer/
Danalyzer.cc1752 plot->SetSuggestedYAxis(0, static_cast<float>(DtlsTransportState::kNumValues), in CreateDtlsTransportStateGraph()
1756 {{static_cast<float>(DtlsTransportState::kNew), "NEW"}, in CreateDtlsTransportStateGraph()
1757 {static_cast<float>(DtlsTransportState::kConnecting), "CONNECTING"}, in CreateDtlsTransportStateGraph()
1758 {static_cast<float>(DtlsTransportState::kConnected), "CONNECTED"}, in CreateDtlsTransportStateGraph()
1759 {static_cast<float>(DtlsTransportState::kClosed), "CLOSED"}, in CreateDtlsTransportStateGraph()
1760 {static_cast<float>(DtlsTransportState::kFailed), "FAILED"}}); in CreateDtlsTransportStateGraph()
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_parser.cc789 DtlsTransportState GetRuntimeDtlsTransportState( in GetRuntimeDtlsTransportState()
790 rtclog2::DtlsTransportStateEvent::DtlsTransportState state) { in GetRuntimeDtlsTransportState()
793 return DtlsTransportState::kNew; in GetRuntimeDtlsTransportState()
795 return DtlsTransportState::kConnecting; in GetRuntimeDtlsTransportState()
797 return DtlsTransportState::kConnected; in GetRuntimeDtlsTransportState()
799 return DtlsTransportState::kClosed; in GetRuntimeDtlsTransportState()
801 return DtlsTransportState::kFailed; in GetRuntimeDtlsTransportState()
804 return DtlsTransportState::kNumValues; in GetRuntimeDtlsTransportState()
807 return DtlsTransportState::kNumValues; in GetRuntimeDtlsTransportState()
Drtc_event_log_parser.h233 DtlsTransportState GetRuntimeDtlsTransportState( in RTC_POP_IGNORING_WUNDEF()
234 rtclog2::DtlsTransportStateEvent::DtlsTransportState state); in RTC_POP_IGNORING_WUNDEF()
Drtc_event_log_unittest_helper.cc138 DtlsTransportState state = static_cast<DtlsTransportState>( in NewDtlsTransportState()
139 prng_.Rand(static_cast<uint32_t>(DtlsTransportState::kNumValues) - 1)); in NewDtlsTransportState()
Drtc_event_log2.proto636 enum DtlsTransportState { enum
649 optional DtlsTransportState dtls_transport_state = 2;
Dlogged_events.h124 DtlsTransportState dtls_transport_state;

12