/foundation/distributeddatamgr/data_share/frameworks/native/common/include/ |
H A D | datashare_log.h | 31 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_DEBUG)) { \ 32 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_DEBUG, lable.domain, lable.tag, \ 41 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_INFO)) { \ 42 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_INFO, lable.domain, lable.tag, \ 51 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_WARN)) { \ 52 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_WARN, lable.domain, lable.tag, \ 61 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_ERROR)) { \ 62 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_ERROR, lable.domain, lable.tag, \ 71 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_FATAL)) { \ 72 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_FATAL, lable.domain, labl [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/common/include/ |
H A D | logger.h | 47 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_DEBUG)) { \ 48 ((void)HILOG_IMPL(lable.type, LOG_DEBUG, lable.domain, lable.tag, \ 56 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_INFO)) { \ 57 ((void)HILOG_IMPL(lable.type, LOG_INFO, lable.domain, lable.tag, \ 65 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_WARN)) { \ 66 ((void)HILOG_IMPL(lable.type, LOG_WARN, lable.domain, lable.tag, \ 74 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_ERROR)) { \ 75 ((void)HILOG_IMPL(lable.type, LOG_ERROR, lable.domain, lable.tag, \ 83 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_FATAL)) { \ 84 ((void)HILOG_IMPL(lable.type, LOG_FATAL, lable.domain, labl [all...] |
/foundation/distributeddatamgr/udmf/framework/common/ |
H A D | logger.h | 46 if (!HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_FATAL)) { \ 49 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_FATAL, lable.domain, lable.tag, \ 56 if (!HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_ERROR)) { \ 59 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_ERROR, lable.domain, lable.tag, \ 66 if (!HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_WARN)) { \ 69 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_WARN, lable.domain, lable.tag, \ 76 if (!HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_INFO)) { \ 79 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_INFO, lable.domain, lable.tag, \ 86 if (!HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_DEBUG)) { \ 89 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_DEBUG, lable.domain, labl [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/connect_adapter/include/ |
H A D | connect.h | 33 if (HiLogIsLoggable(lable.domain, lable.tag, LOG_DEBUG)) { \ 34 ((void)HILOG_IMPL(lable.type, LOG_DEBUG, lable.domain, lable.tag, \ 41 if (HiLogIsLoggable(lable.domain, lable.tag, LOG_INFO)) { \ 42 ((void)HILOG_IMPL(lable.type, LOG_INFO, lable.domain, lable.tag, \ 49 if (HiLogIsLoggable(lable.domain, lable.tag, LOG_WARN)) { \ 50 ((void)HILOG_IMPL(lable.type, LOG_WARN, lable.domain, lable.tag, \ 57 if (HiLogIsLoggable(lable.domain, lable.tag, LOG_ERROR)) { \ 58 ((void)HILOG_IMPL(lable.type, LOG_ERROR, lable.domain, lable.tag, \
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/common/ |
H A D | logger.h | 30 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_DEBUG)) { \ 31 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_DEBUG, lable.domain, lable.tag, \ 39 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_INFO)) { \ 40 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_INFO, lable.domain, lable.tag, \ 48 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_WARN)) { \ 49 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_WARN, lable.domain, lable.tag, \ 57 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_ERROR)) { \ 58 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_ERROR, lable.domain, lable.tag, \ 66 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_FATAL)) { \ 67 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_FATAL, lable.domain, labl [all...] |
/foundation/distributeddatamgr/preferences/frameworks/common/include/ |
H A D | log_print.h | 62 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_DEBUG)) { \
63 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_DEBUG, lable.domain, lable.tag, \
79 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_INFO)) { \
80 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_INFO, lable.domain, lable.tag, \
88 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_WARN)) { \
89 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_WARN, lable.domain, lable.tag, \
97 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_ERROR)) { \
98 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_ERROR, lable.domain, lable.tag, \
106 if (HiLogIsLoggable(lable.domain, lable.tag, LogLevel::LOG_FATAL)) { \
107 ((void)HILOG_IMPL(lable.type, LogLevel::LOG_FATAL, lable.domain, labl [all...] |
/foundation/distributeddatamgr/pasteboard/utils/native/include/ |
H A D | pasteboard_hilog.h | 27 PASTEBOARD_MODULE_JAVAKIT, // java kit, defined to avoid repeated use of domain. 65 if (HiLogIsLoggable(PASTEBOARD[module].domain, PASTEBOARD[module].tag, LOG_FATAL)) { \ 66 ((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, PASTEBOARD[module].domain, PASTEBOARD[module].tag, \ 72 if (HiLogIsLoggable(PASTEBOARD[module].domain, PASTEBOARD[module].tag, LOG_ERROR)) { \ 73 ((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, PASTEBOARD[module].domain, PASTEBOARD[module].tag, \ 79 if (HiLogIsLoggable(PASTEBOARD[module].domain, PASTEBOARD[module].tag, LOG_WARN)) { \ 80 ((void)HILOG_IMPL(LOG_CORE, LOG_WARN, PASTEBOARD[module].domain, PASTEBOARD[module].tag, \ 86 if (HiLogIsLoggable(PASTEBOARD[module].domain, PASTEBOARD[module].tag, LOG_INFO)) { \ 87 ((void)HILOG_IMPL(LOG_CORE, LOG_INFO, PASTEBOARD[module].domain, PASTEBOARD[module].tag, \ 93 if (HiLogIsLoggable(PASTEBOARD[module].domain, PASTEBOAR [all...] |
/foundation/communication/netmanager_base/services/netmanagernative/fwmarkclient/src/ |
H A D | netsys_sock_client.cpp | 41 int HookSocket(int (*fn)(int, int, int), int domain, int type, int protocol) in HookSocket() argument 45 fd = fn(domain, type, protocol); in HookSocket() 52 if (g_netIdForApp > 0 && (domain == AF_INET || domain == AF_INET6)) { in HookSocket() 77 int ohos_socket_hook_socket(int domain, int type, int protocol) in ohos_socket_hook_socket() argument 79 return HookSocket(GetDispatch()->socket, domain, type, protocol); in ohos_socket_hook_socket()
|
/foundation/distributeddatamgr/kv_store/frameworks/common/ |
H A D | log_print.h | 105 if (!HiLogIsLoggable(lable.domain, lable.tag, LOG_DEBUG)) { \ 108 ((void)HILOG_IMPL(lable.type, LOG_DEBUG, lable.domain, lable.tag, \ 115 if (!HiLogIsLoggable(lable.domain, lable.tag, LOG_INFO)) { \ 118 ((void)HILOG_IMPL(lable.type, LOG_INFO, lable.domain, lable.tag, \ 125 if (!HiLogIsLoggable(lable.domain, lable.tag, LOG_WARN)) { \ 128 ((void)HILOG_IMPL(lable.type, LOG_WARN, lable.domain, lable.tag, \ 135 if (!HiLogIsLoggable(lable.domain, lable.tag, LOG_ERROR)) { \ 138 ((void)HILOG_IMPL(lable.type, LOG_ERROR, lable.domain, lable.tag, \
|
/foundation/communication/dsoftbus/tests/core/common/dfx/log/unittest/mock/ |
H A D | hilog_mock.cpp | 22 int32_t HilogMock::HiLogPrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...) in HiLogPrint() argument 36 int32_t HiLogPrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...) in HiLogPrint() argument 45 return HilogMock::GetMock()->HiLogPrint(type, level, domain, tag, fmt, args); in HiLogPrint() 49 int32_t HiLogPrintDictNew(const LogType type, const LogLevel level, const unsigned int domain, const char *tag, in HiLogPrintDictNew() argument 61 return HilogMock::GetMock()->HiLogPrint(type, level, domain, tag, fmt, args); in HiLogPrintDictNew()
|
H A D | hilog_mock.h | 28 LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...) = 0; 41 int HiLogPrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...) override; 44 HiLogPrint, int(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, char *));
|
/foundation/communication/ipc/services/dbinder/dbinder_service/include/ |
H A D | dbinder_log.h | 25 HILOG_IMPL(LOG_CORE, LOG_FATAL, LOG_LABEL.domain, LOG_LABEL.tag, \ 28 HILOG_IMPL(LOG_CORE, LOG_ERROR, LOG_LABEL.domain, LOG_LABEL.tag, \ 31 HILOG_IMPL(LOG_CORE, LOG_WARN, LOG_LABEL.domain, LOG_LABEL.tag, \ 34 HILOG_IMPL(LOG_CORE, LOG_INFO, LOG_LABEL.domain, LOG_LABEL.tag, \ 37 HILOG_IMPL(LOG_CORE, LOG_DEBUG, LOG_LABEL.domain, LOG_LABEL.tag, \
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/ |
H A D | netfirewall_service_test.cpp | 115 NetFirewallDomainParam domain; in GetNetFirewallRuleSptr() local 116 domain.isWildcard = 1; in GetNetFirewallRuleSptr() 117 domain.domain = "www.openharmony.cn"; in GetNetFirewallRuleSptr() 119 domainList.push_back(domain); in GetNetFirewallRuleSptr() 164 NetFirewallDomainParam domain; in GetNetFirewallRuleSptrTypeDns() local 165 domain.isWildcard = 1; in GetNetFirewallRuleSptrTypeDns() 166 domain.domain = "www.openharmony.cn"; in GetNetFirewallRuleSptrTypeDns() 168 domainList.push_back(domain); in GetNetFirewallRuleSptrTypeDns() [all...] |
/foundation/communication/dsoftbus/tests/core/common/dfx/log/unittest/include/ |
H A D | softbus_log_test_utils.h | 24 void ExpectMatchSoftBusLogAttrs(const SoftBusLogLabel &attrs, LABLE_TYPE label, uint32_t domain, in ExpectMatchSoftBusLogAttrs() argument 28 EXPECT_EQ(domain, attrs.domain); in ExpectMatchSoftBusLogAttrs()
|
/foundation/communication/ipc/ipc/native/src/core/include/ |
H A D | ipc_debug.h | 26 HILOG_IMPL(LOG_CORE, LOG_FATAL, LOG_LABEL.domain, LOG_LABEL.tag, \ 29 HILOG_IMPL(LOG_CORE, LOG_ERROR, LOG_LABEL.domain, LOG_LABEL.tag, \ 32 HILOG_IMPL(LOG_CORE, LOG_WARN, LOG_LABEL.domain, LOG_LABEL.tag, \ 35 HILOG_IMPL(LOG_CORE, LOG_INFO, LOG_LABEL.domain, LOG_LABEL.tag, \ 38 HILOG_IMPL(LOG_CORE, LOG_DEBUG, LOG_LABEL.domain, LOG_LABEL.tag, \
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/gaussdb_rd/src/common/src/ |
H A D | rd_log_print.cpp | 36 (void)HILOG_IMPL(label.type, LOG_DEBUG, label.domain, label.tag, FORMAT, msg.c_str()); in PrintLog() 39 (void)HILOG_IMPL(label.type, LOG_INFO, label.domain, label.tag, FORMAT, msg.c_str()); in PrintLog() 42 (void)HILOG_IMPL(label.type, LOG_WARN, label.domain, label.tag, FORMAT, msg.c_str()); in PrintLog() 45 (void)HILOG_IMPL(label.type, LOG_ERROR, label.domain, label.tag, FORMAT, msg.c_str()); in PrintLog() 48 (void)HILOG_IMPL(label.type, LOG_FATAL, label.domain, label.tag, FORMAT, msg.c_str()); in PrintLog()
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/liteos/ |
H A D | sys_log.c | 35 static void HiLogPrintWrapper(const char *tag, uint32_t domain, const char *buf, uint32_t logLevel) in HiLogPrintWrapper() argument 58 HiLogPrint(LOG_CORE, hiLogLevel, domain, NSTACKX_DEFAULT_TAG, "%{public}s", buf); in HiLogPrintWrapper() 60 HiLogPrint(LOG_CORE, hiLogLevel, domain, tag, "%{public}s", buf); in HiLogPrintWrapper() 65 uint32_t domain, in NstackxHiLogImpl() 90 HiLogPrintWrapper(tag, domain, szStr, logLevel); in NstackxHiLogImpl() 64 NstackxHiLogImpl(const char *tag, uint32_t domain, const char *moduleName, uint32_t logLevel, const char *format, ...) NstackxHiLogImpl() argument
|
/foundation/communication/dsoftbus/components/nstackx/nstackx_util/platform/unix/ |
H A D | sys_log.c | 35 static void HiLogPrintWrapper(const char *tag, uint32_t domain, const char *buf, uint32_t logLevel) in HiLogPrintWrapper() argument 58 HiLogPrint(LOG_CORE, hiLogLevel, domain, NSTACKX_DEFAULT_TAG, "%{public}s", buf); in HiLogPrintWrapper() 60 HiLogPrint(LOG_CORE, hiLogLevel, domain, tag, "%{public}s", buf); in HiLogPrintWrapper() 65 uint32_t domain, in NstackxHiLogImpl() 90 HiLogPrintWrapper(tag, domain, szStr, logLevel); in NstackxHiLogImpl() 64 NstackxHiLogImpl(const char *tag, uint32_t domain, const char *moduleName, uint32_t logLevel, const char *format, ...) NstackxHiLogImpl() argument
|
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
H A D | network_security_config.cpp | 38 const std::string TAG_DOMAIN_CONFIG("domain-config"); 408 Domain domain; in ParseJsonDomains() local 414 domain.domainName_ = cJSON_GetStringValue(name); in ParseJsonDomains() 415 NETMGR_LOG_D("domainName_: %{public}s", domain.domainName_.c_str()); in ParseJsonDomains() 418 domain.includeSubDomains_ = cJSON_IsTrue(subDomains); in ParseJsonDomains() 419 NETMGR_LOG_D("includeSubDomains_: %{public}d", domain.includeSubDomains_); in ParseJsonDomains() 421 domain.includeSubDomains_ = true; in ParseJsonDomains() 424 domains.push_back(domain); in ParseJsonDomains() 541 for (const auto &domain : domainConfig.domains_) { in IsPinOpenMode() 542 if (hostname == domain in IsPinOpenMode() [all...] |
/foundation/communication/dsoftbus/tests/core/common/dfx/event/unittest/mock/ |
H A D | hisysevent_mock.cpp | 18 int HiSysEventMock::MockHiSysEvent_Write(const char *func, int64_t line, const char *domain, const char *name, in MockHiSysEvent_Write() argument 33 int HiSysEvent_Write(const char *func, int64_t line, const char *domain, const char *name, HiSysEventEventType type, in HiSysEvent_Write() argument 36 return HiSysEventMock::GetMock()->HiSysEvent_Write(func, line, domain, name, type, params, size); in HiSysEvent_Write()
|
H A D | hisysevent_mock.h | 27 virtual int MockHiSysEvent_Write(const char *func, int64_t line, const char *domain, const char *name, 42 int(const char *func, int64_t line, const char *domain, const char *name, HiSysEventEventType type, 45 int MockHiSysEvent_Write(const char *func, int64_t line, const char *domain, const char *name,
|
/foundation/communication/dsoftbus/core/common/dfx/log/src/ |
H A D | softbus_log.c | 22 static void SoftBusLogPrint(const char *line, uint32_t level, uint32_t domain, const char *tag) in SoftBusLogPrint() argument 26 (void)domain; in SoftBusLogPrint() 30 (void)HiLogPrint(LOG_CORE, (LogLevel)level, domain, tag, "%{public}s", line); in SoftBusLogPrint()
|
/foundation/communication/dsoftbus/core/connection/common/src/ |
H A D | softbus_tcp_socket.c | 161 static int BindLocalIP(int32_t domain, int fd, const char *localIP, uint16_t port) in BindLocalIP() argument 164 if (domain == SOFTBUS_AF_INET6) { in BindLocalIP() 210 int32_t domain = GetDomainByAddr(option->socketOption.addr); in OpenTcpServerSocket() local 212 domain, SOFTBUS_SOCK_STREAM | SOFTBUS_SOCK_CLOEXEC | SOFTBUS_SOCK_NONBLOCK, 0, (int32_t *)&fd); in OpenTcpServerSocket() 223 ret = BindLocalIP(domain, fd, option->socketOption.addr, (uint16_t)option->socketOption.port); in OpenTcpServerSocket() 230 BindToInterface(option->socketOption.addr, domain, fd, (char *)(option->socketOption.ifName), IF_NAME_SIZE); in OpenTcpServerSocket() 235 static int32_t BindTcpClientAddr(int32_t domain, int fd, const char *inputAddr) in BindTcpClientAddr() argument 243 if (domain == SOFTBUS_AF_INET6) { in BindTcpClientAddr() 252 return BindLocalIP(domain, fd, bindAddr, 0); in BindTcpClientAddr() 255 static int32_t SocketConnect(int32_t fd, int32_t domain, cons argument 293 int32_t domain = GetDomainByAddr(option->socketOption.addr); OpenTcpClientSocket() local [all...] |
/foundation/communication/dsoftbus/tests/core/common/dfx/log/unittest/src/ |
H A D | disc_log_test.cpp | 68 EXPECT_CALL(mock, HiLogPrint(Eq(LOG_CORE), Eq(LOG_DEBUG), Eq(label.domain), StrEq(label.tag), _, _)) in HWTEST_F() 83 EXPECT_CALL(mock, HiLogPrint(Eq(LOG_CORE), Eq(LOG_INFO), Eq(label.domain), StrEq(label.tag), _, _)) in HWTEST_F() 98 EXPECT_CALL(mock, HiLogPrint(Eq(LOG_CORE), Eq(LOG_WARN), Eq(label.domain), StrEq(label.tag), _, _)) in HWTEST_F() 113 EXPECT_CALL(mock, HiLogPrint(Eq(LOG_CORE), Eq(LOG_ERROR), Eq(label.domain), StrEq(label.tag), _, _)) in HWTEST_F() 128 EXPECT_CALL(mock, HiLogPrint(Eq(LOG_CORE), Eq(LOG_FATAL), Eq(label.domain), StrEq(label.tag), _, _)) in HWTEST_F()
|
H A D | conn_log_test.cpp | 66 EXPECT_CALL(mock, HiLogPrint(Eq(LOG_CORE), Eq(LOG_DEBUG), Eq(label.domain), StrEq(label.tag), _, _)) in HWTEST_F() 81 EXPECT_CALL(mock, HiLogPrint(Eq(LOG_CORE), Eq(LOG_INFO), Eq(label.domain), StrEq(label.tag), _, _)) in HWTEST_F() 96 EXPECT_CALL(mock, HiLogPrint(Eq(LOG_CORE), Eq(LOG_WARN), Eq(label.domain), StrEq(label.tag), _, _)) in HWTEST_F() 111 EXPECT_CALL(mock, HiLogPrint(Eq(LOG_CORE), Eq(LOG_ERROR), Eq(label.domain), StrEq(label.tag), _, _)) in HWTEST_F() 126 EXPECT_CALL(mock, HiLogPrint(Eq(LOG_CORE), Eq(LOG_FATAL), Eq(label.domain), StrEq(label.tag), _, _)) in HWTEST_F()
|