Searched refs:peer (Results 1 – 6 of 6) sorted by relevance
/system/core/adb/ |
D | sockets.c | 122 if(s->transport == t || (s->peer && s->peer->transport == t)) { in close_all_sockets() 230 if(s->peer) { in local_socket_close_locked() 232 s->id, s->peer->id, s->peer->fd); in local_socket_close_locked() 233 s->peer->peer = 0; in local_socket_close_locked() 235 if (s->peer->close == local_socket_close) { in local_socket_close_locked() 236 local_socket_close_locked(s->peer); in local_socket_close_locked() 238 s->peer->close(s->peer); in local_socket_close_locked() 240 s->peer = 0; in local_socket_close_locked() 316 s->peer->ready(s->peer); in local_socket_event_func() 346 if((avail == MAX_PAYLOAD) || (s->peer == 0)) { in local_socket_event_func() [all …]
|
D | jdwp_service.c | 559 asocket* peer = s->peer; in jdwp_socket_close() local 563 if (peer) { in jdwp_socket_close() 564 peer->peer = NULL; in jdwp_socket_close() 565 peer->close(peer); in jdwp_socket_close() 575 s->peer->close(s->peer); in jdwp_socket_enqueue() 584 asocket* peer = jdwp->socket.peer; in jdwp_socket_ready() local 592 peer->enqueue(peer, p); in jdwp_socket_ready() 596 peer->close(peer); in jdwp_socket_ready() 646 asocket* peer = t->socket.peer; in jdwp_process_list_updated() local 649 peer->enqueue( peer, p ); in jdwp_process_list_updated() [all …]
|
D | transport.c | 417 asocket* peer = socket->peer; in device_tracker_close() local 420 if (peer) { in device_tracker_close() 421 peer->peer = NULL; in device_tracker_close() 422 peer->close(peer); in device_tracker_close() 443 asocket* peer = tracker->socket.peer; in device_tracker_send() local 447 return peer->enqueue( peer, p ); in device_tracker_send()
|
D | adb.c | 562 s->peer = create_remote_socket(p->msg.arg0, t); in handle_packet() 563 s->peer->peer = s; in handle_packet() 564 send_ready(s->id, s->peer->id, t); in handle_packet() 573 if(s->peer == 0) { in handle_packet() 574 s->peer = create_remote_socket(p->msg.arg0, t); in handle_packet() 575 s->peer->peer = s; in handle_packet()
|
D | adb.h | 98 asocket *peer; member
|
/system/core/libcutils/ |
D | mq.c | 191 Peer* peer; member 208 static PeerProxy* peerProxyCreate(Peer* peer, Credentials credentials); 255 static void peerLock(Peer* peer) { in peerLock() argument 256 pthread_mutex_lock(&peer->mutex); in peerLock() 260 static void peerUnlock(Peer* peer) { in peerUnlock() argument 261 pthread_mutex_unlock(&peer->mutex); in peerUnlock() 304 Peer* peer = peerProxy->peer; in peerProxyLockAndEnqueueOutgoingPacket() local 305 peerLock(peer); in peerProxyLockAndEnqueueOutgoingPacket() 307 peerUnlock(peer); in peerProxyLockAndEnqueueOutgoingPacket() 315 Peer* peer = peerProxy->peer; in peerProxyNextPacket() local [all …]
|