/base/security/selinux_adapter/sepolicy/base/public/ |
D | type.te | 14 type samgr, sadomain, domain; 15 type accesstoken_service, sadomain, domain; 16 type socperf_service, sadomain, domain; 17 type distributedsche, sadomain, domain; 18 type bluetooth_service, sadomain, domain; 19 type accountmgr, sadomain, domain; 20 type ui_service, sadomain, domain; 21 type d_bms, sadomain, domain; 22 type wifi_manager_service, sadomain, domain; 23 type softbus_server, sadomain, domain; [all …]
|
D | domain.te | 15 allow domain init:process sigchld; 16 allow init domain:process sigkill; 18 allow { domain -lldb_server } self:process { fork sigchld sigkill sigstop signull signal getsched s… 20 allow domain self:fd use; 21 allow domain self:file rw_file_perms; 22 allow domain self:fifo_file rw_file_perms; 23 allow domain self:dir read_dir_perms; 24 allow domain self:lnk_file read_file_perms; 25 allow domain self:unix_dgram_socket { connect create write }; 26 allow domain self:unix_stream_socket { accept bind connect create getattr listen read getopt setopt… [all …]
|
D | hap_domain.te | 14 type system_core_hap, domain; 15 type system_basic_hap, domain; 16 type normal_hap, domain; 17 type debug_hap, domain, hap_domain, normal_hap_attr; 22 neverallow normal_hap_attr { domain -normal_hap_attr }:file never_rw_file; 24 neverallow { domain -normal_hap_attr -processdump developer_only(`-lldb_server') } normal_hap_attr:… 29 neverallow system_core_hap_attr { domain -system_core_hap_attr }:file never_rw_file; 31 neverallow { domain -system_core_hap_attr -processdump } system_core_hap_attr:process ptrace; 36 neverallow system_basic_hap_attr { domain -system_basic_hap_attr }:file never_rw_file; 38 neverallow { domain -system_basic_hap_attr -processdump } system_basic_hap_attr:process ptrace; [all …]
|
/base/security/selinux_adapter/sepolicy/ohos_policy/drivers/adapter/public/ |
D | type.te | 14 type hdf_devmgr, sadomain, domain; 15 type hdf_ext_devmgr, sadomain, domain; 18 type blue_host, hdfdomain, domain; 19 type a2dp_host, hdfdomain, domain; 20 type sample_host, hdfdomain, domain; 21 type light_host, hdfdomain, domain; 22 type dcamera_host, hdfdomain, domain; 23 type face_auth_host, hdfdomain, domain; 24 type pin_auth_host, hdfdomain, domain; 25 type user_auth_host, hdfdomain, domain; [all …]
|
/base/powermgr/battery_manager/utils/native/include/ |
D | battery_log.h | 99 #define BATTERY_HILOGF(domain, ...) \ argument 100 …((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, BATTERY_LABEL[domain].domainId, BATTERY_LABEL[domain].tag, … 101 #define BATTERY_HILOGE(domain, ...) \ argument 102 …((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, BATTERY_LABEL[domain].domainId, BATTERY_LABEL[domain].tag, … 103 #define BATTERY_HILOGW(domain, ...) \ argument 104 …((void)HILOG_IMPL(LOG_CORE, LOG_WARN, BATTERY_LABEL[domain].domainId, BATTERY_LABEL[domain].tag, #… 105 #define BATTERY_HILOGI(domain, ...) \ argument 106 …((void)HILOG_IMPL(LOG_CORE, LOG_INFO, BATTERY_LABEL[domain].domainId, BATTERY_LABEL[domain].tag, #… 107 #define BATTERY_HILOGD(domain, ...) \ argument 108 …((void)HILOG_IMPL(LOG_CORE, LOG_DEBUG, BATTERY_LABEL[domain].domainId, BATTERY_LABEL[domain].tag, …
|
/base/powermgr/display_manager/state_manager/utils/native/include/ |
D | display_log.h | 103 #define DISPLAY_HILOGF(domain, ...) \ argument 104 …((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, DISPLAY_LABEL[domain].domainId, DISPLAY_LABEL[domain].tag, … 105 #define DISPLAY_HILOGE(domain, ...) \ argument 106 …((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, DISPLAY_LABEL[domain].domainId, DISPLAY_LABEL[domain].tag, … 107 #define DISPLAY_HILOGW(domain, ...) \ argument 108 …((void)HILOG_IMPL(LOG_CORE, LOG_WARN, DISPLAY_LABEL[domain].domainId, DISPLAY_LABEL[domain].tag, #… 109 #define DISPLAY_HILOGI(domain, ...) \ argument 110 …((void)HILOG_IMPL(LOG_CORE, LOG_INFO, DISPLAY_LABEL[domain].domainId, DISPLAY_LABEL[domain].tag, #… 111 #define DISPLAY_HILOGD(domain, ...) \ argument 112 …((void)HILOG_IMPL(LOG_CORE, LOG_DEBUG, DISPLAY_LABEL[domain].domainId, DISPLAY_LABEL[domain].tag, …
|
/base/powermgr/power_manager/utils/native/include/ |
D | power_log.h | 129 #define POWER_HILOGF(domain, ...) \ argument 130 …((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__… 131 #define POWER_HILOGE(domain, ...) \ argument 132 …((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__… 133 #define POWER_HILOGW(domain, ...) \ argument 134 …((void)HILOG_IMPL(LOG_CORE, LOG_WARN, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__V… 135 #define POWER_HILOGI(domain, ...) \ argument 136 …((void)HILOG_IMPL(LOG_CORE, LOG_INFO, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__V… 137 #define POWER_HILOGD(domain, ...) \ argument 138 …((void)HILOG_IMPL(LOG_CORE, LOG_DEBUG, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__…
|
/base/startup/init/interfaces/innerkits/include/ |
D | beget_ext.h | 71 INIT_PUBLIC_API void StartupLog(InitLogLevel logLevel, uint32_t domain, const char *tag, const char… 76 #define STARTUP_LOGV(domain, tag, fmt, ...) argument 77 #define STARTUP_LOGI(domain, tag, fmt, ...) argument 78 #define STARTUP_LOGW(domain, tag, fmt, ...) argument 79 #define STARTUP_LOGE(domain, tag, fmt, ...) argument 80 #define STARTUP_LOGF(domain, tag, fmt, ...) argument 83 #define STARTUP_LOGV(domain, tag, fmt, ...) \ argument 84 StartupLog(INIT_DEBUG, domain, tag, "[%s:%d]" fmt, (FILE_NAME), (__LINE__), ##__VA_ARGS__) 85 #define STARTUP_LOGI(domain, tag, fmt, ...) \ argument 86 StartupLog(INIT_INFO, domain, tag, "[%s:%d]" fmt, (FILE_NAME), (__LINE__), ##__VA_ARGS__) [all …]
|
/base/hiviewdfx/hiview/plugins/eventlogger/config/ |
D | EventloggerPipeline | 4 "domain": "WINDOWMANAGER", 8 "domain": "ACE", 11 "domain": "MULTIMODALINPUT", 14 "domain": "AAFWK", 18 "domain": "FRAMEWORK", 21 "domain": "KERNEL_VENDOR", 25 "domain": "FFRT", 28 "domain":"POWER",
|
/base/powermgr/battery_statistics/utils/native/include/ |
D | stats_log.h | 92 #define STATS_HILOGF(domain, ...) (void)OHOS::HiviewDFX::HiLog::Fatal(STATS_LABEL[domain], FORMAT(_… argument 93 #define STATS_HILOGE(domain, ...) (void)OHOS::HiviewDFX::HiLog::Error(STATS_LABEL[domain], FORMAT(_… argument 94 #define STATS_HILOGW(domain, ...) (void)OHOS::HiviewDFX::HiLog::Warn(STATS_LABEL[domain], FORMAT(__… argument 95 #define STATS_HILOGI(domain, ...) (void)OHOS::HiviewDFX::HiLog::Info(STATS_LABEL[domain], FORMAT(__… argument 96 #define STATS_HILOGD(domain, ...) (void)OHOS::HiviewDFX::HiLog::Debug(STATS_LABEL[domain], FORMAT(_… argument
|
/base/hiviewdfx/hiview/plugins/freeze_detector/ |
D | rule_cluster.cpp | 126 std::string domain = GetAttributeValue<std::string>(tag, ATTRIBUTE_DOMAIN); in ParseTagRule() local 127 if (domain == "") { in ParseTagRule() 137 FreezeRule rule = FreezeRule(domain, stringId); in ParseTagRule() 145 if (rules_.find(domain + stringId) != rules_.end()) { in ParseTagRule() 150 rules_[domain + stringId] = rule; in ParseTagRule() 157 std::string domain = GetAttributeValue<std::string>(node, ATTRIBUTE_DOMAIN); in ParseTagLinks() local 158 if (domain == "") { in ParseTagLinks() 170 FreezeResult result = FreezeResult(window, domain, stringId); in ParseTagLinks() 172 rule.AddResult(domain, stringId, result); in ParseTagLinks() 175 if (rule.GetDomain() == domain && rule.GetStringId() == stringId) { in ParseTagLinks() [all …]
|
D | freeze_common.cpp | 38 bool FreezeCommon::IsFreezeEvent(const std::string& domain, const std::string& stringId) const in IsFreezeEvent() argument 40 return IsApplicationEvent(domain, stringId) || IsSystemEvent(domain, stringId); in IsFreezeEvent() 43 bool FreezeCommon::IsApplicationEvent(const std::string& domain, const std::string& stringId) const in IsApplicationEvent() argument 51 if (stringId == pair.first && domain == pair.second.first) { in IsApplicationEvent() 58 bool FreezeCommon::IsSystemEvent(const std::string& domain, const std::string& stringId) const in IsSystemEvent() argument 66 if (stringId == pair.first && domain == pair.second.first) { in IsSystemEvent()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/ |
D | hisysevent_rules.h | 49 ListenerRule(const std::string& domain, const std::string& eventName, 50 …d::string& tag, RuleType ruleType = RuleType::WHOLE_WORD, uint32_t eventType = 0) : domain(domain), in domain() argument 52 ListenerRule(const std::string& domain, const std::string& eventName, 53 RuleType ruleType = RuleType::WHOLE_WORD) : ListenerRule(domain, eventName, "", ruleType) {} 60 return domain; in GetDomain() 80 std::string domain; 89 QueryRule(const std::string& domain, const std::vector<std::string>& eventList, 91 …: domain(domain), eventList(eventList), ruleType(ruleType), eventType(eventType), condition(cond) … in domain() argument 96 return domain; in GetDomain() 116 std::string domain;
|
/base/hiviewdfx/hiview/base/event_store/dao/ |
D | sys_event_dao.cpp | 28 std::shared_ptr<SysEventQuery> SysEventDao::BuildQuery(const std::string& domain, in BuildQuery() argument 31 HIVIEW_LOGD("squery domain=%{public}s, names.size=%{public}zu", domain.c_str(), names.size()); in BuildQuery() 32 if (domain.empty() || names.empty()) { in BuildQuery() 35 return std::make_shared<SysEventQueryWrapper>(domain, names); in BuildQuery() 38 std::shared_ptr<SysEventQuery> SysEventDao::BuildQuery(const std::string& domain, in BuildQuery() argument 42 ", fromSeq=%{public}" PRId64, domain.c_str(), names.size(), type, toSeq, fromSeq); in BuildQuery() 43 return std::make_shared<SysEventQueryWrapper>(domain, names, type, toSeq, fromSeq); in BuildQuery()
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | log_domains.cpp | 90 bool IsValidDomain(LogType type, uint32_t domain) in IsValidDomain() argument 93 if ((domain & APP_DOMAIN_MASK) == 0) { in IsValidDomain() 98 if (domain >= DOMAIN_OS_MIN && domain <= DOMAIN_OS_MAX) { in IsValidDomain() 99 return g_DomainList.IsValidKey((domain & OS_SUB_DOMAIN_MASK)); in IsValidDomain()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/ |
D | hisysevent_c.cpp | 31 int HiSysEventInnerWrite(const char* func, int64_t line, const std::string& domain, const std::stri… in HiSysEventInnerWrite() argument 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/faultloggerd/common/dfxlog/ |
D | musl_log.h | 61 …const LogType type, const LogLevel level, const unsigned int domain, const char *tag, const char *… 65 LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt, ...) in MuslHiLogPrinter() argument 70 ret = HiLogAdapterPrintArgs(type, level, domain, tag, fmt, ap); in MuslHiLogPrinter() 76 const LogLevel logLevel, const unsigned int domain, const char* tag, const char *fmt, ...) in DfxLogPrint() argument 84 MuslHiLogPrinter(LOG_CORE, logLevel, domain, tag, "%{public}s", buf); in DfxLogPrint() 88 #define DFXLOG_PRINT(prio, domain, tag, ...) DfxLogPrint(prio, domain, tag, ##__VA_ARGS__) argument 98 #define DFXLOG_PRINT(prio, domain, tag, ...)
|
D | dfx_log.h | 38 int DfxLogPrint(const LogLevel logLevel, const unsigned int domain, const char* tag, 40 int DfxLogPrintV(const LogLevel logLevel, const unsigned int domain, const char* tag, const char *f… 42 #define DFXLOG_PRINT(prio, domain, tag, ...) DfxLogPrint(prio, domain, tag, ##__VA_ARGS__) argument 43 #define DFXLOG_PRINTV(prio, domain, tag, fmt, args) DfxLogPrintV(prio, domain, tag, fmt, args) argument 63 #define DFXLOG_PRINT(prio, domain, tag, ...) 64 #define DFXLOG_PRINTV(prio, domain, tag, fmt, args)
|
/base/hiviewdfx/hiview/plugins/faultlogger/config/ |
D | faultloggerPipeline | 4 "domain": "RELIABILITY", 8 "domain": "ACE", 12 "domain": "AAFWK", 16 "domain": "STARTUP",
|
/base/hiviewdfx/hisysevent/adapter/native/idl/include/ |
D | sys_event_rule.h | 31 SysEventRule(const std::string& domain, const std::string& eventName, 33 … : domain(domain), eventName(eventName), tag(tag), ruleType(ruleType), eventType(eventType) {} in domain() function 34 SysEventRule(const std::string& domain, const std::string& eventName, 36 : SysEventRule(domain, eventName, "", ruleType, eventType) {} 44 std::string domain; variable
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/ |
D | sys_event_rule.h | 27 SysEventRule(const std::string& domain, const std::string& eventName, 29 … : domain(domain), eventName(eventName), tag(tag), ruleType(ruleType), eventType(eventType) {} in domain() function 30 SysEventRule(const std::string& domain, const std::string& eventName, 32 : SysEventRule(domain, eventName, "", ruleType, eventType) {} 40 std::string domain; variable
|
/base/hiviewdfx/hilog/frameworks/libhilog/ |
D | hilog_printf.cpp | 97 static uint16_t GetFinalLevel(unsigned int domain, const std::string& tag) in GetFinalLevel() argument 106 uint16_t domainLevel = GetDomainLevel(domain); 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 … in HiLogPrintArgs() argument 218 if ((type != LOG_APP) && ((domain < DOMAIN_OS_MIN) || (domain > DOMAIN_OS_MAX))) { in HiLogPrintArgs() 221 if (!HiLogIsLoggable(domain, tag, level)) { in HiLogPrintArgs() 293 g_logCallback(type, level, domain, tag, logBuf); in HiLogPrintArgs() 322 header.domain = domain; in HiLogPrintArgs() 355 int HiLogPrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt,… in HiLogPrint() argument [all …]
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/ |
D | app_event_observer.cpp | 63 AppEventFilter::AppEventFilter(const std::string& domain, const std::unordered_set<std::string>& na… in AppEventFilter() argument 64 uint32_t types) : domain(domain), names(names), types(types) in AppEventFilter() 67 AppEventFilter::AppEventFilter(const std::string& domain, uint32_t types) : domain(domain), types(t… in AppEventFilter() argument 72 if (!domain.empty() && domain != event->GetDomain()) { in IsValidEvent() 86 if (domain.empty() && name.empty()) { in IsValidEvent() 89 if (!domain.empty() && (domain != event->GetDomain())) { in IsValidEvent() 106 strStream << "{" << domain << "," << name << "," << isRealTime << "}"; in ToString() 272 if (eventConfig.domain.empty() && eventConfig.name.empty()) { in SetReportConfig() 279 filters_.emplace_back(AppEventFilter(eventConfig.domain, names)); in SetReportConfig() 296 if (filter.domain == "OS") { in HasOsDomain()
|
/base/hiviewdfx/hilog/interfaces/native/innerkits/include/hilog/ |
D | log_cpp.h | 33 unsigned int domain; member 70 #define HiLogDebug(label, fmt, ...) HILOG_IMPL(label.type, LOG_DEBUG, label.domain, label.tag, fmt,… 71 #define HiLogInfo(label, fmt, ...) HILOG_IMPL(label.type, LOG_INFO, label.domain, label.tag, fmt, #… 72 #define HiLogWarn(label, fmt, ...) HILOG_IMPL(label.type, LOG_WARN, label.domain, label.tag, fmt, #… 73 #define HiLogError(label, fmt, ...) HILOG_IMPL(label.type, LOG_ERROR, label.domain, label.tag, fmt,… 74 #define HiLogFatal(label, fmt, ...) HILOG_IMPL(label.type, LOG_FATAL, label.domain, label.tag, fmt,…
|
/base/hiviewdfx/hilog/frameworks/hilog_ndk/ |
D | hilog_ndk.c | 21 int OH_LOG_Print(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fm… 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()
|