/ohos5.0/foundation/communication/netstack/frameworks/native/tls_socket/src/ |
H A D | tls_certificate.cpp | 112 NETSTACK_LOGE("x509 is null"); in CertificateFromData() 137 NETSTACK_LOGE("x509 is null"); in CertificateFromPem() 178 NETSTACK_LOGE("x509 is null"); in CertificateFromDer() 194 NETSTACK_LOGE("x509 is null"); in AnalysisCertificate() 235 NETSTACK_LOGE("x509 is null"); in CaCertToString() 254 NETSTACK_LOGE("x509 is null"); in LocalCertToString() 259 NETSTACK_LOGE("bio is null"); in LocalCertToString() 277 NETSTACK_LOGE("x509 is null"); in SetX509Version() 289 NETSTACK_LOGE("x509 is null"); in SetSerialNumber() 314 NETSTACK_LOGE("x509 is null"); in SetNotValidTime() [all …]
|
H A D | tls_context_server.cpp | 38 NETSTACK_LOGE("Failed to init tls context"); in CreateConfiguration() 54 NETSTACK_LOGE("tlsContext is null"); in SetCipherList() 59 NETSTACK_LOGE("Error setting the cipher list"); in SetCipherList() 68 NETSTACK_LOGE("tlsContext is null"); in GetCiphers() 74 NETSTACK_LOGE("sk is null"); in GetCiphers() 89 NETSTACK_LOGE("tlsContext is null"); in SetSignatureAlgorithms() 217 NETSTACK_LOGE("tlsContext is null"); in SetCaAndVerify() 240 NETSTACK_LOGE("tlsContext is null"); in SetLocalCertificate() 292 NETSTACK_LOGE("tlsContext is null"); in SetVerify() 313 NETSTACK_LOGE("tlsContext is null"); in InitTlsContext() [all …]
|
H A D | tls_context.cpp | 39 NETSTACK_LOGE("Failed to init tls context"); in CreateConfiguration() 55 NETSTACK_LOGE("tlsContext is null"); in SetCipherList() 60 NETSTACK_LOGE("Error setting the cipher list"); in SetCipherList() 69 NETSTACK_LOGE("tlsContext is null"); in GetCiphers() 75 NETSTACK_LOGE("sk is null"); in GetCiphers() 90 NETSTACK_LOGE("tlsContext is null"); in SetSignatureAlgorithms() 215 NETSTACK_LOGE("tlsContext is null"); in SetCaAndVerify() 237 NETSTACK_LOGE("tlsContext is null"); in SetLocalCertificate() 294 NETSTACK_LOGE("tlsContext is null"); in SetVerify() 319 NETSTACK_LOGE("tlsContext is null"); in InitTlsContext() [all …]
|
H A D | tls_socket_server.cpp | 273 NETSTACK_LOGE( in ExecAccept() 789 NETSTACK_LOGE("ssl is null"); in Send() 810 NETSTACK_LOGE("ssl is null"); in Recv() 819 NETSTACK_LOGE("ssl is null"); in Close() 846 NETSTACK_LOGE("ssl is null"); in SetAlpnProtocols() 889 NETSTACK_LOGE("ssl in null"); in GetCipherSuite() 925 NETSTACK_LOGE("ssl in null"); in GetProtocol() 937 NETSTACK_LOGE("ssl is null"); in SetSharedSigals() 1052 NETSTACK_LOGE("ssl is null"); in StartShakingHands() 1126 NETSTACK_LOGE("peerX509 is null"); in SetRemoteCertRawData() [all …]
|
H A D | tls_key.cpp | 95 NETSTACK_LOGE("The parameter data is empty"); in DecodeData() 102 NETSTACK_LOGE("Failed to create bio buffer"); in DecodeData() 127 NETSTACK_LOGE("unknown key"); in DecodeData() 173 NETSTACK_LOGE("file name is error"); in DecodeDer() 179 NETSTACK_LOGE("open file false"); in DecodeDer() 197 NETSTACK_LOGE("rsa is null"); in DecodeDer() 247 NETSTACK_LOGE("filename is empty"); in DecodePem() 254 NETSTACK_LOGE("file name is error"); in DecodePem() 260 NETSTACK_LOGE("open file failed"); in DecodePem() 265 NETSTACK_LOGE("read file failed"); in DecodePem() [all …]
|
H A D | tls_socket.cpp | 458 NETSTACK_LOGE("memset_s failed!"); in ReadMessage() 1311 NETSTACK_LOGE("ssl is null"); in PollSend() 1339 NETSTACK_LOGE("ssl is null"); in Send() 1345 NETSTACK_LOGE("data is empty"); in Send() 1357 NETSTACK_LOGE("ssl is null"); in Recv() 1411 NETSTACK_LOGE("ssl is null"); in SetAlpnProtocols() 1454 NETSTACK_LOGE("ssl in null"); in GetCipherSuite() 1490 NETSTACK_LOGE("ssl in null"); in GetProtocol() 1502 NETSTACK_LOGE("ssl is null"); in SetSharedSigals() 1798 NETSTACK_LOGE("ssl is null"); in StartShakingHands() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tlssocket_exec.cpp | 72 NETSTACK_LOGE("manager is nullptr"); in ExecInit() 79 NETSTACK_LOGE("invalid tcp socket fd"); in ExecInit() 113 NETSTACK_LOGE("manager is nullptr"); in ExecGetCertificate() 140 NETSTACK_LOGE("manager is nullptr"); in ExecConnect() 162 NETSTACK_LOGE("manager is nullptr"); in ExecGetCipherSuites() 185 NETSTACK_LOGE("manager is nullptr"); in ExecGetRemoteCertificate() 208 NETSTACK_LOGE("manager is nullptr"); in ExecGetProtocol() 231 NETSTACK_LOGE("manager is nullptr"); in ExecGetSignatureAlgorithms() 254 NETSTACK_LOGE("manager is nullptr"); in ExecSend() 278 NETSTACK_LOGE("manager is nullptr"); in ExecClose() [all …]
|
H A D | monitor_server.cpp | 166 NETSTACK_LOGE("work is nullptr"); in EventMessageCallback() 184 NETSTACK_LOGE("manager is nullptr"); in EventMessageCallback() 209 NETSTACK_LOGE("work is nullptr"); in EventConnectCallback() 241 NETSTACK_LOGE("work is nullptr"); in EventCloseCallback() 258 NETSTACK_LOGE("manager is nullptr"); in EventCloseCallback() 275 NETSTACK_LOGE("work is nullptr"); in EventErrorCallback() 286 NETSTACK_LOGE("monitor is nullptr"); in EventErrorCallback() 292 NETSTACK_LOGE("manager is nullptr"); in EventErrorCallback() 331 NETSTACK_LOGE("manager is nullptr"); in On() 376 NETSTACK_LOGE("manager is nullptr"); in ConnectionOn() [all …]
|
H A D | tlssocketserver_exec.cpp | 44 NETSTACK_LOGE("manager is nullptr"); in ExecGetCertificate() 68 NETSTACK_LOGE("manager is nullptr"); in ExecListen() 91 NETSTACK_LOGE("manager is nullptr"); in ExecGetCipherSuites() 116 NETSTACK_LOGE("manager is nullptr"); in ExecGetRemoteCertificate() 141 NETSTACK_LOGE("manager is nullptr"); in ExecGetProtocol() 165 NETSTACK_LOGE("manager is nullptr"); in ExecGetSignatureAlgorithms() 190 NETSTACK_LOGE("manager is nullptr"); in ExecSend() 217 NETSTACK_LOGE("manager is nullptr"); in ExecClose() 240 NETSTACK_LOGE("manager is nullptr"); in ExecStop() 265 NETSTACK_LOGE("manager is nullptr"); in ExecGetRemoteAddress() [all …]
|
H A D | monitor.cpp | 86 NETSTACK_LOGE("work is nullptr"); in EventMessageCallback() 128 NETSTACK_LOGE("work is nullptr"); in EventConnectCloseCallback() 133 NETSTACK_LOGE("workWrapper is nullptr"); in EventConnectCloseCallback() 138 NETSTACK_LOGE("manager is nullptr"); in EventConnectCloseCallback() 156 NETSTACK_LOGE("work is nullptr"); in EventErrorCallback() 167 NETSTACK_LOGE("monitor is nullptr"); in EventErrorCallback() 173 NETSTACK_LOGE("manager is nullptr"); in EventErrorCallback() 255 NETSTACK_LOGE("manager is nullptr"); in On() 260 NETSTACK_LOGE("tlsSocket is null"); in On() 311 NETSTACK_LOGE("manager is nullptr"); in Off() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/native/net_ssl/ |
H A D | net_ssl_verify_cert.cpp | 45 NETSTACK_LOGE("Failed to create BIO of PEM\n"); in PemToX509() 51 NETSTACK_LOGE("Failed to convert PEM to X509\n"); in PemToX509() 66 NETSTACK_LOGE("Failed to create BIO of DER\n"); in DerToX509() 72 NETSTACK_LOGE("Failed to convert DER to X509\n"); in DerToX509() 94 NETSTACK_LOGE("x509 of PEM cert is nullptr\n"); in CertBlobToX509() 100 NETSTACK_LOGE("x509 of DER cert is nullptr\n"); in CertBlobToX509() 119 NETSTACK_LOGE("x509 of cert is nullptr\n"); in VerifyCert() 127 NETSTACK_LOGE("load SYSPRECAPATH store failed\n"); in VerifyCert() 163 NETSTACK_LOGE("x509 of cert is nullptr\n"); in VerifyCert() 167 NETSTACK_LOGE("x509 of ca is nullptr\n"); in VerifyCert() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/src/ |
H A D | local_socket_exec.cpp | 225 NETSTACK_LOGE("manager or data or len is invalid"); in OnRecvLocalSocketMessage() 628 NETSTACK_LOGE("accept a invalid fd"); in AcceptHandler() 899 NETSTACK_LOGE("context is nullptr"); in ExecLocalSocketGetLocalAddress() 908 NETSTACK_LOGE("local socket get socket name fail"); in ExecLocalSocketGetLocalAddress() 940 NETSTACK_LOGE("getsockopt error, SO_RCVBUF"); in GetLocalSocketOptions() 945 NETSTACK_LOGE("getsockopt error, SO_SNDBUF"); in GetLocalSocketOptions() 952 NETSTACK_LOGE("getsockopt error, SO_SNDTIMEO"); in GetLocalSocketOptions() 978 NETSTACK_LOGE("failed to copy socket path"); in LocalSocketServerBind() 1072 NETSTACK_LOGE("context is nullptr"); in ExecLocalSocketServerGetLocalAddress() 1081 NETSTACK_LOGE("local socket get socket name fail"); in ExecLocalSocketServerGetLocalAddress() [all …]
|
H A D | socket_exec.cpp | 85 NETSTACK_LOGE(__VA_ARGS__); \ 380 NETSTACK_LOGE("invalid manager"); in OnMessage() 731 NETSTACK_LOGE("manager is error"); in IsValidSock() 743 NETSTACK_LOGE("manager is error"); in PollRecvFinish() 969 NETSTACK_LOGE("no memory!"); in ExecUdpBind() 985 NETSTACK_LOGE("no memory!"); in ExecUdpBind() 1617 NETSTACK_LOGE("client fd is invalid"); in ExecTcpConnectionGetRemoteAddress() 1642 NETSTACK_LOGE("context is nullptr"); in ExecTcpConnectionGetLocalAddress() 1911 NETSTACK_LOGE("read flag fail"); in ClientPollRecv() 2092 NETSTACK_LOGE("memset_s failed!"); in GetTcpServerState() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/websocket/websocket_exec/src/ |
H A D | websocket_exec.cpp | 259 NETSTACK_LOGE("strcpy_s failed"); in ParseUrl() 267 NETSTACK_LOGE("strcpy_s failed"); in ParseUrl() 271 NETSTACK_LOGE("protocol failed"); in ParseUrl() 275 NETSTACK_LOGE("strcpy_s failed"); in ParseUrl() 279 NETSTACK_LOGE("strcpy_s failed"); in ParseUrl() 291 NETSTACK_LOGE("context is null"); in RunService() 429 NETSTACK_LOGE("manager is null"); in OnConnectError() 650 NETSTACK_LOGE("no memory"); in CreatConnectInfo() 688 NETSTACK_LOGE("path is error"); in CheckFilePath() 919 NETSTACK_LOGE("msg is nullptr"); in CreateTextMessagePara() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_ffi.cpp | 64 NETSTACK_LOGE("Failed to get HttpRequestProxy."); in CJ_DestroyRequest() 108 NETSTACK_LOGE("Failed to get HttpRequestProxy."); in CJ_OnHeadersReceive() 122 NETSTACK_LOGE("Failed to get HttpRequestProxy."); in CJ_OffHeadersReceive() 133 NETSTACK_LOGE("Failed to get HttpRequestProxy."); in CJ_OnDataReceive() 143 NETSTACK_LOGE("Failed to get HttpRequestProxy."); in CJ_OffDataReceive() 153 NETSTACK_LOGE("Failed to get HttpRequestProxy."); in CJ_OnDataEnd() 163 NETSTACK_LOGE("Failed to get HttpRequestProxy."); in CJ_OffDataEnd() 173 NETSTACK_LOGE("Failed to get HttpRequestProxy."); in CJ_OnDataReceiveProgress() 183 NETSTACK_LOGE("Failed to get HttpRequestProxy."); in CJ_OffDataReceiveProgress() 193 NETSTACK_LOGE("Failed to get HttpRequestProxy."); in CJ_OnDataSendProgress() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/tls/src/context/ |
H A D | tls_send_context.cpp | 40 NETSTACK_LOGE("string data is empty"); in ParseParams() 42 NETSTACK_LOGE("failed to set callback"); in ParseParams() 52 NETSTACK_LOGE("arraybuffer data is empty"); in ParseParams() 54 NETSTACK_LOGE("failed to set callback"); in ParseParams() 73 NETSTACK_LOGE("first param is not string or arraybuffer"); in CheckParamsType() 84 NETSTACK_LOGE("first param is not string or arraybuffer"); in CheckParamsType() 90 NETSTACK_LOGE("second param is not function"); in CheckParamsType()
|
H A D | tls_server_send_context.cpp | 44 NETSTACK_LOGE("string data is empty"); in ParseParams() 46 NETSTACK_LOGE("failed to set callback"); in ParseParams() 56 NETSTACK_LOGE("arraybuffer data is empty"); in ParseParams() 58 NETSTACK_LOGE("failed to set callback"); in ParseParams() 77 NETSTACK_LOGE("first param is not string or arraybuffer"); in CheckParamsType() 88 NETSTACK_LOGE("first param is not string or arraybuffer"); in CheckParamsType() 94 NETSTACK_LOGE("second param is not function"); in CheckParamsType()
|
H A D | tls_bind_context.cpp | 39 NETSTACK_LOGE("address is empty"); in ParseParams() 49 NETSTACK_LOGE("failed to set callback"); in ParseParams() 75 NETSTACK_LOGE("first param is not NetAddress"); in CheckParamsType() 85 NETSTACK_LOGE("first param is not NetAddress"); in CheckParamsType() 91 NETSTACK_LOGE("SendContext second param is not function"); in CheckParamsType()
|
/ohos5.0/foundation/communication/netstack/utils/napi_utils/src/ |
H A D | module_template.cpp | 45 NETSTACK_LOGE("on off once interface para: [string, function]"); in OnManagerWrapper() 87 NETSTACK_LOGE("on off once interface para: [string, function]"); in OnceManagerWrapper() 123 NETSTACK_LOGE("on off once interface para: [string, function?]"); in OffManagerWrapper() 129 NETSTACK_LOGE("on off once interface para: [string, function]"); in OffManagerWrapper() 175 NETSTACK_LOGE("on off once interface para: [string, function]"); in OnSharedManager() 217 NETSTACK_LOGE("on off once interface para: [string, function]"); in OnceSharedManager() 253 NETSTACK_LOGE("on off once interface para: [string, function?]"); in OffSharedManager() 259 NETSTACK_LOGE("on off once interface para: [string, function]"); in OffSharedManager() 305 NETSTACK_LOGE("on off once interface para: [string, function]"); in On() 334 NETSTACK_LOGE("on off once interface para: [string, function]"); in Once() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/async_context/src/ |
H A D | local_socket_context.cpp | 85 NETSTACK_LOGE("first param is not object"); in CheckParamsWithOptions() 92 NETSTACK_LOGE("first param is not object"); in CheckParamsWithOptions() 98 NETSTACK_LOGE("second param is not function"); in CheckParamsWithOptions() 102 NETSTACK_LOGE("invalid param count"); in CheckParamsWithOptions() 134 NETSTACK_LOGE("params do not contain socket path"); in ParseParams() 137 NETSTACK_LOGE("socket path is empty"); in ParseParams() 157 NETSTACK_LOGE("no property named address"); in ParseParams() 161 NETSTACK_LOGE("address is empty"); in ParseParams() 193 NETSTACK_LOGE("string data is empty"); in GetData() 204 NETSTACK_LOGE("arraybuffer data is empty"); in GetData() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/websocket/async_context/src/ |
H A D | send_context.cpp | 43 NETSTACK_LOGE("SendContext data is exceeded the limit"); in HandleParseString() 48 NETSTACK_LOGE("no memory"); in HandleParseString() 53 NETSTACK_LOGE("copy failed"); in HandleParseString() 67 NETSTACK_LOGE("no memory"); in HandleParseArrayBuffer() 73 NETSTACK_LOGE("SendContext data is exceeded the limit"); in HandleParseArrayBuffer() 78 NETSTACK_LOGE("no memory"); in HandleParseArrayBuffer() 83 NETSTACK_LOGE("copy failed"); in HandleParseArrayBuffer() 94 NETSTACK_LOGE("SendContext Parse Failed"); in ParseParams()
|
/ohos5.0/foundation/communication/netstack/utils/napi_utils/include/ |
H A D | module_template.h | 64 NETSTACK_LOGE("new context is nullptr"); in InterfaceWithManagerWrapper() 79 NETSTACK_LOGE("work failed error code = %{public}d", context->GetErrorCode()); in InterfaceWithManagerWrapper() 114 NETSTACK_LOGE("new context is nullptr"); in InterfaceWithSharedManager() 129 NETSTACK_LOGE("work failed error code = %{public}d", context->GetErrorCode()); in InterfaceWithSharedManager() 164 NETSTACK_LOGE("new context is nullptr"); in InterfaceWithOutAsyncWorkWithManagerWrapper() 181 NETSTACK_LOGE("work failed error code = %{public}d", context->GetErrorCode()); in InterfaceWithOutAsyncWorkWithManagerWrapper() 213 NETSTACK_LOGE("new context is nullptr"); in InterfaceWithOutAsyncWorkWithSharedManager() 230 NETSTACK_LOGE("work failed error code = %{public}d", context->GetErrorCode()); in InterfaceWithOutAsyncWorkWithSharedManager() 262 NETSTACK_LOGE("new context is nullptr"); in Interface() 274 NETSTACK_LOGE("work failed error code = %{public}d", context->GetErrorCode()); in Interface() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/socket/socket_exec/include/ |
H A D | socket_exec_common.h | 35 … NETSTACK_LOGE("make non block failed, socket is %{public}d, errno is %{public}d", sock, errno); in MakeNonBlock() 43 … NETSTACK_LOGE("make non block failed, socket is %{public}d, errno is %{public}d", sock, errno); in MakeNonBlock() 57 NETSTACK_LOGE("make tcp socket failed, errno is %{public}d", errno); 75 NETSTACK_LOGE("make udp socket failed, errno is %{public}d", errno); in MakeUdpSocket() 90 NETSTACK_LOGE("make local socket failed, errno is %{public}d", errno);
|
/ohos5.0/foundation/communication/netstack/frameworks/native/http/http_client/ |
H A D | http_client_task.cpp | 58 NETSTACK_LOGE("file name is error"); in CheckFilePath() 79 NETSTACK_LOGE("Failed to create task!"); in HttpClientTask() 101 NETSTACK_LOGE("Failed to create task!"); in HttpClientTask() 167 NETSTACK_LOGE("sslCtx is null"); in SslCtxFunction() 182 NETSTACK_LOGE("loading certificates from directory error."); in SslCtxFunction() 190 NETSTACK_LOGE("loading certificates from context cert error."); in SslCtxFunction() 275 NETSTACK_LOGE("HttpClientTask::SetUploadOptions() filePath_ is empty"); in SetUploadOptions() 282 NETSTACK_LOGE("filePath_ does not exist! "); in SetUploadOptions() 289 NETSTACK_LOGE("HttpClientTask::SetUploadOptions() Failed to open file"); in SetUploadOptions() 383 NETSTACK_LOGE("Don't Has Internet Permission()"); in Start() [all …]
|
/ohos5.0/foundation/communication/netstack/frameworks/native/websocket_client/ |
H A D | websocket_client.cpp | 91 NETSTACK_LOGE("Callback ClientContext is nullptr"); in LwsCallbackClientAppendHandshakeHeader() 121 NETSTACK_LOGE("Lws Callback WsPeerInitiatedClose"); in LwsCallbackWsPeerInitiatedClose() 221 NETSTACK_LOGE("Callback ClientContext is nullptr"); in LwsCallbackClientFilterPreEstablish() 258 NETSTACK_LOGE("Callback ClientContext is nullptr"); in LwsCallbackClientClosed() 330 NETSTACK_LOGE("strcpy_s failed"); in ParseUrl() 338 NETSTACK_LOGE("strcpy_s failed"); in ParseUrl() 342 NETSTACK_LOGE("strcpy_s failed"); in ParseUrl() 346 NETSTACK_LOGE("strcpy_s failed"); in ParseUrl() 381 NETSTACK_LOGE("Connect lws_context_destroy"); in CreatConnectInfo() 409 NETSTACK_LOGE("websocket CreatConnectInfo error"); in Connect() [all …]
|