加入收藏
举报
当前仅显示指定条件回帖 [ 展开查看全部 ]
02-14 20:02
#
文件名称:
hos_init-h.md
所在目录:
Openharmony v1.0 / docs / api / api-SmartVision-Devices
文件大小:
7.68 KB
下载地址:
fenwii/OpenHarmony
   
免责声明:本网站仅提供指向 GitHub 上的文件的链接,所有文件的版权归原作者所有,本网站不对文件内容的合法性、准确性或安全性承担任何责任。
文本预览:
# hos\_init.h
## **Overview**
**Related Modules:**
[OHOS Init](OHOS-Init.md)
**Description:**
Provides the entries for initializing and starting services and features.
This file provides the entries for initializing services and features during service development.
**Since:**
1.0
**Version:**
1.0
## **Summary**
## Macros





















































Macro Name and Value


Description


CORE_INIT(func)   LAYER_INITCALL_DEF(func, core, "core")


Identifies the entry for initializing and starting a core phase by the priority 2.


CORE_INIT_PRI(func, priority)   LAYER_INITCALL(func, core, "core", priority)


Identifies the entry for initializing and starting a core phase by the specified priority.


SYS_SERVICE_INIT(func)   LAYER_INITCALL_DEF(func, sys_service, "sys.service")


Identifies the entry for initializing and starting a core system service by the priority 2.


SYS_SERVICE_INIT_PRI(func, priority)   LAYER_INITCALL(func, sys_service, "sys.service", priority)


Identifies the entry for initializing and starting a core system service by the specified priority.


SYS_FEATURE_INIT(func)   LAYER_INITCALL_DEF(func, sys_feature, "sys.feature")


Identifies the entry for initializing and starting a core system feature by the priority 2.


SYS_FEATURE_INIT_PRI(func, priority)   LAYER_INITCALL(func, sys_feature, "sys.feature", priority)


Identifies the entry for initializing and starting a core system feature by the specified priority.


SYS_RUN(func)   LAYER_INITCALL_DEF(func, run, "run")


Identifies the entry for initializing and starting a system running phase by the priority 2.


SYS_RUN_PRI(func, priority)   LAYER_INITCALL(func, run, "run", priority)


Identifies the entry for initializing and starting a system running phase by the specified priority.


SYSEX_SERVICE_INIT(func)   LAYER_INITCALL_DEF(func, app_service, "app.service")


Identifies the entry for initializing and starting a system service by the priority 2.


SYSEX_SERVICE_INIT_PRI(func, priority)   LAYER_INITCALL(func, app_service, "app.service", priority)


Identifies the entry for initializing and starting a system service by the specified priority.


SYSEX_FEATURE_INIT(func)   LAYER_INITCALL_DEF(func, app_feature, "app.feature")


Identifies the entry for initializing and starting a system feature by the priority 2.


SYSEX_FEATURE_INIT_PRI(func, priority)   LAYER_INITCALL(func, app_feature, "app.feature", priority)


Identifies the entry for initializing and starting a system feature by the specified priority.


APP_SERVICE_INIT(func)   LAYER_INITCALL_DEF(func, app_service, "app.service")


Identifies the entry for initializing and starting an application-layer service by the priority 2.


APP_SERVICE_INIT_PRI(func, priority)   LAYER_INITCALL(func, app_service, "app.service", priority)


Identifies the entry for initializing and starting an application-layer service by the specified priority.


APP_FEATURE_INIT(func)   LAYER_INITCALL_DEF(func, app_feature, "app.feature")


Identifies the entry for initializing and starting an application-layer feature by the priority 2.


APP_FEATURE_INIT_PRI(func, priority)   LAYER_INITCALL(func, app_feature, "app.feature", priority)


Identifies the entry for initializing and starting an application-layer feature by the specified priority.


点赞 回复
回帖
支持markdown部分语法 ?