Lines Matching defs:control
43 named @jdwp-control (@ is a shortcut for "first byte is zero"
47 a connection to @jdwp-control to announce its availability.
50 JDWP thread @jdwp-control
83 JDWP thread @jdwp-control
249 D("ignoring unexpected JDWP %d control socket activity (%d bytes)", proc->pid,
347 /* name of the debug control Unix socket */
348 #define JDWP_CONTROL_NAME "\0jdwp-control"
360 static int jdwp_control_init(JdwpControl* control, const char* sockname, int socknamelen) {
368 D("vm debug control socket name too long (%d extra chars)", pathlen + 1 - maxpath);
378 D("could not create vm debug control socket. %d: %s", errno, strerror(errno));
385 D("could not bind vm debug control socket: %d: %s", errno, strerror(errno));
391 D("listen failed in jdwp control socket: %d: %s", errno, strerror(errno));
396 control->listen_socket = s;
398 control->fde = fdevent_create(s, jdwp_control_event, control);
399 if (control->fde == NULL) {
400 D("could not create fdevent for jdwp control socket");
406 fdevent_add(control->fde, FDE_READ);
408 D("jdwp control socket started (%d)", control->listen_socket);
413 JdwpControl* control = (JdwpControl*)_control;
416 int s = adb_socket_accept(control->listen_socket, nullptr, nullptr);
424 D("weird accept() failed on jdwp control socket: %s", strerror(errno));