Home
last modified time | relevance | path

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

/art/runtime/
Ddebugger.h78 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 …]
Ddebugger.cc303 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 …]
Druntime.cc1378 JDWP::JdwpOptions ops; in Init()
1379 if (!JDWP::ParseJdwpOptions(runtime_options.GetOrDefault(Opt::JdwpOptions), &ops)) { in Init()
/art/runtime/jdwp/
Dobject_registry.h49 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 …]
Djdwp_options_test.cc22 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()
Dobject_registry.cc45 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 …]
Djdwp_main.cc34 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()
Djdwp_event.cc105 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 …]
Djdwp_expand_buf.h29 namespace JDWP {
Djdwp_handler.cc41 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 …]
Djdwp_event.h28 namespace JDWP {
DREADME.txt8 An attempt has been made to keep the JDWP implementation distinct from the
Djdwp_priv.h63 namespace JDWP {
Djdwp_constants.h26 namespace JDWP {
Djdwp_bits.h29 namespace JDWP {
Djdwp_expand_buf.cc33 namespace JDWP { namespace
Djdwp_request.cc27 namespace JDWP { namespace
Djdwp.h50 namespace JDWP {
311 void SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id)
Djdwp_adb.cc59 namespace JDWP { namespace
Djdwp_socket.cc36 namespace JDWP { namespace
/art/runtime/native/
Dorg_apache_harmony_dalvik_ddmc_DdmVmInternal.cc133 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/
DREADME.md6 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/
Dti_redefine.cc1304 art::JDWP::JdwpState* state = art::Dbg::GetJdwpState(); in UnregisterBreakpoints()