Home
last modified time | relevance | path

Searched refs:domain (Results 1 - 25 of 411) sorted by relevance

12345678910>>...17

/base/powermgr/battery_manager/utils/native/include/
H A Dbattery_log.h45 // Battery manager reserved domain id range
64 // The end of labels, max to the domain id range length 32
99 #define BATTERY_HILOGF(domain, ...) \
100 ((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, BATTERY_LABEL[domain].domainId, BATTERY_LABEL[domain].tag, ##__VA_ARGS__))
101 #define BATTERY_HILOGE(domain, ...) \
102 ((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, BATTERY_LABEL[domain].domainId, BATTERY_LABEL[domain].tag, ##__VA_ARGS__))
103 #define BATTERY_HILOGW(domain, ...) \
104 ((void)HILOG_IMPL(LOG_CORE, LOG_WARN, BATTERY_LABEL[domain]
[all...]
/base/powermgr/battery_statistics/utils/native/include/
H A Dstats_log.h48 // Battery stats reserved domain id range
64 // The end of labels, max to the domain id range length 32
95 #define STATS_HILOGF(domain, ...) \
96 ((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, STATS_LABEL[domain].domainId, STATS_LABEL[domain].tag, ##__VA_ARGS__))
97 #define STATS_HILOGE(domain, ...) \
98 ((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, STATS_LABEL[domain].domainId, STATS_LABEL[domain].tag, ##__VA_ARGS__))
99 #define STATS_HILOGW(domain, ...) \
100 ((void)HILOG_IMPL(LOG_CORE, LOG_WARN, STATS_LABEL[domain]
[all...]
/base/powermgr/display_manager/state_manager/utils/native/include/
H A Ddisplay_log.h48 // Display manager reserved domain id range
66 // The end of labels, max to the domain id range length 32
103 #define DISPLAY_HILOGF(domain, ...) \
104 ((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, DISPLAY_LABEL[domain].domainId, DISPLAY_LABEL[domain].tag, ##__VA_ARGS__))
105 #define DISPLAY_HILOGE(domain, ...) \
106 ((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, DISPLAY_LABEL[domain].domainId, DISPLAY_LABEL[domain].tag, ##__VA_ARGS__))
107 #define DISPLAY_HILOGW(domain, ...) \
108 ((void)HILOG_IMPL(LOG_CORE, LOG_WARN, DISPLAY_LABEL[domain]
[all...]
/base/web/webview/ohos_nweb/include/
H A Dnweb_log.h34 uint32_t domain = LOG_RENDER_DOMAIN; \
36 domain = LOG_APP_DOMAIN; \
38 HILOG_IMPL(LOG_CORE, LOG_DEBUG, domain, HILOG_TAG, FUNC_LINE_FMT fmt, \
43 uint32_t domain = LOG_RENDER_DOMAIN; \
45 domain = LOG_APP_DOMAIN; \
47 HILOG_IMPL(LOG_CORE, LOG_INFO, domain, HILOG_TAG, FUNC_LINE_FMT fmt, \
52 uint32_t domain = LOG_RENDER_DOMAIN; \
54 domain = LOG_APP_DOMAIN; \
56 HILOG_IMPL(LOG_CORE, LOG_WARN, domain, HILOG_TAG, FUNC_LINE_FMT fmt, \
61 uint32_t domain
[all...]
/base/startup/init/interfaces/innerkits/include/
H A Dbeget_ext.h78 INIT_PUBLIC_API void StartupLog(InitLogLevel logLevel, uint32_t domain, const char *tag, const char *fmt, ...);
83 #define STARTUP_LOGV(domain, tag, fmt, ...)
84 #define STARTUP_LOGI(domain, tag, fmt, ...)
85 #define STARTUP_LOGW(domain, tag, fmt, ...)
86 #define STARTUP_LOGE(domain, tag, fmt, ...)
87 #define STARTUP_LOGF(domain, tag, fmt, ...)
90 #define STARTUP_LOGV(domain, tag, fmt, ...) \
91 StartupLog(INIT_DEBUG, domain, tag, "[%s:%d]" fmt, (STARTUP_FILE_NAME), (__LINE__), ##__VA_ARGS__)
92 #define STARTUP_LOGI(domain, tag, fmt, ...) \
93 StartupLog(INIT_INFO, domain, ta
[all...]
/base/powermgr/power_manager/utils/native/include/
H A Dpower_log.h50 // Power manager reserved domain id range
80 // The end of labels, max to the domain id range length 32
137 #define POWER_HILOGF(domain, ...) \
138 ((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__VA_ARGS__))
139 #define POWER_HILOGE(domain, ...) \
140 ((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__VA_ARGS__))
141 #define POWER_HILOGW(domain, ...) \
142 ((void)HILOG_IMPL(LOG_CORE, LOG_WARN, POWER_LABEL[domain]
[all...]
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/
H A Dhisysevent_rules.h49 ListenerRule(const std::string& domain, const std::string& eventName, in ListenerRule() argument
50 const std::string& tag, RuleType ruleType = RuleType::WHOLE_WORD, uint32_t eventType = 0) : domain(domain), in ListenerRule()
52 ListenerRule(const std::string& domain, const std::string& eventName, in ListenerRule() argument
53 RuleType ruleType = RuleType::WHOLE_WORD) : ListenerRule(domain, eventName, "", ruleType) {} in ListenerRule()
60 return domain; in GetDomain()
80 std::string domain; member in OHOS::HiviewDFX::ListenerRule
89 QueryRule(const std::string& domain, const std::vector<std::string>& eventList, in QueryRule() argument
91 : domain(domain), eventLis in QueryRule()
116 std::string domain; global() member in OHOS::HiviewDFX::QueryRule
[all...]
/base/hiviewdfx/hiview/plugins/freeze_detector/
H A Dfreeze_common.cpp43 bool FreezeCommon::IsFreezeEvent(const std::string& domain, const std::string& stringId) const in IsFreezeEvent() argument
45 return IsApplicationEvent(domain, stringId) || IsSystemEvent(domain, stringId) || in IsFreezeEvent()
46 IsSysWarningEvent(domain, stringId); in IsFreezeEvent()
49 bool FreezeCommon::IsApplicationEvent(const std::string& domain, const std::string& stringId) const in IsApplicationEvent() argument
51 return IsAssignedEvent(domain, stringId, APPLICATION_RESULT_ID); in IsApplicationEvent()
54 bool FreezeCommon::IsSystemEvent(const std::string& domain, const std::string& stringId) const in IsSystemEvent() argument
56 return IsAssignedEvent(domain, stringId, SYSTEM_RESULT_ID); in IsSystemEvent()
59 bool FreezeCommon::IsSysWarningEvent(const std::string& domain, const std::string& stringId) const in IsSysWarningEvent() argument
61 return IsAssignedEvent(domain, stringI in IsSysWarningEvent()
64 IsAssignedEvent(const std::string& domain, const std::string& stringId, int freezeId) const IsAssignedEvent() argument
[all...]
H A Drule_cluster.cpp38 static constexpr const char* const ATTRIBUTE_DOMAIN = "domain";
150 std::string domain = GetAttributeValue<std::string>(tag, ATTRIBUTE_DOMAIN); in ParseTagRule() local
151 if (domain == "") { in ParseTagRule()
152 HIVIEW_LOGE("null rule attribute:domain."); in ParseTagRule()
161 FreezeRule rule = FreezeRule(domain, stringId); in ParseTagRule()
169 if (rules_.find(domain + stringId) != rules_.end()) { in ParseTagRule()
174 rules_[domain + stringId] = rule; in ParseTagRule()
181 std::string domain = GetAttributeValue<std::string>(node, ATTRIBUTE_DOMAIN); in ParseTagLinks() local
182 if (domain == "") { in ParseTagLinks()
183 HIVIEW_LOGE("null event attribute:domain in ParseTagLinks()
253 std::string domain = watchPoint.GetDomain(); GetResult() local
344 SetDomain(const std::string& domain) SetDomain() argument
364 AddResult(const std::string& domain, const std::string& stringId, const FreezeResult& result) AddResult() argument
374 GetResult(const std::string& domain, const std::string& stringId, FreezeResult& result) GetResult() argument
[all...]
H A Dfreeze_common.h43 bool IsFreezeEvent(const std::string& domain, const std::string& stringId) const;
44 bool IsApplicationEvent(const std::string& domain, const std::string& stringId) const;
46 bool IsSystemEvent(const std::string& domain, const std::string& stringId) const;
47 bool IsSysWarningEvent(const std::string& domain, const std::string& stringId) const;
56 bool IsAssignedEvent(const std::string& domain, const std::string& stringId, int freezeId) const;
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
H A Dhisysevent_c.cpp31 int HiSysEventInnerWrite(const char* func, int64_t line, const std::string& domain, const std::string& name, in HiSysEventInnerWrite() argument
34 HILOG_DEBUG(LOG_CORE, "domain=%{public}s, name=%{public}s, type=%{public}d, param szie=%{public}zu", in HiSysEventInnerWrite()
35 domain.c_str(), name.c_str(), type, size); in HiSysEventInnerWrite()
36 return HiSysEvent::Write(func, line, domain, name, HiSysEvent::EventType(type), params, size); in HiSysEventInnerWrite()
45 int HiSysEvent_Write(const char* func, int64_t line, const char* domain, const char* name, in HiSysEvent_Write() argument
48 if (domain == nullptr) { in HiSysEvent_Write()
54 return OHOS::HiviewDFX::HiSysEventInnerWrite(func, line, domain, name, type, params, size); in HiSysEvent_Write()
/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/
H A DAppLaunchConverter.h32 point.domain = data.domain; in ConvertToInteractionResponse()
56 point.domain = data.domain; in ConvertToStartAbility()
68 point.domain = data.domain; in ConvertToAppStartupType()
83 point.domain = data.domain; in ConvertToProcessStart()
99 point.domain = data.domain; in ConvertToAppAttach()
[all...]
/base/hiviewdfx/hisysevent/adapter/native/idl/include/
H A Dsys_event_rule.h31 SysEventRule(const std::string& domain, const std::string& eventName, in SysEventRule() argument
33 : domain(domain), eventName(eventName), tag(tag), ruleType(ruleType), eventType(eventType) {} in SysEventRule()
34 SysEventRule(const std::string& domain, const std::string& eventName, in SysEventRule() argument
36 : SysEventRule(domain, eventName, "", ruleType, eventType) {} in SysEventRule()
44 std::string domain; member in OHOS::HiviewDFX::SysEventRule
H A Dsys_event_query_rule.h32 SysEventQueryRule(const std::string& domain, const std::vector<std::string>& events, in SysEventQueryRule() argument
34 : domain(domain), eventList(events), ruleType(ruleType), eventType(eventType), condition(cond) {}; in SysEventQueryRule()
40 std::string domain; member in OHOS::HiviewDFX::SysEventQueryRule
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
H A Dsys_event_rule.h27 SysEventRule(const std::string& domain, const std::string& eventName, in SysEventRule() argument
29 : domain(domain), eventName(eventName), tag(tag), ruleType(ruleType), eventType(eventType) {} in SysEventRule()
30 SysEventRule(const std::string& domain, const std::string& eventName, in SysEventRule() argument
32 : SysEventRule(domain, eventName, "", ruleType, eventType) {} in SysEventRule()
40 std::string domain; member in OHOS::HiviewDFX::SysEventRule
/base/hiviewdfx/hiview/base/event_store/dao/
H A Dsys_event_dao.cpp30 std::shared_ptr<SysEventQuery> SysEventDao::BuildQuery(const std::string& domain, in BuildQuery() argument
33 HIVIEW_LOGD("squery domain=%{public}s, names.size=%{public}zu", domain.c_str(), names.size()); in BuildQuery()
34 if (domain.empty() || names.empty()) { in BuildQuery()
37 return std::make_shared<SysEventQueryWrapper>(domain, names); in BuildQuery()
40 std::shared_ptr<SysEventQuery> SysEventDao::BuildQuery(const std::string& domain, in BuildQuery() argument
43 HIVIEW_LOGD("query domain=%{public}s, names.size=%{public}zu, type=%{public}u, toSeq=%{public}" PRId64 in BuildQuery()
44 ", fromSeq=%{public}" PRId64, domain.c_str(), names.size(), type, toSeq, fromSeq); in BuildQuery()
45 return std::make_shared<SysEventQueryWrapper>(domain, names, type, toSeq, fromSeq); in BuildQuery()
/base/hiviewdfx/hilog/frameworks/hilog_ndk/
H A Dhilog_ndk.c21 int OH_LOG_Print(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...) in OH_LOG_Print() argument
26 ret = HiLogPrintArgs(type, level, domain, tag, fmt, ap); in OH_LOG_Print()
31 bool OH_LOG_IsLoggable(unsigned int domain, const char *tag, LogLevel level) in OH_LOG_IsLoggable() argument
33 return HiLogIsLoggable(domain, tag, level); in OH_LOG_IsLoggable()
/base/hiviewdfx/hilog/frameworks/libhilog/
H A Dhilog_printf.cpp97 static uint16_t GetFinalLevel(unsigned int domain, const std::string& tag) in GetFinalLevel() argument
106 uint16_t domainLevel = GetDomainLevel(domain); in GetFinalLevel()
110 // domain within the range of [DOMAIN_APP_MIN, DOMAIN_APP_MAX] is a js log, in GetFinalLevel()
112 if ((domain >= DOMAIN_APP_MIN) && (domain <= DOMAIN_APP_MAX)) { in GetFinalLevel()
177 .domain = header.domain, in PrintLog()
215 int HiLogPrintArgs(const LogType type, const LogLevel level, const unsigned int domain, const char *tag, in HiLogPrintArgs() argument
218 if ((type != LOG_APP) && ((domain < DOMAIN_OS_MIN) || (domain > DOMAIN_OS_MA in HiLogPrintArgs()
360 HiLogPrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...) HiLogPrint() argument
370 HiLogIsLoggable(unsigned int domain, const char *tag, LogLevel level) HiLogIsLoggable() argument
[all...]
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_easy/include/
H A Dhisysevent_easy.h33 * @param domain event domain
39 int HiSysEventEasyWrite(const char* domain, const char* name, enum HiSysEventEasyType eventType, const char* data);
41 #define OH_HiSysEvent_Easy_Write(domain, name, eventType, data) \
43 int hiSysEventEsayWriteRet2024___ = HiSysEventEasyWrite(domain, name, eventType, data); \
/base/hiviewdfx/hilog/services/hilogd/
H A Dlog_domains.cpp91 bool IsValidDomain(LogType type, uint32_t domain) in IsValidDomain() argument
94 if ((domain & APP_DOMAIN_MASK) == 0) { in IsValidDomain()
99 if (domain >= DOMAIN_OS_MIN && domain <= DOMAIN_OS_MAX) { in IsValidDomain()
100 return g_DomainList.IsValidKey((domain & OS_SUB_DOMAIN_MASK)); in IsValidDomain()
/base/hiviewdfx/hilog/interfaces/native/innerkits/include/hilog/
H A Dlog_c.h27 * Log domain, indicates the log service domainID. Different LogType have different domainID ranges.
89 int HiLogPrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...)
112 * @param domain macro:LOG_DOMAIN
115 #define HILOG_IMPL(type, level, domain, tag, ...) HiLogPrint(type, level, domain, tag, ##__VA_ARGS__)
118 * @brief Check whether log of a specified domain, tag and level can be printed.
120 * @param domain macro:LOG_DOMAIN
124 bool HiLogIsLoggable(unsigned int domain, const char *tag, LogLevel level);
132 * @param domain Indicates the service domain o
[all...]
H A Dlog_cpp.h25 * @brief Initialize log parameters: type, domain and tag.
26 * domain: Indicates the log service domainID. Different LogType have different domainID ranges,
33 unsigned int domain; member
70 #define HiLogDebug(label, fmt, ...) HILOG_IMPL(label.type, LOG_DEBUG, label.domain, label.tag, fmt, ##__VA_ARGS__)
71 #define HiLogInfo(label, fmt, ...) HILOG_IMPL(label.type, LOG_INFO, label.domain, label.tag, fmt, ##__VA_ARGS__)
72 #define HiLogWarn(label, fmt, ...) HILOG_IMPL(label.type, LOG_WARN, label.domain, label.tag, fmt, ##__VA_ARGS__)
73 #define HiLogError(label, fmt, ...) HILOG_IMPL(label.type, LOG_ERROR, label.domain, label.tag, fmt, ##__VA_ARGS__)
74 #define HiLogFatal(label, fmt, ...) HILOG_IMPL(label.type, LOG_FATAL, label.domain, label.tag, fmt, ##__VA_ARGS__)
/base/request/request/common/include/
H A Dlog.h49 (void)HILOG_IMPL(LOG_CORE, LOG_FATAL, REQUEST_LOG_LABEL.domain, REQUEST_LOG_LABEL.tag, \
53 (void)HILOG_IMPL(LOG_CORE, LOG_ERROR, REQUEST_LOG_LABEL.domain, REQUEST_LOG_LABEL.tag, \
57 (void)HILOG_IMPL(LOG_CORE, LOG_WARN, REQUEST_LOG_LABEL.domain, REQUEST_LOG_LABEL.tag, \
61 (void)HILOG_IMPL(LOG_CORE, LOG_DEBUG, REQUEST_LOG_LABEL.domain, REQUEST_LOG_LABEL.tag, \
65 (void)HILOG_IMPL(LOG_CORE, LOG_INFO, REQUEST_LOG_LABEL.domain, REQUEST_LOG_LABEL.tag, \
/base/time/time_service/utils/native/include/
H A Dtime_hilog.h28 TIME_MODULE_JAVAKIT, // java kit, defined to avoid repeated use of domain.
62 #define TIME_HILOGF(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_FATAL, TIME_MODULE_LABEL[module].domain, \
64 #define TIME_HILOGE(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_ERROR, TIME_MODULE_LABEL[module].domain, \
66 #define TIME_HILOGW(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_WARN, TIME_MODULE_LABEL[module].domain, \
68 #define TIME_HILOGI(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_INFO, TIME_MODULE_LABEL[module].domain, \
70 #define TIME_HILOGD(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_DEBUG, TIME_MODULE_LABEL[module].domain, \
72 #define TIME_SIMPLIFY_HILOGI(module, fmt, ...) (void)HILOG_IMPL(LOG_CORE, LOG_INFO, TIME_MODULE_LABEL[module].domain, \
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_easy/
H A Dhisysevent_easy.c73 static int InitEventHeader(struct HiSysEventEasyHeader* header, const char* domain, const char* name, in InitEventHeader() argument
76 if ((MemoryCopy((uint8_t*)(header->domain), DOMAIN_ARRAY_LEN, (uint8_t*)domain, strlen(domain)) != SUCCESS) || in InitEventHeader()
91 int HiSysEventEasyWrite(const char* domain, const char* name, enum HiSysEventEasyType eventType, const char* data) in HiSysEventEasyWrite() argument
93 if ((domain == NULL) || (strlen(domain) > MAX_DOMAIN_LENGTH)) { in HiSysEventEasyWrite()
114 ret = InitEventHeader(&header, domain, name, eventType); in HiSysEventEasyWrite()

Completed in 7 milliseconds

12345678910>>...17