Home
last modified time | relevance | path

Searched refs:LOG_FATAL (Results 1 – 25 of 33) sorted by relevance

12

/developtools/hdc/src/common/
Dusb.cpp45 WRITE_LOG(LOG_FATAL, "USBBase ReadyForWorkThread init child TCP failed"); in ReadyForWorkThread()
52 WRITE_LOG(LOG_FATAL, "USBBase ReadyForWorkThread child TCP read failed"); in ReadyForWorkThread()
85 WRITE_LOG(LOG_FATAL, "SendUSBRaw index failed"); in SendUSBBlock()
89 WRITE_LOG(LOG_FATAL, "SendUSBRaw body failed"); in SendUSBBlock()
97 WRITE_LOG(LOG_FATAL, "SendUSBRaw dummy failed"); in SendUSBBlock()
141 WRITE_LOG(LOG_FATAL, "PreSendUsbSoftReset send failed"); in PreSendUsbSoftReset()
191 WRITE_LOG(LOG_FATAL, "Error usb send to stream dataSize:%d", dataSize); in SendToHdcStream()
Duart.cpp379 WRITE_LOG(LOG_FATAL, "write fatal errno %d:%s", errno, buf); in WriteUartDev()
414 WRITE_LOG(LOG_FATAL, "%s select error:%d [%s][%d]", __FUNCTION__, errno, in UartToHdcProtocol()
427 WRITE_LOG(LOG_FATAL, "%s senddata err:%d [%s]", __FUNCTION__, errno, buf); in UartToHdcProtocol()
433 WRITE_LOG(LOG_FATAL, "%s partialsenddata err:%d [%d]", __FUNCTION__, index, dataSize); in UartToHdcProtocol()
496 WRITE_LOG(LOG_FATAL, in PackageProcess()
573 WRITE_LOG(LOG_FATAL, "%s buf size too small %zu", __FUNCTION__, size); in UartSendToHdcStream()
585 WRITE_LOG(LOG_FATAL, "%s sessionId not matched, reset sessionId:%d.", __FUNCTION__, in UartSendToHdcStream()
600 WRITE_LOG(LOG_FATAL, "%s Error uart send to stream", __FUNCTION__); in UartSendToHdcStream()
678 WRITE_LOG(LOG_FATAL, "UartPackageManager: add pkg %s fail, %s has already been exist.", in RequestSendPackage()
703 WRITE_LOG(LOG_FATAL, "UartPackageManager: hasn't found pkg for pkgId:%s.", pkgId.c_str()); in ProcessResponsePackage()
[all …]
Dfile_descriptor.cpp39 WRITE_LOG(LOG_FATAL, "~HdcFileDescriptor refIO:%d", refIO); in ~HdcFileDescriptor()
94 … WRITE_LOG(LOG_FATAL, "FileIOOnThread select fdIO:%d error:%d", thisClass->fdIO, errno); in FileIOOnThread()
155 WRITE_LOG(LOG_FATAL, "Memory alloc failed"); in LoopReadOnThread()
197 WRITE_LOG(LOG_FATAL, "Memory alloc failed"); in WriteWithMem()
269 WRITE_LOG(LOG_FATAL, "CtxFileIOWrite fdIO:%d rc:%d error:%d", fdIO, rc, errno); in CtxFileIOWrite()
Dbase.cpp73 case LOG_FATAL: in GetLogLevelAndTime()
194 WRITE_LOG(LOG_FATAL, "uv_fs_chmod %s failed %s", path.c_str(), buffer); in ChmodLogFile()
232 case static_cast<int>(LOG_FATAL): in PrintLogEx()
600 WRITE_LOG(LOG_FATAL, "SplitCommandToArgs new argv failed"); in SplitCommandToArgs()
700 WRITE_LOG(LOG_FATAL, "ReadBinFile uv_fs_stat %s error %s", pathName, buffer); in ReadBinFile()
730 … WRITE_LOG(LOG_FATAL, "ReadBinFile uv_fs_open %s error %s", resolvedPath.c_str(), buffer); in ReadBinFile()
739 WRITE_LOG(LOG_FATAL, "ReadBinFile uv_fs_read %s error %s byteIO:%llu readMax:%llu", in ReadBinFile()
780 … WRITE_LOG(LOG_FATAL, "WriteBinFile uv_fs_open %s error %s", resolvedPath.c_str(), buffer); in WriteBinFile()
791 WRITE_LOG(LOG_FATAL, "WriteBinFile uv_fs_write %s error %s bytesDone:%llu bufLen:%llu", in WriteBinFile()
816 WRITE_LOG(LOG_FATAL, "Tmppath failed"); in ProgramMutex()
[all …]
Dsession.cpp57 WRITE_LOG(LOG_FATAL, "libusb_init failed ctxUSB is nullptr"); in HdcSessionBase()
407 WRITE_LOG(LOG_FATAL, "MallocSession new hSession failed"); in MallocSession()
421 WRITE_LOG(LOG_FATAL, "MallocSession new hSession->mapTask failed"); in MallocSession()
428 WRITE_LOG(LOG_FATAL, "MallocSession new hSession->listKey failed"); in MallocSession()
445 WRITE_LOG(LOG_FATAL, "MallocSession malloc hSession->pollHandle failed"); in MallocSession()
694 WRITE_LOG(LOG_FATAL, "!! session:%u vote reset, passed unanimously !!", sessionId); in AdminSession()
866 WRITE_LOG(LOG_FATAL, "Session recv static vcode failed"); in DecryptPayload()
871 WRITE_LOG(LOG_FATAL, "Session recv CalcCheckSum failed"); in DecryptPayload()
887 WRITE_LOG(LOG_FATAL, "PACKET_FLAG incorrect %x %x", bufPtr[0], bufPtr[1]); in OnRead()
896 WRITE_LOG(LOG_FATAL, "Packet size incorrect"); in OnRead()
[all …]
Dforward.cpp368 WRITE_LOG(LOG_FATAL, "SetupTCPPoint new conn failed"); in SetupTCPPoint()
398 WRITE_LOG(LOG_FATAL, "SetupDevicePoint new ctxPoint->fdClass failed"); in SetupDevicePoint()
468 WRITE_LOG(LOG_FATAL, "SetupFilePoint new connect failed"); in SetupFilePoint()
533 WRITE_LOG(LOG_FATAL, "MallocContext failed"); in BeginForward()
538 WRITE_LOG(LOG_FATAL, "SplitCommandToArgs failed"); in BeginForward()
590 WRITE_LOG(LOG_FATAL, "MallocContext failed"); in SlaveConnect()
604 WRITE_LOG(LOG_FATAL, "SetupPoint failed"); in SlaveConnect()
Dasync_cmd.cpp68 WRITE_LOG(LOG_FATAL, "Not support for win32 or host side"); in Initial()
205 WRITE_LOG(LOG_FATAL, "ExecuteCommand new childShell failed"); in ExecuteCommand()
Dtcp.cpp127 WRITE_LOG(LOG_FATAL, "WriteUvTcpFd fd:%d send rc:%d err:%d", fd, rc, err); in WriteUvTcpFd()
/developtools/hdc/src/daemon/
Dmain.cpp190 WRITE_LOG(LOG_FATAL, "getpwuid %s fail, %s", userName, strerror(errno)); in DropRootPrivileges()
196 WRITE_LOG(LOG_FATAL, "calloc fail"); in DropRootPrivileges()
203 WRITE_LOG(LOG_FATAL, "calloc fail"); in DropRootPrivileges()
210 WRITE_LOG(LOG_FATAL, "setuid %s fail, %s", userName, strerror(errno)); in DropRootPrivileges()
217 WRITE_LOG(LOG_FATAL, "setgid %s fail, %s", userName, strerror(errno)); in DropRootPrivileges()
224 WRITE_LOG(LOG_FATAL, "setgroups %s fail, %s", userName, strerror(errno)); in DropRootPrivileges()
245 WRITE_LOG(LOG_FATAL, "setuid(0) fail %s", buffer); in NeedDropRootPrivileges()
Ddaemon_uart.cpp53 WRITE_LOG(LOG_FATAL, in Initial()
66 WRITE_LOG(LOG_FATAL, "uv_timer_init failed %s", buf); in Initial()
72 WRITE_LOG(LOG_FATAL, "uv_timer_start failed %s", buf); in Initial()
121 WRITE_LOG(LOG_FATAL, "WatcherTimerCallBack found some issue"); in WatcherTimerCallBack()
129 WRITE_LOG(LOG_FATAL, "CloseUartDevice failed ret: %d", ret); in CloseUartDevice()
192 WRITE_LOG(LOG_FATAL, "%s %s", __FUNCTION__, session->ToDebugString().c_str()); in OnTransferError()
205 WRITE_LOG(LOG_FATAL, "%s sessionId:%u", __FUNCTION__, sessionId); in PrepareNewSession()
208 WRITE_LOG(LOG_FATAL, "new session malloc failed for sessionId:%u", sessionId); in PrepareNewSession()
Ddaemon.cpp107 WRITE_LOG(LOG_FATAL, "InitMod new clsTCPServ failed"); in InitMod()
116 WRITE_LOG(LOG_FATAL, "InitMod new clsUSBServ failed"); in InitMod()
127 WRITE_LOG(LOG_FATAL, "InitMod new clsUARTServ failed"); in InitMod()
135 WRITE_LOG(LOG_FATAL, "InitMod new clsJdwp failed"); in InitMod()
262 WRITE_LOG(LOG_FATAL, "Recv server-hello failed"); in DaemonSessionHandshake()
292 WRITE_LOG(LOG_FATAL, "receive hs version = %s", handshake.version.c_str()); in DaemonSessionHandshake()
295 WRITE_LOG(LOG_FATAL, "DaemonSessionHandshake failed! version not match [%s] vs [%s]", in DaemonSessionHandshake()
308 WRITE_LOG(LOG_FATAL, "set version if check mode = %s", handshake.version.c_str()); in DaemonSessionHandshake()
Ddaemon_usb.cpp115 WRITE_LOG(LOG_FATAL, "Init alloc memory failed"); in Initial()
211 WRITE_LOG(LOG_FATAL, "DaemonUSB close endpoint"); in CloseEndpoint()
267 WRITE_LOG(LOG_FATAL, "CloseBulkEp new ctx failed"); in CloseBulkEp()
306 WRITE_LOG(LOG_FATAL, "BulkinWrite write fatal errno %d", err); in SendUSBIOSync()
319 …WRITE_LOG(LOG_FATAL, "BulkinWrite write failed, nsize:%d really:%d modRunning:%d isAlive:%d Sessio… in SendUSBIOSync()
413 WRITE_LOG(LOG_FATAL, "UsbToStream new uvData failed size:%d", size); in UsbToStream()
561 WRITE_LOG(LOG_FATAL, "DispatchToWorkThread failed"); in OnUSBRead()
569 WRITE_LOG(LOG_FATAL, "LoopUSBRead failed"); in OnUSBRead()
595 WRITE_LOG(LOG_FATAL, "uv_fs_read < 0"); in LoopUSBRead()
Djdwp.cpp227 WRITE_LOG(LOG_FATAL, "UvPipeBind failed"); in JdwpListen()
246 WRITE_LOG(LOG_FATAL, "socket already bound %d", handle->io_watcher.fd); in UvPipeBind()
254 WRITE_LOG(LOG_FATAL, "socket failed errno:%d %s", errno, buffer); in UvPipeBind()
276 WRITE_LOG(LOG_FATAL, "bind failed errno:%d %s", errno, buffer); in UvPipeBind()
516 … WRITE_LOG(LOG_FATAL, "DrainAwakenPollThread: Failed to read data from awaken pipe %d", retVal); in DrainAwakenPollThread()
529 WRITE_LOG(LOG_FATAL, "WakePollThread: Failed to write data into awaken pipe %d", retVal); in WakePollThread()
585 WRITE_LOG(LOG_FATAL, "CreateFdEventPoll : Failed to create awakenPollFd"); in CreateFdEventPoll()
603 WRITE_LOG(LOG_FATAL, "JdwpListen failed"); in Initial()
Ddaemon_uart.h45 WRITE_LOG(LOG_FATAL, "UvWatchTimer have not got correct class parameter"); in UvWatchTimer()
/developtools/smartperf_host/trace_streamer/src/base/
Dlog.h29 enum LogLevel { LOG_DEBUG, LOG_INFO, LOG_WARN, LOG_ERROR, LOG_FATAL }; enumerator
38 … if (level == LOG_FATAL) { \
44 #define TS_LOGF(fmt, ...) LOGWITHLEVEL(LOG_FATAL, 'F', 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
38 … if (level == LOG_FATAL) { \
44 #define TS_LOGF(fmt, ...) LOGWITHLEVEL(LOG_FATAL, 'F', fmt, ##__VA_ARGS__)
/developtools/hdc/src/host/
Dhost_usb.cpp50 WRITE_LOG(LOG_FATAL, "USB mod ctxUSB is nullptr, recompile please"); in Initial()
64 l = LOG_FATAL; in UsbLogHandler()
98 WRITE_LOG(LOG_FATAL, "InitLogging failed ctxUSB is nullptr"); in InitLogging()
117 case LOG_FATAL: in InitLogging()
141 WRITE_LOG(LOG_FATAL, "DetectMyNeed new hUSB failed"); in DetectMyNeed()
164 WRITE_LOG(LOG_FATAL, "DetectMyNeed new waitTimeDoCmd failed"); in DetectMyNeed()
219 WRITE_LOG(LOG_FATAL, "Failed to get device list"); in WatchUsbNodeChange()
468 WRITE_LOG(LOG_FATAL, "select error:%d [%s][%d]", errno, buf, childRet); in UsbToHdcProtocol()
480 WRITE_LOG(LOG_FATAL, "UsbToHdcProtocol senddata err:%d [%s]", errno, buf); in UsbToHdcProtocol()
486 WRITE_LOG(LOG_FATAL, "UsbToHdcProtocol partialsenddata err:%d [%d]", index, dataSize); in UsbToHdcProtocol()
[all …]
Dhost_updater.cpp91 WRITE_LOG(LOG_FATAL, "payload is invalid"); in BeginTransfer()
103 WRITE_LOG(LOG_FATAL, "param count is invalid"); in BeginTransfer()
109 WRITE_LOG(LOG_FATAL, "localPath is invalid"); in BeginTransfer()
118 WRITE_LOG(LOG_FATAL, "file type is invalid"); in BeginTransfer()
150 WRITE_LOG(LOG_FATAL, "payload is invalid"); in CheckCmd()
160 WRITE_LOG(LOG_FATAL, "CheckCmd failed"); in CheckCmd()
182 WRITE_LOG(LOG_FATAL, "payload or payloadSize is invalid"); in CommandDispatch()
321 WRITE_LOG(LOG_FATAL, "sessionBase is null"); in SendRawData()
Dserver_for_client.cpp83 WRITE_LOG(LOG_FATAL, "strcpy_s failed"); in AcceptClient()
107 WRITE_LOG(LOG_FATAL, "uv_ip6_addr %d %s", rc, buffer); in SetTCPListen()
123 WRITE_LOG(LOG_FATAL, "uv_tcp_bind ipv4 %s failed %d %s", in SetTCPListen()
130 WRITE_LOG(LOG_FATAL, "uv_tcp_bind %d %s", rc, buffer); in SetTCPListen()
138 WRITE_LOG(LOG_FATAL, "uv_listen %d %s", rc, buffer); in SetTCPListen()
147 WRITE_LOG(LOG_FATAL, "Module client initial failed"); in Initial()
151 WRITE_LOG(LOG_FATAL, "Listen string initial failed"); in Initial()
156 WRITE_LOG(LOG_FATAL, "SetTCPListen failed"); in Initial()
313 WRITE_LOG(LOG_FATAL, "CreateConnect failed"); in NewConnectTry()
711 WRITE_LOG(LOG_FATAL, "Duplicate socket failed, cid:%d", hChannel->channelId); in BindChannelToSession()
[all …]
Dext_client.cpp51 WRITE_LOG(LOG_FATAL, "uv_dlopen failed %s %s", path.c_str(), uv_dlerror(&lib)); in Init()
158 WRITE_LOG(LOG_FATAL, "uv_dlsym %s failed %s", name, uv_dlerror(&lib)); in ListTargets()
163 WRITE_LOG(LOG_FATAL, "new buffer failed with function %s", name); in ListTargets()
316 WRITE_LOG(LOG_FATAL, "uv_dlsym %s failed %s", name, uv_dlerror(&lib)); in HandleLib()
321 WRITE_LOG(LOG_FATAL, "new buffer failed with function %s", name); in HandleLib()
358 WRITE_LOG(LOG_FATAL, "uv_dlopen failed %s %s", path.c_str(), uv_dlerror(&uvLib)); in WaitForExtent()
Dserver.cpp84 WRITE_LOG(LOG_FATAL, "Other instance already running, program mutex failed"); in Initial()
91 WRITE_LOG(LOG_FATAL, "clsServerForClient Initial failed"); in Initial()
101 WRITE_LOG(LOG_FATAL, "Class init failed"); in Initial()
108 WRITE_LOG(LOG_FATAL, "Class init failed"); in Initial()
112 WRITE_LOG(LOG_FATAL, "clsUARTClt Class init failed."); in Initial()
318 WRITE_LOG(LOG_FATAL, "AdminDaemonMap new pdiNew failed"); in AdminDaemonMap()
489 WRITE_LOG(LOG_FATAL, "Handshake failed"); in ServerSessionHandshake()
648 WRITE_LOG(LOG_FATAL, "AdminForwardMap new pfiNew failed"); in AdminForwardMap()
785 WRITE_LOG(LOG_FATAL, "CreatConnectUart new waitTimeDoCmd failed"); in CreatConnectUart()
825 WRITE_LOG(LOG_FATAL, "Connected return"); in CreateConnect()
[all …]
Dhost_uart.cpp84 WRITE_LOG(LOG_FATAL, "%s stop ", __FUNCTION__); in UartReadThread()
510 WRITE_LOG(LOG_FATAL, "devUartWatcher start fail"); in EnumSerialPort()
587 WRITE_LOG(LOG_FATAL, "ConnectMyNeed new waitTimeDoCmd failed"); in EnumSerialPort()
645 WRITE_LOG(LOG_FATAL, "%s:%s", __FUNCTION__, session->ToDebugString().c_str()); in EnumSerialPort()
672 WRITE_LOG(LOG_FATAL, "%s reset serialPort:%s", __FUNCTION__, in EnumSerialPort()
683 WRITE_LOG(LOG_FATAL, "%s hSession is null", __FUNCTION__); in EnumSerialPort()
690 WRITE_LOG(LOG_FATAL, "%s hUART is null", __FUNCTION__); in EnumSerialPort()
704 WRITE_LOG(LOG_FATAL, "readThread is not joinable"); in EnumSerialPort()
779 WRITE_LOG(LOG_FATAL, "%s sendThread is not joinable", __FUNCTION__); in EnumSerialPort()
Dhost_tcp.cpp119 WRITE_LOG(LOG_FATAL, "Connect failed"); in Connect()
142 WRITE_LOG(LOG_FATAL, "ConnectDaemon new conn failed"); in ConnectDaemon()
Dclient.cpp64 WRITE_LOG(LOG_FATAL, "Tmppath failed"); in GetLastPID()
310 WRITE_LOG(LOG_FATAL, "ConnectKey2IPPort %s failed with %d", in ExecuteCommand()
343 WRITE_LOG(LOG_FATAL, "Listen string initial failed"); in Initial()
357 WRITE_LOG(LOG_FATAL, "ConnectServerForClient new conn failed"); in ConnectServerForClient()
507 WRITE_LOG(LOG_FATAL, "connect failed"); in Connect()
546 …WRITE_LOG(LOG_FATAL, "Client version:%s, server version:%s", clientVer.c_str(), serverVer.c_str()); in PreHandshake()
/developtools/hdc/test/fuzztest/jdwpreadstream_fuzzer/
DJdwpReadStream_fuzzer.cpp37 WRITE_LOG(LOG_FATAL, "FuzzJdwpReadStream jdwp is null"); in FuzzJdwpReadStream()
42 WRITE_LOG(LOG_FATAL, "FuzzJdwpReadStream ctx is null"); in FuzzJdwpReadStream()

12