Home
last modified time | relevance | path

Searched refs:LOG_WARN (Results 1 – 25 of 34) 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()
162 … WRITE_LOG(LOG_WARN, "%s: cannot open control endpoint: errno=%d", ep0Path.c_str(), errno); in ConnectEPPoint()
166 … WRITE_LOG(LOG_WARN, "%s: write ffs configs failed: errno=%d", ep0Path.c_str(), errno); in ConnectEPPoint()
170 … WRITE_LOG(LOG_WARN, "%s: write USB_FFS_VALUE failed: errno=%d", ep0Path.c_str(), errno); in ConnectEPPoint()
179 WRITE_LOG(LOG_WARN, "%s: cannot open bulk-out ep: errno=%d", outPath.c_str(), errno); in ConnectEPPoint()
184 WRITE_LOG(LOG_WARN, "%s: cannot open bulk-in ep: errno=%d", inPath.c_str(), errno); in ConnectEPPoint()
227 WRITE_LOG(LOG_WARN, "Hostside softreset to restart daemon, old sessionId:%u", sessionId); in ResetOldSession()
305 … WRITE_LOG(LOG_WARN, "BulkinWrite write EINTR, try again, offset:%u bulkIn:%d bulkOut:%d", in SendUSBIOSync()
393 WRITE_LOG(LOG_WARN, "SendCallback failed,status:%d %s", status, buf); in UvWriteCallback()
409 WRITE_LOG(LOG_WARN, "UsbToStream new write_t failed size:%d", size); in UsbToStream()
[all …]
Ddaemon_app.cpp34 WRITE_LOG(LOG_WARN, "HdcTaskBase not ready for release channelId:%u", taskInfo->channelId); in ReadyForRelease()
38 WRITE_LOG(LOG_WARN, "asyncCommand not ready for release channelId:%u", taskInfo->channelId); in ReadyForRelease()
48 WRITE_LOG(LOG_WARN, "HdcTransferBase::CommandDispatch false command:%u channelId:%u", in CommandDispatch()
Djdwp.cpp364 WRITE_LOG(LOG_WARN, "SendCallbackJdwpNewFD failed %d", ctx->pid); in SendCallbackJdwpNewFD()
421 WRITE_LOG(LOG_WARN, "From fd Create buf failed, fd:%d", fd); in SendArkNewFD()
425 WRITE_LOG(LOG_WARN, "SendArkNewFD failed fd:%d str:%s", fd, str.c_str()); in SendArkNewFD()
505 WRITE_LOG(LOG_WARN, "truncating JDWP process list (max len = %zu) ", bufferlen); in JdwpProcessListMsg()
509 WRITE_LOG(LOG_WARN, " JdwpProcessListMsg head fail."); in JdwpProcessListMsg()
513 WRITE_LOG(LOG_WARN, " JdwpProcessListMsg get head fail."); in JdwpProcessListMsg()
517 WRITE_LOG(LOG_WARN, " JdwpProcessListMsg get data fail."); in JdwpProcessListMsg()
526 WRITE_LOG(LOG_WARN, " SendProcessList, Nothing needs to be sent."); in SendProcessList()
Dshell.cpp51 WRITE_LOG(LOG_WARN, "not ready for release channelId:%u", taskInfo->channelId); in ReadyForRelease()
55 WRITE_LOG(LOG_WARN, "childReady false channelId:%u", taskInfo->channelId); in ReadyForRelease()
59 WRITE_LOG(LOG_WARN, "childShell not ready for release channelId:%u", taskInfo->channelId); in ReadyForRelease()
/developtools/hdc/hdc_rust/src/cffi/
Dcmd.cpp89 WRITE_LOG(LOG_WARN, "setuid %s fail, %s", userName, strerror(errno)); in DropRootPrivileges()
95 WRITE_LOG(LOG_WARN, "setgid %s fail, %s", userName, strerror(errno)); in DropRootPrivileges()
101 WRITE_LOG(LOG_WARN, "setgroups %s fail, %s", userName, strerror(errno)); in DropRootPrivileges()
108 WRITE_LOG(LOG_WARN, "setcon fail, errno %s", strerror(errno)); in DropRootPrivileges()
Dlog.h30 LOG_WARN, enumerator
Dlog.cpp46 case static_cast<int>(LOG_WARN): in PrintLogEx()
/developtools/hdc/src/common/
Dasync_cmd.cpp42 WRITE_LOG(LOG_WARN, "childShell not ready for release pid:%d", pid); in ReadyForRelease()
46 WRITE_LOG(LOG_WARN, "refCount:%u not ready for release", refCount); in ReadyForRelease()
110 WRITE_LOG(LOG_WARN, "GetDevItem false key:%s", key); in GetDevItem()
118 WRITE_LOG(LOG_WARN, "GetDevItem false tmpStringBuf:%s", tmpStringBuf); in GetDevItem()
132 WRITE_LOG(LOG_WARN, "SetSelinuxLabel isRoot:%d", isRoot); in SetSelinuxLabel()
136 WRITE_LOG(LOG_WARN, "SetSelinuxLabel con:%s isRoot:%d", con, isRoot); in SetSelinuxLabel()
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.cpp124 WRITE_LOG(LOG_WARN, "FileIOOnThread fdIO:%d callbackRead false", thisClass->fdIO); in FileIOOnThread()
129 WRITE_LOG(LOG_WARN, "FileIOOnThread fdIO:%d read interrupt", thisClass->fdIO); in FileIOOnThread()
134 WRITE_LOG(LOG_WARN, "FileIOOnThread fdIO:%d callbackRead false", thisClass->fdIO); in FileIOOnThread()
149 WRITE_LOG(LOG_WARN, "FileIOOnThread fdIO:%d read interrupt", thisClass->fdIO); in FileIOOnThread()
154 WRITE_LOG(LOG_WARN, "FileIOOnThread fdIO:%d callbackRead false", thisClass->fdIO); in FileIOOnThread()
229 WRITE_LOG(LOG_WARN, "Write failed, size:%d", size); in Write()
325 WRITE_LOG(LOG_WARN, "CtxFileIOWrite fdIO:%d interrupt errno:%d", fdIO, errno); in CtxFileIOWrite()
Dsession.cpp83 WRITE_LOG(LOG_WARN, "TryRemoveTask channelId:%u", hTask->channelId); in TryRemoveTask()
102 WRITE_LOG(LOG_WARN, "BeginRemoveTask channelId:%u taskStop:%d taskFree:%d", in BeginRemoveTask()
124 WRITE_LOG(LOG_WARN, "TaskDelay TryRemoveTask false channelId:%u", hTask->channelId); in BeginRemoveTask()
597 WRITE_LOG(LOG_WARN, "FreeSessionOpeate ref:%u > 0", uint32_t(hSession->ref)); in FreeSessionOpeate()
643 WRITE_LOG(LOG_WARN, "FreeSession hSession nullptr or isDead sessionId:%u", sessionId); in FreeSession()
729 WRITE_LOG(LOG_WARN, "%d: channelId: %lu, type: %d, closeRetry: %d\n", in DumpTasksInfo()
777 WRITE_LOG(LOG_WARN, "SendByProtocol session dead error"); in SendByProtocol()
842 WRITE_LOG(LOG_WARN, "send allocmem err"); in Send()
848 WRITE_LOG(LOG_WARN, "send copyhead err for dataSize:%d", dataSize); in Send()
853 WRITE_LOG(LOG_WARN, "send copyProtbuf err for dataSize:%d", dataSize); in Send()
[all …]
Dchannel.cpp153 WRITE_LOG(LOG_WARN, "ReadStream childRet:%d channelId:%u keepAlive:%d", in ReadStream()
184 WRITE_LOG(LOG_WARN, "WriteCallback TryCloseHandle channelId:%u isDead:%d ref:%d", in WriteCallback()
223 WRITE_LOG(LOG_WARN, "MainAsyncCallback uv_is_closing loopMain"); in MainAsyncCallback()
241 WRITE_LOG(LOG_WARN, "PushAsyncMessage uv_is_closing asyncMainLoop"); in PushAsyncMessage()
430 WRITE_LOG(LOG_WARN, "FreeChannelContinue handle->data is nullptr"); in FreeChannelContinue()
468 WRITE_LOG(LOG_WARN, "FreeChannelOpeate childCleared:%d channelId:%u", in FreeChannelOpeate()
492 WRITE_LOG(LOG_WARN, "FreeChannel hChannel nullptr or isDead channelid:%u", channelId); in FreeChannel()
562 WRITE_LOG(LOG_WARN, "EchoToClient, channelId:%u is unwritable.", hChannel->channelId); in EchoToClient()
Duart.cpp331 WRITE_LOG(LOG_WARN, "%s:read failed! %zd:%d", __FUNCTION__, bytesRead, errno); in ReadUartDev()
373 WRITE_LOG(LOG_WARN, "EINTR/EAGAIN, try again"); in WriteUartDev()
461 WRITE_LOG(LOG_WARN, "%s package error. clean the read buffer.", __FUNCTION__); in PackageProcess()
482 … WRITE_LOG(LOG_WARN, "%s have not found session (%u). skip it", __FUNCTION__, sessionId); in PackageProcess()
486 WRITE_LOG(LOG_WARN, "%s dup package %u, skip send to session logic", in PackageProcess()
545 WRITE_LOG(LOG_WARN, "%s hSession not found:%zu", __FUNCTION__, uartHeader->sessionId); in SendUARTRaw()
702 WRITE_LOG(LOG_WARN, "UartPackageManager: resend pkgId:%s.", pkgId.c_str()); in ProcessResponsePackage()
742 WRITE_LOG(LOG_WARN, "SendUARTRaw failed!"); in SendPkgInUARTOutMap()
767 WRITE_LOG(LOG_WARN, "UartPackageManager: pkg:%s try resend it.", in SendPkgInUARTOutMap()
777 WRITE_LOG(LOG_WARN, "UartPackageManager: reach max retry ,free the session %u", in SendPkgInUARTOutMap()
[all …]
Dusb.cpp143 WRITE_LOG(LOG_WARN, "SendToHdcStream check, sessionId not matched"); in PreSendUsbSoftReset()
166 WRITE_LOG(LOG_WARN, "CheckPacketOption softreset header->sessionId:%u sessionId:%u", in CheckPacketOption()
190 WRITE_LOG(LOG_WARN, "SendToHdcStream softreset dataSize:%d payloadSize:%u childRet:%d", in SendToHdcStream()
Dbase.cpp76 case LOG_WARN: in GetLogLevelAndTime()
225 case static_cast<int>(LOG_WARN): in PrintLogEx()
310 WRITE_LOG(LOG_WARN, "ReallocBuf failed, sizeWanted:%d", sizeWanted); in ReallocBuf()
337 WRITE_LOG(LOG_WARN, "SendCallback failed,status:%d %s", status, buf); in SendCallback()
357 WRITE_LOG(LOG_WARN, "%s close busy,try:%d", callerName, closeRetry); in TryCloseLoop()
398 WRITE_LOG(LOG_WARN, "%s close busy,try:%d", callerName, closeRetry); in TryCloseChildLoop()
466 WRITE_LOG(LOG_WARN, "SendToStream, alloc failed, size:%d", bufLen); in SendToStream()
470 WRITE_LOG(LOG_WARN, "SendToStream, memory copy failed, size:%d", bufLen); in SendToStream()
487 WRITE_LOG(LOG_WARN, "SendToStreamEx, new write_t failed, size:%d", bufLen); in SendToStreamEx()
496 WRITE_LOG(LOG_WARN, "SendToStreamEx, uv_is_writable false, size:%d", bufLen); in SendToStreamEx()
[all …]
Dforward.cpp34 WRITE_LOG(LOG_WARN, "not ready for release channelId:%u", taskInfo->channelId); in ReadyForRelease()
250 WRITE_LOG(LOG_WARN, "AllocForwardBuf == null"); in AllocForwardBuf()
282 WRITE_LOG(LOG_WARN, "Forward connect result:%d error:%s", status, buf); in ConnectTarget()
731 WRITE_LOG(LOG_WARN, "SendForwardBuf size:%d > HDC_BUF_MAX_BYTES", size); in SendForwardBuf()
735 WRITE_LOG(LOG_WARN, "SendForwardBuf failed size:%d", size); in SendForwardBuf()
793 WRITE_LOG(LOG_WARN, "Query id:%u failed", id); in ForwardCommandDispatch()
873 WRITE_LOG(LOG_WARN, const_cast<char *>(sError.c_str())); in CommandDispatch()
/developtools/smartperf_host/trace_streamer/src/base/
Dlog.h30 enum LogLevel { LOG_DEBUG = 0, LOG_INFO, LOG_WARN, LOG_ERROR, LOG_FATAL, LOG_OFF }; enumerator
46 #define TS_LOGW(fmt, ...) LOGWITHLEVEL(LOG_WARN, 'W', fmt, ##__VA_ARGS__)
Dlog.cpp27 g_curLogLevel = LOG_WARN; in SetLogLevel()
/developtools/hdc/src/host/
Dhost_unity.cpp32 WRITE_LOG(LOG_WARN, "not ready for release channelId:%u", taskInfo->channelId); in ReadyForRelease()
36 … WRITE_LOG(LOG_WARN, "enableLog true hasFilelogClosed false channelId:%u", taskInfo->channelId); in ReadyForRelease()
46 WRITE_LOG(LOG_WARN, "StopTask hasFilelogClosed true channelId:%u", taskInfo->channelId); in StopTask()
Dhost_uart.cpp261 WRITE_LOG(LOG_WARN, "SetupComm %s fail, err:%d.", serialPort.c_str(), GetLastError()); in EnumSerialPort()
267 WRITE_LOG(LOG_WARN, "GetCommState %s fail, err:%d.", serialPort.c_str(), in EnumSerialPort()
277 WRITE_LOG(LOG_WARN, "SetCommState %s fail, err:%d.", serialPort.c_str(), in EnumSerialPort()
284 WRITE_LOG(LOG_WARN, "PurgeComm %s fail, err:%d.", serialPort.c_str(), GetLastError()); in EnumSerialPort()
291 WRITE_LOG(LOG_WARN, "ClearCommError %s fail, err:%d.", serialPort.c_str(), in EnumSerialPort()
313 WRITE_LOG(LOG_WARN, "%s port read something %zd", __FUNCTION__, ret); in EnumSerialPort()
366 WRITE_LOG(LOG_WARN, "%s WinSetSerial:%s fail.", __FUNCTION__, uart.serialPort.c_str()); in EnumSerialPort()
378 WRITE_LOG(LOG_WARN, "Linux open serial port failed, serialPort:%s, Message : %s", in EnumSerialPort()
395 WRITE_LOG(LOG_WARN, "ConnectMyNeed failed"); in EnumSerialPort()
456 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()
187 … WRITE_LOG(LOG_WARN, "KickoutZombie devHandle:%p isDead:%d", hUSB->devHandle, hSession->isDead); in KickoutZombie()
193 …WRITE_LOG(LOG_WARN, "KickoutZombie LIBUSB_ERROR_NO_DEVICE serialNumber:%s", hUSB->serialNumber.c_s… in KickoutZombie()
250 WRITE_LOG(LOG_WARN, "get active config des fail, errno is %d.", errno); in HasValidDevice()
303 … WRITE_LOG(LOG_WARN, "CheckDescriptor libusb_get_device_descriptor failed %d-%d", curBus, curDev); in CheckDescriptor()
312 …WRITE_LOG(LOG_WARN, "CheckDescriptor libusb_get_string_descriptor_ascii failed %d-%d", curBus, cur… in CheckDescriptor()
372 WRITE_LOG(LOG_WARN, "set config failed ret:%d", ret); in CheckActiveConfig()
380 WRITE_LOG(LOG_WARN, "get active config descriptor failed ret:%d", ret); in CheckActiveConfig()
/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, ##_…
173 HiLogPrint(type, LOG_WARN, LOG_DOMAIN, LOG_TAG, fmt, ##__VA_ARGS__)
/developtools/profiler/host/smartperf/client/client_command/
Dsp_log.cpp48 hiLogLevel = LOG_WARN; in SpLogOut()
/developtools/smartperf_host/ide/src/trace/component/setting/bean/
DProfilerServiceTypes.ts421 return Level.LOG_WARN;
437 LOG_WARN = 'WARN', enumerator

12