Home
last modified time | relevance | path

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

/external/adhd/cras/src/tests/
Ddbus_test.cc138 SendMessage(conn_, message); in Send()
163 conn_ = conn; in CreateSignal()
177 conn_ = conn; in CreateMessageCall()
366 : conn_(NULL), server_(NULL), server_conn_(NULL), dispatch_(false) {} in DBusTest()
423 while ((message = dbus_connection_borrow_message(conn_)) == NULL) in WaitForMatches()
424 dbus_connection_read_write(conn_, -1); in WaitForMatches()
432 if (match.HandleClientMessage(conn_, message)) in WaitForMatches()
438 dbus_connection_return_message(conn_, message); in WaitForMatches()
439 dbus_connection_dispatch(conn_); in WaitForMatches()
470 conn_ = dbus_connection_open_private(kServerAddress, NULL); in SetUp()
[all …]
Dbt_profile_unittest.cc73 cras_bt_add_profile(conn_, &fake_profile); in TEST_F()
74 cras_bt_register_profiles(conn_); in TEST_F()
83 cras_bt_add_profile(conn_, &fake_profile); in TEST_F()
95 cras_bt_add_profile(conn_, &fake_profile); in TEST_F()
96 cras_bt_register_profiles(conn_); in TEST_F()
Ddbus_test.h230 DBusConnection* conn_; variable
253 DBusConnection* conn_;
/external/webrtc/p2p/base/
Dturn_server.cc618 conn_(conn), in TurnServerAllocation()
639 ost << "Alloc[" << conn_.ToString() << "]"; in ToString()
695 STUN_ATTR_XOR_MAPPED_ADDRESS, conn_.src()); in HandleAllocateRequest()
858 server_->Send(&conn_, buf); in OnExternalPacket()
869 server_->SendStun(&conn_, &msg); in OnExternalPacket()
936 server_->SendStun(&conn_, msg); in SendResponse()
946 server_->SendErrorResponse(&conn_, req, code, reason); in SendErrorResponse()
Dturn_server.h79 TurnServerConnection* conn() { return &conn_; } in conn()
134 TurnServerConnection conn_; variable
Dport_unittest.cc277 Connection* conn() { return conn_; } in conn()
283 conn_ = port_->CreateConnection(remote_candidate, Port::ORIGIN_MESSAGE); in CreateConnection()
286 conn_->set_remote_ice_mode(remote_ice_mode); in CreateConnection()
287 conn_->set_use_candidate_attr(remote_ice_mode == ICEMODE_FULL); in CreateConnection()
288 conn_->SignalStateChange.connect(this, in CreateConnection()
290 conn_->SignalDestroyed.connect(this, &TestChannel::OnDestroyed); in CreateConnection()
291 conn_->SignalReadyToSend.connect(this, in CreateConnection()
305 conn_ = port_->CreateConnection(c, Port::ORIGIN_MESSAGE); in AcceptConnection()
306 conn_->SignalDestroyed.connect(this, &TestChannel::OnDestroyed); in AcceptConnection()
307 conn_->SendStunBindingResponse(remote_request_.get()); in AcceptConnection()
[all …]