Home
last modified time | relevance | path

Searched refs:LOG_WARN (Results 1 – 25 of 26) sorted by relevance

12

/developtools/hdc/src/daemon/
Ddaemon_uart.cpp140 WRITE_LOG(LOG_WARN, "%s: cannot open uartHandle: errno=%d", devPath.c_str(), errno); in OpenUartDevice()
175 WRITE_LOG(LOG_WARN, "Hostside softreset to restart daemon, old sessionId:%u", sessionId); in ResetOldSession()
214 WRITE_LOG(LOG_WARN, "New session coming, restart old sessionId:%u", currentSessionId); in PrepareNewSession()
269 WRITE_LOG(LOG_WARN, "totalReadSize is full %zu/%zu, DeamonReadThread exit..", in DeamonReadThread()
272 WRITE_LOG(LOG_WARN, "dev is not alive, DeamonReadThread exit.."); in DeamonReadThread()
286 WRITE_LOG(LOG_WARN, "dev is not alive, DeamonWriteThread exit.."); in DeamonWriteThread()
297 WRITE_LOG(LOG_WARN, "create thread DeamonReadThread failed"); in LoopUARTRead()
309 WRITE_LOG(LOG_WARN, "create thread DeamonWriteThread failed"); in LoopUARTWrite()
320 WRITE_LOG(LOG_WARN, "!isAlive"); in IsSendReady()
322 WRITE_LOG(LOG_WARN, "session isDead"); in IsSendReady()
[all …]
Ddaemon_usb.cpp71 WRITE_LOG(LOG_WARN, "%s: cannot open devpath: errno: %d", path.c_str(), errno); in GetDevPath()
161 … WRITE_LOG(LOG_WARN, "%s: cannot open control endpoint: errno=%d", ep0Path.c_str(), errno); in ConnectEPPoint()
165 … WRITE_LOG(LOG_WARN, "%s: write ffs configs failed: errno=%d", ep0Path.c_str(), errno); in ConnectEPPoint()
169 … WRITE_LOG(LOG_WARN, "%s: write USB_FFS_VALUE failed: errno=%d", ep0Path.c_str(), errno); in ConnectEPPoint()
178 WRITE_LOG(LOG_WARN, "%s: cannot open bulk-out ep: errno=%d", outPath.c_str(), errno); in ConnectEPPoint()
183 WRITE_LOG(LOG_WARN, "%s: cannot open bulk-in ep: errno=%d", inPath.c_str(), errno); in ConnectEPPoint()
225 WRITE_LOG(LOG_WARN, "Hostside softreset to restart daemon, old sessionId:%u", sessionId); in ResetOldSession()
302 … WRITE_LOG(LOG_WARN, "BulkinWrite write EINTR, try again, offset:%u bulkIn:%d bulkOut:%d", in SendUSBIOSync()
389 WRITE_LOG(LOG_WARN, "SendCallback failed,status:%d %s", status, buf); in UvWriteCallback()
405 WRITE_LOG(LOG_WARN, "UsbToStream new write_t failed size:%d", size); in UsbToStream()
[all …]
Djdwp.cpp340 WRITE_LOG(LOG_WARN, "SendCallbackJdwpNewFD failed %d", ctx->pid); in SendCallbackJdwpNewFD()
413 WRITE_LOG(LOG_WARN, "truncating JDWP process list (max len = %zu) ", bufferlen); in JdwpProcessListMsg()
417 WRITE_LOG(LOG_WARN, " JdwpProcessListMsg head fail."); in JdwpProcessListMsg()
421 WRITE_LOG(LOG_WARN, " JdwpProcessListMsg get head fail."); in JdwpProcessListMsg()
425 WRITE_LOG(LOG_WARN, " JdwpProcessListMsg get data fail."); in JdwpProcessListMsg()
434 WRITE_LOG(LOG_WARN, " SendProcessList, Nothing needs to be sent."); in SendProcessList()
Ddaemon.cpp387 WRITE_LOG(LOG_WARN, "session %u wait CMD_KERNEL_HANDSHAKE , but got command %u", in FetchCommand()
/developtools/smartperf_host/trace_streamer/src/base/
Dlog.h29 enum LogLevel { LOG_DEBUG, LOG_INFO, LOG_WARN, LOG_ERROR, LOG_FATAL }; enumerator
49 #define TS_LOGW(fmt, ...) LOGWITHLEVEL(LOG_WARN, 'W', fmt, ##__VA_ARGS__)
53 #define TS_LOGW(fmt, ...) LOGWITHLEVEL(LOG_WARN, 'W', fmt, ##__VA_ARGS__)
/developtools/profiler/host/smartperf/trace_streamer/src/base/
Dlog.h29 enum LogLevel { LOG_DEBUG, LOG_INFO, LOG_WARN, LOG_ERROR, LOG_FATAL }; enumerator
49 #define TS_LOGW(fmt, ...) LOGWITHLEVEL(LOG_WARN, 'W', fmt, ##__VA_ARGS__)
53 #define TS_LOGW(fmt, ...) LOGWITHLEVEL(LOG_WARN, 'W', fmt, ##__VA_ARGS__)
/developtools/hdc/src/common/
Ddebug.cpp84 WRITE_LOG(LOG_WARN, "At main workthread"); in DetermineThread()
86 WRITE_LOG(LOG_WARN, "At child workthread"); in DetermineThread()
88 WRITE_LOG(LOG_WARN, "At unknown workthread"); in DetermineThread()
Dfile_descriptor.cpp81 WRITE_LOG(LOG_WARN, "FileIOOnThread fdIO:%d write interrupt", thisClass->fdIO); in FileIOOnThread()
101 WRITE_LOG(LOG_WARN, "FileIOOnThread fdIO:%d read interrupt", thisClass->fdIO); in FileIOOnThread()
109 WRITE_LOG(LOG_WARN, "FileIOOnThread fdIO:%d callbackRead false", thisClass->fdIO); in FileIOOnThread()
180 WRITE_LOG(LOG_WARN, "Write failed, size:%d", size); in Write()
266 WRITE_LOG(LOG_WARN, "CtxFileIOWrite fdIO:%d interrupt or again", fdIO); in CtxFileIOWrite()
Duart.cpp329 WRITE_LOG(LOG_WARN, "%s:read failed! %zd:%d", __FUNCTION__, bytesRead, errno); in ReadUartDev()
371 WRITE_LOG(LOG_WARN, "EINTR/EAGAIN, try again"); in WriteUartDev()
459 WRITE_LOG(LOG_WARN, "%s package error. clean the read buffer.", __FUNCTION__); in PackageProcess()
480 … WRITE_LOG(LOG_WARN, "%s have not found session (%u). skip it", __FUNCTION__, sessionId); in PackageProcess()
484 WRITE_LOG(LOG_WARN, "%s dup package %u, skip send to session logic", in PackageProcess()
543 WRITE_LOG(LOG_WARN, "%s hSession not found:%zu", __FUNCTION__, uartHeader->sessionId); in SendUARTRaw()
700 WRITE_LOG(LOG_WARN, "UartPackageManager: resend pkgId:%s.", pkgId.c_str()); in ProcessResponsePackage()
740 WRITE_LOG(LOG_WARN, "SendUARTRaw failed!"); in SendPkgInUARTOutMap()
765 WRITE_LOG(LOG_WARN, "UartPackageManager: pkg:%s try resend it.", in SendPkgInUARTOutMap()
775 WRITE_LOG(LOG_WARN, "UartPackageManager: reach max retry ,free the session %u", in SendPkgInUARTOutMap()
[all …]
Dusb.cpp138 WRITE_LOG(LOG_WARN, "SendToHdcStream check, sessionId not matched"); in PreSendUsbSoftReset()
161 WRITE_LOG(LOG_WARN, "CheckPacketOption softreset header->sessionId:%u sessionId:%u", in CheckPacketOption()
185 WRITE_LOG(LOG_WARN, "SendToHdcStream softreset dataSize:%d payloadSize:%u childRet:%d", in SendToHdcStream()
Dbase.cpp79 case LOG_WARN: in GetLogLevelAndTime()
228 case static_cast<int>(LOG_WARN): in PrintLogEx()
313 WRITE_LOG(LOG_WARN, "ReallocBuf failed, sizeWanted:%d", sizeWanted); in ReallocBuf()
340 WRITE_LOG(LOG_WARN, "SendCallback failed,status:%d %s", status, buf); in SendCallback()
360 WRITE_LOG(LOG_WARN, "%s close busy,try:%d", callerName, closeRetry); in TryCloseLoop()
417 WRITE_LOG(LOG_WARN, "SendToStream, alloc failed, size:%d", bufLen); in SendToStream()
421 WRITE_LOG(LOG_WARN, "SendToStream, memory copy failed, size:%d", bufLen); in SendToStream()
438 WRITE_LOG(LOG_WARN, "SendToStreamEx, new write_t failed, size:%d", bufLen); in SendToStreamEx()
447 WRITE_LOG(LOG_WARN, "SendToStreamEx, uv_is_writable false, size:%d", bufLen); in SendToStreamEx()
463 WRITE_LOG(LOG_WARN, "SendToStreamEx, uv_write false, size:%d", bufLen); in SendToStreamEx()
[all …]
Dsession.cpp709 WRITE_LOG(LOG_WARN, "%d: channelId: %lu, type: %d, closeRetry: %d\n", in DumpTasksInfo()
724 WRITE_LOG(LOG_WARN, "mapTask.size:%d", mapTask.size()); in AdminTask()
760 WRITE_LOG(LOG_WARN, "SendByProtocol session dead error"); in SendByProtocol()
825 WRITE_LOG(LOG_WARN, "send allocmem err"); in Send()
831 WRITE_LOG(LOG_WARN, "send copyhead err for dataSize:%d", dataSize); in Send()
836 WRITE_LOG(LOG_WARN, "send copyProtbuf err for dataSize:%d", dataSize); in Send()
840 WRITE_LOG(LOG_WARN, "send copyDatabuf err for dataSize:%d", dataSize); in Send()
847 WRITE_LOG(LOG_WARN, "send copywholedata err for dataSize:%d", dataSize); in Send()
875 WRITE_LOG(LOG_WARN, "FetchCommand failed: channelId %x commandFlag %x", in DecryptPayload()
906 WRITE_LOG(LOG_WARN, "decrypt plhead error"); in OnRead()
[all …]
Dforward.cpp240 WRITE_LOG(LOG_WARN, "AllocForwardBuf == null"); in AllocForwardBuf()
270 WRITE_LOG(LOG_WARN, "Forward connect result:%d error:%s", status, buf); in ConnectTarget()
691 WRITE_LOG(LOG_WARN, "SendForwardBuf failed size:%d", size); in SendForwardBuf()
749 WRITE_LOG(LOG_WARN, "Query id failed"); in ForwardCommandDispatch()
826 WRITE_LOG(LOG_WARN, const_cast<char *>(sError.c_str())); in CommandDispatch()
Dtransfer.cpp39 WRITE_LOG(LOG_WARN, "~HdcTransferBase channelId:%u result:%d", in ~HdcTransferBase()
102 WRITE_LOG(LOG_WARN, "SimpleFileIO memcpy error"); in SimpleFileIO()
517 WRITE_LOG(LOG_WARN, "Not a directory, path:%s", localPath.c_str()); in CheckLocalPath()
625 WRITE_LOG(LOG_WARN, "unable to parse TransferPayload: invalid dataSize %d", dataSize); in RecvIOPayload()
659 WRITE_LOG(LOG_WARN, "invalid data size for fileIO: %d", clearSize); in RecvIOPayload()
Dtcp.cpp124 WRITE_LOG(LOG_WARN, "WriteUvTcpFd fd:%d send interrupt or again", fd); in WriteUvTcpFd()
Dchannel.cpp411 WRITE_LOG(LOG_WARN, "FreeChannelContinue handle->data is nullptr"); in FreeChannelContinue()
539 WRITE_LOG(LOG_WARN, "EchoToClient, channelId:%u is unwritable.", hChannel->channelId); in EchoToClient()
Ddefine_plus.h29 LOG_WARN, enumerator
/developtools/hdc/src/host/
Dhost_uart.cpp260 WRITE_LOG(LOG_WARN, "SetupComm %s fail, err:%d.", serialPort.c_str(), GetLastError()); in EnumSerialPort()
266 WRITE_LOG(LOG_WARN, "GetCommState %s fail, err:%d.", serialPort.c_str(), in EnumSerialPort()
276 WRITE_LOG(LOG_WARN, "SetCommState %s fail, err:%d.", serialPort.c_str(), in EnumSerialPort()
283 WRITE_LOG(LOG_WARN, "PurgeComm %s fail, err:%d.", serialPort.c_str(), GetLastError()); in EnumSerialPort()
290 WRITE_LOG(LOG_WARN, "ClearCommError %s fail, err:%d.", serialPort.c_str(), in EnumSerialPort()
312 WRITE_LOG(LOG_WARN, "%s port read something %zd", __FUNCTION__, ret); in EnumSerialPort()
365 WRITE_LOG(LOG_WARN, "%s WinSetSerial:%s fail.", __FUNCTION__, uart.serialPort.c_str()); in EnumSerialPort()
377 WRITE_LOG(LOG_WARN, "Linux open serial port failed, serialPort:%s, Message : %s", in EnumSerialPort()
394 WRITE_LOG(LOG_WARN, "ConnectMyNeed failed"); in EnumSerialPort()
455 WRITE_LOG(LOG_WARN, "%s failed err", __FUNCTION__); in EnumSerialPort()
[all …]
Dhost_usb.cpp67 l = LOG_WARN; in UsbLogHandler()
105 case LOG_WARN: in InitLogging()
181 … WRITE_LOG(LOG_WARN, "KickoutZombie devHandle:%p isDead:%d", hUSB->devHandle, hSession->isDead); in KickoutZombie()
187 …WRITE_LOG(LOG_WARN, "KickoutZombie LIBUSB_ERROR_NO_DEVICE serialNumber:%s", hUSB->serialNumber.c_s… in KickoutZombie()
244 WRITE_LOG(LOG_WARN, "get active config des fail, errno is %d.", errno); in HasValidDevice()
297 … WRITE_LOG(LOG_WARN, "CheckDescriptor libusb_get_device_descriptor failed %d-%d", curBus, curDev); in CheckDescriptor()
306 …WRITE_LOG(LOG_WARN, "CheckDescriptor libusb_get_string_descriptor_ascii failed %d-%d", curBus, cur… in CheckDescriptor()
366 WRITE_LOG(LOG_WARN, "set config failed ret:%d", ret); in CheckActiveConfig()
Dserver.cpp133 WRITE_LOG(LOG_WARN, "GetShortPath path:[%s] errmsg:%s", path, buffer); in PullupServerWin32()
152 …WRITE_LOG(LOG_WARN, "CreateProcess failed with cmd:%s, args:%s, Error Code %d", runPath.c_str(), b… in PullupServerWin32()
174 WRITE_LOG(LOG_WARN, "uvexepath ret:%d error:%s", ret, buf); in PullupServer()
Dclient.cpp480 WRITE_LOG(LOG_WARN, "Not support stdio TTY mode"); in BindLocalStd()
/developtools/profiler/device/base/include/
Dlogging.h71 LOG_WARN, enumerator
116 #define HILOG_WARN(LOG_CORE, fmt, ...) HiLogPrint(LOG_CORE, LOG_WARN, LOG_DOMAIN, LOG_TAG, fmt, ##_…
188 #define HILOG_WARN(type, fmt, ...) HILOG_PRINT(type, LOG_WARN, fmt, ##__VA_ARGS__)
/developtools/smartperf_host/ide/src/trace/component/setting/bean/
DProfilerServiceTypes.ts839 return Level.LOG_WARN;
852 LOG_WARN = 'LOG_WARN', enumerator
/developtools/profiler/host/smartperf/ide/src/trace/component/setting/bean/
DProfilerServiceTypes.ts831 return Level.LOG_WARN;
844 LOG_WARN = 'LOG_WARN', enumerator
/developtools/hdc/src/test/
Dut_mod.cpp251 WRITE_LOG(LOG_WARN, "Client forward timeout"); in TestForwardExternThread()

12