Home
last modified time | relevance | path

Searched refs:peer (Results 1 – 5 of 5) sorted by relevance

/system/core/adb/
Dsockets.c122 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 …]
Djdwp_service.c559 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 …]
Dtransport.c422 asocket* peer = socket->peer; in device_tracker_close() local
425 if (peer) { in device_tracker_close()
426 peer->peer = NULL; in device_tracker_close()
427 peer->close(peer); in device_tracker_close()
448 asocket* peer = tracker->socket.peer; in device_tracker_send() local
452 return peer->enqueue( peer, p ); in device_tracker_send()
Dadb.c572 s->peer = create_remote_socket(p->msg.arg0, t); in handle_packet()
573 s->peer->peer = s; in handle_packet()
574 send_ready(s->id, s->peer->id, t); in handle_packet()
583 if(s->peer == 0) { in handle_packet()
584 s->peer = create_remote_socket(p->msg.arg0, t); in handle_packet()
585 s->peer->peer = s; in handle_packet()
Dadb.h98 asocket *peer; member