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

/system/core/adb/
H A Dadb.c244 switch(t->connection_state) {
282 D("setting connection_state to CS_BOOTLOADER\n");
283 t->connection_state = CS_BOOTLOADER;
289 D("setting connection_state to CS_DEVICE\n");
290 t->connection_state = CS_DEVICE;
296 D("setting connection_state to CS_RECOVERY\n");
297 t->connection_state = CS_RECOVERY;
302 t->connection_state = CS_HOST;
321 t->connection_state = CS_OFFLINE;
329 if(t->connection_state !
[all...]
H A Dtransport_usb.c120 t->connection_state = state;
H A Dadb.h178 int connection_state; member in struct:atransport
286 /* this should only be used for transports with connection_state == CS_NOPERM */
428 int connection_state(atransport *t);
H A Dtransport.c613 if (t->connection_state != CS_NOPERM) {
753 if (t->connection_state == CS_NOPERM) {
800 if (result && result->connection_state == CS_OFFLINE) {
806 if (result && state != CS_ANY && result->connection_state != state) {
828 switch(t->connection_state){
970 /* this should only be used for transports with connection_state == CS_NOPERM */
976 if (t->usb == usb && t->connection_state == CS_NOPERM) {
H A Dtransport_local.c287 t->connection_state = CS_OFFLINE;
H A Dsockets.c759 if(!(s->transport) || (s->transport->connection_state == CS_OFFLINE)) {

Completed in 137 milliseconds