Searched refs:ctxNow (Results 1 – 6 of 6) sorted by relevance
| /developtools/hdc/src/common/ |
| D | file.cpp | 193 if (ctxNow.master) { in FileModeSync() 194 …WRITE_LOG(LOG_DEBUG, "FileModeSync master ctxNow.fileModeSync = %d size = %zu", ctxNow.fileModeSyn… in FileModeSync() 195 ctxNow.dirMode.size()); in FileModeSync() 196 if (ctxNow.dirMode.size() > 0) { in FileModeSync() 197 auto mode = ctxNow.dirMode.back(); in FileModeSync() 201 ctxNow.dirMode.pop_back(); in FileModeSync() 204 string s = SerialStruct::SerializeToString(ctxNow.transferConfig); in FileModeSync() 208 ctxNow.fileModeSync = true; in FileModeSync() 211 SerialStruct::ParseFromString(ctxNow.fileMode, serialString); in FileModeSync() 240 ctxNow.dirModeMap.insert(std::make_pair(dirMode.fullName, dirMode)); in FileModeSync() [all …]
|
| D | transfer.cpp | 31 ResetCtx(&ctxNow, true); in HdcTransferBase() 38 if (ctxNow.lastErrno != 0 || (ctxNow.fsOpenReq.result > 0 && !ctxNow.ioFinish)) { in ~HdcTransferBase() 40 taskInfo->channelId, ctxNow.fsOpenReq.result); in ~HdcTransferBase() 41 uv_fs_close(nullptr, &ctxNow.fsCloseReq, ctxNow.fsOpenReq.result, nullptr); in ~HdcTransferBase() 444 ctxNow.dirMode.push_back(mode); in GetSubFilesRecursively() 477 ctxNow.isDir = true; in CheckLocalPath() 515 ctxNow.targetDirNotExist = true; in CheckLocalPath() 528 if (ctxNow.targetDirNotExist) { in CheckFilename() 562 if (ctxNow.fileModeSync) { in CheckFilename() 573 auto it = ctxNow.dirModeMap.find(shortPath); in CheckFilename() [all …]
|
| D | transfer.h | 118 CtxFile ctxNow; variable
|
| /developtools/hdc/src/daemon/ |
| D | daemon_app.cpp | 53 SerialStruct::ParseFromString(ctxNow.transferConfig, bufString); in CommandDispatch() 55 ctxNow.master = false; in CommandDispatch() 56 ctxNow.fsOpenReq.data = &ctxNow; in CommandDispatch() 64 dstPath += ctxNow.transferConfig.optionalName; in CommandDispatch() 65 ctxNow.localPath = dstPath; in CommandDispatch() 66 ctxNow.transferBegin = Base::GetRuntimeMSec(); in CommandDispatch() 67 ctxNow.fileSize = ctxNow.transferConfig.fileSize; in CommandDispatch() 69 uv_fs_open(loopTask, &ctxNow.fsOpenReq, ctxNow.localPath.c_str(), in CommandDispatch() 100 unlink(ctxNow.localPath.c_str()); in AsyncInstallFinish() 177 if (ctxNow.transferConfig.functionName == CMDSTR_APP_SIDELOAD) { in WhenTransferFinish() [all …]
|
| /developtools/hdc/src/host/ |
| D | host_app.cpp | 136 if (ctxNow.taskQueue.size() > 0) { in CheckInstallContinue() 137 ctxNow.taskQueue.pop_back(); in CheckInstallContinue() 139 LogMsg(MSG_INFO, "%s path:%s, queuesize:%d, msg:%s", modeDesc.c_str(), ctxNow.localPath.c_str(), in CheckInstallContinue() 140 ctxNow.taskQueue.size(), msg + printedMsgLen); in CheckInstallContinue() 142 if (singalStop || !ctxNow.taskQueue.size()) { in CheckInstallContinue() 146 RunQueue(&ctxNow); in CheckInstallContinue() 159 ret = BeginInstall(&ctxNow, (const char *)payload); in CommandDispatch() 171 ctxNow.taskQueue.push_back(reinterpret_cast<char *>(payload)); // just compatible in CommandDispatch() 175 BeginSideload(&ctxNow, (const char *)payload); in CommandDispatch()
|
| D | host_updater.cpp | 114 ctxNow.transferConfig.compressType = COMPRESS_NONE; in BeginTransfer() 121 ctxNow.transferConfig.functionName = function; in BeginTransfer() 122 ctxNow.transferConfig.options = cmdParam; in BeginTransfer() 123 ctxNow.localPath = localPath; in BeginTransfer() 124 ctxNow.taskQueue.push_back(localPath); in BeginTransfer() 125 RunQueue(ctxNow); in BeginTransfer() 165 ctxNow.taskQueue.push_back(cmdParam); in CheckCmd() 248 if (ctxNow.taskQueue.size() != 0) { in CheckUpdateContinue() 249 ctxNow.taskQueue.pop_back(); in CheckUpdateContinue() 251 if (singalStop || !ctxNow.taskQueue.size()) { in CheckUpdateContinue() [all …]
|