Home
last modified time | relevance | path

Searched refs:UT_TMP_PATH (Results 1 – 7 of 7) sorted by relevance

/developtools/hdc/src/test/
Dut_mod.cpp29 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/base-discover.result").c_str(), in TestBaseCommand()
43 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/base-list.result").c_str(), in TestBaseCommand()
54 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/base-any.result").c_str(), in TestBaseCommand()
84 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/" + resultFile).c_str(), in TestShellExecute()
98 if ((bytesIO = Base::ReadBinFile((UT_TMP_PATH + "/" + resultFile).c_str(), in TestShellExecute()
139 string localFile = Base::StringFormat("%s/file.local", UT_TMP_PATH.c_str()); in TestFileCommand()
140 string remoteFile = Base::StringFormat("%s/file.remote", UT_TMP_PATH.c_str()); in TestFileCommand()
174 Base::WriteBinFile((UT_TMP_PATH + "/forward.result").c_str(), in UtForwardWaiter()
276 string localFile = Base::StringFormat("%s/forward.result", UT_TMP_PATH.c_str()); in TestForwardCommand()
290 string localFile = Base::StringFormat("%s/app.hap", UT_TMP_PATH.c_str()); in TestAppCommand()
[all …]
Dut_runtime.cpp199 if (!stat(UT_TMP_PATH.c_str(), &statbuf)) in ResetUtTmpFolder()
200 unlink(UT_TMP_PATH.c_str()); // exist in ResetUtTmpFolder()
202 string sCmd = "rm -rf " + UT_TMP_PATH; in ResetUtTmpFolder()
204 if (!stat(UT_TMP_PATH.c_str(), &statbuf)) { in ResetUtTmpFolder()
208 mkdir(UT_TMP_PATH.c_str(), perm); in ResetUtTmpFolder()
214 string utFile = Base::StringFormat("%s/%s", UT_TMP_PATH.c_str(), file.c_str()); in ResetUtTmpFile()
Dut_command.cpp83 … bufString = Base::StringFormat("file send %s/file.local %s/file.remote", UT_TMP_PATH.c_str(), in TestTaskCommand()
84 UT_TMP_PATH.c_str()); in TestTaskCommand()
105 bufString = Base::StringFormat("install %s/app.hap", UT_TMP_PATH.c_str()); in TestTaskCommand()
/developtools/hdc/src/common/
Ddefine.h71 const string UT_TMP_PATH = "/tmp/hdc-ut"; variable
/developtools/hdc/src/daemon/
Ddaemon_app.cpp116 …Base::WriteBinFile((UT_TMP_PATH + "/appinstall.result").c_str(), (uint8_t *)MESSAGE_SUCCESS.c_str(… in AsyncInstallFinish()
Ddaemon_unity.cpp49 …Base::WriteBinFile((UT_TMP_PATH + "/execute.result").c_str(), (uint8_t *)result.c_str(), result.si… in AsyncCmdOut()
/developtools/hdc/src/host/
Dserver_for_client.cpp253 …Base::WriteBinFile((UT_TMP_PATH + "/base-discover.result").c_str(), (uint8_t *)bufString.c_str(), … in OrderFindTargets()
390 …Base::WriteBinFile((UT_TMP_PATH + "/base-list.result").c_str(), (uint8_t *)MESSAGE_SUCCESS.c_str(), in GetTargetList()
408 … Base::WriteBinFile((UT_TMP_PATH + "/base-any.result").c_str(), (uint8_t *)MESSAGE_SUCCESS.c_str(), in GetAnyTarget()