Lines Matching defs:service
449 int adb_download_buffer(const char *service, const char *fn, const void* data, int sz,
457 sprintf(buf,"%s:%d", service, sz);
471 char *x = strrchr(service, ':');
472 if(x) service = x + 1;
510 int adb_download(const char *service, const char *fn, unsigned progress)
521 int status = adb_download_buffer(service, fn, data, sz, progress);
741 fprintf(stderr, "usage: adb %s <adb service name> [ppp opts]\n",
752 fprintf(stderr,"Error: Could not open adb service: %s. Error: %s\n",
1467 char* service = argv[0];
1468 if (!strncmp(service, "wait-for-device", strlen("wait-for-device"))) {
1470 service = "wait-for-usb";
1472 service = "wait-for-local";
1474 service = "wait-for-any";
1478 format_host_command(buf, sizeof buf, service, ttype, serial);