Home | History | Annotate | Download | only in adb

Lines Matching refs:jdwp

16    when a new JDWP daemon thread starts in a new VM process, it creates
20 JDWP thread @vm-debug-control
28 the JDWP process terminates (this allows adbd to detect dead
31 adbd thus maintains a list of "active" JDWP processes. it can send
36 equivalent to "adb forward tcp:<hostport> jdwp:<pid>"
38 "jdwp:<pid>" is a new forward destination format used to target
39 a given JDWP process on the device. when sutch a request arrives,
50 to the JDWP process with the help of sendmsg()
53 JDWP thread @vm-debug-control
60 then, the JDWP thread uses this new socket descriptor as its
62 JDWP-Handshake message, answers to it, etc...)
80 JDWP <======> LocalSocket <----> RemoteSocket |
86 or the JDWP process closes the connection.
93 /** JDWP PID List Support Code
94 ** for each JDWP process, we record its pid and its connected socket
113 int in_len; /* number from JDWP process */
116 int out_count; /* to send to the JDWP process */
200 D("not enough memory to create new JDWP process\n");
211 D("could not create fdevent for new JDWP process\n" );
252 /* this can fail here if the JDWP process crashes very fast */
253 D("weird unknown JDWP process failure: %s\n",
259 D("weird end-of-stream from unknown JDWP process\n");
271 D("could not decode JDWP %p PID number: '%s'\n", proc, temp);
276 D("Adding pid %d to jdwp process list\n", proc->pid);
282 * was closed (e.g. the JDWP process exited or crashed) */
294 D("terminating JDWP %d connection: %s\n", proc->pid,
300 D( "ignoring unexpected JDWP %d control socket activity (%d bytes)\n",
307 D( "remove pid %d to jdwp process list\n", proc->pid );
314 D("trying to write to JDWP pid controli (count=%d first=%d) %d\n",
365 D("sending new file descriptor to JDWP %d failed: %s\n",
370 D("sent file descriptor %d to JDWP process %d\n",
394 D("looking for pid %d in JDWP process list\n", pid);
408 D("%s: too many pending JDWP connection for pid %d\n",
433 #define JDWP_CONTROL_NAME "\0jdwp-control"
485 D("listen failed in jdwp control socket: %d: %s\n",
495 D( "could not create fdevent for jdwp control socket\n" );
504 D("jdwp control socket started (%d)\n", control->listen_socket);
526 /* oops, the JDWP process died really quick */
527 D("oops, the JDWP process died really quick\n");
531 D( "weird accept() failed on jdwp control socket: %s\n",
547 /** "jdwp" local service implementation
548 JDWP process pids
583 JdwpSocket* jdwp = (JdwpSocket*)s;
584 asocket* peer = jdwp->socket.peer;
589 if (jdwp->pass == 0) {
593 jdwp->pass = 1;
618 /** "track-jdwp" local service implementation
619 ** this periodically sends the list of known JDWP process pids