HomeSort by relevance Sort by last modified time
    Searched refs:JDWP (Results 1 - 19 of 19) sorted by null

  /art/runtime/
debugger.h 18 * Dalvik-specific side of debugger support. (The JDWP code is intended to
32 #include "jdwp/jdwp.h"
60 arg_count(0), arg_values(NULL), options(0), error(JDWP::ERR_NONE),
61 result_tag(JDWP::JT_VOID), exception(0),
69 /* boolean; set if the JDWP thread wants this thread to do work */
82 JDWP::JdwpError error;
83 JDWP::JdwpTag result_tag;
85 JDWP::ObjectId exception;
103 : is_active(false), step_size(JDWP::SS_MIN), step_depth(JDWP::SD_INTO)
    [all...]
debugger.cc 33 #include "jdwp/object_registry.h"
294 // JDWP is allowed unless the Zygote forbids it.
297 // Was there a -Xrunjdwp or -agentlib:jdwp= argument on the command line?
300 // Broken-down JDWP options. (Only valid if IsJdwpConfigured() is true.)
301 static JDWP::JdwpOptions gJdwpOptions;
303 // Runtime JDWP state.
304 static JDWP::JdwpState* gJdwpState = NULL;
389 VLOG(jdwp) << "Hit breakpoint #" << i << ": " << gBreakpoints[i];
404 static mirror::Array* DecodeArray(JDWP::RefTypeId id, JDWP::JdwpError& status
    [all...]
  /art/runtime/jdwp/
object_registry.h 25 #include "jdwp/jdwp.h"
46 JDWP::ObjectId id;
63 JDWP::ObjectId Add(mirror::Object* o)
65 JDWP::RefTypeId AddRefType(mirror::Class* c)
68 template<typename T> T Get(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
77 void DisableCollection(JDWP::ObjectId id)
80 void EnableCollection(JDWP::ObjectId id)
83 bool IsCollected(JDWP::ObjectId id)
86 void DisposeObject(JDWP::ObjectId id, uint32_t reference_count
    [all...]
object_registry.cc 39 JDWP::RefTypeId ObjectRegistry::AddRefType(mirror::Class* c) {
43 JDWP::ObjectId ObjectRegistry::Add(mirror::Object* o) {
47 JDWP::ObjectId ObjectRegistry::InternalAdd(mirror::Object* o) {
110 VLOG(jdwp) << "Object registry contained " << object_to_entry_.size() << " entries";
127 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id) {
138 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) {
150 void ObjectRegistry::DisableCollection(JDWP::ObjectId id) {
158 void ObjectRegistry::EnableCollection(JDWP::ObjectId id) {
188 bool ObjectRegistry::IsCollected(JDWP::ObjectId id) {
202 void ObjectRegistry::DisposeObject(JDWP::ObjectId id, uint32_t reference_count)
    [all...]
jdwp_expand_buf.h 29 namespace JDWP {
66 } // namespace JDWP
jdwp_priv.h 17 * JDWP internal interfaces.
23 #include "jdwp/jdwp.h"
24 #include "jdwp/jdwp_event.h"
30 * JDWP constants.
35 #define kMagicHandshake "JDWP-Handshake"
44 namespace JDWP {
96 // Are we waiting for the JDWP handshake?
100 } // namespace JDWP
jdwp_event.h 22 #include "jdwp/jdwp.h"
23 #include "jdwp/jdwp_constants.h"
24 #include "jdwp/jdwp_expand_buf.h"
28 namespace JDWP {
109 } // namespace JDWP
jdwp_event.cc 17 #include "jdwp/jdwp_event.h"
27 #include "jdwp/jdwp_constants.h"
28 #include "jdwp/jdwp_expand_buf.h"
29 #include "jdwp/jdwp_priv.h"
30 #include "jdwp/object_registry.h"
44 Event posting can happen from any thread. The JDWP thread will not usually
45 post anything but VM start/death, but if a JDWP request causes a class
46 to be loaded, the ClassPrepare event will come from the JDWP thread.
69 JDWP thread:
90 holding the event token is very bad, because it prevents the JDWP threa
    [all...]
jdwp_handler.cc 29 #include "jdwp/jdwp_constants.h"
30 #include "jdwp/jdwp_event.h"
31 #include "jdwp/jdwp_expand_buf.h"
32 #include "jdwp/jdwp_priv.h"
38 namespace JDWP {
102 VLOG(jdwp) << StringPrintf(" --> thread_id=%#" PRIx64 " object_id=%#" PRIx64,
104 VLOG(jdwp) << StringPrintf(" class_id=%#" PRIx64 " method_id=%x %s.%s", class_id,
107 VLOG(jdwp) << StringPrintf(" %d args:", arg_count);
115 VLOG(jdwp) << " " << argTypes[i] << StringPrintf("(%zd): %#" PRIx64, width,
120 VLOG(jdwp) << StringPrintf(" options=0x%04x%s%s", options
    [all...]
jdwp_bits.h 29 namespace JDWP {
120 } // namespace JDWP
jdwp_constants.h 17 * These come out of the JDWP documentation.
26 namespace JDWP {
130 EK_VM_DISCONNECTED = 100, // "Never sent across JDWP".
245 } // namespace JDWP
jdwp_expand_buf.cc 18 * primitive values, e.g. JDWP replies.
21 #include "jdwp/jdwp_expand_buf.h"
27 #include "jdwp/jdwp.h"
28 #include "jdwp/jdwp_bits.h"
32 namespace JDWP {
186 } // namespace JDWP
jdwp_request.cc 17 #include "jdwp/jdwp.h"
22 #include "jdwp/jdwp_priv.h"
26 namespace JDWP {
60 VLOG(jdwp) << " string \"" << s << "\"";
79 VLOG(jdwp) << " " << what << " " << value;
85 VLOG(jdwp) << " " << what << " " << value;
91 VLOG(jdwp) << " field id " << DescribeField(id);
97 VLOG(jdwp) << " method id " << DescribeMethod(id);
103 VLOG(jdwp) << StringPrintf(" %s id %#" PRIx64, specific_kind, id)
    [all...]
jdwp.h 22 #include "jdwp/jdwp_bits.h"
23 #include "jdwp/jdwp_constants.h"
24 #include "jdwp/jdwp_expand_buf.h"
47 namespace JDWP {
79 * Holds a JDWP "location".
116 * State for JDWP functions.
138 * Returns the Thread* for the JDWP daemon thread.
157 * the debugger. The main JDWP handler loop calls "get" before processing
159 * thread has suspended itself, the JDWP handler calls "clear" and
184 * JDWP support thread) to be suspended
    [all...]
jdwp_main.cc 26 #include "jdwp/jdwp_priv.h"
31 namespace JDWP {
69 VLOG(jdwp) << "+++ writing to wake pipe";
112 // Only called from the JDWP thread.
118 VLOG(jdwp) << "+++ closing JDWP connection on fd " << clientSock;
148 VLOG(jdwp) << "Not sending JDWP packet: no debugger attached!";
160 PLOG(ERROR) << StringPrintf("Failed to send JDWP packet %c%c%c%c to debugger (%zd of %zu)",
172 VLOG(jdwp) << "Not sending JDWP packet: no debugger attached!"
    [all...]
jdwp_adb.cc 25 #include "jdwp/jdwp_priv.h"
32 * The JDWP <-> ADB transport protocol is explained in detail
35 * 1/ when the JDWP thread starts, it tries to connect to a Unix
36 * domain stream socket (@jdwp-control) that is opened by the
44 * a given JDWP debugger, that can be used to read the usual
45 * JDWP-handshake, etc...
48 #define kJdwpControlName "\0jdwp-control"
53 namespace JDWP {
120 * runs in the main thread, before the JDWP thread starts, so it shouldn't
124 VLOG(jdwp) << "ADB transport startup"
    [all...]
jdwp_socket.cc 31 #include "jdwp/jdwp_priv.h"
38 namespace JDWP {
41 * JDWP network state.
86 LOG(ERROR) << "JDWP net startup failed (req port=" << options->port << ")";
94 LOG(INFO) << "JDWP will wait for debugger on port " << port;
96 LOG(INFO) << "JDWP will " << (options->server ? "listen" : "connect") << " on port " << port;
103 * Initialize JDWP stuff.
164 * Shut down JDWP listener. Don't free state.
166 * This may be called from a non-JDWP thread as part of shutting the
167 * JDWP thread down
    [all...]
  /art/runtime/native/
org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc 125 JDWP::Append4BE(bytes, t->GetThreadId());
126 JDWP::Append1BE(bytes, Dbg::ToJdwpThreadStatus(t->GetState()));
127 JDWP::Append4BE(bytes, t->GetTid());
128 JDWP::Append4BE(bytes, utime);
129 JDWP::Append4BE(bytes, stime);
130 JDWP::Append1BE(bytes, t->IsDaemon());
143 JDWP::Append1BE(bytes, kThstHeaderLen);
144 JDWP::Append1BE(bytes, kThstBytesPerEntry);
145 JDWP::Append2BE(bytes, thread_count);
  /external/chromium_org/build/android/pylib/device/
adb_wrapper.py 215 jdwp:<process pid> (remote only)
225 def JDWP(self, timeout=_DEFAULT_TIMEOUT, retries=_DEFAULT_RETRIES):
226 """List of PIDs of processes hosting a JDWP transport.
236 self._DeviceAdbCmd(['jdwp'], timeout, retries).split('\n')]

Completed in 146 milliseconds