/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 self:process { fork sigchld sigkill sigstop signull signal getsched setsched getsessio… 20 allow domain self:fd use; 21 allow { domain -limit_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 } normal_hap_attr:process ptrace; 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/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", 7 "domain": "ACE", 10 "domain": "MULTIMODALINPUT", 13 "domain": "AAFWK", 17 "domain": "FRAMEWORK", 20 "domain": "KERNEL_VENDOR", 23 "domain": "FFRT",
|
/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/powermgr/battery_manager/utils/native/include/ |
D | battery_log.h | 96 #define BATTERY_HILOGF(domain, ...) (void)OHOS::HiviewDFX::HiLog::Fatal(BATTERY_LABEL[domain], FORM… argument 97 #define BATTERY_HILOGE(domain, ...) (void)OHOS::HiviewDFX::HiLog::Error(BATTERY_LABEL[domain], FORM… argument 98 #define BATTERY_HILOGW(domain, ...) (void)OHOS::HiviewDFX::HiLog::Warn(BATTERY_LABEL[domain], FORMA… argument 99 #define BATTERY_HILOGI(domain, ...) (void)OHOS::HiviewDFX::HiLog::Info(BATTERY_LABEL[domain], FORMA… argument 100 #define BATTERY_HILOGD(domain, ...) (void)OHOS::HiviewDFX::HiLog::Debug(BATTERY_LABEL[domain], FORM… argument
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent_manager/include/ |
D | hisysevent_rules.h | 40 ListenerRule(const std::string& domain, const std::string& eventName, 41 …d::string& tag, RuleType ruleType = RuleType::WHOLE_WORD, uint32_t eventType = 0) : domain(domain), in domain() argument 43 ListenerRule(const std::string& domain, const std::string& eventName, 44 RuleType ruleType = RuleType::WHOLE_WORD) : ListenerRule(domain, eventName, "", ruleType) {} 51 return domain; in GetDomain() 71 std::string domain; 80 QueryRule(const std::string& domain, const std::vector<std::string>& eventList, 82 …: domain(domain), eventList(eventList), ruleType(ruleType), eventType(eventType), condition(cond) … in domain() function 87 return domain; in GetDomain() 107 std::string domain;
|
/base/powermgr/display_manager/utils/native/include/ |
D | display_log.h | 100 #define DISPLAY_HILOGF(domain, ...) (void)OHOS::HiviewDFX::HiLog::Fatal(DISPLAY_LABEL[domain], FORM… argument 101 #define DISPLAY_HILOGE(domain, ...) (void)OHOS::HiviewDFX::HiLog::Error(DISPLAY_LABEL[domain], FORM… argument 102 #define DISPLAY_HILOGW(domain, ...) (void)OHOS::HiviewDFX::HiLog::Warn(DISPLAY_LABEL[domain], FORMA… argument 103 #define DISPLAY_HILOGI(domain, ...) (void)OHOS::HiviewDFX::HiLog::Info(DISPLAY_LABEL[domain], FORMA… argument 104 #define DISPLAY_HILOGD(domain, ...) (void)OHOS::HiviewDFX::HiLog::Debug(DISPLAY_LABEL[domain], FORM… argument
|
/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 domain.c_str(), names.size(), type, toSeq); in BuildQuery() 43 return std::make_shared<SysEventQueryWrapper>(domain, names, type, toSeq); in BuildQuery()
|
/base/hiviewdfx/hilog/services/hilogd/ |
D | log_domains.cpp | 77 bool IsValidDomain(LogType type, uint32_t domain) in IsValidDomain() argument 80 if ((domain & APP_DOMAIN_MASK) == 0) { in IsValidDomain() 85 if (domain >= DOMAIN_OS_MIN && domain <= DOMAIN_OS_MAX) { in IsValidDomain() 86 return g_DomainList.IsValidKey((domain & OS_SUB_DOMAIN_MASK)); in IsValidDomain()
|
/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/powermgr/power_manager/utils/native/include/ |
D | power_log.h | 117 #define POWER_HILOGF(domain, ...) (void)OHOS::HiviewDFX::HiLog::Fatal(POWER_LABEL[domain], FORMATED… argument 118 #define POWER_HILOGE(domain, ...) (void)OHOS::HiviewDFX::HiLog::Error(POWER_LABEL[domain], FORMATED… argument 119 #define POWER_HILOGW(domain, ...) (void)OHOS::HiviewDFX::HiLog::Warn(POWER_LABEL[domain], FORMATED(… argument 120 #define POWER_HILOGI(domain, ...) (void)OHOS::HiviewDFX::HiLog::Info(POWER_LABEL[domain], FORMATED(… argument 121 #define POWER_HILOGD(domain, ...) (void)OHOS::HiviewDFX::HiLog::Debug(POWER_LABEL[domain], FORMATED… argument
|
/base/hiviewdfx/hiview/plugins/faultlogger/config/ |
D | faultloggerPipeline | 4 "domain": "RELIABILITY", 8 "domain": "ACE", 12 "domain": "AAFWK", 16 "domain": "STARTUP",
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/ |
D | hisysevent_c.cpp | 29 int HiSysEventInnerWrite(const char* func, int64_t line, const std::string& domain, const std::stri… in HiSysEventInnerWrite() argument 33 domain.c_str(), name.c_str(), type, size); in HiSysEventInnerWrite() 34 return HiSysEvent::Write(func, line, domain, name, HiSysEvent::EventType(type), params, size); in HiSysEventInnerWrite() 43 int HiSysEvent_Write(const char* func, int64_t line, const char* domain, const char* name, in HiSysEvent_Write() argument 46 if (domain == nullptr) { in HiSysEvent_Write() 52 return OHOS::HiviewDFX::HiSysEventInnerWrite(func, line, domain, name, type, params, size); in HiSysEvent_Write()
|
/base/usb/usb_manager/frameworks/dialog/functionswitch_ui/usb_function_dialog/src/main/ets/util/ |
D | Logger.ets | 19 private domain: number; 25 this.domain = 0x0000; 26 hilog.isLoggable(this.domain, prefix, hilog.LogLevel.INFO); 27 hilog.isLoggable(this.domain, prefix, hilog.LogLevel.DEBUG); 28 hilog.isLoggable(this.domain, prefix, hilog.LogLevel.WARN); 29 hilog.isLoggable(this.domain, prefix, hilog.LogLevel.ERROR); 33 hilog.debug(this.domain, this.prefix, this.format, args); 37 hilog.info(this.domain, this.prefix, this.format, args); 41 hilog.warn(this.domain, this.prefix, this.format, args); 45 hilog.error(this.domain, this.prefix, this.format, args);
|
/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() argument 34 SysEventRule(const std::string& domain, const std::string& eventName, 36 : SysEventRule(domain, eventName, "", ruleType, eventType) {} 44 std::string domain; variable
|
D | sys_event_query_rule.h | 32 SysEventQueryRule(const std::string& domain, const std::vector<std::string>& events, 34 … : domain(domain), eventList(events), ruleType(ruleType), eventType(eventType), condition(cond) {}; in domain() function 40 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/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()
|
/base/hiviewdfx/hilog/frameworks/libhilog/ |
D | hilog_printf.cpp | 88 static uint16_t GetFinalLevel(unsigned int domain, const std::string& tag) in GetFinalLevel() argument 97 uint16_t domainLevel = GetDomainLevel(domain); in GetFinalLevel() 103 if ((domain >= DOMAIN_APP_MIN) && (domain <= DOMAIN_APP_MAX)) { in GetFinalLevel() 168 .domain = header.domain, in PrintLog() 187 int HiLogPrintArgs(const LogType type, const LogLevel level, const unsigned int domain, const char … in HiLogPrintArgs() argument 190 if ((type != LOG_APP) && ((domain < DOMAIN_OS_MIN) || (domain > DOMAIN_OS_MAX))) { in HiLogPrintArgs() 193 if (!HiLogIsLoggable(domain, tag, level)) { in HiLogPrintArgs() 281 header.domain = domain; in HiLogPrintArgs() 314 int HiLogPrint(LogType type, LogLevel level, unsigned int domain, const char *tag, const char *fmt,… in HiLogPrint() argument 319 ret = HiLogPrintArgs(type, level, domain, tag, fmt, ap); in HiLogPrint() [all …]
|
/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/hisysevent/test/unittest/common/napi/ |
D | napi_hisysevent.test.js | 56 domain: "RELIABILITY", property 80 domain: "RELIABILITY", property 112 domain: "RELIABILITY", property 147 domain: "RELIABILITY", property 175 domain: "RELIABILITY", property 189 domain: "RELIABILITY", property 225 domain: "RELIABILITY", property 244 domain: "RELIABILITY", property 275 domain: "RELIABILITY", property 294 domain: "RELIABILITY_RELIABILITY", property [all …]
|