/external/webrtc/webrtc/examples/peerconnection/client/ |
peer_connection_client.h | 30 virtual void OnPeerDisconnected(int peer_id) = 0; 31 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); 103 size_t* peer_id, size_t* eoh);
|
peer_connection_client.cc | 157 bool PeerConnectionClient::SendToPeer(int peer_id, const std::string& message) { 163 if (!is_connected() || peer_id == -1) 168 "POST /message?peer_id=%i&to=%i HTTP/1.0\r\n" 172 my_id_, peer_id, message.length()); 178 bool PeerConnectionClient::SendHangUp(int peer_id) { 179 return SendToPeer(peer_id, kByeMessage); 200 "GET /sign_out?peer_id=%i HTTP/1.0\r\n\r\n", my_id_); 248 "GET /wait?peer_id=%i HTTP/1.0\r\n\r\n", my_id_); 255 void PeerConnectionClient::OnMessageFromPeer(int peer_id, 259 callback_->OnPeerDisconnected(peer_id); 335 size_t peer_id = 0, eoh = 0; local 387 size_t peer_id = 0, eoh = 0; local [all...] |
conductor.h | 88 virtual void OnMessageFromPeer(int peer_id, const std::string& message); 102 virtual void ConnectToPeer(int peer_id);
|
conductor.cc | 234 void Conductor::OnMessageFromPeer(int peer_id, const std::string& message) { 235 ASSERT(peer_id_ == peer_id || peer_id_ == -1); 240 peer_id_ = peer_id; 247 } else if (peer_id != peer_id_) { 353 void Conductor::ConnectToPeer(int peer_id) { 355 ASSERT(peer_id != -1); 364 peer_id_ = peer_id;
|
main_wnd.h | 30 virtual void ConnectToPeer(int peer_id) = 0;
|
main_wnd.cc | 332 LRESULT peer_id = ::SendMessage(listbox_, LB_GETITEMDATA, sel, 0); local 333 if (peer_id != -1 && callback_) { 334 callback_->ConnectToPeer(peer_id);
|
/external/autotest/client/cros/tendo/n_faced_peerd/ |
service.py | 17 def __init__(self, bus, path, peer_id, service_id, service_info, ip_info, 32 self.peer_id = peer_id 56 @return dbus.String containing this service's peer_id. 59 return dbus.String(self.peer_id)
|
peer.py | 18 def __init__(self, bus, path, peer_id, object_manager, is_self=False): 23 @param peer_id: string peerd peer ID; a UUID. 31 self.uuid = peer_id
|
/system/bt/btif/src/ |
btif_av.cc | 225 tBTA_AV_HNDL bta_handle, uint8_t peer_id); 354 BtifAvPeer* FindPeerByPeerId(uint8_t peer_id); 457 void BtaHandleRegistered(uint8_t peer_id, tBTA_AV_HNDL bta_handle); 491 BtifAvPeer* FindPeerByPeerId(uint8_t peer_id); 568 void BtaHandleRegistered(uint8_t peer_id, tBTA_AV_HNDL bta_handle); 793 tBTA_AV_HNDL bta_handle, uint8_t peer_id) 797 peer_id_(peer_id), 940 BtifAvPeer* BtifAvSource::FindPeerByPeerId(uint8_t peer_id) { 943 if (peer->PeerId() == peer_id) { 959 uint8_t peer_id; 2361 uint8_t peer_id = registr.app_id; \/\/ The PeerId is used as AppId local [all...] |
/system/bt/stack/avdt/ |
avdt_scb.cc | [all...] |
avdt_api.cc | 167 uint16_t AVDT_CreateStream(uint8_t peer_id, uint8_t* p_handle, 172 AVDT_TRACE_DEBUG("%s: peer_id=%d", __func__, peer_id); 181 p_scb = avdt_scb_alloc(peer_id, avdtp_stream_config); [all...] |
avdt_int.h | 868 extern AvdtpScb* avdt_scb_alloc(uint8_t peer_id, [all...] |
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/rtt/ |
rtt_test_utils.py | 233 def validate_aware_peer_id_result(range_result, peer_id, description): 240 peer_id: Peer ID of the peer 243 asserts.assert_equal(peer_id,
|
/system/bt/stack/include/ |
avdt_api.h | 566 extern uint16_t AVDT_CreateStream(uint8_t peer_id, uint8_t* p_handle, [all...] |
/system/core/adb/ |
sockets.cpp | 55 // If |peer_id| is not 0, also check that it is connected to a peer 56 // with id |peer_id|. Returns an asocket handle on success, NULL on failure. 57 asocket* find_local_socket(unsigned local_id, unsigned peer_id) { 65 if (peer_id == 0 || (s->peer && s->peer->id == peer_id)) {
|