/base/msdp/device_status/utils/common/include/ |
D | devicestatus_common.h | 33 FI_HILOGE("%{public}s "#loginfo" ", __func__); \ 41 FI_HILOGE("WriteBool "#data" failed"); \ 49 FI_HILOGE("WriteInt32 "#data" failed"); \ 57 FI_HILOGE("WriteInt64 "#data" failed"); \ 65 FI_HILOGE("WriteUint32 "#data" failed"); \ 73 FI_HILOGE("WriteDouble "#data" failed"); \ 81 FI_HILOGE("WriteString "#data" failed"); \ 89 FI_HILOGE("WriteString16 "#data" failed"); \ 97 FI_HILOGE("WriteRemoteObject "#data" failed"); \ 105 FI_HILOGE("WriteUInt8Vector "#data" failed"); \ [all …]
|
D | util_napi.h | 35 FI_HILOGE("%{public}s failed", std::string(desc).c_str()); \ 43 FI_HILOGE("%{public}s failed", std::string(desc).c_str()); \ 51 FI_HILOGE("%{public}s failed", std::string(desc).c_str()); \ 59 FI_HILOGE("%{public}s failed", std::string(desc).c_str()); \ 68 FI_HILOGE("%{public}s failed", std::string(desc).c_str()); \ 77 FI_HILOGE("%{public}s failed", std::string(desc).c_str()); \
|
D | devicestatus_define.h | 45 FI_HILOGE("CHKPV(%{public}s) is null", #cond); \ 53 FI_HILOGE("CHKPF(%{public}s) is null", #cond); \ 61 FI_HILOGE("CHKPS(%{public}s) is null", #cond); \ 85 FI_HILOGE("CHKPR(%{public}s) is null, return value is %{public}d", #cond, r); \ 93 FI_HILOGE("CHKPP(%{public}s) is null, return value is null", #cond); \
|
/base/msdp/device_status/libs/src/ |
D | devicestatus_data_parse.cpp | 47 FI_HILOGE("open failed"); in CreateJsonFile() 51 FI_HILOGE("Close fd failed, error:%{public}s, fd:%{public}d", strerror(errno), fd); in CreateJsonFile() 56 FI_HILOGE("stat folder path is invalid %{public}d", errno); in CreateJsonFile() 60 FI_HILOGE("chown failed, errno is %{public}d", errno); in CreateJsonFile() 71 FI_HILOGE("Read json failed, errno is %{public}d", errno); in ParseDeviceStatusData() 88 FI_HILOGE("parser is array"); in DeviceStatusDataInit() 93 FI_HILOGE("Type error"); in DeviceStatusDataInit() 99 FI_HILOGE("mockarray is not array"); in DeviceStatusDataInit() 104 FI_HILOGE("Json size is zero"); in DeviceStatusDataInit() 112 FI_HILOGE("Json parser number is failed"); in DeviceStatusDataInit() [all …]
|
D | devicestatus_algorithm_manager.cpp | 40 FI_HILOGE("Failed to get sensorType"); in StartSensor() 44 FI_HILOGE("Sensor type mismatch"); in StartSensor() 50 FI_HILOGE("Failed to register callback sensor"); in StartSensor() 80 FI_HILOGE("Unsupported algorithm type"); in RegisterCallback() 99 FI_HILOGE("Get all sensors failed"); in CheckSensorTypeId() 108 FI_HILOGE("Get sensor failed"); in CheckSensorTypeId() 136 FI_HILOGE("sensor init failed"); in Enable() 142 FI_HILOGE("still_ is nullptr"); in Enable() 152 FI_HILOGE("horizontalPosition_ is nullptr"); in Enable() 162 FI_HILOGE("verticalPosition_ is nullptr"); in Enable() [all …]
|
D | devicestatus_msdp_mock.cpp | 117 FI_HILOGE("Create epoll fd failed"); in InitTimer() 122 FI_HILOGE("Create timer fd failed"); in InitTimer() 124 … FI_HILOGE("Close epoll fd failed, error:%{public}s, epFd_:%{public}d", strerror(errno), epFd_); in InitTimer() 136 FI_HILOGE("Register timer fd failed"); in InitTimer() 144 FI_HILOGE("Create timer fd failed"); in SetTimerInterval() 149 FI_HILOGE("Illegal time interval"); in SetTimerInterval() 158 FI_HILOGE("Set timer failed"); in SetTimerInterval() 167 FI_HILOGE("Invalid timerFd_"); in CloseTimer() 171 …FI_HILOGE("Close timer fd failed, error:%{public}s, timerFd_:%{public}d", strerror(errno), timerFd… in CloseTimer() 180 FI_HILOGE("Read timer fd failed"); in TimerCallback() [all …]
|
/base/msdp/device_status/services/native/src/ |
D | stream_server.cpp | 43 …FI_HILOGE("Close epoll fd failed, error:%{public}s, epollFd_:%{public}d", strerror(errno), epollFd… in UdsStop() 75 FI_HILOGE("The fd is less than 0"); in SendMsg() 80 FI_HILOGE("The fd:%{public}d not found, The message was discarded, errCode:%{public}d", in SendMsg() 101 FI_HILOGE("Call socketpair failed, errno:%{public}d", errno); in AddSocketPairInfo() 107 FI_HILOGE("Call fcntl failed, errno:%{public}d", errno); in AddSocketPairInfo() 114 FI_HILOGE("setsockopt serverFd failed, errno:%{public}d", errno); in AddSocketPairInfo() 118 FI_HILOGE("setsockopt serverFd failed, errno:%{public}d", errno); in AddSocketPairInfo() 123 FI_HILOGE("setsockopt toReturnClientFd failed, errno:%{public}d", errno); in AddSocketPairInfo() 127 FI_HILOGE("setsockopt toReturnClientFd failed, errno:%{public}d", errno); in AddSocketPairInfo() 132 FI_HILOGE("setsockopt toReturnClientFd failed, errno:%{public}d", errno); in AddSocketPairInfo() [all …]
|
D | devicestatus_manager.cpp | 40 FI_HILOGE("devicestatusCBDeathRecipient_ failed"); in Init() 57 FI_HILOGE(":GetLatestDeviceStatusData type_:%{public}d is error", type); in GetLatestDeviceStatusData() 61 FI_HILOGE("GetObserverData func is nullptr, return default"); in GetLatestDeviceStatusData() 79 FI_HILOGE("enable is failed"); in Enable() 93 FI_HILOGE("disable msdp impl failed"); in Disable() 106 FI_HILOGE("init msdp impl failed"); in InitAlgoMngrInterface() 119 FI_HILOGE("register impl failed"); in InitDataCallback() 138 FI_HILOGE("type:%{public}d is not exits", devicestatusData.type); in NotifyDeviceStatusChange() 144 FI_HILOGE("Listener is nullptr"); in NotifyDeviceStatusChange() 166 FI_HILOGE("Exit"); in NotifyDeviceStatusChange() [all …]
|
D | devicestatus_service.cpp | 71 FI_HILOGE("On start is ready, nothing to do"); in OnStart() 79 FI_HILOGE("On start call init fail"); in OnStart() 84 FI_HILOGE("On start register to system ability manager failed"); in OnStart() 135 FI_HILOGE("fd is invalid"); in Dump() 139 FI_HILOGE("param cannot be empty"); in Dump() 170 FI_HILOGE("OnStart init fail"); in Init() 174 FI_HILOGE("Create epoll failed"); in Init() 179 FI_HILOGE("Delegate tasks init failed"); in Init() 183 FI_HILOGE("TimerMgr init failed"); in Init() 187 FI_HILOGE("DevMgr init failed"); in Init() [all …]
|
D | devicestatus_msdp_client_impl.cpp | 71 FI_HILOGE("Start mock Library failed"); in MockHandle() 94 FI_HILOGE("Algo Library is not support"); in AlgoHandle() 98 FI_HILOGE("Start algo Library failed"); in AlgoHandle() 103 FI_HILOGE("Enable algo Library failed"); in AlgoHandle() 125 FI_HILOGE("Load algo Library failed"); in StartAlgo() 136 FI_HILOGE("Load mock Library failed"); in StartMock() 141 FI_HILOGE("Get mock module failed"); in StartMock() 180 FI_HILOGE("Failed to find record type"); in AlgoDisable() 193 FI_HILOGE("Failed to close algorithm library"); in AlgoDisable() 210 FI_HILOGE("Failed to find record type"); in MockDisable() [all …]
|
/base/msdp/device_status/services/communication/client/src/ |
D | devicestatus_srv_proxy.cpp | 48 FI_HILOGE("Write descriptor failed"); in Subscribe() 60 FI_HILOGE("SendRequest is failed, error code:%{public}d", ret); in Subscribe() 78 FI_HILOGE("Write descriptor failed"); in Unsubscribe() 89 FI_HILOGE("SendRequest is failed, error code:%{public}d", ret); in Unsubscribe() 109 FI_HILOGE("Write descriptor failed"); in GetCache() 118 FI_HILOGE("SendRequest is failed, error code:%{public}d", ret); in GetCache() 137 FI_HILOGE("Failed to write descriptor"); in RegisterCoordinationListener() 147 FI_HILOGE("Send request fail, ret:%{public}d", ret); in RegisterCoordinationListener() 157 FI_HILOGE("Failed to write descriptor"); in UnregisterCoordinationListener() 167 FI_HILOGE("Send request fail, ret:%{public}d", ret); in UnregisterCoordinationListener() [all …]
|
/base/msdp/device_status/libs/src/datahub/ |
D | sensor_data_callback.cpp | 40 FI_HILOGE("thread join fail"); in ~SensorDataCallback() 63 FI_HILOGE("ret failed"); in Unregister() 69 FI_HILOGE("Thread join fail"); in Unregister() 85 FI_HILOGE("SensorCallback is duplicated"); in SubscribeSensorEvent() 95 FI_HILOGE("Erase sensorTypeId:%{public}d", sensorTypeId); in UnsubscribeSensorEvent() 119 FI_HILOGE("Acc data is invalid"); in PushData() 134 FI_HILOGE("Invalid sensorTypeId:%{public}d", sensorTypeId); in PopData() 139 FI_HILOGE("No accel data"); in PopData() 163 FI_HILOGE("SubscribeSensor failed"); in RegisterCallbackSensor() 168 FI_HILOGE("SetBatch failed"); in RegisterCallbackSensor() [all …]
|
/base/msdp/device_status/utils/ipc/src/ |
D | stream_buffer.cpp | 47 FI_HILOGE("Call memset_s fail"); in Clean() 56 … FI_HILOGE("The position in the calculation is not as expected, pos:%{public}d, [0, %{public}d]", in SeekReadPos() 67 FI_HILOGE("Not enough memory to read, errCode:%{public}d", STREAM_BUF_READ_FAIL); in Read() 94 FI_HILOGE("Read and write status is error"); in Read() 98 FI_HILOGE("Invalid input parameter buf:nullptr, errCode:%{public}d", PARAM_INPUT_INVALID); in Read() 103 …FI_HILOGE("Invalid input parameter size:%{public}zu, errCode:%{public}d", size, PARAM_INPUT_INVALI… in Read() 108 FI_HILOGE("Memory out of bounds on read, errCode:%{public}d", MEM_OUT_OF_BOUNDS); in Read() 114 FI_HILOGE("Failed to call memcpy_sp, errCode:%{public}d", MEMCPY_SEC_FUN_FAIL); in Read() 126 FI_HILOGE("Read and write status is error"); in Write() 130 FI_HILOGE("Invalid input parameter, buf:nullptr, errCode:%{public}d", PARAM_INPUT_INVALID); in Write() [all …]
|
D | stream_client.cpp | 40 FI_HILOGE("Socket failed"); in ConnectTo() 51 FI_HILOGE("Stream buffer size out of range"); in SendMsg() 55 FI_HILOGE("The fd_ is less than 0"); in SendMsg() 71 FI_HILOGE("Send return failed, error:%{public}d, fd:%{public}d", errno, fd_); in SendMsg() 81 … FI_HILOGE("Send too many times:%{public}d/%{public}d, size:%{public}d/%{public}d, fd:%{public}d", in SendMsg() 91 FI_HILOGE("Read and write status is error"); in SendMsg() 103 FI_HILOGE("Client is connected or started"); in StartClient()
|
D | stream_socket.cpp | 39 FI_HILOGE("epoll_create, return:%{public}d", epollFd_); in EpollCreate() 49 FI_HILOGE("Invalid fd:%{public}d", fd); in EpollCtl() 56 FI_HILOGE("Invalid epollFd:%{public}d", epollFd); in EpollCtl() 61 …FI_HILOGE("epoll_ctl, return:%{public}d, epollFd_:%{public}d, op:%{public}d, fd:%{public}d, errno:… in EpollCtl() 74 FI_HILOGE("Invalid epollFd:%{public}d", epollFd); in EpollWait() 94 …FI_HILOGE("Packet header parsing error, and this error cannot be recovered, the buffer will be res… in OnReadPackets() 126 …FI_HILOGE("Close epoll fd failed, error:%{public}s, epollFd_:%{public}d", strerror(errno), epollFd… in EpollClose() 137 FI_HILOGE("Socket close failed rf:%{public}d", rf); in Close()
|
D | stream_session.cpp | 47 FI_HILOGE("buf size:%{public}zu", size); in SendMsg() 51 FI_HILOGE("The fd_ is less than 0"); in SendMsg() 68 FI_HILOGE("Send return failed, error:%{public}d, fd:%{public}d", errno, fd_); in SendMsg() 78 … FI_HILOGE("Send too many times:%{public}d/%{public}d, size:%{public}d/%{public}d, fd:%{public}d", in SendMsg() 91 FI_HILOGE("Close fd failed, error:%{public}s, fd_:%{public}d", strerror(errno), fd_); in Close() 112 FI_HILOGE("Read and write status is error"); in SendMsg()
|
/base/msdp/device_status/services/delegate_task/src/ |
D | delegate_tasks.cpp | 34 FI_HILOGE("Expired tasks will be discarded, id:%{public}d", id_); in ProcessTask() 49 … FI_HILOGE("Close fds_[0] failed, error:%{public}s, fds_[0]:%{public}d", strerror(errno), fds_[0]); in ~DelegateTasks() 55 … FI_HILOGE("Close fds_[1] failed, error:%{public}s, fds_[1]:%{public}d", strerror(errno), fds_[1]); in ~DelegateTasks() 66 FI_HILOGE("The pipe create failed, errno:%{public}d", errno); in Init() 70 FI_HILOGE("The fcntl read failed, errno:%{public}d", errno); in Init() 72 … FI_HILOGE("Close fds_[0] failed, error:%{public}s, fds_[0]:%{public}d", strerror(errno), fds_[0]); in Init() 77 FI_HILOGE("The fcntl write failed, errno:%{public}d", errno); in Init() 79 … FI_HILOGE("Close fds_[1] failed, error:%{public}s, fds_[1]:%{public}d", strerror(errno), fds_[1]); in Init() 113 FI_HILOGE("Task timeout"); in PostSyncTask() 116 FI_HILOGE("Task deferred"); in PostSyncTask() [all …]
|
/base/msdp/device_status/services/interaction/coordination/src/ |
D | coordination_state_free.cpp | 34 FI_HILOGE("RemoteNetworkId is empty"); in ActivateCoordination() 39 FI_HILOGE("Input Parameters error"); in ActivateCoordination() 44 FI_HILOGE("Start input device coordination fail"); in ActivateCoordination() 66 FI_HILOGE("No stop operation is required"); in DeactivateCoordination() 71 FI_HILOGE("Failed to open softbus"); in DeactivateCoordination() 76 FI_HILOGE("Stop coordination fail"); in DeactivateCoordination() 92 FI_HILOGE("Failed to unchain coordination"); in DeactivateCoordination() 99 FI_HILOGE("Failed to stop the process"); in DeactivateCoordination()
|
D | coordination_softbus_adapter.cpp | 56 FI_HILOGE("OnBytesReceived cmdType is TRANS_SINK_MSG_ONPREPARE, data type is error"); in ResponseStartRemoteCoordination() 70 FI_HILOGE("OnBytesReceived cmdType is TRANS_SINK_MSG_ONPREPARE, data type is error"); in ResponseStartRemoteCoordinationResult() 82 FI_HILOGE("OnBytesReceived cmdType is TRANS_SINK_MSG_ONPREPARE, data type is error"); in ResponseStopRemoteCoordination() 94 FI_HILOGE("OnBytesReceived cmdType is TRANS_SINK_MSG_ONPREPARE, data type is error"); in ResponseStopRemoteCoordinationResult() 106 FI_HILOGE("OnBytesReceived cmdType is TRANS_SINK_MSG_ONPREPARE, data type is error"); in ResponseNotifyUnchainedResult() 118 FI_HILOGE("OnBytesReceived cmdType is TRANS_SINK_MSG_ONPREPARE, data type is error"); in ResponseStartCoordinationOtherResult() 170 FI_HILOGE("Local networkid is empty"); in Init() 183 FI_HILOGE("Remove session server failed, error code:%{public}d", ret); in Init() 190 FI_HILOGE("Create session server failed, error code:%{public}d", ret); in Init() 219 FI_HILOGE("Check session state error"); in CheckDeviceSessionState() [all …]
|
/base/msdp/device_status/services/device_manager/src/ |
D | device.cpp | 71 FI_HILOGE("Not real path:%{public}s", devPath_.c_str()); in Open() 82 FI_HILOGE("Unable to open device \'%{public}s\':%{public}s", buf, strerror(errno)); in Open() 107 FI_HILOGE("Close fd failed, error:%{public}s, fd_:%{public}d", strerror(errno), fd_); in Close() 118 FI_HILOGE("Epoll hangup:%{public}s", strerror(errno)); in Dispatch() 128 FI_HILOGE("Could not get device name:%{public}s", strerror(errno)); in QueryDeviceInfo() 136 FI_HILOGE("Could not get device input id:%{public}s", strerror(errno)); in QueryDeviceInfo() 146 FI_HILOGE("Call memset_s failed"); in QueryDeviceInfo() 151 FI_HILOGE("Could not get location:%{public}s", strerror(errno)); in QueryDeviceInfo() 157 FI_HILOGE("Call memset_s failed"); in QueryDeviceInfo() 162 FI_HILOGE("Could not get uniq:%{public}s", strerror(errno)); in QueryDeviceInfo() [all …]
|
/base/msdp/device_status/frameworks/native/src/ |
D | client.cpp | 86 FI_HILOGE("Client startup failed"); in Start() 91 FI_HILOGE("Start runner failed"); in Start() 115 FI_HILOGE("Add fd listener failed"); in StartEventRunner() 120 FI_HILOGE("Send reconnect event failed"); in StartEventRunner() 131 FI_HILOGE("Invalid fd:%{public}d", fd); in AddFdListener() 138 … FI_HILOGE("Add fd listener failed, fd:%{public}d, code:%{public}u, str:%{public}s", fd, errCode, in AddFdListener() 155 FI_HILOGE("Invalid fd:%{public}d", fd); in DelFdListener() 176 FI_HILOGE("Invalid input param size, size:%{public}zu", size); in OnRecvMsg() 198 FI_HILOGE("Post reconnect event failed"); in OnReconnect() 232 FI_HILOGE("Send reconnect event task failed"); in OnDisconnected() [all …]
|
/base/msdp/device_status/frameworks/js/napi/src/ |
D | devicestatus_event.cpp | 50 FI_HILOGE("EventMap_ or eventOnceMap_ size over"); in On() 66 FI_HILOGE("Failed to create reference"); in On() 82 FI_HILOGE("Failed to create reference"); in On() 100 FI_HILOGE("EventType %{public}d not found", eventType); in Off() 109 FI_HILOGE("Failed to get_reference_value"); in Off() 114 FI_HILOGE("Failed to strict_equals"); in Off() 137 FI_HILOGE("EventType %{public}d not found", eventType); in OffOnce() 165 FI_HILOGE("EvenType %{public}d not found", eventType); in RemoveAllCallback() 183 FI_HILOGE("OnEvent handler for %{public}d failed, status:%{public}d", eventType, status); in CheckRet() 193 …FI_HILOGE("CheckRet:napi_call_function for %{public}d failed, status:%{public}d", eventType, statu… in CheckRet() [all …]
|
/base/msdp/device_status/services/communication/service/src/ |
D | devicestatus_srv_stub.cpp | 93 FI_HILOGE("DeviceStatusSrvStub::OnRemoteRequest failed, descriptor is not matched"); in OnRemoteRequest() 100 FI_HILOGE("Unknown code:%{public}u", code); in OnRemoteRequest() 135 FI_HILOGE("UNevent:%{public}d", event); in UnsubscribeStub() 162 FI_HILOGE("Call registerCoordinationEvent failed, ret:%{public}d", ret); in RegisterCoordinationMonitorStub() 172 FI_HILOGE("Call unregisterCoordinationEvent failed, ret:%{public}d", ret); in UnregisterCoordinationMonitorStub() 184 FI_HILOGE("Call prepareCoordination failed, ret:%{public}d", ret); in PrepareCoordinationStub() 196 FI_HILOGE("Call unprepareCoordination failed, ret:%{public}d", ret); in UnPrepareCoordinationStub() 212 FI_HILOGE("Call ActivateCoordination failed, ret:%{public}d", ret); in ActivateCoordinationStub() 226 FI_HILOGE("Call DeactivateCoordination failed, ret:%{public}d", ret); in DeactivateCoordinationStub() 240 FI_HILOGE("Call RegisterCoordinationEvent failed, ret:%{public}d", ret); in GetCoordinationStateStub() [all …]
|
/base/msdp/device_status/utils/common/src/ |
D | util.cpp | 58 FI_HILOGE("call sprintf_s failed, ret:%{public}d", ret); in GetThisThreadIdOfString() 151 FI_HILOGE("The buffer is overflow"); in StringPrintf() 180 FI_HILOGE("GetProcessInfo sprintf_s cmdline error"); in GetProgramName() 185 FI_HILOGE("The fp is nullptr, filename:%{public}s", buf); in GetProgramName() 191 FI_HILOGE("fgets failed"); in GetProgramName() 206 FI_HILOGE("tempName is empty"); in GetProgramName() 211 FI_HILOGE("The copySize is 0"); in GetProgramName() 216 FI_HILOGE("memcpy_s failed"); in GetProgramName() 228 FI_HILOGE("File is not found extension"); in CheckFileExtendName() 238 FI_HILOGE("Get file size error, errno:%{public}d", errno); in GetFileSize() [all …]
|
/base/msdp/device_status/frameworks/js/napi/interaction/coordination/src/ |
D | js_event_target.cpp | 66 FI_HILOGE("uv_queue_work failed"); in EmitJsPrepare() 93 FI_HILOGE("uv_queue_work failed"); in EmitJsActivate() 121 FI_HILOGE("uv_queue_work failed"); in EmitJsDeactivate() 147 FI_HILOGE("uv_queue_work failed"); in EmitJsGetCrossingSwitchState() 159 FI_HILOGE("Find %{public}s failed", type.c_str()); in AddListener() 166 FI_HILOGE("The handle already exists"); in AddListener() 189 FI_HILOGE("Find %{public}s failed", type.c_str()); in RemoveListener() 198 FI_HILOGE("Success in removing monitor"); in RemoveListener() 238 FI_HILOGE("Find %{public}s failed", std::string(COOPERATE).c_str()); in OnCoordinationMessage() 255 FI_HILOGE("uv_queue_work failed"); in OnCoordinationMessage() [all …]
|