1 Star 0 Fork 4.9K

平凡 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
ohos_init-h.md 10.95 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

ohos_init.h

Overview

Related Modules:

OHOS Init

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.

1
https://gitee.com/pingfan_vs_hs/docs.git
git@gitee.com:pingfan_vs_hs/docs.git
pingfan_vs_hs
docs
docs
master

搜索帮助