Home
last modified time | relevance | path

Searched refs:critical (Results 1 – 25 of 121) sorted by relevance

12345

/ohos5.0/build/ohos/packages/
H A Dprocess_field_validate.py47 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 Dsubsys-build-FAQ.md100 ### 提示“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 Dsubsys-power-battery-level-customization.md46 "critical": 10,
61 | critical | 10 | 极低电量 |
302 "critical": 5,
H A Dsubsys-boot-init-service.md31 …| critical | 可选 | 小型系统和标准系统 | 为服务提供抑制机制,服务在配置时间 T 内,频繁重启次数超过设置次数 N 重启系统。 | <br> 类型:int[],如:"c…
128 "critical" : [1, 5, 10], // 服务提供抑制机制
H A Dsubsys-boot-init-faqs.md120 1. 查看服务是否在反复重启, 重启服务是否配置critical
129 2. critcial 使能, 关键进程符合critical 会重启。
/ohos5.0/foundation/resourceschedule/memmgr/common/src/config/
H A Dsystem_memory_level_config.cpp57 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 Dsubsys-build-FAQ.md100 ### "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 Dform_memmgr_client.cpp33 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 Dfaqs-startup.md102 符合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 Dsystem_memory_level_config_test.cpp100 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 Dmem_mgr_client.cpp29 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 Dmem_mgr_client.h25 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 Di_mem_mgr.h63 virtual int32_t SetCritical(int32_t pid, bool critical, int32_t saId = -1) = 0;
H A Dmem_mgr_proxy.h43 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 Dform_memmgr_client.h36 void SetCritical(bool critical);
/ohos5.0/drivers/hdf_core/adapter/uhdf2/manager/
H A Dhdf_devmgr.cfg9 "critical": [1, 4, 60],
/ohos5.0/base/security/device_security_level/
H A DREADME.md23 …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 Dparam_watcher.cfg5 "critical" : [1, 4, 240],
/ohos5.0/foundation/resourceschedule/memmgr/common/include/config/
H A Dsystem_memory_level_config.h38 void SetCritical(unsigned int critical);
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/
H A Dmem_mgr_stub.cpp382 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 Dproper_state_management.md3 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 Dstorage_daemon.cfg17 "critical" : [1, 4, 240],
/ohos5.0/foundation/arkui/ace_engine/test/tools/event_tree_to_graph/src/utils/
H A Dlog_wrapper.py68 logWrapper.logger.critical(msg)
/ohos5.0/foundation/communication/netmanager_base/services/etc/init/
H A Dnetsysnative.cfg17 "critical" : [0, 50, 10],
/ohos5.0/foundation/systemabilitymgr/samgr/etc/
H A Dsamgr_standard.cfg12 "critical" : [1, 1, 60],

12345