Home
last modified time | relevance | path

Searched refs:TransportChannelState (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dtransportchannel.h40 enum TransportChannelState { enum
62 virtual TransportChannelState GetState() const { in GetState()
63 return TransportChannelState::STATE_CONNECTING; in GetState()
Dp2ptransportchannel.h76 TransportChannelState GetState() const override;
200 TransportChannelState ComputeState() const;
298 TransportChannelState state_ = TransportChannelState::STATE_INIT;
Dfaketransportcontroller.h72 TransportChannelState GetState() const override { in GetState()
74 return had_connection_ ? TransportChannelState::STATE_FAILED in GetState()
75 : TransportChannelState::STATE_INIT; in GetState()
79 return TransportChannelState::STATE_COMPLETED; in GetState()
82 return TransportChannelState::STATE_CONNECTING; in GetState()
Dp2ptransportchannel.cc299 TransportChannelState P2PTransportChannel::GetState() const { in GetState()
305 TransportChannelState P2PTransportChannel::ComputeState() const { in ComputeState()
307 return TransportChannelState::STATE_INIT; in ComputeState()
317 return TransportChannelState::STATE_FAILED; in ComputeState()
329 return TransportChannelState::STATE_CONNECTING; in ComputeState()
334 return TransportChannelState::STATE_COMPLETED; in ComputeState()
Dp2ptransportchannel_unittest.cc1698 EXPECT_EQ_WAIT(cricket::TransportChannelState::STATE_COMPLETED, in TEST_F()
1700 EXPECT_EQ_WAIT(cricket::TransportChannelState::STATE_COMPLETED, in TEST_F()
2239 EXPECT_EQ(cricket::TransportChannelState::STATE_INIT, ch.GetState()); in TEST_F()
2247 EXPECT_EQ(cricket::TransportChannelState::STATE_CONNECTING, ch.GetState()); in TEST_F()
2251 EXPECT_EQ(cricket::TransportChannelState::STATE_COMPLETED, ch.GetState()); in TEST_F()
2254 EXPECT_EQ_WAIT(cricket::TransportChannelState::STATE_FAILED, ch.GetState(), in TEST_F()
2283 EXPECT_EQ(cricket::TransportChannelState::STATE_COMPLETED, ch.GetState()); in TEST_F()
2292 EXPECT_EQ(cricket::TransportChannelState::STATE_CONNECTING, ch.GetState()); in TEST_F()
2298 EXPECT_EQ(cricket::TransportChannelState::STATE_COMPLETED, ch.GetState()); in TEST_F()
Dtransportcontroller.cc563 channel->GetState() == TransportChannelState::STATE_FAILED; in UpdateAggregateStates_w()
567 channel->GetState() == TransportChannelState::STATE_COMPLETED && in UpdateAggregateStates_w()
Ddtlstransportchannel.h164 TransportChannelState GetState() const override { in GetState()