Home
last modified time | relevance | path

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

/external/webrtc/webrtc/p2p/base/
Dturnport_unittest.cc403 Connection* conn1 = udp_port_->CreateConnection( in TestTurnConnection() local
405 ASSERT_TRUE(conn1 != NULL); in TestTurnConnection()
406 conn1->Ping(0); in TestTurnConnection()
409 EXPECT_FALSE(conn1->receiving()); in TestTurnConnection()
410 EXPECT_EQ(Connection::STATE_WRITE_INIT, conn1->write_state()); in TestTurnConnection()
420 EXPECT_TRUE(conn1->receiving()); in TestTurnConnection()
422 EXPECT_EQ(Connection::STATE_WRITE_INIT, conn1->write_state()); in TestTurnConnection()
425 conn1->Ping(0); in TestTurnConnection()
426 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn1->write_state(), kTimeout); in TestTurnConnection()
434 Connection* conn1 = udp_port_->CreateConnection(turn_port_->Candidates()[0], in TestDestroyTurnConnection() local
[all …]
Dp2ptransportchannel_unittest.cc1820 cricket::Connection* conn1 = WaitForConnectionTo(&ch, "1.1.1.1", 1); in TEST_F() local
1822 ASSERT_TRUE(conn1 != nullptr); in TEST_F()
1832 conn1->ReceivedPing(); in TEST_F()
1833 EXPECT_EQ(conn1, ch.FindNextPingableConnection()); in TEST_F()
1845 cricket::Connection* conn1 = WaitForConnectionTo(&ch, "1.1.1.1", 1); in TEST_F() local
1847 ASSERT_TRUE(conn1 != nullptr); in TEST_F()
1851 conn1->ReceivedPingResponse(); in TEST_F()
1852 ASSERT_TRUE(conn1->writable()); in TEST_F()
1853 conn1->ReceivedPing(); in TEST_F()
1875 cricket::Connection* conn1 = WaitForConnectionTo(&ch, "1.1.1.1", 1); in TEST_F() local
[all …]
Drelayport.cc96 static RelayConnection* GetBestConnection(RelayConnection* conn1,
542 RelayConnection* RelayEntry::GetBestConnection(RelayConnection* conn1, in GetBestConnection() argument
544 return conn1->GetProtocol() <= conn2->GetProtocol() ? conn1 : conn2; in GetBestConnection()
Dport_unittest.cc1342 Connection* conn1 = lport->CreateConnection(lport->Candidates()[1], in TEST_F() local
1344 conn1->Ping(0); in TEST_F()
1365 conn1->OnReadPacket(buf->Data(), buf->Length(), rtc::PacketTime()); in TEST_F()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DExcludedProxyTest.java51 URLConnection conn1 = u1.openConnection(); in test_usingProxy() local
52 conn1.getInputStream(); in test_usingProxy()
/external/wpa_supplicant_8/wpa_supplicant/
Dinterworking.c2356 int bh1, bh2, load1, load2, conn1, conn2; in pick_best_roaming_partner() local
2359 conn1 = cred_conn_capab_missing(wpa_s, cred, selected); in pick_best_roaming_partner()
2364 bh1, load1, conn1, bh2, load2, conn2); in pick_best_roaming_partner()
2365 if (bh1 || load1 || conn1 || !(bh2 || load2 || conn2)) { in pick_best_roaming_partner()
/external/python/cpython2/Doc/library/
Dmultiprocessing.rst577 Returns a pair ``(conn1, conn2)`` of :class:`Connection` objects representing
581 *duplex* is ``False`` then the pipe is unidirectional: ``conn1`` can only be