/art/runtime/ |
D | debugger.h | 78 JDWP::ObjectId invoke_thread_id, in DebugInvokeReq() 93 reply(JDWP::expandBufAlloc()) { in DebugInvokeReq() 97 JDWP::expandBufFree(reply); in ~DebugInvokeReq() 102 const JDWP::ObjectId thread_id; 112 JDWP::ExpandBuf* const reply; 124 SingleStepControl(JDWP::JdwpStepSize step_size, JDWP::JdwpStepDepth step_depth, in SingleStepControl() 130 JDWP::JdwpStepSize GetStepSize() const { in GetStepSize() 134 JDWP::JdwpStepDepth GetStepDepth() const { in GetStepDepth() 156 const JDWP::JdwpStepSize step_size_; 157 const JDWP::JdwpStepDepth step_depth_; [all …]
|
D | debugger.cc | 303 static JDWP::JdwpOptions gJdwpOptions; 306 static JDWP::JdwpState* gJdwpState = nullptr; 416 static ObjPtr<mirror::Array> DecodeNonNullArray(JDWP::RefTypeId id, JDWP::JdwpError* error) in DecodeNonNullArray() 420 *error = JDWP::ERR_INVALID_OBJECT; in DecodeNonNullArray() 424 *error = JDWP::ERR_INVALID_ARRAY; in DecodeNonNullArray() 427 *error = JDWP::ERR_NONE; in DecodeNonNullArray() 431 static ObjPtr<mirror::Class> DecodeClass(JDWP::RefTypeId id, JDWP::JdwpError* error) in DecodeClass() 435 *error = JDWP::ERR_INVALID_OBJECT; in DecodeClass() 439 *error = JDWP::ERR_INVALID_CLASS; in DecodeClass() 442 *error = JDWP::ERR_NONE; in DecodeClass() [all …]
|
D | runtime.cc | 1378 JDWP::JdwpOptions ops; in Init() 1379 if (!JDWP::ParseJdwpOptions(runtime_options.GetOrDefault(Opt::JdwpOptions), &ops)) { in Init()
|
/art/runtime/jdwp/ |
D | object_registry.h | 49 JDWP::ObjectId id; 67 JDWP::ObjectId Add(ObjPtr<mirror::Object> o) 71 JDWP::RefTypeId AddRefType(ObjPtr<mirror::Class> c) 76 JDWP::ObjectId Add(Handle<T> obj_h) 80 JDWP::RefTypeId AddRefType(Handle<mirror::Class> c_h) 84 template<typename T> T Get(JDWP::ObjectId id, JDWP::JdwpError* error) in Get() 87 *error = JDWP::ERR_NONE; in Get() 95 void DisableCollection(JDWP::ObjectId id) 98 void EnableCollection(JDWP::ObjectId id) 101 bool IsCollected(JDWP::ObjectId id) [all …]
|
D | jdwp_options_test.cc | 22 namespace JDWP { namespace 29 JDWP::JdwpOptions opt = JDWP::JdwpOptions(); in TEST() 43 JDWP::JdwpOptions opt = JDWP::JdwpOptions(); in TEST() 58 JDWP::JdwpOptions opt = JDWP::JdwpOptions(); in TEST() 72 JDWP::JdwpOptions opt = JDWP::JdwpOptions(); in TEST()
|
D | object_registry.cc | 45 JDWP::RefTypeId ObjectRegistry::AddRefType(ObjPtr<mirror::Class> c) { in AddRefType() 49 JDWP::RefTypeId ObjectRegistry::AddRefType(Handle<mirror::Class> c_h) { in AddRefType() 53 JDWP::ObjectId ObjectRegistry::Add(ObjPtr<mirror::Object> o) { in Add() 64 JDWP::ObjectId ObjectRegistry::Add(Handle<T> obj_h) { in Add() 75 JDWP::ObjectId ObjectRegistry::Add(Handle<mirror::Object> obj_h); 80 JDWP::ObjectId ObjectRegistry::Add(Handle<mirror::Throwable> obj_h); 83 JDWP::ObjectId ObjectRegistry::InternalAdd(Handle<T> obj_h) { in InternalAdd() 179 mirror::Object* ObjectRegistry::InternalGet(JDWP::ObjectId id, JDWP::JdwpError* error) { in InternalGet() 184 *error = JDWP::ERR_INVALID_OBJECT; in InternalGet() 188 *error = JDWP::ERR_NONE; in InternalGet() [all …]
|
D | jdwp_main.cc | 34 namespace JDWP { namespace 46 jdwp_options->transport = JDWP::kJdwpTransportSocket; in ParseJdwpOption() 48 jdwp_options->transport = JDWP::kJdwpTransportAndroidAdb; in ParseJdwpOption() 50 jdwp_options->transport = JDWP::kJdwpTransportUnknown; in ParseJdwpOption() 135 if (jdwp_options->transport == JDWP::kJdwpTransportUnknown) { in ParseJdwpOptions() 140 if (jdwp_options->transport == JDWP::kJdwpTransportNone) { in ParseJdwpOptions() 141 jdwp_options->transport = JDWP::kJdwpTransportAndroidAdb; in ParseJdwpOptions() 518 JDWP::Request request(netStateBase->input_buffer_, netStateBase->input_count_); in HandlePacket()
|
D | jdwp_event.cc | 105 namespace JDWP { namespace 624 void JdwpState::SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id) { in SuspendByPolicy() 836 if (error != JDWP::ERR_NONE) { in LogMatchingEventsAndThread() 842 static void SetJdwpLocationFromEventLocation(const JDWP::EventLocation* event_location, in SetJdwpLocationFromEventLocation() 843 JDWP::JdwpLocation* jdwp_location) in SetJdwpLocationFromEventLocation() 934 JDWP::JdwpLocation jdwp_location; in PostLocationEvent() 1000 JDWP::JdwpLocation jdwp_location; in PostFieldEvent() 1019 JDWP::JdwpTypeTag type_tag = Dbg::GetTypeTag(field->GetDeclaringClass()); in PostFieldEvent() 1181 JDWP::JdwpLocation jdwp_throw_location; in PostException() 1182 JDWP::JdwpLocation jdwp_catch_location; in PostException() [all …]
|
D | jdwp_expand_buf.h | 29 namespace JDWP {
|
D | jdwp_handler.cc | 41 namespace JDWP { namespace 118 JDWP::JdwpError error = Dbg::PrepareInvokeMethod(request->GetId(), thread_id, object_id, in RequestInvoke() 121 if (error == JDWP::ERR_NONE) { in RequestInvoke() 164 JDWP::JdwpTypeTag type_tag; in VM_ClassesBySignature() 166 JDWP::JdwpError status = Dbg::GetClassInfo(ids[i], &type_tag, &class_status, nullptr); in VM_ClassesBySignature() 356 std::vector<JDWP::RefTypeId> classes; in VM_AllClassesImpl() 363 JDWP::JdwpTypeTag type_tag; in VM_AllClassesImpl() 366 JDWP::JdwpError status = Dbg::GetClassInfo(classes[i], &type_tag, &class_status, &descriptor); in VM_AllClassesImpl() 464 JDWP::JdwpTypeTag type_tag; in RT_Status() 466 JDWP::JdwpError status = Dbg::GetClassInfo(refTypeId, &type_tag, &class_status, nullptr); in RT_Status() [all …]
|
D | jdwp_event.h | 28 namespace JDWP {
|
D | README.txt | 8 An attempt has been made to keep the JDWP implementation distinct from the
|
D | jdwp_priv.h | 63 namespace JDWP {
|
D | jdwp_constants.h | 26 namespace JDWP {
|
D | jdwp_bits.h | 29 namespace JDWP {
|
D | jdwp_expand_buf.cc | 33 namespace JDWP { namespace
|
D | jdwp_request.cc | 27 namespace JDWP { namespace
|
D | jdwp.h | 50 namespace JDWP { 311 void SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id)
|
D | jdwp_adb.cc | 59 namespace JDWP { namespace
|
D | jdwp_socket.cc | 36 namespace JDWP { namespace
|
/art/runtime/native/ |
D | org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc | 133 JDWP::Append4BE(bytes, t->GetThreadId()); in ThreadStatsGetterCallback() 134 JDWP::Append1BE(bytes, Dbg::ToJdwpThreadStatus(t->GetState())); in ThreadStatsGetterCallback() 135 JDWP::Append4BE(bytes, t->GetTid()); in ThreadStatsGetterCallback() 136 JDWP::Append4BE(bytes, utime); in ThreadStatsGetterCallback() 137 JDWP::Append4BE(bytes, stime); in ThreadStatsGetterCallback() 138 JDWP::Append1BE(bytes, t->IsDaemon()); in ThreadStatsGetterCallback() 151 JDWP::Append1BE(bytes, kThstHeaderLen); in DdmVmInternal_getThreadStats() 152 JDWP::Append1BE(bytes, kThstBytesPerEntry); in DdmVmInternal_getThreadStats() 153 JDWP::Append2BE(bytes, thread_count); in DdmVmInternal_getThreadStats()
|
/art/dt_fd_forward/ |
D | README.md | 6 It allows one to handle and proxy JDWP traffic by supplying the implementation 24 order, an fd that will be read from to get incoming JDWP packets (read\_fd\_), 25 an fd that outgoing JDWP packets will be written to (write\_fd\_), and an
|
/art/openjdkjvmti/ |
D | ti_redefine.cc | 1304 art::JDWP::JdwpState* state = art::Dbg::GetJdwpState(); in UnregisterBreakpoints()
|