Home
last modified time | relevance | path

Searched refs:loopTask (Results 1 – 12 of 12) sorted by relevance

/developtools/hdc/src/daemon/
Ddaemon_forward.cpp59 if (uv_tcp_init(loopTask, &ctxPoint->tcp)) { in SetupJdwpPoint()
83 Base::IdleUvTask(loopTask, ctxPoint, SetupJdwpPointCallBack); in SetupJdwpPoint()
Ddaemon_app.cpp69 uv_fs_open(loopTask, &ctxNow.fsOpenReq, ctxNow.localPath.c_str(), in CommandDispatch()
154 asyncCommand.Initial(loopTask, funcAppModFinish, AsyncCmd::OPTION_COMMAND_ONETIME); in PackageShell()
Dshell.cpp273 …childShell = new(std::nothrow) HdcFileDescriptor(loopTask, fdPTY, this, ChildReadCallback, FinishS… in StartShell()
Ddaemon_unity.cpp78 if (!asyncCommand.Initial(loopTask, funcResultOutput)) { in ExecuteShell()
/developtools/hdc/src/host/
Dhost_unity.cpp50 uv_fs_close(loopTask, &opContext.fsClose, opContext.fileLog, OnFileClose); in StopTask()
124 uv_fs_write(loopTask, req, opContext.fileLog, &iov, 1, opContext.fileBufIndex, OnFileIO); in AppendLocalLog()
Dhost_app.cpp94 uv_fs_open(loopTask, &context->fsOpenReq, context->localPath.c_str(), O_RDONLY, 0, OnFileOpen); in RunQueue()
Dhost_updater.cpp83 uv_fs_open(loopTask, &context.fsOpenReq, context.localPath.c_str(), O_RDONLY, 0, OnFileOpen); in RunQueue()
/developtools/hdc/src/common/
Dtask.h44 uv_loop_t *loopTask; // childuv pointer variable
Dforward.cpp99 uv_tcp_init(ctxClient->thisClass->loopTask, &ctxClient->tcp); in ListenCallback()
103 uv_pipe_init(ctxClient->thisClass->loopTask, &ctxClient->pipe, 0); in ListenCallback()
128 Base::DoNextLoop(loopTask, ctx, [this](const uint8_t flag, string &msg, const void *data) { in FreeContextCallBack()
160 Base::IdleUvTask(loopTask, ctx, funcReqClose); in FreeJDWP()
355 uv_tcp_init(loopTask, &ctxPoint->tcp); in SetupTCPPoint()
396 …ctxPoint->fdClass = new(std::nothrow) HdcFileDescriptor(loopTask, ctxPoint->fd, ctxPoint, funcRead… in SetupDevicePoint()
444 uv_pipe_init(loopTask, &ctxPoint->pipe, 0); in SetupFilePoint()
Dfile.cpp56 …uv_fs_open(loopTask, &context->fsOpenReq, context->localPath.c_str(), O_RDONLY, S_IWUSR | S_IRUSR,… in BeginTransfer()
287 …uv_fs_open(loopTask, &ctxNow.fsOpenReq, ctxNow.localPath.c_str(), UV_FS_O_TRUNC | UV_FS_O_CREAT | … in SlaveCheck()
307 …uv_fs_open(loopTask, &context->fsOpenReq, context->localPath.c_str(), O_RDONLY, S_IWUSR | S_IRUSR,… in TransferNext()
Dtask.cpp24 loopTask = hTaskInfo->runLoop; in HdcTaskBase()
Dtransfer.cpp53 context->loop = loopTask; in ResetCtx()
262 … uv_fs_fsync(thisClass->loopTask, &context->fsCloseReq, context->fsOpenReq.result, nullptr); in OnFileIO()
270 … uv_fs_close(thisClass->loopTask, &context->fsCloseReq, context->fsOpenReq.result, OnFileClose); in OnFileIO()