Searched refs:asocket (Results 1 – 11 of 11) sorted by relevance
/system/core/adb/ |
D | socket.h | 31 struct asocket { struct 35 asocket *next; argument 36 asocket *prev; argument 59 asocket *peer; argument 79 int (*enqueue)(asocket *s, apacket *pkt); argument 84 void (*ready)(asocket *s); argument 90 void (*shutdown)(asocket *s); argument 96 void (*close)(asocket *s); argument 104 asocket *find_local_socket(unsigned local_id, unsigned remote_id); argument 105 void install_local_socket(asocket *s); [all …]
|
D | sockets.cpp | 45 static asocket local_socket_list = { 53 static asocket local_socket_closing_list = { 60 asocket* find_local_socket(unsigned local_id, unsigned peer_id) { in find_local_socket() 61 asocket* s; in find_local_socket() 62 asocket* result = NULL; in find_local_socket() 78 static void insert_local_socket(asocket* s, asocket* list) { in insert_local_socket() 85 void install_local_socket(asocket* s) { in install_local_socket() 98 void remove_socket(asocket* s) { in remove_socket() 110 asocket* s; in close_all_sockets() 125 static int local_socket_enqueue(asocket* s, apacket* p) { in local_socket_enqueue() [all …]
|
D | socket_test.cpp | 60 asocket* prev_tail = create_local_socket(first[1]); in TEST_F() 63 auto connect = [](asocket* tail, asocket* head) { in TEST_F() 72 asocket* head = create_local_socket(intermediate[0]); in TEST_F() 75 asocket* tail = create_local_socket(intermediate[1]); in TEST_F() 82 asocket* end = create_local_socket(last[0]); in TEST_F() 113 asocket* s = create_local_socket(arg->socket_fd); in CloseWithPacketThreadFunc() 127 asocket* cause_close_s = create_local_socket(arg->cause_close_fd); in CloseWithPacketThreadFunc() 233 asocket* s = create_local_socket(arg->socket_fd); in CloseRdHupSocketThreadFunc()
|
D | jdwp_service.cpp | 564 asocket socket; 569 jdwp_socket_close( asocket* s ) in jdwp_socket_close() 571 asocket* peer = s->peer; in jdwp_socket_close() 583 jdwp_socket_enqueue( asocket* s, apacket* p ) in jdwp_socket_enqueue() 593 jdwp_socket_ready( asocket* s ) in jdwp_socket_ready() 596 asocket* peer = jdwp->socket.peer; in jdwp_socket_ready() 612 asocket* 636 asocket socket; 656 asocket* peer = t->socket.peer; in jdwp_process_list_updated() 664 jdwp_tracker_close( asocket* s ) in jdwp_tracker_close() [all …]
|
D | adb.h | 169 asocket *host_service_to_socket(const char* name, const char *serial); 174 asocket* create_jdwp_service_socket(); 175 asocket* create_jdwp_tracker_service_socket(); 252 …ost_request(const char* service, TransportType type, const char* serial, int reply_fd, asocket *s);
|
D | fdevent_test.h | 44 asocket* dummy_socket = create_local_socket(dummy_fds[1]); in PrepareThread()
|
D | transport.cpp | 321 asocket socket; 348 device_tracker_close( asocket* socket ) in device_tracker_close() 351 asocket* peer = socket->peer; in device_tracker_close() 363 device_tracker_enqueue( asocket* socket, apacket* p ) in device_tracker_enqueue() 373 asocket* peer = tracker->socket.peer; in device_tracker_send() 381 static void device_tracker_ready(asocket* socket) { in device_tracker_ready() 394 asocket*
|
D | adb_listeners.cpp | 46 asocket* s = create_local_socket(fd); in ss_listener_event_func() 59 asocket *s; in listener_event_func()
|
D | transport.h | 180 asocket* create_device_tracker(void);
|
D | adb.cpp | 319 asocket *s; in handle_packet() 1002 const char* serial, int reply_fd, asocket* s) { in handle_host_request()
|
D | services.cpp | 511 asocket* host_service_to_socket(const char* name, const char* serial) { in host_service_to_socket()
|