OpenHarmony开发者论坛
标题:
OpenHarmony 4.1 Release的组件分析
[打印本页]
作者:
深开鸿_王石
时间:
2024-4-2 10:56
标题:
OpenHarmony 4.1 Release的组件分析
[md]### 背景
2024年3月30日,OpenHarmony如期而至的发布了4.1版本,开发套件同步升级到API 10 + API11。相比4.0 Release版本,新增4000多个API,应用开发能力更加丰富。虽然社区也同步发布了4.1的release报告 [4.1release报告](
https://gitee.com/openharmony/do ... ony-v4.1-release.md
) 也列了不少特性说明,对熟悉的人可能看的很清晰明了。此文章就做了个表格,从代码层面进行另一种解读。这是借助了社区的编译规范整改做的代码分析,基于的是4.1Release的源码
### 简单解读
* 比4.0增加 96 个组件,增加近 160% 组件,说明 OHOS 的系统层在剧烈变化;其中ndk增加近 290 % 组件,为变化值之最;其意义不言自明;
* 增量最多部分依次为:驱动侧(增改50+模块,覆盖众多常用外设,但是接口相关的,如232, 485等还需要等待),图形侧(增加3d和xcomponent为相机,多媒体,跨平台应用适配提供一众底层能力),电源管理相关(电池相关,电源相关,热能相关等等),各种框架(如投屏,打印,硬解码,DRM,AI等等),全是能力和生产力提升
* SDKAPI增至25546个,NDKAPI数量增至4768个,XTS用例数增加至15w+,开发工具,测试框架及工具均有升级,相关sample也进行的重大升级调整(新增27个分类,178个sample)
* 最重要的,按照兼容性验证规则,新release版本退出后,3.2,4.0版本兼容性验证会逐步停止。
**总结:随着next计划和大量厂商的适配,SDK,NDK,DDK会逐渐丰富,接口也会继续剧烈变化,OHOS 5.0 ,API 12 都在路上了。**
### 组件列表
| **名称** | **描述** | **版本** | **组件** | **子系统** | **系统能力** | **依赖组件** | **依赖三方库** | **子组件** | **基础组件** | **框架组件** | **服务组件** |
| -------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------- | -------------------------------------------------- | -------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------- | ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **@ohos/ffrt** | **Concurrent Programming Framework** | **4.0** | **ffrt** | **resourceschedule** | **["SystemCapability.Resourceschedule.Ffrt.Core"]** | **["hilog", "hisysevent", "napi", "faultloggerd"]** | **["bounds\_checking\_function", "libunwind"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/device\_standby** | **device\_standby** | **4.0** | **device\_standby** | **resourceschedule** | **["SystemCapability.ResourceSchedule.DeviceStandby"]** | **["ability\_base", "ability\_runtime", "access\_token", "background\_task\_mgr", "battery\_manager", "bundle\_framework", "call\_manager", "common\_event\_service", "config\_policy", "c\_utils", "eventhandler", "hilog", "init", "ipc", "input", "napi", "netmanager\_base", "power\_manager", "safwk", "samgr", "sensor", "time\_service", "work\_scheduler", "wifi"]** | **[]** | **[]** | **["//foundation/resourceschedule/device\_standby/utils/common:standby\_utils\_common", "//foundation/resourceschedule/device\_standby/utils/policy:standby\_utils\_policy"]** | **["//foundation/resourceschedule/device\_standby/frameworks:standby\_fwk", "//foundation/resourceschedule/device\_standby/interfaces:standby\_interfaces"]** | **["//foundation/resourceschedule/device\_standby/sa\_profile:device\_standby\_sa\_profile", "//foundation/resourceschedule/device\_standby/interfaces/innerkits:standby\_innerkits", "//foundation/resourceschedule/device\_standby/plugins:standby\_plugin", "//foundation/resourceschedule/device\_standby/services:standby\_service", "//foundation/resourceschedule/device\_standby/utils/policy:standby\_service\_config"]** |
| **@ohos/background\_task\_mgr** | **background task manager service** | **3.1** | **background\_task\_mgr** | **resourceschedule** | **["SystemCapability.ResourceSchedule.BackgroundTaskManager.ContinuousTask", "SystemCapability.ResourceSchedule.BackgroundTaskManager.TransientTask", "SystemCapability.ResourceSchedule.BackgroundTaskManager.EfficiencyResourcesApply"]** | **["ability\_base", "ability\_runtime", "access\_token", "bundle\_framework", "common\_event\_service", "eventhandler", "hitrace", "hilog", "image\_framework", "ipc", "init", "napi", "os\_account", "resource\_management", "safwk", "samgr", "c\_utils", "distributed\_notification\_service", "hisysevent", "hiview", "i18n", "relational\_store"]** | **["icu"]** | **[]** | **[]** | **["//foundation/resourceschedule/background\_task\_mgr/interfaces:bgtaskmgr\_interfaces"]** | **["//foundation/resourceschedule/background\_task\_mgr/sa\_profile:bgtaskmgr\_sa\_profile", "//foundation/resourceschedule/background\_task\_mgr/sa\_profile:bgtaskmgr\_service\_init", "//foundation/resourceschedule/background\_task\_mgr/services:bgtaskmgr\_service", "//foundation/resourceschedule/background\_task\_mgr/resources:bgtaskmgr\_resources"]** |
| **@ohos/resource\_schedule\_service** | **resource schedule service** | **3.1** | **resource\_schedule\_service** | **resourceschedule** | **[]** | **["ability\_base", "ability\_runtime", "access\_token", "audio\_framework", "background\_task\_mgr", "bluetooth", "bundle\_framework", "c\_utils", "common\_event\_service", "config\_policy", "core\_service", "efficiency\_manager", "eventhandler", "ffrt", "frame\_aware\_sched", "ffrt", "hilog", "hisysevent", "hitrace", "init", "ipc", "movement", "input", "samgr", "safwk", "soc\_perf", "state\_registry", "window\_manager", "device\_standby", "power\_manager", "av\_session"]** | **["json", "libxml2"]** | **[]** | **["//foundation/resourceschedule/resource\_schedule\_service/ressched/profile:ressched\_plugin\_config", "//foundation/resourceschedule/resource\_schedule\_service/ressched/profile:ressched\_plugin\_switch", "//foundation/resourceschedule/resource\_schedule\_service/cgroup\_sched/profiles:process\_group\_config"]** | **["//foundation/resourceschedule/resource\_schedule\_service/ressched/interfaces/innerkits/ressched\_client:ressched\_client"]** | **["//foundation/resourceschedule/resource\_schedule\_service/ressched/services:resschedsvc", "//foundation/resourceschedule/resource\_schedule\_service/ressched/plugins/component\_sched\_plugin:component\_sched\_plugin", "//foundation/resourceschedule/resource\_schedule\_service/ressched/plugins/socperf\_plugin:socperf\_plugin", "//foundation/resourceschedule/resource\_schedule\_service/ressched/plugins/frame\_aware\_plugin:frame\_aware\_plugin", "//foundation/resourceschedule/resource\_schedule\_service/ressched/plugins/device\_standby\_plugin:device\_standby\_plugin", "//foundation/resourceschedule/resource\_schedule\_service/ressched/sa\_profile:ressched\_sa\_profile", "//foundation/resourceschedule/resource\_schedule\_service/ressched/etc/init:resource\_schedule\_service.cfg", "//foundation/resourceschedule/resource\_schedule\_service/cgroup\_sched/framework:cgroup\_sched", "//foundation/resourceschedule/resource\_schedule\_service/cgroup\_sched/framework/process\_group:libprocess\_group"]** |
| **@ohos/soc\_perf** | **resource schedule service** | **3.1** | **soc\_perf** | **resourceschedule** | **[]** | **["access\_token", "c\_utils", "config\_policy", "eventhandler", "ffrt", "hitrace", "hilog", "ipc", "init", "safwk", "samgr", "hisysevent"]** | **["libxml2"]** | **[]** | **["//foundation/resourceschedule/resource\_schedule\_service/soc\_perf/profile:socperf\_config"]** | **["//foundation/resourceschedule/resource\_schedule\_service/soc\_perf/interfaces/inner\_api/socperf\_client:socperf\_client"]** | **["//foundation/resourceschedule/resource\_schedule\_service/soc\_perf/sa\_profile:socperf\_sa\_profile", "//foundation/resourceschedule/resource\_schedule\_service/soc\_perf/services:socperf\_server"]** |
| **@ohos/qos\_manager** | **qos\_manager** | **3.1** | **qos\_manager** | **resourceschedule** | **[]** | **["ability\_base", "ability\_runtime", "access\_token", "c\_utils", "frame\_aware\_sched", "hilog", "hitrace", "init", "ipc", "safwk", "samgr"]** | **["json", "jsoncpp"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/frame\_aware\_sched** | **frame\_aware\_sched** | **3.1** | **frame\_aware\_sched** | **resourceschedule** | **[]** | **["c\_utils", "eventhandler", "ffrt", "hitrace", "hilog", "samgr", "safwk"]** | **["bounds\_checking\_function", "libxml2"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/memmgr** | **memory management** | **3.1.0** | **memmgr** | **resourceschedule** | **null** | **["ipc", "ability\_base", "bundle\_framework", "safwk", "background\_task\_mgr", "ability\_runtime", "os\_account", "common\_event\_service", "eventhandler", "hilog", "c\_utils", "samgr", "resource\_management", "access\_token", "init", "hitrace", "image\_framework", "memory\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/work\_scheduler** | **work scheduler service** | **3.1** | **work\_scheduler** | **resourceschedule** | **["SystemCapability.ResourceSchedule.WorkScheduler"]** | **["thermal\_manager", "bundle\_framework", "safwk", "os\_account", "common\_event\_service", "ipc", "c\_utils", "ability\_runtime", "hilog", "samgr", "hisysevent", "napi", "battery\_manager", "ability\_base", "eventhandler", "background\_task\_mgr", "device\_standby", "device\_usage\_statistics", "access\_token", "netmanager\_base", "time\_service", "init"]** | **["jsoncpp"]** | **[]** | **[]** | **["//foundation/resourceschedule/work\_scheduler/interfaces/kits/js:workscheduler", "//foundation/resourceschedule/work\_scheduler/frameworks:workschedclient", "//foundation/resourceschedule/work\_scheduler/frameworks/extension:workschedextension", "//foundation/resourceschedule/work\_scheduler/interfaces/kits/js/napi/work\_scheduler\_extension:workschedulerextensionability\_napi", "//foundation/resourceschedule/work\_scheduler/interfaces/kits/js/napi/work\_scheduler\_extension\_context:workschedulerextensioncontext\_napi"]** | **["//foundation/resourceschedule/work\_scheduler/services:workschedservice", "//foundation/resourceschedule/work\_scheduler/sa\_profile:worksched\_sa\_profile"]** |
| **@ohos/device\_usage\_statistics** | **device usage statistics** | **3.1** | **device\_usage\_statistics** | **resourceschedule** | **["SystemCapability.ResourceSchedule.UsageStatistics.AppGroup", "SystemCapability.ResourceSchedule.UsageStatistics.App"]** | **["bundle\_framework", "relational\_store", "safwk", "common\_event\_service", "os\_account", "ipc", "access\_token", "ability\_runtime", "hilog", "samgr", "c\_utils", "napi", "ability\_base", "background\_task\_mgr", "eventhandler", "power\_manager", "time\_service", "init", "ffrt"]** | **[]** | **[]** | **[]** | **["//foundation/resourceschedule/device\_usage\_statistics:usagestatsinner", "//foundation/resourceschedule/device\_usage\_statistics:usagestatsutils", "//foundation/resourceschedule/device\_usage\_statistics:bundlestate"]** | **["//foundation/resourceschedule/device\_usage\_statistics:usagestatservice", "//foundation/resourceschedule/device\_usage\_statistics:device\_usage\_statistics\_sa\_profile", "//foundation/resourceschedule/device\_usage\_statistics:device\_usage\_statistics\_service\_init", "//foundation/resourceschedule/device\_usage\_statistics:usagestatistics"]** |
| **@ohos/samgr** | **system ability manager** | **3.1** | **samgr** | **systemabilitymgr** | **null** | **["ability\_base", "access\_token", "bluetooth", "c\_utils", "common\_event\_service", "device\_manager", "ffrt", "hicollie", "hilog", "hisysevent", "hitrace", "init", "ipc", "preferences", "resource\_schedule\_service", "safwk", "selinux\_adapter"]** | **[]** | **[]** | **[]** | **["//foundation/systemabilitymgr/samgr/interfaces/innerkits/common:samgr\_common", "//foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr\_proxy:samgr\_proxy", "//foundation/systemabilitymgr/samgr/interfaces/innerkits/dynamic\_cache:dynamic\_cache"]** | **["//foundation/systemabilitymgr/samgr/etc:samgr\_etc", "//foundation/systemabilitymgr/samgr/services/samgr/native:samgr"]** |
| **@ohos/samgr\_lite** | **system ability manager** | **4.0.2** | **samgr\_lite** | **systemabilitymgr** | **null** | **["hilog\_lite", "ipc", "liteos\_m", "permission\_lite", "utils\_lite"]** | **["bounds\_checking\_function", "cJSON"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/safwk\_lite** | **system ability framework** | **3.1** | **safwk\_lite** | **systemabilitymgr** | **null** | **["ability\_lite", "battery\_lite", "bundle\_framework\_lite", "dmsfwk\_lite", "hilog\_lite", "permission\_lite", "powermgr\_lite", "samgr\_lite"]** | **["bounds\_checking\_function", "cJSON"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/safwk** | **system ability framework** | **3.1** | **safwk** | **systemabilitymgr** | **null** | **["hilog", "hitrace", "ipc", "init", "samgr", "c\_utils"]** | **[]** | **[]** | **["//foundation/systemabilitymgr/safwk/etc/profile:foundation\_cfg", "//foundation/systemabilitymgr/safwk/etc/profile:foundation\_trust", "//foundation/systemabilitymgr/safwk/services/safwk:sa\_main", "//foundation/systemabilitymgr/safwk/interfaces/innerkits/safwk:system\_ability\_fwk"]** | **[]** | **[]** |
| **@ohos/selinux\_adapter** | **security-enhanced linux(SELINUX) is a mandatory access control mechanism on linux** | **3.1** | **selinux\_adapter** | **security** | **null** | **["hilog"]** | **["pcre2", "selinux", "bounds\_checking\_function"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/appverify** | **Signature verification for HAP packages** | **4.0** | **appverify** | **security** | **[]** | **["c\_utils", "hilog", "init", "os\_account"]** | **["json", "openssl", "cJSON", "bounds\_checking\_function", "mbedtls"]** | **[]** | **[]** | **[]** | **[]** |
| **@openharmony/security\_component\_manager** | **security\_component\_manager** | **4.0.0** | **security\_component\_manager** | **security** | **[]** | **["ability\_base", "ability\_runtime", "access\_token", "c\_utils", "eventhandler", "hilog", "hisysevent", "hitrace", "graphic\_2d", "ipc", "safwk", "samgr", "window\_manager"]** | **["cJSON"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/dataclassification** | **data transmission control** | **3.1** | **dataclassification** | **security** | **["SystemCapability.Security.DataTransitManager"]** | **["device\_security\_level", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/crypto\_framework** | **Openharmony's crypto framework.** | **3.2** | **crypto\_framework** | **security** | **["SystemCapability.Security.CryptoFramework"]** | **["hilog", "c\_utils", "napi"]** | **["openssl", "bounds\_checking\_function"]** | **[]** | **[]** | **[]** | **[]** |
| **@openharmony/access\_token** | **access\_token** | **3.1.0** | **access\_token** | **security** | **["SystemCapability.Security.AccessToken"]** | **["ability\_base", "ability\_runtime", "c\_utils", "common\_event\_service", "config\_policy", "device\_manager", "dsoftbus", "eventhandler", "ffrt", "hicollie", "hisysevent", "hitrace", "hilog", "init", "ipc", "napi", "power\_manager", "safwk", "samgr", "screenlock\_mgr", "selinux\_adapter"]** | **["bounds\_checking\_function", "cJSON", "mbedtls", "sqlite", "zlib"]** | **[]** | **["//base/security/access\_token/tools:tools\_atm"]** | **["//base/security/access\_token/interfaces/kits:napi\_packages"]** | **["//base/security/access\_token/services/accesstokenmanager:accesstoken\_manager\_service", "//base/security/access\_token/services/accesstokenmanager/main/sa\_profile:accesstoken\_sa\_profile\_standard", "//base/security/access\_token/services/tokensyncmanager:tokensyncmanager", "//base/security/access\_token/services/privacymanager:privacymanager", "//base/security/access\_token/services/accesstokenmanager/etc:access\_token.para", "//base/security/access\_token/services/accesstokenmanager/etc:access\_token.para.dac"]** |
| **@ohos/certificate\_framework** | **Openharmony's certificate framework.** | **4.0** | **certificate\_framework** | **security** | **["SystemCapability.Security.Cert"]** | **["c\_utils", "crypto\_framework", "hilog", "napi"]** | **["openssl"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/huks** | **The provider of key and certificate manangement capbility, which belongs to security subsystem** | **4.0.2** | **huks** | **security** | **["SystemCapability.Security.Huks.Extension", "SystemCapability.Security.Huks.Core", "SystemCapability.Security.Cipher"]** | **["ability\_base", "access\_token", "bundle\_framework", "c\_utils", "common\_event\_service", "hisysevent", "hitrace", "hilog", "hilog\_lite", "ipc", "napi", "os\_account", "safwk", "samgr", "user\_auth\_framework", "drivers\_interface\_user\_auth", "drivers\_interface\_huks"]** | **["bounds\_checking\_function", "openssl", "mbedtls", "cJSON"]** | **[]** | **[]** | **["//base/security/huks:fwk\_group"]** | **["//base/security/huks:service\_group"]** |
| **@ohos/asset** | **The asset store service (ASSET) provides secure storage and management of sensitive data.** | **4.1** | **asset** | **security** | **["SystemCapability.Security.Asset"]** | **["ability\_base", "access\_token", "bundle\_framework", "common\_event\_service", "c\_utils", "hilog", "hitrace", "hisysevent", "huks", "ipc", "napi", "safwk", "samgr", "sqlite", "os\_account"]** | **["sqlite"]** | **[]** | **["//base/security/asset:asset\_component"]** | **null** | **null** |
| **@ohos/code\_signature** | **Code signature** | **4.0** | **code\_signature** | **security** | **[]** | **["hilog", "hitrace", "hisysevent", "ability\_base", "c\_utils", "ipc", "samgr", "safwk", "huks", "eventhandler", "access\_token", "ylong\_json", "appverify", "init"]** | **["openssl", "fsverity-utils"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/certificate\_manager** | **The provider of certificate manangement capbility, which belongs to security subsystem** | **4.0** | **certificate\_manager** | **security** | **["SystemCapability.Security.CertificateManager"]** | **["ability\_base", "access\_token", "bundle\_framework", "common\_event\_service", "c\_utils", "eventhandler", "hisysevent", "hilog", "huks", "ipc", "napi", "os\_account", "safwk", "samgr", "security\_guard"]** | **["openssl"]** | **[]** | **["//base/security/certificate\_manager:cert\_manager\_type\_base"]** | **["//base/security/certificate\_manager:cert\_manager\_type\_fwk"]** | **["//base/security/certificate\_manager:cert\_manager\_typer\_services"]** |
| **@ohos/device\_security\_level** | **openharmony's device security level management** | **3.0.0** | **device\_security\_level** | **security** | **["SystemCapability.Security.DeviceSecurityLevel"]** | **["c\_utils", "device\_auth", "device\_manager", "dsoftbus", "hilog", "hisysevent", "hitrace", "huks", "ipc", "safwk", "samgr"]** | **["cJSON", "openssl"]** | **[]** | **[]** | **["//base/security/device\_security\_level/interfaces/inner\_api:fwk\_group"]** | **["//base/security/device\_security\_level/oem\_property/ohos:dslm\_service", "//base/security/device\_security\_level/oem\_property/ohos:dslm\_ohos\_cred\_file", "//base/security/device\_security\_level/profile:dslm\_service.rc"]** |
| **@ohos/device\_auth** | **The device authentication module belongs to the security subsystem of OpenHarmony. It manages the entire lifecycle of trust relationships between devices.** | **4.0.2** | **device\_auth** | **security** | **["SystemCapability.Security.DeviceAuth"]** | **["ability\_base", "access\_token", "common\_event\_service", "c\_utils", "dsoftbus", "hilog", "hisysevent", "hitrace", "huks", "init", "os\_account", "samgr", "ipc"]** | **["bounds\_checking\_function", "cJSON", "mbedtls", "openssl"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_power** | **power device driver interface** | **3.2** | **drivers\_interface\_power** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_thermal** | **thermal device driver interface** | **3.2** | **drivers\_interface\_thermal** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_audio** | **audio driver interface** | **3.2** | **drivers\_interface\_audio** | **hdf** | **null** | **["c\_utils", "hdf\_core", "hilog"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_act\_recg** | **activity recognition device driver interface** | **3.2** | **drivers\_interface\_act\_recg** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_light** | **light device driver interface** | **4.0** | **drivers\_interface\_light** | **hdf** | **[]** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_usb** | **drivers interface usb** | **3.1** | **drivers\_interface\_usb** | **hdf** | **[]** | **["c\_utils", "ipc", "hdf\_core", "hilog"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_distributed\_camera** | **drivers interface distributed camera** | **3.2** | **drivers\_interface\_distributed\_camera** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_distributed\_audio** | **distributed audio device driver interface** | **4.0** | **drivers\_interface\_distributed\_audio** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_battery** | **battery device driver interface** | **3.2** | **drivers\_interface\_battery** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_face\_auth** | **face auth device driver** | **4.0** | **drivers\_interface\_face\_auth** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils", "graphic\_surface", "drivers\_interface\_camera"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_location\_geofence** | **geofence device driver interface** | **3.2** | **drivers\_interface\_location\_geofence** | **hdf** | **["SystemCapability.Location.Location.Geofence"]** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_location\_agnss** | **agnss device driver interface** | **3.2** | **drivers\_interface\_location\_agnss** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_lpfence** | **low power fence device driver interface** | **4.0** | **drivers\_interface\_lpfence** | **hdf** | **[]** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_location\_gnss** | **gnss device driver interface** | **3.2** | **drivers\_interface\_location\_gnss** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_bluetooth** | **bluetooth device driver interface** | **3.2** | **drivers\_interface\_bluetooth** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_sensor** | **sensor device driver interface** | **4.1** | **drivers\_interface\_sensor** | **hdf** | **[]** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_memorytracker** | **memorytracker\_hdf** | **3.1** | **drivers\_interface\_memorytracker** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_drm** | **drm device driver interface** | **4.0** | **drivers\_interface\_drm** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_wlan** | **wlan device driver interface** | **4.0** | **drivers\_interface\_wlan** | **hdf** | **null** | **["hdf\_core", "hilog", "c\_utils", "ipc"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_motion** | **motion device driver interface** | **4.0** | **drivers\_interface\_motion** | **hdf** | **[]** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_huks** | **huks device driver** | **4.0** | **drivers\_interface\_huks** | **hdf** | **null** | **["hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_connected\_nfc\_tag** | **drivers interface connected nfc tag** | **3.2** | **drivers\_interface\_connected\_nfc\_tag** | **hdf** | **[""]** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_display** | **display device driver interface** | **4.0** | **drivers\_interface\_display** | **hdf** | **null** | **["hdf\_core", "hilog", "c\_utils", "ipc", "graphic\_surface", "init", "hitrace"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_nfc** | **drivers interface nfc** | **3.2** | **drivers\_interface\_nfc** | **hdf** | **[""]** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_pin\_auth** | **pinauth device driver interface** | **4.0** | **drivers\_interface\_pin\_auth** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_codec** | **codec device driver interface** | **4.0** | **drivers\_interface\_codec** | **hdf** | **[]** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_nnrt** | **driver interface for neural network runtime.** | **4.0** | **drivers\_interface\_nnrt** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_input** | **input device driver interface** | **4.0** | **drivers\_interface\_input** | **hdf** | **null** | **["c\_utils", "ipc", "hdf\_core", "hilog"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_vibrator** | **vibrator device driver interface** | **4.0** | **drivers\_interface\_vibrator** | **hdf** | **[]** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_secure\_element** | **drivers interface secure\_element** | **4.0** | **drivers\_interface\_secure\_element** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_intelligent\_voice** | **intelligent voice driver interface** | **4.0** | **drivers\_interface\_intelligent\_voice** | **hdf** | **null** | **["c\_utils", "hdf\_core", "hilog", "ipc"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_fingerprint\_auth** | **fingerprint\_auth device driver interface** | **4.0** | **drivers\_interface\_fingerprint\_auth** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_user\_auth** | **user\_auth device driver** | **4.1** | **drivers\_interface\_user\_auth** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_ril** | **telephony ril device driver interface** | **4.0** | **drivers\_interface\_ril** | **hdf** | **null** | **["c\_utils", "hilog", "hdf\_core", "ipc"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_camera** | **camera device driver interface** | **4.0** | **drivers\_interface\_camera** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils", "graphic\_surface"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_interface\_partitionslot** | **partitionslot device driver interface** | **3.2** | **drivers\_interface\_partitionslot** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/external\_device\_manager** | **external device driver framework** | **4.0** | **external\_device\_manager** | **hdf** | **["SystemCapability.Driver.HID.Extension", "SystemCapability.Driver.ExternalDevice", "SystemCapability.Driver.USB.Extension"]** | **["hilog", "init", "ipc", "samgr", "ability\_base", "common\_event\_service", "c\_utils", "os\_account", "drivers\_interface\_usb", "bundle\_framework", "ability\_runtime", "hisysevent", "hitrace", "napi", "safwk", "eventhandler", "ace\_engine", "access\_token", "relational\_store", "drivers\_interface\_input"]** | **["jsoncpp"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/hdf\_core** | **device driver framework** | **4.0** | **hdf\_core** | **hdf** | **null** | **["hilog", "c\_utils", "init", "ipc", "samgr", "selinux\_adapter"]** | **["bounds\_checking\_function"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_power** | **power\_hdf** | **3.1** | **drivers\_peripheral\_power** | **hdf** | **null** | **["c\_utils", "config\_policy", "drivers\_interface\_power", "hdf\_core", "hilog", "hisysevent", "ipc"]** | **["libxml2", "jsoncpp"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_thermal** | **thermal device driver** | **3.1** | **drivers\_peripheral\_thermal** | **hdf** | **null** | **["c\_utils", "config\_policy", "drivers\_interface\_thermal", "init", "ipc", "hdf\_core", "hilog"]** | **["libxml2", "zlib"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_audio** | **audio device driver** | **4.0** | **drivers\_peripheral\_audio** | **hdf** | **null** | **["c\_utils", "hilog", "hdf\_core", "drivers\_interface\_audio", "hitrace"]** | **["bounds\_checking\_function", "cJSON", "alsa-lib"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_light** | **light device driver** | **4.0** | **drivers\_peripheral\_light** | **hdf** | **[]** | **["ipc", "hdf\_core", "hilog", "c\_utils", "drivers\_interface\_light", "hitrace", "hilog\_lite"]** | **["bounds\_checking\_function"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_usb** | **usb device driver** | **3.1** | **drivers\_peripheral\_usb** | **hdf** | **[]** | **["ipc", "hdf\_core", "hilog", "hilog\_lite", "samgr", "init", "hitrace", "c\_utils", "drivers\_interface\_usb", "hisysevent"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_distributed\_camera** | **drivers peripheral distributed camera** | **3.2** | **drivers\_peripheral\_distributed\_camera** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils", "samgr", "drivers\_interface\_display", "drivers\_interface\_distributed\_camera", "graphic\_surface", "drivers\_interface\_camera"]** | **["jsoncpp"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_distributed\_audio** | **distributed audo device driver** | **4.0** | **drivers\_peripheral\_distributed\_audio** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "drivers\_interface\_distributed\_audio", "c\_utils", "samgr"]** | **["cJSON"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_battery** | **battery hdf** | **3.1** | **drivers\_peripheral\_battery** | **hdf** | **null** | **["c\_utils", "config\_policy", "drivers\_interface\_battery", "drivers\_interface\_light", "hdf\_core", "hilog", "ipc"]** | **["jsoncpp"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_face\_auth** | **face auth device driver** | **4.0** | **drivers\_peripheral\_face\_auth** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils", "drivers\_interface\_camera", "drivers\_interface\_face\_auth", "graphic\_surface"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_location\_geofence** | **location geofence hdf** | **1.0** | **drivers\_peripheral\_location\_geofence** | **hdf** | **null** | **["c\_utils", "drivers\_interface\_location\_geofence", "ipc", "hdf\_core", "hilog"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_location\_agnss** | **location agnss hdf** | **1.0** | **drivers\_peripheral\_location\_agnss** | **hdf** | **null** | **["c\_utils", "drivers\_interface\_location\_agnss", "drivers\_peripheral\_location\_gnss", "ipc", "hdf\_core", "hilog"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_location\_gnss** | **location gnss hdf** | **1.0** | **drivers\_peripheral\_location\_gnss** | **hdf** | **null** | **["c\_utils", "drivers\_interface\_location\_gnss", "ipc", "hdf\_core", "hilog"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_bluetooth** | **bluetooth device driver** | **3.1** | **drivers\_peripheral\_bluetooth** | **hdf** | **null** | **["c\_utils", "drivers\_peripheral\_bluetooth", "hdf\_core", "hilog", "ipc", "samgr", "drivers\_interface\_bluetooth", "bluetooth\_service"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_sensor** | **sensor device driver** | **4.0** | **drivers\_peripheral\_sensor** | **hdf** | **[]** | **["ipc", "hdf\_core", "hilog", "hitrace", "c\_utils", "drivers\_interface\_sensor", "hilog\_lite"]** | **["bounds\_checking\_function"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_clearplay** | **clearplay drm device driver** | **4.0** | **drivers\_peripheral\_clearplay** | **hdf** | **[]** | **["bounds\_checking\_function", "drivers\_interface\_drm", "c\_utils", "hdf\_core", "hilog", "ipc"]** | **["openssl", "cJSON"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_memorytracker** | **memorytracker\_hdf** | **3.1** | **drivers\_peripheral\_memorytracker** | **hdf** | **[]** | **["ipc", "hdf\_core", "hilog", "c\_utils", "drivers\_interface\_memorytracker"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_wlan** | **wlan device driver** | **4.0** | **drivers\_peripheral\_wlan** | **hdf** | **null** | **["hdf\_core", "hilog", "c\_utils", "drivers\_interface\_wlan", "ipc", "hilog\_lite", "wpa\_supplicant", "init"]** | **["libnl"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_motion** | **motion device driver** | **4.0** | **drivers\_peripheral\_motion** | **hdf** | **[]** | **["ipc", "hdf\_core", "hilog", "hitrace", "c\_utils", "drivers\_interface\_motion"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_huks** | **huks device driver** | **4.0** | **drivers\_peripheral\_huks** | **hdf** | **null** | **["hilog", "c\_utils", "hdf\_core", "drivers\_interface\_huks"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_connected\_nfc\_tag** | **connected nfc tag device driver** | **3.1** | **drivers\_peripheral\_connected\_nfc\_tag** | **hdf** | **["SystemCapability.Communication.ConnectedTag"]** | **["ipc", "hdf\_core", "hilog", "c\_utils", "drivers\_interface\_connected\_nfc\_tag"]** | **["bounds\_checking\_function"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_display** | **display device driver** | **3.1** | **drivers\_peripheral\_display** | **hdf** | **null** | **["hdf\_core", "hilog", "c\_utils", "ipc", "drivers\_interface\_display", "graphic\_surface", "init", "hitrace"]** | **["libdrm"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_nfc** | **nfc hdf** | **1.0** | **drivers\_peripheral\_nfc** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils", "drivers\_interface\_nfc", "init"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_pin\_auth** | **pin auth device driver** | **4.0** | **drivers\_peripheral\_pin\_auth** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils", "init", "drivers\_interface\_pin\_auth"]** | **["openssl"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_codec** | **codec device driver** | **4.0** | **drivers\_peripheral\_codec** | **hdf** | **[]** | **["bounds\_checking\_function", "c\_utils", "drivers\_interface\_codec", "drivers\_interface\_display", "drivers\_peripheral\_display", "graphic\_surface", "hdf\_core", "hitrace", "hilog", "ipc"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_input** | **input device driver** | **4.0** | **drivers\_peripheral\_input** | **hdf** | **null** | **["ipc", "c\_utils", "hdf\_core", "hilog", "hilog\_lite", "drivers\_interface\_input"]** | **["bounds\_checking\_function"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_vibrator** | **vibrator device driver** | **4.0** | **drivers\_peripheral\_vibrator** | **hdf** | **[]** | **["ipc", "hdf\_core", "hilog", "c\_utils", "hitrace", "drivers\_interface\_vibrator", "hilog\_lite"]** | **["bounds\_checking\_function"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_secure\_element** | **secure\_element hdf** | **4.0** | **drivers\_peripheral\_secure\_element** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils", "drivers\_interface\_secure\_element"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_intelligent\_voice** | **intelligent\_voice device driver** | **4.0** | **drivers\_peripheral\_intelligent\_voice** | **hdf** | **null** | **["c\_utils", "drivers\_interface\_intelligent\_voice", "hdf\_core", "hilog", "ipc"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_fingerprint\_auth** | **fingerprint\_auth device driver** | **4.0** | **drivers\_peripheral\_fingerprint\_auth** | **hdf** | **null** | **["ipc", "hdf\_core", "hilog", "c\_utils", "drivers\_interface\_fingerprint\_auth"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_user\_auth** | **user\_auth device driver** | **4.0** | **drivers\_peripheral\_user\_auth** | **hdf** | **null** | **["ipc", "hdf\_core", "c\_utils", "hilog", "drivers\_interface\_user\_auth"]** | **["openssl"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_ril** | **ril\_hdf** | **4.0** | **drivers\_peripheral\_ril** | **hdf** | **null** | **["c\_utils", "drivers\_interface\_power", "drivers\_interface\_ril", "hdf\_core", "hilog", "ipc", "ril\_adapter"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_camera** | **camera device driver** | **4.0** | **drivers\_peripheral\_camera** | **hdf** | **null** | **["hdf\_core", "hilog", "samgr", "ipc", "drivers\_interface\_camera", "graphic\_surface", "c\_utils", "hitrace"]** | **["ffmpeg", "libjpeg-turbo", "libexif"]** | **[]** | **[]** | **[]** | **[]** |
| **@ohos/drivers\_peripheral\_partitionslot** | **partitionslot hdf** | **3.1** | **drivers\_peripheral\_partitionslot** | **hdf** | **null** | **["ipc", "c\_utils", "hdf\_core", "init", "hilog", "common", "drivers\_interface\_partitionslot"]** | **[]** | **[]** | **[]** | **[]** | **[]** |
[/md]
欢迎光临 OpenHarmony开发者论坛 (https://forums.openharmony.cn/)
Powered by Discuz! X3.5