Searched refs:STATE_WRITABLE (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/webrtc/p2p/base/ |
D | port_unittest.cc | 251 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 …]
|
D | turnport_unittest.cc | 419 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()
|
D | tcpport.cc | 349 if (pretending_to_be_writable_ || write_state() != STATE_WRITABLE) { in Send() 381 ASSERT(write_state() == STATE_WRITABLE); in OnConnectionRequestResponse()
|
D | p2ptransportchannel.cc | 95 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()
|
D | port.h | 438 STATE_WRITABLE = 0, // we have received ping responses recently enumerator 445 bool writable() const { return write_state_ == STATE_WRITABLE; } in writable()
|
D | port.cc | 988 if (write_state_ == STATE_WRITABLE) { in OnReadyToSend() 1053 if ((write_state_ == STATE_WRITABLE) && in UpdateState() 1116 set_write_state(STATE_WRITABLE); in ReceivedPingResponse()
|