OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:peer_id
(Results
1 - 10
of
10
) sorted by null
/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
/tools/test/connectivity/acts/tests/google/wifi/
WifiAwareManagerTest.py
264
def exec_rtt(self, device, session_id,
peer_id
, rtt_param, label,
273
peer_id
: The peer ID to send the message to. Obtained through a
279
rtt_param['bssid'] =
peer_id
[
all
...]
/system/core/adb/
sockets.cpp
58
// If |
peer_id
| is not 0, also check that it is connected to a peer
59
// with id |
peer_id
|. Returns an asocket handle on success, NULL on failure.
60
asocket* find_local_socket(unsigned local_id, unsigned
peer_id
) {
69
if (
peer_id
== 0 || (s->peer && s->peer->id ==
peer_id
)) {
Completed in 1548 milliseconds