Home
last modified time | relevance | path

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

/developtools/hdc/src/test/
H A 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 in TestAppCommand()
[all...]
H A 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()
H A 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/
H A Ddefine.h113 const string UT_TMP_PATH = "/tmp/hdc-ut"; member
/developtools/hdc/src/daemon/
H A Ddaemon_unity.cpp52 Base::WriteBinFile((UT_TMP_PATH + "/execute.result").c_str(), (uint8_t *)result.c_str(), result.size(), in AsyncCmdOut()
H A Ddaemon_app.cpp135 Base::WriteBinFile((UT_TMP_PATH + "/appinstall.result").c_str(), (uint8_t *)MESSAGE_SUCCESS.c_str(), in AsyncInstallFinish()
/developtools/hdc/src/host/
H A Dserver_for_client.cpp254 Base::WriteBinFile((UT_TMP_PATH + "/base-discover.result").c_str(), (uint8_t *)bufString.c_str(), bufString.size(), in OrderFindTargets()
401 Base::WriteBinFile((UT_TMP_PATH + "/base-list.result").c_str(), (uint8_t *)MESSAGE_SUCCESS.c_str(), in GetTargetList()
419 Base::WriteBinFile((UT_TMP_PATH + "/base-any.result").c_str(), (uint8_t *)MESSAGE_SUCCESS.c_str(), in GetAnyTarget()

Completed in 6 milliseconds