diff --git a/en/device-dev/subsystems/subsys-utils-faqs.md b/en/device-dev/subsystems/subsys-utils-faqs.md index 0f1ed0e9f06e62e99e05c81ea78333f80bffd007..d6999a44741c163643eaf0b39123cfefe29ffb57 100644 --- a/en/device-dev/subsystems/subsys-utils-faqs.md +++ b/en/device-dev/subsystems/subsys-utils-faqs.md @@ -15,6 +15,6 @@ The compiled executable program is run directly without being converted to an ap Call the **UtilsSetEnv** function of the KV store to set the data storage path. ``` -UtilsSetEnv("/storage/com.huawei.kv"); +UtilsSetEnv("/storage/com.example.kv"); ``` diff --git a/zh-cn/device-dev/bundles/hpm-part-reference.md b/zh-cn/device-dev/bundles/hpm-part-reference.md index 17b0f2cc443fe6bcd381c0e837a71a5c8b400d13..68ba5bae2ca3bdb83015e71261e729b80767523c 100644 --- a/zh-cn/device-dev/bundles/hpm-part-reference.md +++ b/zh-cn/device-dev/bundles/hpm-part-reference.md @@ -242,7 +242,7 @@ Part的依赖关系(包括间接依赖)可以通过hpm list命令显示( ``` $ hpm list +--demo@1.0.0 -| +--@huawei/media@1.0.2 +| +--@example/media@1.0.2 | +--@demo/sport_hi3518ev300_liteos_a@1.0.0 | | +--@demo/app@4.0.1 | | | +--@demo/build@4.0.1 diff --git a/zh-cn/device-dev/porting/porting-bes2600w-on-minisystem-display-demo.md b/zh-cn/device-dev/porting/porting-bes2600w-on-minisystem-display-demo.md index b65533df179d3078518e6d089a5f662f5e93c75a..26cfd20a36b2eb66b0a139be5cdfb69cd90898ce 100644 --- a/zh-cn/device-dev/porting/porting-bes2600w-on-minisystem-display-demo.md +++ b/zh-cn/device-dev/porting/porting-bes2600w-on-minisystem-display-demo.md @@ -1213,7 +1213,7 @@ APP_FEATURE_INIT(AppEntry); `aafwk_lite`相关的应用样例见`vendor/bestechnic/display_demo/tests/ability`目录,包含`launcher`和`js app`这两类应用,应用的函数调用流程描述如下: -1. `launcher`应用,通过`InstallLauncher`安装`BundleName`为 `"com.huawei.launcher"`的`native ui`应用,在`AbilityMgrSliteFeature`启动后会调用`AbilityMgrHandler::StartLauncher()`启动`launcher`应用。 +1. `launcher`应用,通过`InstallLauncher`安装`BundleName`为 `"com.example.launcher"`的`native ui`应用,在`AbilityMgrSliteFeature`启动后会调用`AbilityMgrHandler::StartLauncher()`启动`launcher`应用。 2. `StartJSApp`应用,通过`StartAbility`启动任意`Want`,通过将`want data`传递`JS_APP_PATH`, `SetWantData(&want, JS_APP_PATH, strlen(JS_APP_PATH) + 1)`。 diff --git a/zh-cn/device-dev/subsystems/subsys-aiframework-devguide.md b/zh-cn/device-dev/subsystems/subsys-aiframework-devguide.md index 5de9fe721cbe94bd784c2b09bd70f3258a6af68e..2b749285030c67c8b2528b4ca0496841d7b645b8 100644 --- a/zh-cn/device-dev/subsystems/subsys-aiframework-devguide.md +++ b/zh-cn/device-dev/subsystems/subsys-aiframework-devguide.md @@ -1,6 +1,6 @@ # 开发指导 -为实现AI 引擎框架的接入,开发者需开发上述[图1](subsys-aiframework-guide.md#fig143186187187)中的SDK模块和Plugin模块,通过调用sdk提供的接口,基于AI引擎框架实现调用plugin中算法的能力,从而实现AI能力的生命周期管理和按需部署功能。 +为实现AI 引擎框架的接入,开发者需开发《AI引擎框架开发指南》[图1](subsys-aiframework-guide.md#fig143186187187)中的SDK模块和Plugin模块,通过调用sdk提供的接口,基于AI引擎框架实现调用plugin中算法的能力,从而实现AI能力的生命周期管理和按需部署功能。 - **[SDK开发过程](subsys-aiframework-devguide-sdk.md)** diff --git a/zh-cn/device-dev/subsystems/subsys-boot-faqs.md b/zh-cn/device-dev/subsystems/subsys-boot-faqs.md index 49e36b3f762940e507236c9220c84caf6fc52d47..aa99975af2e18e7609139850230ade8b8ef894cc 100644 --- a/zh-cn/device-dev/subsystems/subsys-boot-faqs.md +++ b/zh-cn/device-dev/subsystems/subsys-boot-faqs.md @@ -29,7 +29,7 @@ **可能原因** -被init启动的服务都有一个叫做“importance”的属性(详见[第2章表3](subsys-boot-init.md#table14737791471)描述)。 +被init启动的服务都有一个叫做“importance”的属性(详见[init启动引导组件表3](subsys-boot-init.md#table14737791471)描述)。 - 当该属性为0时,表示若当前服务进程退出,init不需要重启单板。 - 当该属性为1时,表示若当前服务进程退出,init需要重启单板。 diff --git a/zh-cn/device-dev/subsystems/subsys-boot-overview.md b/zh-cn/device-dev/subsystems/subsys-boot-overview.md index 6e3379866f55012abe89428ae8ce74b6c1d1b68a..d1602e8d6ab69ec3de160e5eaba0b6e2bf202b50 100644 --- a/zh-cn/device-dev/subsystems/subsys-boot-overview.md +++ b/zh-cn/device-dev/subsystems/subsys-boot-overview.md @@ -23,7 +23,7 @@ - init启动引导组件 - init启动引导组件对应的进程为init进程,是内核完成初始化后启动的第一个用户态进程。init进程启动之后,读取init.cfg配置文件,根据解析结果,执行相应命令(见[第2章表2](subsys-boot-init.md#table122681439144112)描述)并依次启动各关键系统服务进程,在启动系统服务进程的同时设置其对应权限。 + init启动引导组件对应的进程为init进程,是内核完成初始化后启动的第一个用户态进程。init进程启动之后,读取init.cfg配置文件,根据解析结果,执行相应命令(见[init启动引导组件表2](subsys-boot-init.md#table122681439144112)描述)并依次启动各关键系统服务进程,在启动系统服务进程的同时设置其对应权限。 - ueventd启动引导组件 diff --git a/zh-cn/device-dev/subsystems/subsys-testguide-test.md b/zh-cn/device-dev/subsystems/subsys-testguide-test.md index 3788200ef39dc7fac2e1b141fa81ffeb1496ecd3..83f4e683332845d5e48906ac2a14557de15bae0b 100644 --- a/zh-cn/device-dev/subsystems/subsys-testguide-test.md +++ b/zh-cn/device-dev/subsystems/subsys-testguide-test.md @@ -76,7 +76,7 @@ subsystem # 子系统 - 用例示例 ``` /* - * Copyright (c) 2021 XXXX Device Co., Ltd. + * Copyright (c) 2022 XXXX Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -142,7 +142,7 @@ subsystem # 子系统 1. 添加测试用例文件头注释信息 ``` /* - * Copyright (c) 2021 XXXX Device Co., Ltd. + * Copyright (c) 2022 XXXX Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -256,7 +256,7 @@ subsystem # 子系统 - 用例示例 ``` /* - * Copyright (C) 2021 XXXX Device Co., Ltd. + * Copyright (C) 2022 XXXX Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -313,7 +313,7 @@ subsystem # 子系统 1. 添加测试用例文件头注释信息 ``` /* - * Copyright (C) 2021 XXXX Device Co., Ltd. + * Copyright (C) 2022 XXXX Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -381,7 +381,7 @@ subsystem # 子系统 - **C++用例编译配置示例** ``` - # Copyright (c) 2021 XXXX Device Co., Ltd. + # Copyright (c) 2022 XXXX Device Co., Ltd. import("//build/test.gni") @@ -417,7 +417,7 @@ subsystem # 子系统 1. 添加文件头注释信息 ``` - # Copyright (c) 2021 XXXX Device Co., Ltd. + # Copyright (c) 2022 XXXX Device Co., Ltd. ``` 2. 导入编译模板文件 ``` @@ -483,7 +483,7 @@ subsystem # 子系统 - **JavaScript用例编译配置示例** ``` - # Copyright (C) 2021 XXXX Device Co., Ltd. + # Copyright (C) 2022 XXXX Device Co., Ltd. import("//build/test.gni") @@ -507,7 +507,7 @@ subsystem # 子系统 1. 添加文件头注释信息 ``` - # Copyright (C) 2021 XXXX Device Co., Ltd. + # Copyright (C) 2022 XXXX Device Co., Ltd. ``` 2. 导入编译模板文件