/system/core/adb/ |
adb.h | 46 typedef struct atransport atransport; typedef in typeref:struct:atransport 131 /* A socket is bound to atransport */ 132 atransport *transport; 143 void (*func)(void* opaque, atransport* t); 168 struct atransport struct 170 atransport *next; 171 atransport *prev; 173 int (*read_from_remote)(apacket *p, atransport *t); 174 int (*write_to_remote)(apacket *p, atransport *t) [all...] |
adb_auth.h | 21 void adb_auth_verified(atransport *t); 23 void send_auth_request(atransport *t); 40 static inline void adb_auth_confirm_key(unsigned char *data, size_t len, atransport *t) { } 50 void adb_auth_confirm_key(unsigned char *data, size_t len, atransport *t);
|
transport_usb.c | 53 static int remote_read(apacket *p, atransport *t) 82 static int remote_write(apacket *p, atransport *t) 101 static void remote_close(atransport *t) 107 static void remote_kick(atransport *t) 112 void init_usb_transport(atransport *t, usb_handle *h, int state)
|
transport.c | 28 static void transport_unref(atransport *t); 30 static atransport transport_list = { 35 static atransport pending_list = { 71 kick_transport(atransport* t) 89 run_transport_disconnects(atransport* t) 205 atransport *t = _t; 212 handle_packet(p, (atransport *) _t); 217 void send_packet(apacket *p, atransport *t) 262 atransport *t = _t; 317 atransport *t = _t [all...] |
transport_local.c | 47 /* we keep a list of opened transports. The atransport struct knows to which 55 static atransport* local_transports[ ADB_LOCAL_TRANSPORT_MAX ]; 58 static int remote_read(apacket *p, atransport *t) 89 static int remote_write(apacket *p, atransport *t) 335 static void remote_kick(atransport *t) 357 static void remote_close(atransport *t) 365 atransport* find_emulator_transport_by_adb_port_locked(int adb_port) 376 atransport* find_emulator_transport_by_adb_port(int adb_port) 379 atransport* result = find_emulator_transport_by_adb_port_locked(adb_port); 405 int init_socket_transport(atransport *t, int s, int adb_port, int local [all...] |
adb_auth_client.c | 47 static void usb_disconnected(void* unused, atransport* t); 49 static atransport* usb_transport; 163 static void usb_disconnected(void* unused, atransport* t) 191 void adb_auth_confirm_key(unsigned char *key, size_t len, atransport *t)
|
adb.c | 213 void handle_online(atransport *t) 219 void handle_offline(atransport *t) 268 static void send_ready(unsigned local, unsigned remote, atransport *t) 278 static void send_close(unsigned local, unsigned remote, atransport *t) 318 static void send_connect(atransport *t) 330 void send_auth_request(atransport *t) 350 static void send_auth_response(uint8_t *token, size_t token_size, atransport *t) 369 static void send_auth_publickey(atransport *t) 388 void adb_auth_verified(atransport *t) 394 static char *connection_state_name(atransport *t [all...] |
services.c | 412 atransport *t = acquire_one_transport(sinfo->state, sinfo->transport, sinfo->serial, &err); 500 atransport* known_emulator = find_emulator_transport_by_adb_port(adb_port);
|
sockets.c | 112 void close_all_sockets(atransport *t) 508 static void remote_socket_disconnect(void* _s, atransport* t) 522 asocket *create_remote_socket(unsigned id, atransport *t)
|
/bootable/recovery/minadbd/ |
adb.h | 45 typedef struct atransport atransport; typedef in typeref:struct:atransport 128 /* A socket is bound to atransport */ 129 atransport *transport; 140 void (*func)(void* opaque, atransport* t); 163 struct atransport struct 165 atransport *next; 166 atransport *prev; 168 int (*read_from_remote)(apacket *p, atransport *t); 169 int (*write_to_remote)(apacket *p, atransport *t) [all...] |
transport_usb.c | 49 static int remote_read(apacket *p, atransport *t) 78 static int remote_write(apacket *p, atransport *t) 97 static void remote_close(atransport *t) 103 static void remote_kick(atransport *t) 108 void init_usb_transport(atransport *t, usb_handle *h, int state)
|
transport.c | 28 static void transport_unref(atransport *t); 30 static atransport transport_list = { 66 kick_transport(atransport* t) 84 run_transport_disconnects(atransport* t) 200 atransport *t = _t; 207 handle_packet(p, (atransport *) _t); 212 void send_packet(apacket *p, atransport *t) 257 atransport *t = _t; 312 atransport *t = _t; 374 atransport *transport [all...] |
adb.c | 147 void handle_offline(atransport *t) 194 static void send_ready(unsigned local, unsigned remote, atransport *t) 204 static void send_close(unsigned local, unsigned remote, atransport *t) 214 static void send_connect(atransport *t) 227 void parse_banner(char *banner, atransport *t) 283 void handle_packet(apacket *p, atransport *t)
|
sockets.c | 112 void close_all_sockets(atransport *t) 467 static void remote_socket_disconnect(void* _s, atransport* t) 481 asocket *create_remote_socket(unsigned id, atransport *t)
|