Home
last modified time | relevance | path

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

/external/webrtc/webrtc/p2p/base/
Dp2ptransportchannel_unittest.cc1821 cricket::Connection* conn2 = WaitForConnectionTo(&ch, "2.2.2.2", 2); in TEST_F() local
1823 ASSERT_TRUE(conn2 != nullptr); in TEST_F()
1827 EXPECT_EQ(conn2, ch.FindNextPingableConnection()); in TEST_F()
1846 cricket::Connection* conn2 = WaitForConnectionTo(&ch, "2.2.2.2", 2); in TEST_F() local
1848 ASSERT_TRUE(conn2 != nullptr); in TEST_F()
1850 EXPECT_EQ(conn2, ch.FindNextPingableConnection()); in TEST_F()
1858 EXPECT_EQ(conn2, ch.FindNextPingableConnection()); in TEST_F()
1933 cricket::Connection* conn2 = WaitForConnectionTo(&ch, "2.2.2.2", 2); in TEST_F() local
1934 ASSERT_TRUE(conn2 != nullptr); in TEST_F()
1935 conn2->ReceivedPing(); in TEST_F()
[all …]
Dturnport_unittest.cc413 Connection* conn2 = turn_port_->CreateConnection( in TestTurnConnection() local
415 ASSERT_TRUE(conn2 != NULL); in TestTurnConnection()
417 conn2->Ping(0); in TestTurnConnection()
419 EXPECT_EQ_WAIT(Connection::STATE_WRITABLE, conn2->write_state(), kTimeout); in TestTurnConnection()
421 EXPECT_TRUE(conn2->receiving()); in TestTurnConnection()
427 EXPECT_TRUE(conn2->receiving()); in TestTurnConnection()
436 Connection* conn2 = turn_port_->CreateConnection(udp_port_->Candidates()[0], in TestDestroyTurnConnection() local
438 ASSERT_TRUE(conn2 != NULL); in TestDestroyTurnConnection()
447 conn2->Destroy(); in TestDestroyTurnConnection()
460 conn2 = turn_port_->CreateConnection(udp_port_->Candidates()[0], in TestDestroyTurnConnection()
[all …]
Drelayport.cc97 RelayConnection* conn2);
543 RelayConnection* conn2) { in GetBestConnection() argument
544 return conn1->GetProtocol() <= conn2->GetProtocol() ? conn1 : conn2; in GetBestConnection()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DExcludedProxyTest.java70 java.net.HttpURLConnection conn2 = (java.net.HttpURLConnection) u2 in test_usingProxy() local
72 conn2.setDoOutput(true); in test_usingProxy()
73 conn2.setRequestMethod("POST"); in test_usingProxy()
74 OutputStream out2 = conn2.getOutputStream(); in test_usingProxy()
78 conn2.getResponseCode(); in test_usingProxy()
79 InputStream is2 = conn2.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
2362 conn2 = cred_conn_capab_missing(wpa_s, cred2, bss); 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
582 used for receiving messages and ``conn2`` can only be used for sending