Home
last modified time | relevance | path

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

/art/runtime/
Ddebugger.h77 DebugInvokeReq(uint32_t invoke_request_id, JDWP::ObjectId invoke_thread_id, in DebugInvokeReq()
83 options(invoke_options), reply(JDWP::expandBufAlloc()) { in DebugInvokeReq()
87 JDWP::expandBufFree(reply); in ~DebugInvokeReq()
92 const JDWP::ObjectId thread_id;
102 JDWP::ExpandBuf* const reply;
114 SingleStepControl(JDWP::JdwpStepSize step_size, JDWP::JdwpStepDepth step_depth, in SingleStepControl()
120 JDWP::JdwpStepSize GetStepSize() const { in GetStepSize()
124 JDWP::JdwpStepDepth GetStepDepth() const { in GetStepDepth()
146 const JDWP::JdwpStepSize step_size_;
147 const JDWP::JdwpStepDepth step_depth_;
[all …]
Druntime.cc1318 JDWP::JdwpOptions ops; in Init()
1319 if (!JDWP::ParseJdwpOptions(runtime_options.GetOrDefault(Opt::JdwpOptions), &ops)) { in Init()
/art/runtime/jdwp/
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.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 …]
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_expand_buf.h29 namespace JDWP {
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 …]
DREADME.txt8 An attempt has been made to keep the JDWP implementation distinct from the
Djdwp_event.h28 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()
357 std::vector<JDWP::RefTypeId> classes; in VM_AllClassesImpl()
364 JDWP::JdwpTypeTag type_tag; in VM_AllClassesImpl()
367 JDWP::JdwpError status = Dbg::GetClassInfo(classes[i], &type_tag, &class_status, &descriptor); in VM_AllClassesImpl()
465 JDWP::JdwpTypeTag type_tag; in RT_Status()
467 JDWP::JdwpError status = Dbg::GetClassInfo(refTypeId, &type_tag, &class_status, nullptr); in RT_Status()
[all …]
Djdwp_priv.h63 namespace JDWP {
Djdwp_constants.h26 namespace JDWP {
Djdwp_expand_buf.cc33 namespace JDWP { namespace
Djdwp_bits.h29 namespace JDWP {
Djdwp_request.cc27 namespace JDWP { namespace
Djdwp.h50 namespace JDWP {
311 void SuspendByPolicy(JdwpSuspendPolicy suspend_policy, JDWP::ObjectId thread_self_id)
Djdwp_adb.cc62 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