/ohos5.0/build/ohos/packages/ |
H A D | process_field_validate.py | 47 self.critical = [] 56 self.critical = [] 70 return critical[0] == 1 90 def set_critical(self, critical: bool): 92 self.critical = critical 131 self.critical = [] 141 self.critical = [] 159 self.critical = process_item["critical"] 161 self.critical = [] 169 if self.critical: [all …]
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-build-FAQ.md | 100 ### 提示“Error: some services do not match with critical whitelist” 102 - **现象描述:** 编译失败:“Error: some services do not match with critical whitelist”。 104 - **可能原因:** 报错中列举出来的进程.cfg配置文件中,定义并使能了critical字段,而该进程未被允许添加critical字段,或该字段配置与白名单中不符。 108 移除进程的critical字段或把critical字段第一位置0。修改原服务.cfg配置文件中的critical字段,非必需的场景下,不要使能critical字段。 110 …关于critical字段的详细使用方法,请参考[服务配置](subsys-boot-init-service.md)。如果由于实现业务功能需要,进程必须要使能critical字段,只有在联系安全专…
|
H A D | subsys-power-battery-level-customization.md | 46 "critical": 10, 61 | critical | 10 | 极低电量 | 302 "critical": 5,
|
H A D | subsys-boot-init-service.md | 31 …| critical | 可选 | 小型系统和标准系统 | 为服务提供抑制机制,服务在配置时间 T 内,频繁重启次数超过设置次数 N 重启系统。 | <br> 类型:int[],如:"c… 128 "critical" : [1, 5, 10], // 服务提供抑制机制
|
H A D | subsys-boot-init-faqs.md | 120 1. 查看服务是否在反复重启, 重启服务是否配置critical。 129 2. critcial 使能, 关键进程符合critical 会重启。
|
/ohos5.0/foundation/resourceschedule/memmgr/common/src/config/ |
H A D | system_memory_level_config.cpp | 57 void SystemMemoryLevelConfig::SetCritical(unsigned int critical) in SetCritical() argument 59 critical_ = critical; in SetCritical() 84 unsigned int critical; in ParseConfig() local 88 XmlHelper::SetUnsignedIntParam(param, "critical", critical, MEMORY_LEVEL_CRITICAL_DEFAULT); in ParseConfig() 94 critical *= KB_PER_MB; in ParseConfig() 99 SetCritical(critical); in ParseConfig() 102 critical); in ParseConfig()
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-build-FAQ.md | 100 ### "Error: some services do not match with critical whitelist" 102 - **Symptom**<br>The build fails, and "Error: some services do not match with critical whitelist" i… 104 …essage, the **critical** field is defined and enabled. However, the **critical** field is not allo… 108 …e the **critical** field or set the first bit of the **critical** field to **0** in the .cfg file … 110 …r details about how to use the **critical** field, see [Service Management](subsys-boot-init-servi…
|
/ohos5.0/foundation/ability/form_fwk/services/form_render_service/src/ |
H A D | form_memmgr_client.cpp | 33 void FormMemmgrClient::SetCritical(bool critical) in SetCritical() argument 36 HILOG_INFO("pid:%{public}" PRId32 ", critical:%{public}d", pid, critical); in SetCritical() 52 if (setCriticalFunc(pid, critical, FORM_RENDER_SERVICE_SAID) != 0) { in SetCritical()
|
/ohos5.0/docs/zh-cn/device-dev/faqs/ |
H A D | faqs-startup.md | 102 符合JSON格式的服务配置无法被正确解析,打印日志 “Service is invalid which has both critical and ondemand attribute”,启动该服务… 106 ondemand属性默认是按需启动的,ondemand和critical属性互斥,两者同时配置,服务不能被正确解析 。 111 2. 服务按需启动, critical是常驻进程配置, 配置ondemand属性后,不需要再配置critical属性, 或者配置critical属性不使能。
|
/ohos5.0/foundation/resourceschedule/memmgr/test/unittest/phone/ |
H A D | system_memory_level_config_test.cpp | 100 unsigned int critical = 0; variable 102 setCri.SetCritical(critical); 103 EXPECT_EQ(setCri.GetCritical(), critical);
|
/ohos5.0/foundation/resourceschedule/memmgr/interface/innerkits/src/ |
H A D | mem_mgr_client.cpp | 29 int32_t set_critical(int32_t pid, bool critical, int32_t saId) in set_critical() argument 31 return OHOS::Memory::MemMgrClient::GetInstance().SetCritical(pid, critical, saId); in set_critical() 269 int32_t MemMgrClient::SetCritical(int32_t pid, bool critical, int32_t saId) in SetCritical() argument 277 return dps->SetCritical(pid, critical, saId); in SetCritical()
|
/ohos5.0/foundation/resourceschedule/memmgr/interface/innerkits/include/ |
H A D | mem_mgr_client.h | 25 int32_t set_critical(int32_t pid, bool critical, int32_t saId = -1); 50 int32_t SetCritical(int32_t pid, bool critical, int32_t saId = -1);
|
H A D | i_mem_mgr.h | 63 virtual int32_t SetCritical(int32_t pid, bool critical, int32_t saId = -1) = 0;
|
H A D | mem_mgr_proxy.h | 43 int32_t SetCritical(int32_t pid, bool critical, int32_t saId = -1) override;
|
/ohos5.0/foundation/ability/form_fwk/services/form_render_service/include/ |
H A D | form_memmgr_client.h | 36 void SetCritical(bool critical);
|
/ohos5.0/drivers/hdf_core/adapter/uhdf2/manager/ |
H A D | hdf_devmgr.cfg | 9 "critical": [1, 4, 60],
|
/ohos5.0/base/security/device_security_level/ |
H A D | README.md | 23 …rol (MAC). The system data can be structured as critical elements and non-critical elements. The c… 25 … Adequate authentication and arbitration are required for any access to critical elements. Devices… 81 #include "device_security_defines.h" // Header file for defining critical data structures.
|
/ohos5.0/base/startup/init/services/param/watcher/etc/ |
H A D | param_watcher.cfg | 5 "critical" : [1, 4, 240],
|
/ohos5.0/foundation/resourceschedule/memmgr/common/include/config/ |
H A D | system_memory_level_config.h | 38 void SetCritical(unsigned int critical);
|
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/ |
H A D | mem_mgr_stub.cpp | 382 bool critical = false; in HandleSetCritical() local 384 if (!data.ReadInt32(pid) || !data.ReadBool(critical) || !data.ReadInt32(saId)) { in HandleSetCritical() 392 SetCritical(pid, critical, saId); in HandleSetCritical()
|
/ohos5.0/docs/en/application-dev/performance/ |
H A D | proper_state_management.md | 3 Proper state management is critical in building a top-rated application. In [Best Practices for Sta…
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/ |
H A D | storage_daemon.cfg | 17 "critical" : [1, 4, 240],
|
/ohos5.0/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/utils/ |
H A D | log_wrapper.py | 68 logWrapper.logger.critical(msg)
|
/ohos5.0/foundation/communication/netmanager_base/services/etc/init/ |
H A D | netsysnative.cfg | 17 "critical" : [0, 50, 10],
|
/ohos5.0/foundation/systemabilitymgr/samgr/etc/ |
H A D | samgr_standard.cfg | 12 "critical" : [1, 1, 60],
|