Home
last modified time | relevance | path

Searched refs:USB (Results 1 – 25 of 115) sorted by relevance

12345

/base/usb/usb_manager/
DREADME.md1 # 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…
20USB 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 …]
DREADME_zh.md1 # 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/
Dusbmgrusbfunctionsfromstring_fuzzer.cpp22 namespace USB { namespace
38 OHOS::USB::UsbMgrUsbFunctionsFromStringFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrrequestright_fuzzer/
Dusbmgrrequestright_fuzzer.cpp22 namespace USB { namespace
38 OHOS::USB::UsbMgrRequestRightFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrsetportrole_fuzzer/
Dusbmgrsetportrole_fuzzer.cpp22 namespace USB { namespace
39 OHOS::USB::UsbMgrSetPortRoleFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrgetsupportedmodes_fuzzer/
Dusbmgrgetsupportedmodes_fuzzer.cpp22 namespace USB { namespace
40 OHOS::USB::UsbMgrGetSupportedModesFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrusbfunctionstostring_fuzzer/
Dusbmgrusbfunctionstostring_fuzzer.cpp26 namespace USB { namespace
48 OHOS::USB::UsbMgrUsbFunctionsToStringFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrsetcurrentfunctions_fuzzer/
Dusbmgrsetcurrentfunctions_fuzzer.cpp26 namespace USB { namespace
47 OHOS::USB::UsbMgrSetCurrentFunctionsFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrregbulkcallback_fuzzer/
Dusbmgrregbulkcallback_fuzzer.cpp24 namespace USB { namespace
49 OHOS::USB::UsbMgrRegBulkCallbackFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrhasright_fuzzer/
Dusbmgrhasright_fuzzer.cpp22 namespace USB { namespace
51 OHOS::USB::UsbMgrHasRightFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrunregbulkcallback_fuzzer/
Dusbmgrunregbulkcallback_fuzzer.cpp25 namespace USB { namespace
57 OHOS::USB::UsbMgrUnRegBulkCallbackFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrremoveright_fuzzer/
Dusbmgrremoveright_fuzzer.cpp22 namespace USB { namespace
56 OHOS::USB::UsbMgrRemoveRightFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrbulkwrite_fuzzer/
Dusbmgrbulkwrite_fuzzer.cpp24 namespace USB { namespace
55 OHOS::USB::UsbMgrBulkWriteFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrbulkread_fuzzer/
Dusbmgrbulkread_fuzzer.cpp24 namespace USB { namespace
55 OHOS::USB::UsbMgrBulkReadFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrrequestinitialize_fuzzer/
Dusbmgrrequestinitialize_fuzzer.cpp22 namespace USB { namespace
54 OHOS::USB::UsbMgrRequestInitializeFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrclose_fuzzer/
Dusbmgrclose_fuzzer.cpp22 namespace USB { namespace
54 OHOS::USB::UsbMgrCloseFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrsetconfiguration_fuzzer/
Dusbmgrsetconfiguration_fuzzer.cpp22 namespace USB { namespace
55 OHOS::USB::UsbMgrSetConfigurationFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrclaiminterface_fuzzer/
Dusbmgrclaiminterface_fuzzer.cpp22 namespace USB { namespace
56 OHOS::USB::UsbMgrClaimInterfaceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrgetfiledescriptor_fuzzer/
Dusbmgrgetfiledescriptor_fuzzer.cpp22 namespace USB { namespace
56 OHOS::USB::UsbMgrGetFileDescriptorFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrgetrawdescriptors_fuzzer/
Dusbmgrgetrawdescriptors_fuzzer.cpp22 namespace USB { namespace
56 OHOS::USB::UsbMgrGetRawDescriptorsFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrrequestfree_fuzzer/
Dusbmgrrequestfree_fuzzer.cpp22 namespace USB { namespace
61 OHOS::USB::UsbMgrRequestFreeFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrrequestqueue_fuzzer/
Dusbmgrrequestqueue_fuzzer.cpp22 namespace USB { namespace
61 OHOS::USB::UsbMgrRequestQueueFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrsetinterface_fuzzer/
Dusbmgrsetinterface_fuzzer.cpp22 namespace USB { namespace
62 OHOS::USB::UsbMgrSetInterfaceFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrpiperequestwait_fuzzer/
Dusbmgrpiperequestwait_fuzzer.cpp22 namespace USB { namespace
63 OHOS::USB::UsbMgrPipeRequestWaitFuzzTest(data, size); in LLVMFuzzerTestOneInput()
/base/usb/usb_manager/test/fuzztest/usbmgrreleaseinterface_fuzzer/
Dusbmgrreleaseinterface_fuzzer.cpp22 namespace USB { namespace
63 OHOS::USB::UsbMgrReleaseInterfaceFuzzTest(data, size); in LLVMFuzzerTestOneInput()

12345