Lines Matching defs:name
410 asocket *create_local_service_socket(const char *name)
416 if (!strcmp(name,"jdwp")) {
419 if (!strcmp(name,"track-jdwp")) {
423 fd = service_to_fd(name);
427 D("LS(%d): bound to '%s' via %d\n", s->id, name, fd);
430 if ((!strncmp(name, "root:", 5) && getuid() != 0)
431 || !strncmp(name, "usb:", 4)
432 || !strncmp(name, "tcpip:", 6)) {
442 static asocket *create_host_service_socket(const char *name, const char* serial)
446 s = host_service_to_socket(name, serial);
449 D("LS(%d) bound to '%s'\n", s->id, name);
749 /* try to find a local service with this name.