Home | History | Annotate | Download | only in base

Lines Matching defs:conn

106   TestConnectionWrapper(Connection* conn) : connection_(conn) {
107 conn->SignalDestroyed.connect(
114 void OnConnectionDestroyed(Connection* conn) {
115 ASSERT_TRUE(conn == connection_);
186 void OnTurnReadPacket(Connection* conn, const char* data, size_t size,
193 void OnUdpReadPacket(Connection* conn, const char* data, size_t size,
197 void OnConnectionDestroyed(Connection* conn) { connection_destroyed_ = true; }
284 void ConnectConnectionDestroyedSignal(Connection* conn) {
285 conn->SignalDestroyed.connect(this, &TurnPortTest::OnConnectionDestroyed);
834 Connection* conn = turn_port_->CreateConnection(udp_port_->Candidates()[0],
836 ConnectConnectionDestroyedSignal(conn);
837 ASSERT_TRUE(conn != NULL);
944 TestConnectionWrapper conn(turn_port_->CreateConnection(
946 ASSERT_TRUE(conn.connection() != nullptr);
950 EXPECT_TRUE_WAIT(conn.connection() == nullptr, kTimeout);