Home
last modified time | relevance | path

Searched refs:connection_state (Results 1 – 6 of 6) sorted by relevance

/system/core/adb/
Dadb.c400 switch(t->connection_state) { in connection_state_name()
472 t->connection_state = CS_BOOTLOADER; in parse_banner()
479 t->connection_state = CS_DEVICE; in parse_banner()
486 t->connection_state = CS_RECOVERY; in parse_banner()
493 t->connection_state = CS_SIDELOAD; in parse_banner()
498 t->connection_state = CS_HOST; in parse_banner()
517 t->connection_state = CS_OFFLINE; in handle_packet()
525 if(t->connection_state != CS_OFFLINE) { in handle_packet()
526 t->connection_state = CS_OFFLINE; in handle_packet()
542 t->connection_state = CS_UNAUTHORIZED; in handle_packet()
Dtransport.c624 if (t->connection_state != CS_NOPERM) { in transport_registration_func()
806 if (t->connection_state == CS_NOPERM) { in acquire_one_transport()
862 if (result->connection_state == CS_UNAUTHORIZED) { in acquire_one_transport()
869 if (result && result->connection_state == CS_OFFLINE) { in acquire_one_transport()
875 if (result && state != CS_ANY && result->connection_state != state) { in acquire_one_transport()
897 switch(t->connection_state){ in statename()
1128 if (t->usb == usb && t->connection_state == CS_NOPERM) { in unregister_usb_transport()
Dadb.h183 int connection_state; member
458 int connection_state(atransport *t);
Dtransport_usb.c120 t->connection_state = state; in init_usb_transport()
Dtransport_local.c415 t->connection_state = CS_OFFLINE; in init_socket_transport()
Dsockets.c794 if(!(s->transport) || (s->transport->connection_state == CS_OFFLINE)) { in smart_socket_enqueue()