Home
last modified time | relevance | path

Searched refs:STATE_WRITABLE (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dport_unittest.cc251 if (conn->write_state() == Connection::STATE_WRITABLE) { in OnConnectionStateChange()
583 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch2->conn()->write_state(), in ConnectStartedChannels()
690 EXPECT_EQ(ch1.conn()->write_state(), Connection::STATE_WRITABLE); in TestTcpReconnect()
821 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch2.conn()->write_state(), in TestConnectivity()
833 WAIT(ch2.conn()->write_state() == Connection::STATE_WRITABLE, kTimeout); in TestConnectivity()
838 EXPECT_EQ(Connection::STATE_WRITABLE, ch2.conn()->write_state()); in TestConnectivity()
844 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch1.conn()->write_state(), in TestConnectivity()
864 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch2.conn()->write_state(), in TestConnectivity()
875 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, ch1.conn()->write_state(), in TestConnectivity()
893 EXPECT_EQ(Connection::STATE_WRITABLE, ch1.conn()->write_state()); in TestConnectivity()
[all …]
Dturnport_unittest.cc419 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn2->write_state(), kTimeout); in TestTurnConnection()
426 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn1->write_state(), kTimeout); in TestTurnConnection()
442 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn1->write_state(), kTimeout); in TestDestroyTurnConnection()
482 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn1->write_state(), kTimeout); in TestTurnSendData()
484 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn2->write_state(), kTimeout); in TestTurnSendData()
Dtcpport.cc349 if (pretending_to_be_writable_ || write_state() != STATE_WRITABLE) { in Send()
381 ASSERT(write_state() == STATE_WRITABLE); in OnConnectionRequestResponse()
Dp2ptransportchannel.cc95 if (a->write_state() == cricket::Connection::STATE_WRITABLE && in CompareConnectionStates()
96 b->write_state() == cricket::Connection::STATE_WRITABLE) { in CompareConnectionStates()
656 if (conn->write_state() == Connection::STATE_WRITABLE) { in OnNominated()
937 (connection->write_state() == Connection::STATE_WRITABLE); in GetStats()
Dport.h438 STATE_WRITABLE = 0, // we have received ping responses recently enumerator
445 bool writable() const { return write_state_ == STATE_WRITABLE; } in writable()
Dport.cc988 if (write_state_ == STATE_WRITABLE) { in OnReadyToSend()
1053 if ((write_state_ == STATE_WRITABLE) && in UpdateState()
1116 set_write_state(STATE_WRITABLE); in ReceivedPingResponse()