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

/system/core/adb/
H A Dtransport_usb.c120 t->connection_state = state;
H A Dadb.h186 int connection_state; member in struct:atransport
303 /* this should only be used for transports with connection_state == CS_NOPERM */
461 int connection_state(atransport *t);
H A Dadb.c399 switch(t->connection_state) {
466 D("setting connection_state to CS_BOOTLOADER\n");
467 t->connection_state = CS_BOOTLOADER;
473 D("setting connection_state to CS_DEVICE\n");
474 t->connection_state = CS_DEVICE;
480 D("setting connection_state to CS_RECOVERY\n");
481 t->connection_state = CS_RECOVERY;
487 D("setting connection_state to CS_SIDELOAD\n");
488 t->connection_state = CS_SIDELOAD;
493 t->connection_state
[all...]
H A Dtransport.c619 if (t->connection_state != CS_NOPERM) {
798 if (t->connection_state == CS_NOPERM) {
854 if (result->connection_state == CS_UNAUTHORIZED) {
861 if (result && result->connection_state == CS_OFFLINE) {
867 if (result && state != CS_ANY && result->connection_state != state) {
889 switch(t->connection_state){
1083 /* this should only be used for transports with connection_state == CS_NOPERM */
1089 if (t->usb == usb && t->connection_state == CS_NOPERM) {
H A Dtransport_local.c412 t->connection_state = CS_OFFLINE;
H A Dsockets.c794 if(!(s->transport) || (s->transport->connection_state == CS_OFFLINE)) {

Completed in 88 milliseconds