Searched refs:IceTransportState (Results 1 – 12 of 12) sorted by relevance
/external/webrtc/p2p/base/ |
D | fake_ice_transport.h | 76 void SetTransportState(webrtc::IceTransportState state, in SetTransportState() 77 IceTransportState legacy_state) { in SetTransportState() 128 IceTransportState GetState() const override { in GetState() 134 return had_connection_ ? IceTransportState::STATE_FAILED in GetState() 135 : IceTransportState::STATE_INIT; in GetState() 139 return IceTransportState::STATE_COMPLETED; in GetState() 142 return IceTransportState::STATE_CONNECTING; in GetState() 145 webrtc::IceTransportState GetIceTransportState() const override { in GetIceTransportState() 151 return had_connection_ ? webrtc::IceTransportState::kFailed in GetIceTransportState() 152 : webrtc::IceTransportState::kNew; in GetIceTransportState() [all …]
|
D | mock_ice_transport.h | 50 IceTransportState GetState() const override { in GetState() 51 return IceTransportState::STATE_INIT; in GetState() 53 webrtc::IceTransportState GetIceTransportState() const override { in GetIceTransportState() 54 return webrtc::IceTransportState::kNew; in GetIceTransportState()
|
D | p2p_transport_channel.cc | 331 IceTransportState P2PTransportChannel::GetState() const { in GetState() 336 webrtc::IceTransportState P2PTransportChannel::GetIceTransportState() const { in GetIceTransportState() 392 IceTransportState P2PTransportChannel::ComputeState() const { in ComputeState() 395 return IceTransportState::STATE_INIT; in ComputeState() 405 return IceTransportState::STATE_FAILED; in ComputeState() 418 return IceTransportState::STATE_CONNECTING; in ComputeState() 423 return IceTransportState::STATE_COMPLETED; in ComputeState() 430 webrtc::IceTransportState P2PTransportChannel::ComputeIceTransportState() in ComputeIceTransportState() 442 return webrtc::IceTransportState::kFailed; in ComputeIceTransportState() 446 return webrtc::IceTransportState::kDisconnected; in ComputeIceTransportState() [all …]
|
D | p2p_transport_channel.h | 100 IceTransportState GetState() const override; 101 webrtc::IceTransportState GetIceTransportState() const override; 240 IceTransportState ComputeState() const; 241 webrtc::IceTransportState ComputeIceTransportState() const; 403 IceTransportState state_ RTC_GUARDED_BY(network_thread_) = 404 IceTransportState::STATE_INIT; 405 webrtc::IceTransportState standardized_state_ 406 RTC_GUARDED_BY(network_thread_) = webrtc::IceTransportState::kNew;
|
D | ice_transport_internal.h | 196 enum class IceTransportState { enum 220 virtual IceTransportState GetState() const = 0; 221 virtual webrtc::IceTransportState GetIceTransportState() const = 0;
|
D | ice_controller_factory_interface.h | 24 std::function<IceTransportState()> ice_transport_state_func;
|
D | basic_ice_controller.h | 142 std::function<IceTransportState()> ice_transport_state_func_;
|
D | p2p_transport_channel_unittest.cc | 2872 ASSERT_TRUE_WAIT(ep2_ch1()->GetState() == IceTransportState::STATE_COMPLETED, in TEST_F() 2899 EXPECT_EQ_SIMULATED_WAIT(IceTransportState::STATE_COMPLETED, in TEST_F() 2901 EXPECT_EQ_SIMULATED_WAIT(IceTransportState::STATE_COMPLETED, in TEST_F() 2981 ep1_ch1()->GetState() == IceTransportState::STATE_COMPLETED && in TEST_F() 2987 ep2_ch1()->GetState() == IceTransportState::STATE_COMPLETED && in TEST_F() 3236 IceTransportState channel_state() { return channel_state_; } in channel_state() 3278 IceTransportState channel_state_ = IceTransportState::STATE_INIT; 3515 EXPECT_EQ_WAIT(IceTransportState::STATE_FAILED, channel_state(), in TEST_F() 4257 EXPECT_EQ(webrtc::IceTransportState::kNew, ch.GetIceTransportState()); in TEST_F() 4262 EXPECT_EQ(webrtc::IceTransportState::kNew, ch.GetIceTransportState()); in TEST_F() [all …]
|
D | basic_ice_controller.cc | 321 return ice_transport_state_func_() == IceTransportState::STATE_COMPLETED && in IsBackupConnection()
|
/external/webrtc/api/transport/ |
D | enums.h | 20 enum class IceTransportState { enum
|
/external/webrtc/pc/ |
D | jsep_transport_controller.cc | 1226 std::map<IceTransportState, int> ice_state_counts; in UpdateAggregateStates_n() 1231 cricket::IceTransportState::STATE_FAILED; in UpdateAggregateStates_n() 1236 cricket::IceTransportState::STATE_COMPLETED && in UpdateAggregateStates_n() 1268 int total_ice_checking = ice_state_counts[IceTransportState::kChecking]; in UpdateAggregateStates_n() 1269 int total_ice_connected = ice_state_counts[IceTransportState::kConnected]; in UpdateAggregateStates_n() 1270 int total_ice_completed = ice_state_counts[IceTransportState::kCompleted]; in UpdateAggregateStates_n() 1271 int total_ice_failed = ice_state_counts[IceTransportState::kFailed]; in UpdateAggregateStates_n() 1273 ice_state_counts[IceTransportState::kDisconnected]; in UpdateAggregateStates_n() 1274 int total_ice_closed = ice_state_counts[IceTransportState::kClosed]; in UpdateAggregateStates_n() 1275 int total_ice_new = ice_state_counts[IceTransportState::kNew]; in UpdateAggregateStates_n()
|
D | jsep_transport_controller_unittest.cc | 722 IceTransportState::kCompleted, in TEST_F() 723 cricket::IceTransportState::STATE_COMPLETED); in TEST_F() 735 IceTransportState::kFailed, cricket::IceTransportState::STATE_FAILED); in TEST_F() 752 IceTransportState::kCompleted, in TEST_F() 753 cricket::IceTransportState::STATE_COMPLETED); in TEST_F()
|