| /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 signal}; 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 | 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; 21 neverallow init { domain debug_only(`-domain')}:process {noatsecure}; 24 neverallow { domain -processdump } init:process ptrace; 33 neverallow init domain:{ tcp_socket rawip_socket } *; 34 neverallow init domain:udp_socket ~{ ioctl create };
|
| 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 -hap_domain_kernel_violators } { domain -normal_hap_attr }:file never_… 24 neverallow { domain -normal_hap_attr -processdump developer_only(`-lldb_server -hiperf -native_daem… 29 neverallow system_core_hap_attr { domain -system_core_hap_attr }:file never_rw_file; 31 neverallow { domain -system_core_hap_attr -processdump debug_only(`-hiperf -native_daemon') } syste… 36 neverallow system_basic_hap_attr { domain -system_basic_hap_attr }:file never_rw_file; 38 neverallow { domain -system_basic_hap_attr -processdump debug_only(`-hiperf -native_daemon') } syst… [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/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="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/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/eventlogger/config/ |
| D | EventloggerPipeline | 4 "domain": "WINDOWMANAGER", 8 "domain": "ACE", 11 "domain": "MULTIMODALINPUT", 14 "domain": "AAFWK", 21 "domain": "FRAMEWORK", 25 "domain": "KERNEL_VENDOR", 29 "domain": "FFRT", 32 "domain":"POWER", 35 "domain":"FORM_MANAGER", 38 "domain":"SYSTEM_NAV_UE", [all …]
|
| /base/usb/usb_manager/frameworks/ets/taihe/usb_manager/test/xts/ |
| D | usb_base_test.ets | 36 hilog.info(domain, tag, "This USB device is accessory function"); 39 hilog.info(domain, tag, "This USB device is accessory function"); 43 let domain: number = 0x0000; 68 hilog.info(domain, tag, "Test USB device is connected"); 71 hilog.info(domain, tag, "Test USB device is not connected"); 77 …hilog.info(domain, tag, `usb ${testCaseName} connectDevice getPipe ret: ${JSON.stringify(gPipe)}`); 83 console.info(domain, tag, `usb ${testCaseName} closePipe getPipe ret: ${isPipClose}`); 91 hilog.info(domain, tag, '%{public}s', 'describe start'); 93 hilog.info(domain, tag, '%{public}s', 'beforeAll start'); 102 hilog.info(domain, tag, '%{public}s', '-----' + err.code); [all …]
|
| D | addUsbManagerxts.ets | 33 hilog.info(domain, tag, "This USB device is accessory function"); 36 hilog.info(domain, tag, "This USB device is accessory function"); 40 let domain: number = 0x0000; 66 hilog.info(domain, tag, "Test USB device is connected"); 69 hilog.info(domain, tag, "Test USB device is not connected"); 79 …hilog.info(domain, tag, `usb ${testCaseName} connectDevice getPipe ret: ${JSON.stringify(gPipe)}`); 82 hilog.info(domain, tag, "connectDevice error"); 90 console.info(domain, tag, `usb ${testCaseName} closePipe getPipe ret: ${isPipClose}`); 98 hilog.info(domain, tag, '%{public}s', 'describe start'); 100 hilog.info(domain, tag, '%{public}s', 'beforeAll start'); [all …]
|
| D | usb_transfer_test.ets | 34 let domain: number = 0x0000; 40 hilog.info(domain, tag, "This USB device is accessory function"); 43 hilog.info(domain, tag, "This USB device is accessory function"); 67 hilog.info(domain, tag, "Test USB device is connected"); 70 hilog.info(domain, tag, "Test USB device is not connected"); 76 …hilog.info(domain, tag, `usb ${testCaseName} connectDevice getPipe ret: ${JSON.stringify(gPipe)}`); 82 console.info(domain, tag, `usb ${testCaseName} closePipe getPipe ret: ${isPipClose}`); 90 hilog.info(domain, tag, '%{public}s', 'describe start'); 92 hilog.info(domain, tag, '%{public}s', 'beforeAll start'); 101 hilog.info(domain, tag, '%{public}s', '-----' + err.code); [all …]
|
| D | usb_resetDevice_test.ets | 34 let domain: number = 0x0000; 40 hilog.info(domain, tag, "This USB device is accessory function"); 43 hilog.info(domain, tag, "This USB device is accessory function"); 67 hilog.info(domain, tag, "Test USB device is connected"); 70 hilog.info(domain, tag, "Test USB device is not connected"); 76 …hilog.info(domain, tag, `usb ${testCaseName} connectDevice getPipe ret: ${JSON.stringify(gPipe)}`); 82 console.info(domain, tag, `usb ${testCaseName} closePipe getPipe ret: ${isPipClose}`); 90 hilog.info(domain, tag, '%{public}s', 'describe start'); 92 hilog.info(domain, tag, '%{public}s', 'beforeAll start'); 101 hilog.info(domain, tag, '%{public}s', '-----' + err.code); [all …]
|
| /base/powermgr/power_manager/utils/native/include/ |
| D | power_log.h | 70 // Power manager reserved domain id range 100 // The end of labels, max to the domain id range length 32 157 #define POWER_HILOGF(domain, ...) \ argument 158 …((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__… 159 #define POWER_HILOGE(domain, ...) \ argument 160 …((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__… 161 #define POWER_HILOGW(domain, ...) \ argument 162 …((void)HILOG_IMPL(LOG_CORE, LOG_WARN, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__V… 163 #define POWER_HILOGI(domain, ...) \ argument 164 …((void)HILOG_IMPL(LOG_CORE, LOG_INFO, POWER_LABEL[domain].domainId, POWER_LABEL[domain].tag, ##__V… [all …]
|
| /base/security/access_token/frameworks/common/include/ |
| D | accesstoken_common_log.h | 31 #define LOGF(domain, tag, fmt, ...) \ argument 32 ((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, domain, tag, \ 34 #define LOGE(domain, tag, fmt, ...) \ argument 35 ((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, domain, tag, \ 37 #define LOGW(domain, tag, fmt, ...) \ argument 38 ((void)HILOG_IMPL(LOG_CORE, LOG_WARN, domain, tag, \ 40 #define LOGI(domain, tag, fmt, ...) \ argument 41 ((void)HILOG_IMPL(LOG_CORE, LOG_INFO, domain, tag, \ 43 #define LOGD(domain, tag, fmt, ...) \ argument 44 ((void)HILOG_IMPL(LOG_CORE, LOG_DEBUG, domain, tag, \ [all …]
|
| /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 | 47 // Battery manager reserved domain id range 66 // The end of labels, max to the domain id range length 32 101 #define BATTERY_HILOGF(domain, ...) \ argument 102 …((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, BATTERY_LABEL[domain].domainId, BATTERY_LABEL[domain].tag, … 103 #define BATTERY_HILOGE(domain, ...) \ argument 104 …((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, BATTERY_LABEL[domain].domainId, BATTERY_LABEL[domain].tag, … 105 #define BATTERY_HILOGW(domain, ...) \ argument 106 …((void)HILOG_IMPL(LOG_CORE, LOG_WARN, BATTERY_LABEL[domain].domainId, BATTERY_LABEL[domain].tag, #… 107 #define BATTERY_HILOGI(domain, ...) \ argument 108 …((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 | 50 // Battery stats reserved domain id range 66 // The end of labels, max to the domain id range length 32 97 #define STATS_HILOGF(domain, ...) \ argument 98 …((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, STATS_LABEL[domain].domainId, STATS_LABEL[domain].tag, ##__… 99 #define STATS_HILOGE(domain, ...) \ argument 100 …((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, STATS_LABEL[domain].domainId, STATS_LABEL[domain].tag, ##__… 101 #define STATS_HILOGW(domain, ...) \ argument 102 …((void)HILOG_IMPL(LOG_CORE, LOG_WARN, STATS_LABEL[domain].domainId, STATS_LABEL[domain].tag, ##__V… 103 #define STATS_HILOGI(domain, ...) \ argument 104 …((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 | 49 // Display manager reserved domain id range 67 // The end of labels, max to the domain id range length 32 104 #define DISPLAY_HILOGF(domain, ...) \ argument 105 …((void)HILOG_IMPL(LOG_CORE, LOG_FATAL, DISPLAY_LABEL[domain].domainId, DISPLAY_LABEL[domain].tag, … 106 #define DISPLAY_HILOGE(domain, ...) \ argument 107 …((void)HILOG_IMPL(LOG_CORE, LOG_ERROR, DISPLAY_LABEL[domain].domainId, DISPLAY_LABEL[domain].tag, … 108 #define DISPLAY_HILOGW(domain, ...) \ argument 109 …((void)HILOG_IMPL(LOG_CORE, LOG_WARN, DISPLAY_LABEL[domain].domainId, DISPLAY_LABEL[domain].tag, #… 110 #define DISPLAY_HILOGI(domain, ...) \ argument 111 …((void)HILOG_IMPL(LOG_CORE, LOG_INFO, DISPLAY_LABEL[domain].domainId, DISPLAY_LABEL[domain].tag, #… [all …]
|
| /base/hiviewdfx/hiview/plugins/performance/scene_data_processor/ |
| D | AppLaunchConverter.h | 32 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() 113 point.domain = data.domain; in ConvertToAppForeground() 129 point.domain = data.domain; in ConvertToAbilityForeground() 143 point.domain = data.domain; in ConvertToStartWindow() 156 point.domain = data.domain; in ConvertToDrawnCompleted() 171 point.domain = data.domain; in ConvertToFirstFrameDrawn() [all …]
|
| /base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/ |
| D | event_socket_factory.cpp | 74 bool IsHigherPriorityEvent(const std::string& domain, const std::string& name, int type) in IsHigherPriorityEvent() argument 76 if (domain == "AAFWK") { in IsHigherPriorityEvent() 78 } else if (domain == "ACE") { in IsHigherPriorityEvent() 80 } else if (domain == "FRAMEWORK") { in IsHigherPriorityEvent() 82 } else if (domain == "RELIABILITY") { in IsHigherPriorityEvent() 84 } else if (domain == "GRAPHIC") { in IsHigherPriorityEvent() 86 } else if (domain == "MULTIMODALINPUT") { in IsHigherPriorityEvent() 88 } else if (domain == "POWER") { in IsHigherPriorityEvent() 90 } else if (domain == "WINDOWMANAGER") { in IsHigherPriorityEvent() 92 } else if (domain == "SCHEDULE_EXT") { in IsHigherPriorityEvent() [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, (STARTUP_FILE_NAME), (__LINE__), ##__VA_ARGS__) 92 #define STARTUP_LOGI(domain, tag, fmt, ...) \ argument 93 … StartupLog(INIT_INFO, domain, tag, "[%s:%d]" fmt, (STARTUP_FILE_NAME), (__LINE__), ##__VA_ARGS__) [all …]
|
| /base/security/access_token/frameworks/common/src/ |
| D | accesstoken_common_log.cpp | 34 #define ACCESSTOKEN_COMMON_LOGE(domain, tag, fmt, ...) \ argument 37 #define ACCESSTOKEN_COMMON_LOGE(domain, tag, fmt, ...) \ argument 38 ((void)LOGE(domain, tag, fmt, ##__VA_ARGS__)) 57 void AppendThreadErrMsg(unsigned int domain, const char* tag, in AppendThreadErrMsg() argument 61 ACCESSTOKEN_COMMON_LOGE(domain, tag, "Buff will overflow!" in AppendThreadErrMsg() 66 ACCESSTOKEN_COMMON_LOGE(domain, tag, "Failed to memcpy_s!" in AppendThreadErrMsg() 73 static bool ReplaceSubstring(unsigned int domain, const char* tag, in ReplaceSubstring() argument 89 void AddEventMessage(unsigned int domain, const char* tag, in AddEventMessage() argument 96 if (!ReplaceSubstring(domain, tag, format, newFormat)) { in AddEventMessage() 97 ACCESSTOKEN_COMMON_LOGE(domain, tag, "Skip to add errMsg"); in AddEventMessage() [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.
|
| /base/hiviewdfx/hiview/plugins/faultlogger/config/ |
| D | faultloggerPipeline | 4 "domain": "RELIABILITY", 8 "domain": "ACE", 12 "domain": "AAFWK", 16 "domain": "STARTUP", 20 "domain": "CJ_RUNTIME",
|