HomeSort by relevance Sort by last modified time
    Searched full:atransport (Results 1 - 16 of 16) sorted by null

  /system/core/adb/
adb_auth.h 25 void adb_auth_verified(atransport *t);
27 void send_auth_request(atransport *t);
28 void send_auth_response(uint8_t *token, size_t token_size, atransport *t);
29 void send_auth_publickey(atransport *t);
48 static inline void adb_auth_confirm_key(unsigned char *data, size_t len, atransport *t) { }
63 void adb_auth_confirm_key(unsigned char *data, size_t len, atransport *t);
adb.h 55 class atransport;
85 void (*func)(void* opaque, atransport* t);
138 atransport *transport;
150 void handle_packet(apacket *p, atransport *t);
160 int init_socket_transport(atransport *t, int s, int port, int local);
161 void init_usb_transport(atransport *t, usb_handle *usb, ConnectionState state);
165 atransport* find_emulator_transport_by_adb_port(int adb_port);
166 atransport* find_emulator_transport_by_console_port(int console_port);
169 int service_to_fd(const char* name, const atransport* transport);
231 ConnectionState connection_state(atransport *t)
    [all...]
transport.h 45 class atransport { class
52 atransport() { function in class:atransport
58 virtual ~atransport() {}
60 int (*read_from_remote)(apacket* p, atransport* t) = nullptr;
61 int (*write_to_remote)(apacket* p, atransport* t) = nullptr;
62 void (*close)(atransport* t) = nullptr;
63 void SetKickFunction(void (*kick_func)(atransport*)) {
132 void (*kick_func_)(atransport*) = nullptr;
143 DISALLOW_COPY_AND_ASSIGN(atransport);
153 atransport* acquire_one_transport(TransportType type, const char* serial
    [all...]
transport_usb.cpp 28 static int remote_read(apacket *p, atransport *t)
55 static int remote_write(apacket *p, atransport *t)
72 static void remote_close(atransport *t)
78 static void remote_kick(atransport *t)
83 void init_usb_transport(atransport *t, usb_handle *h, ConnectionState state)
socket.h 25 class atransport;
98 /* A socket is bound to atransport */
99 atransport *transport;
107 void close_all_sockets(atransport *t);
111 const atransport* transport);
113 asocket *create_remote_socket(unsigned id, atransport *t);
adb_auth.cpp 33 void send_auth_request(atransport *t)
53 void send_auth_response(uint8_t *token, size_t token_size, atransport *t)
72 void send_auth_publickey(atransport *t)
91 void adb_auth_verified(atransport *t)
transport_test.cpp 45 atransport t;
49 t.SetKickFunction([](atransport* trans) { kick_count++; });
60 static void DisconnectFunc(void* arg, atransport*) {
66 atransport t;
67 // RunDisconnects() can be called with an empty atransport.
90 atransport t;
118 atransport t;
131 atransport t;
147 atransport t;
172 atransport t
    [all...]
adb_listeners.h 35 atransport* transport,
41 InstallStatus remove_listener(const char* local_name, atransport* transport);
transport.cpp 41 static void transport_unref(atransport *t);
43 static auto& transport_list = *new std::list<atransport*>();
44 static auto& pending_list = *new std::list<atransport*>();
139 atransport *t = reinterpret_cast<atransport*>(_t);
146 handle_packet(p, (atransport *) _t);
151 void send_packet(apacket *p, atransport *t)
195 atransport *t = reinterpret_cast<atransport*>(_t);
252 atransport *t = reinterpret_cast<atransport*>(_t)
    [all...]
transport_local.cpp 49 /* we keep a list of opened transports. The atransport struct knows to which
53 static atransport* local_transports[ ADB_LOCAL_TRANSPORT_MAX ];
56 static int remote_read(apacket *p, atransport *t)
81 static int remote_write(apacket *p, atransport *t)
321 static void remote_kick(atransport *t)
341 static void remote_close(atransport *t)
353 atransport* find_emulator_transport_by_adb_port_locked(int adb_port)
369 atransport* find_emulator_transport_by_adb_port(int adb_port)
372 atransport* result = find_emulator_transport_by_adb_port_locked(adb_port);
377 atransport* find_emulator_transport_by_console_port(int console_port
    [all...]
adb_auth_client.cpp 50 static void usb_disconnected(void* unused, atransport* t);
52 static atransport* usb_transport;
165 static void usb_disconnected(void* unused, atransport* t) {
193 void adb_auth_confirm_key(unsigned char *key, size_t len, atransport *t)
adb_listeners.cpp 107 static void listener_disconnect(void* arg, atransport*) {
157 InstallStatus remove_listener(const char *local_name, atransport* transport) {
183 atransport* transport,
services.cpp 190 atransport* t = static_cast<atransport*>(arg);
210 static int ShellService(const std::string& args, const atransport* transport) {
278 int service_to_fd(const char* name, const atransport* transport) {
356 ret = create_service_thread(reconnect_service, const_cast<atransport*>(transport));
381 atransport* t = acquire_one_transport(sinfo->transport_type, serial, &is_ambiguous, &error);
469 atransport* known_emulator = find_emulator_transport_by_adb_port(adb_port);
adb.cpp 101 void handle_online(atransport *t)
107 void handle_offline(atransport *t)
161 static void send_ready(unsigned local, unsigned remote, atransport *t)
171 static void send_close(unsigned local, unsigned remote, atransport *t)
207 void send_connect(atransport* t) {
231 // TODO: switch to std::string for these atransport fields instead.
237 void parse_banner(const std::string& banner, atransport* t) {
294 static void handle_new_connection(atransport* t, apacket* p) {
317 void handle_packet(apacket *p, atransport *t)
    [all...]
sockets.cpp 109 void close_all_sockets(atransport* t) {
402 asocket* create_local_service_socket(const char* name, const atransport* transport) {
499 asocket* create_remote_socket(unsigned id, atransport* t) {
  /bootable/recovery/minadbd/
services.cpp 88 int service_to_fd(const char* name, const atransport* transport) {

Completed in 1056 milliseconds