/base/usb/usb_manager/ |
D | README.md | 1 # USB Manager `<a name="EN-US_TOPIC_0000001124094823"></a>` 11 The following figure shows the USB service architecture. 13 **Figure 1** USB service architecture`<a name="fig15658513184019"></a>` 18 1. USB API: provides USB APIs that implement various basic functions, for example, query of the USB… 19 2. USB Service: interacts with the HAL layer to receive, parse, and distribute data, manages foregr… 20 …USB HAL: provides driver capability APIs that can be directly called in user mode. The APIs are cl… 47 …ePipe &pip); | Opens a USB device to set up a … 48 … | Closes a USB device to release a… 49 … | Obtains the USB device list. … 50 … | Sets the current configuration of the USB device. … [all …]
|
D | README_zh.md | 1 # USB服务组件<a name="ZH-CN_TOPIC_0000001124094823"></a> 10 USB服务框架如下图所示: 12 **图 1** USB服务框架架图<a name="fig15658513184019"></a> 13 ![](figures/usb-manager-architecture_zh.png "USB服务框架架图") 16 1. USB API:提供USB的基础API,主要包含查询USB设备的列表、设备插拔通知、USB HOST/DEVICE 功能切换、批量数据传输、控制命令传输、USB设备打开的权限控制及USB de… 17 2. USB Service:主要实现HAL层数据接收、解析、分发,前后台的策略管控,对该设备USB的管理,USB权限管控等。 18 3. USB HAL层:提供给用户态可直接调用的驱动能力接口,按照功能分类三大类:DDK初始化类、对interface对象操作类、对request对象操作类,可以提供DDK初始化、interface… 95 3. 打开USB设备 134 1. 设置USB function功能
|
/base/usb/usb_manager/test/fuzztest/usbmgrusbfunctionsfromstring_fuzzer/ |
D | usbmgrusbfunctionsfromstring_fuzzer.cpp | 22 namespace USB { namespace 38 OHOS::USB::UsbMgrUsbFunctionsFromStringFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrrequestright_fuzzer/ |
D | usbmgrrequestright_fuzzer.cpp | 22 namespace USB { namespace 38 OHOS::USB::UsbMgrRequestRightFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrsetportrole_fuzzer/ |
D | usbmgrsetportrole_fuzzer.cpp | 22 namespace USB { namespace 39 OHOS::USB::UsbMgrSetPortRoleFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrgetsupportedmodes_fuzzer/ |
D | usbmgrgetsupportedmodes_fuzzer.cpp | 22 namespace USB { namespace 40 OHOS::USB::UsbMgrGetSupportedModesFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrusbfunctionstostring_fuzzer/ |
D | usbmgrusbfunctionstostring_fuzzer.cpp | 26 namespace USB { namespace 48 OHOS::USB::UsbMgrUsbFunctionsToStringFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrsetcurrentfunctions_fuzzer/ |
D | usbmgrsetcurrentfunctions_fuzzer.cpp | 26 namespace USB { namespace 47 OHOS::USB::UsbMgrSetCurrentFunctionsFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrregbulkcallback_fuzzer/ |
D | usbmgrregbulkcallback_fuzzer.cpp | 24 namespace USB { namespace 49 OHOS::USB::UsbMgrRegBulkCallbackFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrhasright_fuzzer/ |
D | usbmgrhasright_fuzzer.cpp | 22 namespace USB { namespace 51 OHOS::USB::UsbMgrHasRightFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrunregbulkcallback_fuzzer/ |
D | usbmgrunregbulkcallback_fuzzer.cpp | 25 namespace USB { namespace 57 OHOS::USB::UsbMgrUnRegBulkCallbackFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrremoveright_fuzzer/ |
D | usbmgrremoveright_fuzzer.cpp | 22 namespace USB { namespace 56 OHOS::USB::UsbMgrRemoveRightFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrbulkwrite_fuzzer/ |
D | usbmgrbulkwrite_fuzzer.cpp | 24 namespace USB { namespace 55 OHOS::USB::UsbMgrBulkWriteFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrbulkread_fuzzer/ |
D | usbmgrbulkread_fuzzer.cpp | 24 namespace USB { namespace 55 OHOS::USB::UsbMgrBulkReadFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrrequestinitialize_fuzzer/ |
D | usbmgrrequestinitialize_fuzzer.cpp | 22 namespace USB { namespace 54 OHOS::USB::UsbMgrRequestInitializeFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrclose_fuzzer/ |
D | usbmgrclose_fuzzer.cpp | 22 namespace USB { namespace 54 OHOS::USB::UsbMgrCloseFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrsetconfiguration_fuzzer/ |
D | usbmgrsetconfiguration_fuzzer.cpp | 22 namespace USB { namespace 55 OHOS::USB::UsbMgrSetConfigurationFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrclaiminterface_fuzzer/ |
D | usbmgrclaiminterface_fuzzer.cpp | 22 namespace USB { namespace 56 OHOS::USB::UsbMgrClaimInterfaceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrgetfiledescriptor_fuzzer/ |
D | usbmgrgetfiledescriptor_fuzzer.cpp | 22 namespace USB { namespace 56 OHOS::USB::UsbMgrGetFileDescriptorFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrgetrawdescriptors_fuzzer/ |
D | usbmgrgetrawdescriptors_fuzzer.cpp | 22 namespace USB { namespace 56 OHOS::USB::UsbMgrGetRawDescriptorsFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrrequestfree_fuzzer/ |
D | usbmgrrequestfree_fuzzer.cpp | 22 namespace USB { namespace 61 OHOS::USB::UsbMgrRequestFreeFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrrequestqueue_fuzzer/ |
D | usbmgrrequestqueue_fuzzer.cpp | 22 namespace USB { namespace 61 OHOS::USB::UsbMgrRequestQueueFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrsetinterface_fuzzer/ |
D | usbmgrsetinterface_fuzzer.cpp | 22 namespace USB { namespace 62 OHOS::USB::UsbMgrSetInterfaceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrpiperequestwait_fuzzer/ |
D | usbmgrpiperequestwait_fuzzer.cpp | 22 namespace USB { namespace 63 OHOS::USB::UsbMgrPipeRequestWaitFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|
/base/usb/usb_manager/test/fuzztest/usbmgrreleaseinterface_fuzzer/ |
D | usbmgrreleaseinterface_fuzzer.cpp | 22 namespace USB { namespace 63 OHOS::USB::UsbMgrReleaseInterfaceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
|