Searched refs:HdcJdwp (Results 1 – 8 of 8) sorted by relevance
28 std::unique_ptr<HdcJdwp> HdcJdwpTest::InstanceHdcJdwp() in InstanceHdcJdwp()33 return std::make_unique<HdcJdwp>(&loopMain); in InstanceHdcJdwp()43 std::unique_ptr<HdcJdwp> mJdwpTest = HdcJdwpTest::InstanceHdcJdwp();57 std::unique_ptr<HdcJdwp> mJdwpTest = HdcJdwpTest::InstanceHdcJdwp();76 std::unique_ptr<HdcJdwp> mJdwpTest = HdcJdwpTest::InstanceHdcJdwp();80 HdcJdwp::HCtxJdwp ctxJdwp = (HdcJdwp::HCtxJdwp)mJdwpTest->MallocContext();85 mJdwpTest->ReadStream(stream, (HdcJdwp::JS_PKG_MIN_SIZE - 1), nullptr);88 mJdwpTest->ReadStream(stream, (HdcJdwp::JS_PKG_MX_SIZE + 1), nullptr);93 uint32_t pkgSize = pkgName.size() + sizeof(HdcJdwp::JsMsgHeader); // JsMsgHeader pkgName;97 HdcJdwp::JsMsgHeader *jsMsg = (HdcJdwp::JsMsgHeader *)info;[all …]
20 HdcJdwp::HdcJdwp(uv_loop_t *loopIn) in HdcJdwp() function in Hdc::HdcJdwp31 HdcJdwp::~HdcJdwp() in ~HdcJdwp()38 bool HdcJdwp::ReadyForRelease() in ReadyForRelease()43 void HdcJdwp::Stop() in Stop()48 HdcJdwp *thisClass = (HdcJdwp *)handle->data; in Stop()61 void *HdcJdwp::MallocContext() in MallocContext()75 void HdcJdwp::FreeContext(HCtxJdwp ctx) in FreeContext()100 void HdcJdwp::RemoveFdFromPollList(uint32_t pid) in RemoveFdFromPollList()111 void HdcJdwp::ReadStream(uv_stream_t *pipe, ssize_t nread, const uv_buf_t *buf) in ReadStream()130 HdcJdwp *thisClass = static_cast<HdcJdwp *>(ctxJdwp->thisClass); in ReadStream()[all …]
21 class HdcJdwp {23 HdcJdwp(uv_loop_t *loopIn);24 virtual ~HdcJdwp();71 HdcJdwp *thisClass;
46 HdcJdwp *clsJdwp = (HdcJdwp *)daemon->clsJdwp; in SetupJdwpPoint()92 HdcJdwp *clsJdwp = (HdcJdwp *)daemon->clsJdwp; in SetupArkPoint()
216 string result = ((HdcJdwp *)daemon->clsJdwp)->GetProcessList(); in ListJdwpProcess()233 if (!((static_cast<HdcJdwp *>(daemon->clsJdwp))->CreateJdwpTracker(taskInfo))) { in TrackJdwpProcess()244 (static_cast<HdcJdwp *>(daemon->clsJdwp))->RemoveJdwpTracker(taskInfo); in RemoveJdwpTracker()
78 delete (HdcJdwp *)clsJdwp; in ClearInstanceResource()107 ((HdcJdwp *)clsJdwp)->Stop(); in TryStopInstance()153 clsJdwp = new(std::nothrow) HdcJdwp(&loopMain); in InitMod()158 ((HdcJdwp *)clsJdwp)->Initial(); in InitMod()821 ((HdcJdwp *)clsJdwp)->SendJdwpNewFD(pid, fd); in InitMod()833 ((HdcJdwp *)clsJdwp)->SendArkNewFD(arkstr, fd); in InitMod()
20 class HdcJdwpFuzzer : public HdcJdwp {22 explicit HdcJdwpFuzzer(uv_loop_t *loop) : HdcJdwp(loop) {} in HdcJdwpFuzzer()40 HdcJdwp::HCtxJdwp ctx = (HdcJdwp::HCtxJdwp)jdwp->MallocContext(); in FuzzJdwpReadStream()
29 std::unique_ptr<HdcJdwp> InstanceHdcJdwp();