| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| AppScope/ | 22-Oct-2025 | - | 35 | 32 | ||
| hvigor/ | 22-Oct-2025 | - | 53 | 36 | ||
| usb/ | 22-Oct-2025 | - | 2,365 | 2,125 | ||
| utils/nomralApp/ | 22-Oct-2025 | - | 1,113 | 1,000 | ||
| .gitignore | D | 22-Oct-2025 | 119 | 11 | 11 | |
| LICENSE | D | 22-Oct-2025 | 11.3 KiB | 202 | 169 | |
| README.en.md | D | 22-Oct-2025 | 964 | 37 | 25 | |
| README.md | D | 22-Oct-2025 | 1.7 KiB | 34 | 20 | |
| oh-package-lock.json5 | D | 22-Oct-2025 | 1.4 KiB | 36 | 35 | |
| oh-package.json5 | D | 22-Oct-2025 | 878 | 30 | 28 |
README.en.md
1# usb.manager-test-hap 2 3#### Description 4{**When you're done, you can delete the content in this README and update the file with details for others getting started with your repository**} 5 6#### Software Architecture 7Software architecture description 8 9#### Installation 10 111. xxxx 122. xxxx 133. xxxx 14 15#### Instructions 16 171. xxxx 182. xxxx 193. xxxx 20 21#### Contribution 22 231. Fork the repository 242. Create Feat_xxx branch 253. Commit your code 264. Create Pull Request 27 28 29#### Gitee Feature 30 311. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md 322. Gitee blog [blog.gitee.com](https://blog.gitee.com) 333. Explore open source project [https://gitee.com/explore](https://gitee.com/explore) 344. The most valuable open source project [GVP](https://gitee.com/gvp) 355. The manual of Gitee [https://gitee.com/help](https://gitee.com/help) 366. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/) 37
README.md
1# usb.manager-test-hap 2 3## 项目简介 4 5`usb.manager-test-hap` 项目是一个用于测试 USB 接口的应用程序。该项目基于 ArkTS 开发,旨在通过 HAP 实现两个主要功能: 6 71. **已连接 USB 信息展示**:展示当前所有已连接的 USB 设备信息,并允许用户获取任意已连接 USB 设备的权限。 82. **自动化接口测试**:提供 USB 接口的自动化测试功能。 9 10## 功能介绍 11 12### 已连接 USB 信息展示 13 14该功能允许用户查看当前所有已连接的 USB 设备的信息。用户可以通过界面获取任意已连接 USB 设备的权限,这是使用自动化接口测试功能的前提条件。 15 16### 自动化接口测试 17 18在获取到所需的 USB 权限后,用户可以使用该功能进行 USB 接口的自动化测试。此功能旨在简化和自动化 USB 设备的接口测试过程。 19 20## 使用说明 21 221. **启动应用**:打开 `usb.manager-test-hap` 应用。 232. **查看已连接 USB 信息**:进入已连接 USB 信息展示界面,查看当前所有已连接的 USB 设备信息。 243. **获取 USB 权限**:点击任意已连接的 USB 设备,获取该设备的权限。 254. **进行自动化接口测试**:在获取到所需 USB 设备的权限后,进入自动化接口测试界面,进行 USB 接口的自动化测试。 26 27## 注意事项 28 29- 在使用自动化接口测试功能前,必须先在 USB 信息展示界面获取所需的 USB 设备权限。 30- 请确保您的设备已正确连接 USB 设备,并具备必要的权限,以便应用程序能够正常工作。 31 32## 许可证 33 34本项目基于 [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0) 许可证进行分发和使用。