Home | History | Annotate | Download | only in adb

Lines Matching refs:ttype

41 static int do_cmd(transport_type ttype, char* serial, char *cmd, ...);
434 static void format_host_command(char* buffer, size_t buflen, const char* command, transport_type ttype, const char* serial)
440 if (ttype == kTransportUsb)
442 else if (ttype == kTransportLocal)
635 static void status_window(transport_type ttype, const char* serial)
651 format_host_command(command, sizeof command, "get-state", ttype, serial);
1129 transport_type ttype = kTransportAny;
1197 ttype = kTransportUsb;
1199 ttype = kTransportLocal;
1244 adb_set_transport(ttype, serial);
1376 do_cmd(ttype, serial, "wait-for-device", 0);
1460 do_cmd(ttype, serial, "shell", "bugreport", 0);
1469 if (ttype == kTransportUsb) {
1471 } else if (ttype == kTransportLocal) {
1478 format_host_command(buf, sizeof buf, service, ttype, serial);
1536 } else if (ttype == kTransportUsb) {
1538 } else if (ttype == kTransportLocal) {
1628 return install_app(ttype, serial, argc, argv);
1633 return install_multiple_app(ttype, serial, argc, argv);
1638 return uninstall_app(ttype, serial, argc, argv);
1686 format_host_command(buf, sizeof buf, argv[0], ttype, serial);
1699 status_window(ttype, serial);
1704 return logcat(ttype, serial, argc, argv);
1751 static int do_cmd(transport_type ttype, char* serial, char *cmd, ...)
1763 } else if (ttype == kTransportUsb) {
1765 } else if (ttype == kTransportLocal) {