Home
last modified time | relevance | path

Searched refs:atransport (Results 1 – 9 of 9) sorted by relevance

/system/core/adb/
Dadb.h47 typedef struct atransport atransport; typedef
139 atransport *transport;
150 void (*func)(void* opaque, atransport* t);
175 struct atransport struct
177 atransport *next; argument
178 atransport *prev; argument
180 int (*read_from_remote)(apacket *p, atransport *t); argument
181 int (*write_to_remote)(apacket *p, atransport *t); argument
182 void (*close)(atransport *t); argument
183 void (*kick)(atransport *t); argument
[all …]
Dadb_auth.h22 void adb_auth_verified(atransport *t);
24 void send_auth_request(atransport *t);
41 static inline void adb_auth_confirm_key(unsigned char *data, size_t len, atransport *t) { } in adb_auth_confirm_key()
51 void adb_auth_confirm_key(unsigned char *data, size_t len, atransport *t);
Dtransport.c28 static void transport_unref(atransport *t);
30 static atransport transport_list = {
35 static atransport pending_list = {
71 kick_transport(atransport* t) in kick_transport()
89 run_transport_disconnects(atransport* t) in run_transport_disconnects()
205 atransport *t = _t; in transport_socket_events()
212 handle_packet(p, (atransport *) _t); in transport_socket_events()
217 void send_packet(apacket *p, atransport *t) in send_packet()
262 atransport *t = _t; in output_thread()
317 atransport *t = _t; in input_thread()
[all …]
Dtransport_usb.c53 static int remote_read(apacket *p, atransport *t) in remote_read()
82 static int remote_write(apacket *p, atransport *t) in remote_write()
101 static void remote_close(atransport *t) in remote_close()
107 static void remote_kick(atransport *t) in remote_kick()
112 void init_usb_transport(atransport *t, usb_handle *h, int state) in init_usb_transport()
Dtransport_local.c55 static atransport* local_transports[ ADB_LOCAL_TRANSPORT_MAX ];
58 static int remote_read(apacket *p, atransport *t) in remote_read()
89 static int remote_write(apacket *p, atransport *t) in remote_write()
335 static void remote_kick(atransport *t) in remote_kick()
357 static void remote_close(atransport *t) in remote_close()
365 atransport* find_emulator_transport_by_adb_port_locked(int adb_port) in find_emulator_transport_by_adb_port_locked()
376 atransport* find_emulator_transport_by_adb_port(int adb_port) in find_emulator_transport_by_adb_port()
379 atransport* result = find_emulator_transport_by_adb_port_locked(adb_port); in find_emulator_transport_by_adb_port()
405 int init_socket_transport(atransport *t, int s, int adb_port, int local) in init_socket_transport()
424 atransport* existing_transport = in init_socket_transport()
Dadb_auth_client.c47 static void usb_disconnected(void* unused, atransport* t);
49 static atransport* usb_transport;
163 static void usb_disconnected(void* unused, atransport* t) in usb_disconnected()
191 void adb_auth_confirm_key(unsigned char *key, size_t len, atransport *t) in adb_auth_confirm_key()
Dadb.c216 void handle_online(atransport *t) in handle_online()
222 void handle_offline(atransport *t) in handle_offline()
271 static void send_ready(unsigned local, unsigned remote, atransport *t) in send_ready()
281 static void send_close(unsigned local, unsigned remote, atransport *t) in send_close()
341 static void send_connect(atransport *t) in send_connect()
353 void send_auth_request(atransport *t) in send_auth_request()
373 static void send_auth_response(uint8_t *token, size_t token_size, atransport *t) in send_auth_response()
392 static void send_auth_publickey(atransport *t) in send_auth_publickey()
411 void adb_auth_verified(atransport *t) in adb_auth_verified()
417 static char *connection_state_name(atransport *t) in connection_state_name()
[all …]
Dsockets.c126 void close_all_sockets(atransport *t) in close_all_sockets()
544 static void remote_socket_disconnect(void* _s, atransport* t) in remote_socket_disconnect()
562 asocket *create_remote_socket(unsigned id, atransport *t) in create_remote_socket()
Dservices.c496 atransport *t = acquire_one_transport(sinfo->state, sinfo->transport, sinfo->serial, &err); in wait_for_state()
584 atransport* known_emulator = find_emulator_transport_by_adb_port(adb_port); in connect_emulator()