/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 …]
|
D | init.te | 15 allow init domain:{ unix_stream_socket unix_dgram_socket } { create bind setopt }; 18 neverallow { domain -kernel } init:process dyntransition; 19 neverallow { domain -kernel } init:process transition; 23 neverallow { domain -processdump } init:process ptrace; 32 neverallow init domain:{ tcp_socket rawip_socket } *; 33 neverallow init domain:udp_socket ~{ ioctl create };
|
/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/hiviewdfx/hiview/plugins/performance/config/event/ |
D | XperfPlugin | 4 "domain": "AAFWK", 23 "domain": "GRAPHIC", 39 "domain": "INIT", 45 "domain": "LCD", 54 "domain": "MULTIMODALINPUT", 60 "domain":"POWER", 66 "domain":"SCREENLOCK_APP", 72 "domain":"KERNEL_WAKEUP", 79 "domain":"WINDOWMANAGER", 88 "domain":"ACE", [all …]
|
/base/hiviewdfx/hiview/plugins/freeze_detector/config/ |
D | freeze_rules.xml | 16 <rule id="1" domain="KERNEL_VENDOR" stringid="HUNGTASK"> <!-- HUNGTASK --> 18 <event window="0" domain="KERNEL_VENDOR" stringid="HUNGTASK"> <!-- HUNGTASK --> 23 <rule id="2" domain="KERNEL_VENDOR" stringid="SCREEN_ON"> <!-- SCREEN_ON --> 25 <event window="0" domain="KERNEL_VENDOR" stringid="SCREEN_ON"> <!-- SCREEN_ON --> 30 <rule id="3" domain="KERNEL_VENDOR" stringid="SCREEN_OFF"> <!-- SCREEN_OFF --> 32 <event window="0" domain="KERNEL_VENDOR" stringid="SCREEN_OFF"> <!-- SCREEN_OFF --> 37 <rule id="4" domain="WINDOWMANAGER" stringid="NO_FOCUS_WINDOW"> <!-- NO_FOCUS_WINDOW --> 39 … <event window="0" domain="WINDOWMANAGER" stringid="NO_FOCUS_WINDOW"> <!-- NO_FOCUS_WINDOW --> 42 …<event window="10" domain="MULTIMODALINPUT" stringid="TARGET_POINTER_EVENT_FAILURE"> <!-- TARGET_P… 47 <rule id="5" domain="POWER" stringid="SCREEN_ON_TIMEOUT"> <!-- SCREEN_ON_TIMEOUT --> [all …]
|
/base/hiviewdfx/hiview/plugins/freeze_detector/test/resource/base/ |
D | freeze_rules.xml | 16 <rule id="1" domain="KERNEL_VENDOR" stringid="LONG_PRESS"> <!-- LONG_PRESS --> 18 <event window="0" domain="KERNEL_VENDOR" stringid="LONG_PRESS"> <!-- LONG_PRESS --> 21 <event window="-120" domain="KERNEL_VENDOR" stringid="HUNGTASK"> <!-- HUNGTASK --> 26 <rule id="2" domain="KERNEL_VENDOR" stringid="SCREEN_ON"> <!-- SCREEN_ON --> 28 <event window="0" domain="KERNEL_VENDOR" stringid="SCREEN_ON"> <!-- SCREEN_ON --> 33 <rule id="3" domain="KERNEL_VENDOR" stringid="SCREEN_OFF"> <!-- SCREEN_OFF --> 35 <event window="0" domain="KERNEL_VENDOR" stringid="SCREEN_OFF"> <!-- SCREEN_OFF --> 42 <rule id="1" domain="ACE" stringid="UI_BLOCK_6S"> <!-- UI_BLOCK_6S --> 44 <event window="0" domain="ACE" stringid="UI_BLOCK_6S"> <!-- UI_BLOCK_6S --> 47 <event window="-6" domain="ACE" stringid="UI_BLOCK_3S"> <!-- UI_BLOCK_3S --> [all …]
|
/base/hiviewdfx/hiview/plugins/eventlogger/config/ |
D | EventloggerPipeline | 4 "domain": "WINDOWMANAGER", 8 "domain": "ACE", 11 "domain": "MULTIMODALINPUT", 14 "domain": "AAFWK", 18 "domain": "FRAMEWORK", 22 "domain": "KERNEL_VENDOR", 26 "domain": "FFRT", 29 "domain":"POWER", 32 "domain":"FORM_MANAGER",
|
/base/web/webview/ohos_nweb/include/ |
D | nweb_log.h | 34 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 = LOG_RENDER_DOMAIN; \ [all …]
|
/base/powermgr/battery_manager/utils/native/include/ |
D | battery_log.h | 45 // Battery manager reserved domain id range 64 // The end of labels, max to the domain id range length 32 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, #… [all …]
|
/base/powermgr/battery_statistics/utils/native/include/ |
D | stats_log.h | 48 // Battery stats reserved domain id range 64 // The end of labels, max to the domain id range length 32 95 #define STATS_HILOGF(domain, ...) \ argument 96 …((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, STATS_LABEL[domain].domainId, STATS_LABEL[domain].tag, ##__… 97 #define STATS_HILOGE(domain, ...) \ argument 98 …((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, STATS_LABEL[domain].domainId, STATS_LABEL[domain].tag, ##__… 99 #define STATS_HILOGW(domain, ...) \ argument 100 …((void)HILOG_IMPL(LOG_CORE, LOG_WARN, STATS_LABEL[domain].domainId, STATS_LABEL[domain].tag, ##__V… 101 #define STATS_HILOGI(domain, ...) \ argument 102 …((void)HILOG_IMPL(LOG_CORE, LOG_INFO, STATS_LABEL[domain].domainId, STATS_LABEL[domain].tag, ##__V… [all …]
|
/base/powermgr/display_manager/state_manager/utils/native/include/ |
D | display_log.h | 48 // Display manager reserved domain id range 66 // The end of labels, max to the domain id range length 32 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, #… [all …]
|
/base/powermgr/power_manager/utils/native/include/ |
D | power_log.h | 48 // Power manager reserved domain id range 78 // The end of labels, max to the domain id range length 32 135 #define POWER_HILOGF(domain, ...) \ argument 136 …((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__… 137 #define POWER_HILOGE(domain, ...) \ argument 138 …((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__… 139 #define POWER_HILOGW(domain, ...) \ argument 140 …((void)HILOG_IMPL(LOG_CORE, LOG_WARN, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__V… 141 #define POWER_HILOGI(domain, ...) \ argument 142 …((void)HILOG_IMPL(LOG_CORE, LOG_INFO, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__V… [all …]
|
/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/ |
D | AppLaunchConverter.h | 30 point.domain = data.domain; in ConvertToInteractionResponse() 54 point.domain = data.domain; in ConvertToStartAbility() 66 point.domain = data.domain; in ConvertToAppStartupType() 81 point.domain = data.domain; in ConvertToProcessStart() 97 point.domain = data.domain; in ConvertToAppAttach() 111 point.domain = data.domain; in ConvertToAppForeground() 127 point.domain = data.domain; in ConvertToAbilityForeground() 141 point.domain = data.domain; in ConvertToStartWindow() 154 point.domain = data.domain; in ConvertToDrawnCompleted() 169 point.domain = data.domain; in ConvertToFirstFrameDrawn() [all …]
|
/base/startup/init/interfaces/innerkits/include/ |
D | beget_ext.h | 78 INIT_PUBLIC_API void StartupLog(InitLogLevel logLevel, uint32_t domain, const char *tag, const char… 83 #define STARTUP_LOGV(domain, tag, fmt, ...) argument 84 #define STARTUP_LOGI(domain, tag, fmt, ...) argument 85 #define STARTUP_LOGW(domain, tag, fmt, ...) argument 86 #define STARTUP_LOGE(domain, tag, fmt, ...) argument 87 #define STARTUP_LOGF(domain, tag, fmt, ...) argument 90 #define STARTUP_LOGV(domain, tag, fmt, ...) \ argument 91 StartupLog(INIT_DEBUG, domain, tag, "[%s:%d]" fmt, (FILE_NAME), (__LINE__), ##__VA_ARGS__) 92 #define STARTUP_LOGI(domain, tag, fmt, ...) \ argument 93 StartupLog(INIT_INFO, domain, tag, "[%s:%d]" fmt, (FILE_NAME), (__LINE__), ##__VA_ARGS__) [all …]
|
/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() 128 HIVIEW_LOGE("null rule attribute: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() 159 HIVIEW_LOGE("null event attribute:domain."); in ParseTagLinks() 170 FreezeResult result = FreezeResult(window, domain, stringId); in ParseTagLinks() [all …]
|
/base/account/os_account/interfaces/innerkits/domain_account/native/include/ |
D | domain_account_plugin.h | 28 * Authenticates the specified domain account with the specified password, 31 * @param info Indicates the domain account information, including accountName and domain. 39 * Authenticates the specified domain account with a popup. 41 * @param info Indicates the domain account information, including accountName and domain. 48 * Authenticates the specified domain account with an authorization token. 50 * @param info Indicates the domain account information, including accountName and domain. 58 * Gets the authentication property of the specified domain account, 61 * @param info Indicates the domain account information, including accountName and domain.
|
D | domain_account_client.h | 20 * @brief Provides domain account management. 22 * Provides the capability to manage domain accounts. 31 * @brief Declares domain account manager interfaces. 65 … * @brief Registers the domain plugin, which provides the capabilities for domain authentication. 67 * @param plugin - Indicates the domain plugin. 73 * @brief Unregisters domain plugin. 80 * @brief Authenticates the specified domain account with a credential. 82 * @param domainAccountInfo - Indicates the domain account information. 91 * @brief Authenticates a domain account bound with the specified userId with a credential. 93 * @param domainAccountInfo - Indicates the domain account information. [all …]
|
/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() function 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 41 …HIVIEW_LOGD("query domain=%{public}s, names.size=%{public}zu, type=%{public}u, toSeq=%{public}" PR… in BuildQuery() 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/powermgr/battery_statistics/test/unittest/src/clienttest/ |
D | stats_camera_test.cpp | 67 HiSysEventWrite(HiSysEvent::Domain::CAMERA, StatsHiSysEvent::CAMERA_CONNECT, 70 HiSysEventWrite(HiSysEvent::Domain::CAMERA, StatsHiSysEvent::CAMERA_DISCONNECT, 96 HiSysEventWrite(HiSysEvent::Domain::CAMERA, StatsHiSysEvent::CAMERA_CONNECT, 99 …HiSysEventWrite(HiSysEvent::Domain::CAMERA, StatsHiSysEvent::CAMERA_DISCONNECT, HiSysEvent::EventT… 126 HiSysEventWrite(HiSysEvent::Domain::CAMERA, StatsHiSysEvent::CAMERA_CONNECT, 129 …HiSysEventWrite(HiSysEvent::Domain::CAMERA, StatsHiSysEvent::CAMERA_DISCONNECT, HiSysEvent::EventT… 150 HiSysEventWrite(HiSysEvent::Domain::CAMERA, StatsHiSysEvent::CAMERA_CONNECT, 153 …HiSysEventWrite(HiSysEvent::Domain::CAMERA, StatsHiSysEvent::FLASHLIGHT_ON, HiSysEvent::EventType:… 155 …HiSysEventWrite(HiSysEvent::Domain::CAMERA, StatsHiSysEvent::FLASHLIGHT_OFF, HiSysEvent::EventType… 157 …HiSysEventWrite(HiSysEvent::Domain::CAMERA, StatsHiSysEvent::CAMERA_DISCONNECT, HiSysEvent::EventT… [all …]
|
/base/hiviewdfx/hiview/base/event_export/config/ |
D | export_event_list_parser.cpp | 30 constexpr char DOMAIN[] = "domain"; variable 35 void AddDomainNames(const std::string& domain, const std::vector<std::string>& names, in AddDomainNames() argument 41 auto iter = eventList.find(domain); in AddDomainNames() 43 eventList.emplace(domain, names); in AddDomainNames() 53 auto domain = CJsonUtil::GetStringValue(eventItem, DOMAIN); in ParseExportEventList() local 54 HIVIEW_LOGD("domain of current item is %{public}s.", domain.c_str()); in ParseExportEventList() 55 if (domain.empty()) { in ParseExportEventList() 62 AddDomainNames(domain, allEventNames, eventList); in ParseExportEventList() 71 AddDomainNames(domain, allEventNames, eventList); in ParseExportEventList()
|
/base/hiviewdfx/hiview/plugins/faultlogger/config/ |
D | faultloggerPipeline | 4 "domain": "RELIABILITY", 8 "domain": "ACE", 12 "domain": "AAFWK", 16 "domain": "STARTUP",
|
/base/hiviewdfx/hiview/base/event_export/test/resource/export_config/ |
D | test_events.json | 7 "domain": "DOMAIN1", string 11 "domain": "DOMAIN2", string 15 "domain": "DOMAIN1", string 19 "domain": "DOMAIN1", string
|