/external/webrtc/examples/peerconnection/client/ |
D | peer_connection_client.cc | 148 bool PeerConnectionClient::SendToPeer(int peer_id, const std::string& message) { in SendToPeer() argument 154 if (!is_connected() || peer_id == -1) in SendToPeer() 163 my_id_, peer_id, message.length()); in SendToPeer() 169 bool PeerConnectionClient::SendHangUp(int peer_id) { in SendHangUp() argument 170 return SendToPeer(peer_id, kByeMessage); in SendHangUp() 244 void PeerConnectionClient::OnMessageFromPeer(int peer_id, in OnMessageFromPeer() argument 248 callback_->OnPeerDisconnected(peer_id); in OnMessageFromPeer() 250 callback_->OnMessageFromPeer(peer_id, message); in OnMessageFromPeer() 325 size_t peer_id = 0, eoh = 0; in OnRead() local 327 ParseServerResponse(control_data_, content_length, &peer_id, &eoh); in OnRead() [all …]
|
D | peer_connection_client.h | 29 virtual void OnPeerDisconnected(int peer_id) = 0; 30 virtual void OnMessageFromPeer(int peer_id, const std::string& message) = 0; 63 bool SendToPeer(int peer_id, const std::string& message); 64 bool SendHangUp(int peer_id); 79 void OnMessageFromPeer(int peer_id, const std::string& message); 111 size_t* peer_id,
|
D | conductor.cc | 287 void Conductor::OnMessageFromPeer(int peer_id, const std::string& message) { in OnMessageFromPeer() argument 288 RTC_DCHECK(peer_id_ == peer_id || peer_id_ == -1); in OnMessageFromPeer() 293 peer_id_ = peer_id; in OnMessageFromPeer() 300 } else if (peer_id != peer_id_) { in OnMessageFromPeer() 415 void Conductor::ConnectToPeer(int peer_id) { in ConnectToPeer() argument 417 RTC_DCHECK(peer_id != -1); in ConnectToPeer() 426 peer_id_ = peer_id; in ConnectToPeer()
|
D | conductor.h | 95 void OnMessageFromPeer(int peer_id, const std::string& message) override; 109 void ConnectToPeer(int peer_id) override;
|
D | main_wnd.h | 31 virtual void ConnectToPeer(int peer_id) = 0;
|
D | main_wnd.cc | 344 LRESULT peer_id = ::SendMessage(listbox_, LB_GETITEMDATA, sel, 0); in OnDefaultAction() local 345 if (peer_id != -1 && callback_) { in OnDefaultAction() 346 callback_->ConnectToPeer(peer_id); in OnDefaultAction()
|
/external/openscreen/cast/common/channel/ |
D | virtual_connection_router.cc | 32 return entry.second.peer_id == virtual_connection.peer_id; in AddConnection() 36 VCTail{std::move(virtual_connection.peer_id), in AddConnection() 55 if (it->second.peer_id == virtual_connection.peer_id) { in RemoveConnection() 104 if (it->second.peer_id == virtual_connection.peer_id) { in GetConnectionData() 142 if (virtual_conn.peer_id == kBroadcastId) { in Send() 156 message.set_destination_id(std::move(virtual_conn.peer_id)); in Send()
|
D | virtual_connection.h | 103 std::string peer_id; member 108 return a.local_id == b.local_id && a.peer_id == b.peer_id &&
|
D | connection_namespace_handler.cc | 225 << virtual_conn.peer_id << ", " << virtual_conn.socket_id; in HandleConnect() 246 << "): " << conn.local_id << ", " << conn.peer_id << ", " in HandleClose() 278 MakeConnectMessage(virtual_conn.local_id, virtual_conn.peer_id); in SendConnect() 284 MakeCloseMessage(virtual_conn.local_id, virtual_conn.peer_id); in SendClose()
|
D | virtual_connection_router.h | 120 std::string peer_id; member
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
D | dpp-nfc.py | 98 peer_id = wpas.request("DPP_NFC_URI " + uri) 99 if "FAIL" in peer_id: 102 peer_id = int(peer_id) 103 summary("peer_id=%d for URI from NFC Tag: %s" % (peer_id, uri)) 104 cmd = "DPP_AUTH_INIT peer=%d" % peer_id 468 peer_id = int(res) 489 cmd = "DPP_AUTH_INIT peer=%d own=%d" % (peer_id, own_id)
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_virtual_mem_allocator.cc | 75 for (const auto& peer_id : peer_gpu_ids) { in Create() local 77 TF_RETURN_IF_ERROR(GpuDriver::GetDevice(peer_id.value(), &peer_handle)); in Create()
|
/external/openscreen/cast/standalone_sender/ |
D | looping_file_cast_agent.cc | 277 remote_connection_->peer_id); in CreateAndStartSession()
|