Home
last modified time | relevance | path

Searched refs:JDWP (Results 1 – 19 of 19) sorted by relevance

/art/runtime/
Ddebugger.h60 arg_count(0), arg_values(NULL), options(0), error(JDWP::ERR_NONE), in DebugInvokeReq()
61 result_tag(JDWP::JT_VOID), exception(0), in DebugInvokeReq()
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), in SingleStepControl()
111 JDWP::JdwpStepSize step_size;
112 JDWP::JdwpStepDepth step_depth;
257 static std::string GetClassName(JDWP::RefTypeId id)
261 static JDWP::JdwpError GetClassObject(JDWP::RefTypeId id, JDWP::ObjectId& class_object_id)
[all …]
Ddebugger.cc301 static JDWP::JdwpOptions gJdwpOptions;
304 static JDWP::JdwpState* gJdwpState = NULL;
404 static mirror::Array* DecodeArray(JDWP::RefTypeId id, JDWP::JdwpError& status) in DecodeArray()
408 status = JDWP::ERR_INVALID_OBJECT; in DecodeArray()
412 status = JDWP::ERR_INVALID_ARRAY; in DecodeArray()
415 status = JDWP::ERR_NONE; in DecodeArray()
419 static mirror::Class* DecodeClass(JDWP::RefTypeId id, JDWP::JdwpError& status) in DecodeClass()
423 status = JDWP::ERR_INVALID_OBJECT; in DecodeClass()
427 status = JDWP::ERR_INVALID_CLASS; in DecodeClass()
430 status = JDWP::ERR_NONE; in DecodeClass()
[all …]
/art/runtime/jdwp/
Dobject_registry.h46 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_) { in Get()
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)
94 jobject GetJObject(JDWP::ObjectId id) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
97 JDWP::ObjectId InternalAdd(mirror::Object* o)
[all …]
Dobject_registry.cc39 JDWP::RefTypeId ObjectRegistry::AddRefType(mirror::Class* c) { in AddRefType()
43 JDWP::ObjectId ObjectRegistry::Add(mirror::Object* o) { in Add()
47 JDWP::ObjectId ObjectRegistry::InternalAdd(mirror::Object* o) { in InternalAdd()
127 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id) { in InternalGet()
138 jobject ObjectRegistry::GetJObject(JDWP::ObjectId id) { in GetJObject()
150 void ObjectRegistry::DisableCollection(JDWP::ObjectId id) { in DisableCollection()
158 void ObjectRegistry::EnableCollection(JDWP::ObjectId id) { in EnableCollection()
188 bool ObjectRegistry::IsCollected(JDWP::ObjectId id) { in IsCollected()
202 void ObjectRegistry::DisposeObject(JDWP::ObjectId id, uint32_t reference_count) { in DisposeObject()
Djdwp_event.cc105 namespace JDWP { namespace
584 void JdwpState::SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id) { in SuspendByPolicy()
633 JDWP::ObjectId thread_self_id = Dbg::GetThreadSelfId(); in SendRequestAndPossiblySuspend()
799 if (error != JDWP::ERR_NONE) { in LogMatchingEventsAndThread()
805 static void SetJdwpLocationFromEventLocation(const JDWP::EventLocation* event_location, in SetJdwpLocationFromEventLocation()
806 JDWP::JdwpLocation* jdwp_location) in SetJdwpLocationFromEventLocation()
899 JDWP::JdwpLocation jdwp_location; in PostLocationEvent()
979 JDWP::JdwpLocation jdwp_location; in PostFieldEvent()
998 JDWP::JdwpTypeTag type_tag = Dbg::GetTypeTag(field->GetDeclaringClass()); in PostFieldEvent()
1182 JDWP::JdwpLocation jdwp_throw_location; in PostException()
[all …]
Djdwp_handler.cc38 namespace JDWP { namespace
156 JDWP::JdwpError error = Dbg::StringToUtf8(resultValue, &result_string); in FinishInvoke()
157 CHECK_EQ(error, JDWP::ERR_NONE); in FinishInvoke()
204 JDWP::JdwpTypeTag type_tag; in VM_ClassesBySignature()
206 JDWP::JdwpError status = Dbg::GetClassInfo(ids[i], &type_tag, &class_status, NULL); in VM_ClassesBySignature()
400 std::vector<JDWP::RefTypeId> classes; in VM_AllClassesImpl()
407 JDWP::JdwpTypeTag type_tag; in VM_AllClassesImpl()
410 JDWP::JdwpError status = Dbg::GetClassInfo(classes[i], &type_tag, &class_status, &descriptor); in VM_AllClassesImpl()
508 JDWP::JdwpTypeTag type_tag; in RT_Status()
510 JDWP::JdwpError status = Dbg::GetClassInfo(refTypeId, &type_tag, &class_status, NULL); in RT_Status()
[all …]
Djdwp_expand_buf.h29 namespace JDWP {
Djdwp_priv.h44 namespace JDWP {
Djdwp_event.h28 namespace JDWP {
DREADME.txt8 An attempt has been made to keep the JDWP implementation distinct from the
Djdwp_main.cc31 namespace JDWP { namespace
373 JDWP::Request request(netStateBase->input_buffer_, netStateBase->input_count_); in HandlePacket()
Djdwp.h47 namespace JDWP {
305 void SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id)
Djdwp_bits.h29 namespace JDWP {
Djdwp_constants.h26 namespace JDWP {
Djdwp_expand_buf.cc32 namespace JDWP { namespace
Djdwp_request.cc26 namespace JDWP { namespace
Djdwp_adb.cc53 namespace JDWP { namespace
Djdwp_socket.cc38 namespace JDWP { namespace
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc125 JDWP::Append4BE(bytes, t->GetThreadId()); in ThreadStatsGetterCallback()
126 JDWP::Append1BE(bytes, Dbg::ToJdwpThreadStatus(t->GetState())); in ThreadStatsGetterCallback()
127 JDWP::Append4BE(bytes, t->GetTid()); in ThreadStatsGetterCallback()
128 JDWP::Append4BE(bytes, utime); in ThreadStatsGetterCallback()
129 JDWP::Append4BE(bytes, stime); in ThreadStatsGetterCallback()
130 JDWP::Append1BE(bytes, t->IsDaemon()); in ThreadStatsGetterCallback()
143 JDWP::Append1BE(bytes, kThstHeaderLen); in DdmVmInternal_getThreadStats()
144 JDWP::Append1BE(bytes, kThstBytesPerEntry); in DdmVmInternal_getThreadStats()
145 JDWP::Append2BE(bytes, thread_count); in DdmVmInternal_getThreadStats()