Home
last modified time | relevance | path

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

/developtools/hdc/src/test/jdwp/
H A 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 in ConnectJdwp() local
[all...]
/developtools/hdc/test/unittest/common/
H A DHdcJdwpTest.cpp80 HdcJdwp::HCtxJdwp ctxJdwp = (HdcJdwp::HCtxJdwp)mJdwpTest->MallocContext(); in HWTEST_F() local
81 ctxJdwp->finish = true; // For skip HdcJdwp::FreeContext, because the pipe in HWTEST_F()
83 pipe.data = ctxJdwp; in HWTEST_F()
94 uint8_t *info = reinterpret_cast<uint8_t *>(ctxJdwp->buf); in HWTEST_F()
96 memset_s(info, sizeof(ctxJdwp->buf), 0, sizeof(ctxJdwp->buf)); in HWTEST_F()
/developtools/hdc/src/daemon/
H A Djdwp.cpp136 HCtxJdwp ctxJdwp = static_cast<HCtxJdwp>(pipe->data); in ReadStream() local
137 HdcJdwp *thisClass = static_cast<HdcJdwp *>(ctxJdwp->thisClass); in ReadStream()
140 char *p = ctxJdwp->buf; in ReadStream()
150 ctxJdwp->pkgName = pkgName; in ReadStream()
151 ctxJdwp->isDebug = jsMsg->isDebug; in ReadStream()
159 ctxJdwp->pid = pid; in ReadStream()
162 pid, ctxJdwp->pkgName.c_str(), ctxJdwp->isDebug); in ReadStream()
166 thisClass->AdminContext(OP_ADD, pid, ctxJdwp); in ReadStream()
169 if (uv_fileno(reinterpret_cast<uv_handle_t *>(&(ctxJdwp in ReadStream()
228 HCtxJdwp ctxJdwp = (HCtxJdwp)thisClass->MallocContext(); AcceptClient() local
327 AdminContext(const uint8_t op, const uint32_t pid, HCtxJdwp ctxJdwp) AdminContext() argument
[all...]
H A Djdwp.h95 void *AdminContext(const uint8_t op, const uint32_t pid, HCtxJdwp ctxJdwp);

Completed in 3 milliseconds