Home
last modified time | relevance | path

Searched refs:ctxJdwp (Results 1 – 4 of 4) sorted by relevance

/developtools/hdc/src/test/jdwp/
DHdcJdwpSimulator.cpp143 HCtxJdwpSimulator ctxJdwp = static_cast<HCtxJdwpSimulator>(q->data); in ReceiveNewFd() local
144 HdcJdwpSimulator *thisClass = static_cast<HdcJdwpSimulator *>(ctxJdwp->thisClass); in ReceiveNewFd()
168 uv_tcp_init(thisClass->loop, &ctxJdwp->newFd); in ReceiveNewFd()
169 if (uv_accept(q, reinterpret_cast<uv_stream_t *>(&ctxJdwp->newFd)) == 0) { in ReceiveNewFd()
171 ctxJdwp->hasNewFd = true; in ReceiveNewFd()
172 uv_fileno(reinterpret_cast<const uv_handle_t *>(&ctxJdwp->newFd), &fd); in ReceiveNewFd()
174 uv_read_start(reinterpret_cast<uv_stream_t *>(&ctxJdwp->newFd), alloc_buffer, in ReceiveNewFd()
177 ctxJdwp->hasNewFd = false; in ReceiveNewFd()
178 uv_close(reinterpret_cast<uv_handle_t *>(&ctxJdwp->newFd), NULL); in ReceiveNewFd()
190 HCtxJdwpSimulator ctxJdwp = static_cast<HCtxJdwpSimulator>(connection->data); in ConnectJdwp() local
[all …]
/developtools/hdc/test/unittest/common/
DHdcJdwpTest.cpp80 HdcJdwp::HCtxJdwp ctxJdwp = (HdcJdwp::HCtxJdwp)mJdwpTest->MallocContext(); variable
81 ctxJdwp->finish = true; // For skip HdcJdwp::FreeContext, because the pipe
83 pipe.data = ctxJdwp;
94 uint8_t *info = reinterpret_cast<uint8_t *>(ctxJdwp->buf);
96 memset_s(info, sizeof(ctxJdwp->buf), 0, sizeof(ctxJdwp->buf));
/developtools/hdc/src/daemon/
Djdwp.cpp129 HCtxJdwp ctxJdwp = static_cast<HCtxJdwp>(pipe->data); in ReadStream() local
130 HdcJdwp *thisClass = static_cast<HdcJdwp *>(ctxJdwp->thisClass); in ReadStream()
133 char *p = ctxJdwp->buf; in ReadStream()
143 ctxJdwp->pkgName = pkgName; in ReadStream()
144 ctxJdwp->isDebug = jsMsg->isDebug; in ReadStream()
152 ctxJdwp->pid = pid; in ReadStream()
155 pid, ctxJdwp->pkgName.c_str(), ctxJdwp->isDebug); in ReadStream()
159 thisClass->AdminContext(OP_ADD, pid, ctxJdwp); in ReadStream()
162 if (uv_fileno(reinterpret_cast<uv_handle_t *>(&(ctxJdwp->pipe)), &fd) < 0) { in ReadStream()
172 Base::ZeroArray(ctxJdwp->buf); in ReadStream()
[all …]
Djdwp.h95 void *AdminContext(const uint8_t op, const uint32_t pid, HCtxJdwp ctxJdwp);