Home
last modified time | relevance | path

Searched refs:StringFormat (Results 1 – 18 of 18) sorted by relevance

/developtools/hdc/src/test/
Dut_mod.cpp139 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()
143 string cmd = Base::StringFormat("find /usr > %s", localFile.c_str()); in TestFileCommand()
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()
291 …string cmd = Base::StringFormat("id --help > %s", localFile.c_str()); // I know it is a invalid h… in TestAppCommand()
Dut_command.cpp83 … bufString = Base::StringFormat("file send %s/file.local %s/file.remote", UT_TMP_PATH.c_str(), in TestTaskCommand()
105 bufString = Base::StringFormat("install %s/app.hap", UT_TMP_PATH.c_str()); in TestTaskCommand()
Dut_runtime.cpp214 string utFile = Base::StringFormat("%s/%s", UT_TMP_PATH.c_str(), file.c_str()); in ResetUtTmpFile()
/developtools/hdc/src/daemon/
Dsystem_depend.cpp43 string stringBuf = Base::StringFormat("param set %s %s", key, value); in SetDevItem()
59 string sFailString = Base::StringFormat("Get parameter \"%s\" fail", key); in GetDevItem()
Ddaemon_app.cpp130 doBuf = Base::StringFormat("bm install %s -p %s", options, package.c_str()); in PackageShell()
133 doBuf = Base::StringFormat("bm install %s %s", options, package.c_str()); in PackageShell()
140 doBuf = Base::StringFormat("bm uninstall %s -n %s", options, package.c_str()); in PackageShell()
143 doBuf = Base::StringFormat("bm uninstall %s %s", options, package.c_str()); in PackageShell()
Ddaemon_tcp.cpp62 string sendBuf = Base::StringFormat("%s-%d", HANDSHAKE_MESSAGE.c_str(), tcpListenPort); in TransmitConfig()
/developtools/profiler/device/base/include/
Dlogging.h134 static inline std::string StringFormat(const char* fmt, ...) __attribute__((format(printf, 1, 2)));
136 static inline std::string StringFormat(const char* fmt, ...) in StringFormat() function
180 …HiLogPrint(type, level, LOG_DOMAIN, LOG_TAG, "%{public}s", logging::StringFormat(fmt, ##__VA_ARGS_…
183 …HiLogPrint(type, level, LOG_DOMAIN, LOG_TAG, "%s", logging::StringFormat(fmt, ##__VA_ARGS__).c_str…
/developtools/hdc/src/common/
Dbase.h101 const string StringFormat(const char * const formater, ...);
102 const string StringFormat(const char * const formater, va_list &vaArgs);
Dbase.cpp56 debugInfo = StringFormat("%s:%d", tmpString.c_str(), line); in GetLogDebugFunctionName()
62 … threadIdString = StringFormat("[%x]", std::hash<std::thread::id> {}(std::this_thread::get_id())); in GetLogDebugFunctionName()
92 msTimeSurplus = StringFormat(".%03llu", sSinceUnix0Rest); in GetLogLevelAndTime()
98 timeString = StringFormat("%s%s", buffer, msTimeSurplus.c_str()); in GetLogLevelAndTime()
168 string last = StringFormat("%s.%d", path, 0); in RollLogFile()
250 … string logBuf = StringFormat("[%s][%s]%s%s %s%s", logLevelString.c_str(), timeString.c_str(), in PrintLogEx()
1299 const string StringFormat(const char * const formater, ...) in StringFormat() function
1303 string ret = StringFormat(formater, vaArgs); in StringFormat()
1308 const string StringFormat(const char * const formater, va_list &vaArgs) in StringFormat() function
1327 string ver = StringFormat("%x.%x.%x%c", major, minor, version, a + fix); in GetVersion()
Dtask.cpp75 string log = Base::StringFormat(msg, vaArgs); in LogMsg()
Dtransfer.cpp617 localPath = Base::StringFormat("%s%c%s", localPath.c_str(), Base::GetPathSep(), optName); in SmartSlavePath()
Dsession.cpp1256 string log = Base::StringFormat(msg, vaArgs); in LogMsg()
/developtools/hdc/src/host/
Dmain.cpp126 outCommand += Base::StringFormat("\"%s\"", utf8Path.c_str()); in AppendCwdWhenTransfer()
149 string packageCmd = Base::StringFormat("\"%s\"", argv[i]); in SplitOptionAndCommand()
154 outOption += Base::StringFormat("\"%s\"", argv[i]); in SplitOptionAndCommand()
Dserver.cpp259 …out = Base::StringFormat("%s\t\t%s\t%s\t%s\n", hdi->connectKey.c_str(), sConn.c_str(), sStatus.c_s… in BuildDaemonVisableLine()
263 out = Base::StringFormat("%s\n", hdi->connectKey.c_str()); in BuildDaemonVisableLine()
633 buf = Base::StringFormat("'%s'\t%s\n", hfi->taskString.c_str(), in BuildForwardVisableLine()
636 buf = Base::StringFormat("%s\n", hfi->taskString.c_str()); in BuildForwardVisableLine()
Dhost_usb.cpp225 …string szTmpKey = Base::StringFormat("%d-%d", libusb_get_bus_number(dev), libusb_get_device_addres… in WatchUsbNodeChange()
326 di.usbMountPoint = Base::StringFormat("%d-%d", hUSB->busId, hUSB->devId); in UpdateUSBDaemonInfo()
Dext_client.cpp298 … std::string remove = Base::StringFormat("%s %s \"%s\" ", argv[i], argv[i + 1], argv[i + 2]); in RemoveRemoteCwd()
Dclient.cpp67 … string path = Base::StringFormat("%s%c.%s.pid", bufPath, Base::GetPathSep(), SERVER_NAME.c_str()); in GetLastPID()
Dserver_for_client.cpp178 string log = logInfo + Base::StringFormat(msg, vaArgs); in EchoClient()