Home
last modified time | relevance | path

Searched refs:devList (Results 1 - 25 of 33) sorted by relevance

12

/base/usb/usb_manager/test/fuzztest/usbmgrremoveright_fuzzer/
H A Dusbmgrremoveright_fuzzer.cpp26 std::vector<UsbDevice> devList; in UsbMgrRemoveRightFuzzTest() local
27 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrRemoveRightFuzzTest()
28 if (ret != UEC_OK || devList.empty()) { in UsbMgrRemoveRightFuzzTest()
33 ret = usbSrvClient.RequestRight(devList[0].GetName()); in UsbMgrRemoveRightFuzzTest()
39 if (!usbSrvClient.HasRight(devList[0].GetName())) { in UsbMgrRemoveRightFuzzTest()
/base/usb/usb_manager/test/fuzztest/common/src/
H A Dusb_common_fuzz.cpp25 std::vector<UsbDevice> devList; in UsbMgrPrepareFuzzEnv() local
27 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrPrepareFuzzEnv()
28 if (ret != UEC_OK || devList.empty()) { in UsbMgrPrepareFuzzEnv()
34 UsbDevice device = devList.front(); in UsbMgrPrepareFuzzEnv()
42 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().at(1); in UsbMgrPrepareFuzzEnv()
/base/usb/usb_manager/test/fuzztest/usbmgrrequestqueue_fuzzer/
H A Dusbmgrrequestqueue_fuzzer.cpp25 std::vector<UsbDevice> devList; in UsbMgrRequestQueueFuzzTest() local
27 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrRequestQueueFuzzTest()
28 if (ret != UEC_OK || devList.empty()) { in UsbMgrRequestQueueFuzzTest()
34 UsbDevice device = devList.front(); in UsbMgrRequestQueueFuzzTest()
42 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().front(); in UsbMgrRequestQueueFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrrequestfree_fuzzer/
H A Dusbmgrrequestfree_fuzzer.cpp25 std::vector<UsbDevice> devList; in UsbMgrRequestFreeFuzzTest() local
27 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrRequestFreeFuzzTest()
28 if (ret != UEC_OK || devList.empty()) { in UsbMgrRequestFreeFuzzTest()
34 UsbDevice device = devList.front(); in UsbMgrRequestFreeFuzzTest()
42 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().front(); in UsbMgrRequestFreeFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrgetfiledescriptor_fuzzer/
H A Dusbmgrgetfiledescriptor_fuzzer.cpp25 std::vector<UsbDevice> devList; in UsbMgrGetFileDescriptorFuzzTest() local
27 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrGetFileDescriptorFuzzTest()
28 if (ret != UEC_OK || devList.empty()) { in UsbMgrGetFileDescriptorFuzzTest()
34 UsbDevice device = devList.front(); in UsbMgrGetFileDescriptorFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrhasright_fuzzer/
H A Dusbmgrhasright_fuzzer.cpp26 std::vector<UsbDevice> devList; in UsbMgrHasRightFuzzTest() local
27 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrHasRightFuzzTest()
28 if (ret != UEC_OK || devList.empty()) { in UsbMgrHasRightFuzzTest()
33 ret = usbSrvClient.RequestRight(devList[0].GetName()); in UsbMgrHasRightFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrrequestinitialize_fuzzer/
H A Dusbmgrrequestinitialize_fuzzer.cpp25 std::vector<UsbDevice> devList; in UsbMgrRequestInitializeFuzzTest() local
27 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrRequestInitializeFuzzTest()
28 if (ret != UEC_OK || devList.empty()) { in UsbMgrRequestInitializeFuzzTest()
34 UsbDevice device = devList.front(); in UsbMgrRequestInitializeFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrgetdevicespeed_fuzzer/
H A Dusbmgrgetdevicespeed_fuzzer.cpp25 std::vector<UsbDevice> devList; in UsbMgrGetDeviceSpeedFuzzTest() local
27 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrGetDeviceSpeedFuzzTest()
28 if (ret != UEC_OK || devList.empty()) { in UsbMgrGetDeviceSpeedFuzzTest()
34 UsbDevice device = devList.front(); in UsbMgrGetDeviceSpeedFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrclose_fuzzer/
H A Dusbmgrclose_fuzzer.cpp25 std::vector<UsbDevice> devList; in UsbMgrCloseFuzzTest() local
27 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrCloseFuzzTest()
28 if (ret != UEC_OK || devList.empty()) { in UsbMgrCloseFuzzTest()
34 UsbDevice device = devList.front(); in UsbMgrCloseFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrbulktransfer_fuzzer/
H A Dusbmgrbulktransfer_fuzzer.cpp28 std::vector<UsbDevice> devList; in UsbMgrBulkTransferFuzzTest() local
30 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrBulkTransferFuzzTest()
31 if (ret != UEC_OK || devList.empty()) { in UsbMgrBulkTransferFuzzTest()
37 UsbDevice device = devList.front(); in UsbMgrBulkTransferFuzzTest()
45 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().front(); in UsbMgrBulkTransferFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrclearhalt_fuzzer/
H A Dusbmgrclearhalt_fuzzer.cpp27 std::vector<UsbDevice> devList; in UsbMgrClearHaltFuzzTest() local
29 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrClearHaltFuzzTest()
30 if (ret != UEC_OK || devList.empty()) { in UsbMgrClearHaltFuzzTest()
36 UsbDevice device = devList.front(); in UsbMgrClearHaltFuzzTest()
44 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().front(); in UsbMgrClearHaltFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrreleaseinterface_fuzzer/
H A Dusbmgrreleaseinterface_fuzzer.cpp27 std::vector<UsbDevice> devList; in UsbMgrReleaseInterfaceFuzzTest() local
29 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrReleaseInterfaceFuzzTest()
30 if (ret != UEC_OK || devList.empty()) { in UsbMgrReleaseInterfaceFuzzTest()
36 UsbDevice device = devList.front(); in UsbMgrReleaseInterfaceFuzzTest()
44 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().front(); in UsbMgrReleaseInterfaceFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrsetinterface_fuzzer/
H A Dusbmgrsetinterface_fuzzer.cpp27 std::vector<UsbDevice> devList; in UsbMgrSetInterfaceFuzzTest() local
29 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrSetInterfaceFuzzTest()
30 if (ret != UEC_OK || devList.empty()) { in UsbMgrSetInterfaceFuzzTest()
36 UsbDevice device = devList.front(); in UsbMgrSetInterfaceFuzzTest()
44 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().front(); in UsbMgrSetInterfaceFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrgetinterfacestatus_fuzzer/
H A Dusbmgrgetinterfacestatus_fuzzer.cpp27 std::vector<UsbDevice> devList; in UsbMgrGetInterfaceStatusFuzzTest() local
29 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrGetInterfaceStatusFuzzTest()
30 if (ret != UEC_OK || devList.empty()) { in UsbMgrGetInterfaceStatusFuzzTest()
36 UsbDevice device = devList.front(); in UsbMgrGetInterfaceStatusFuzzTest()
44 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().front(); in UsbMgrGetInterfaceStatusFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrusbcontroltransfer_fuzzer/
H A Dusbmgrusbcontroltransfer_fuzzer.cpp29 std::vector<UsbDevice> devList; in UsbMgrUsbControlTransferFuzzTest() local
31 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrUsbControlTransferFuzzTest()
32 if (ret != UEC_OK || devList.empty()) { in UsbMgrUsbControlTransferFuzzTest()
38 UsbDevice device = devList.front(); in UsbMgrUsbControlTransferFuzzTest()
46 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().front(); in UsbMgrUsbControlTransferFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrcontroltransfer_fuzzer/
H A Dusbmgrcontroltransfer_fuzzer.cpp28 std::vector<UsbDevice> devList; in UsbMgrControlTransferFuzzTest() local
30 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrControlTransferFuzzTest()
31 if (ret != UEC_OK || devList.empty()) { in UsbMgrControlTransferFuzzTest()
37 UsbDevice device = devList.front(); in UsbMgrControlTransferFuzzTest()
45 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().front(); in UsbMgrControlTransferFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrpiperequestwait_fuzzer/
H A Dusbmgrpiperequestwait_fuzzer.cpp28 std::vector<UsbDevice> devList; in UsbMgrPipeRequestWaitFuzzTest() local
30 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrPipeRequestWaitFuzzTest()
31 if (ret != UEC_OK || devList.empty()) { in UsbMgrPipeRequestWaitFuzzTest()
37 UsbDevice device = devList.front(); in UsbMgrPipeRequestWaitFuzzTest()
45 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().front(); in UsbMgrPipeRequestWaitFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrresetdevice_fuzzer/
H A Dusbmgrresetdevice_fuzzer.cpp27 std::vector<UsbDevice> devList; in UsbMgrResetDeivceFuzzTest() local
29 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrResetDeivceFuzzTest()
30 if (ret != UEC_OK || devList.empty()) { in UsbMgrResetDeivceFuzzTest()
36 UsbDevice device = devList.front(); in UsbMgrResetDeivceFuzzTest()
44 UsbInterface interface = devList.front().GetConfigs().front().GetInterfaces().front(); in UsbMgrResetDeivceFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrclaiminterface_fuzzer/
H A Dusbmgrclaiminterface_fuzzer.cpp27 std::vector<UsbDevice> devList; in UsbMgrClaimInterfaceFuzzTest() local
29 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrClaimInterfaceFuzzTest()
30 if (ret != UEC_OK || devList.empty()) { in UsbMgrClaimInterfaceFuzzTest()
36 UsbDevice device = devList.front(); in UsbMgrClaimInterfaceFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrgetrawdescriptors_fuzzer/
H A Dusbmgrgetrawdescriptors_fuzzer.cpp25 std::vector<UsbDevice> devList; in UsbMgrGetRawDescriptorsFuzzTest() local
27 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrGetRawDescriptorsFuzzTest()
28 if (ret != UEC_OK || devList.empty()) { in UsbMgrGetRawDescriptorsFuzzTest()
34 UsbDevice device = devList.front(); in UsbMgrGetRawDescriptorsFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrsetconfiguration_fuzzer/
H A Dusbmgrsetconfiguration_fuzzer.cpp27 std::vector<UsbDevice> devList; in UsbMgrSetConfigurationFuzzTest() local
29 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrSetConfigurationFuzzTest()
30 if (ret != UEC_OK || devList.empty()) { in UsbMgrSetConfigurationFuzzTest()
36 UsbDevice device = devList.front(); in UsbMgrSetConfigurationFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrmanagedevice_fuzzer/
H A Dusbmgrmanagedevice_fuzzer.cpp31 std::vector<UsbDevice> devList; in UsbMgrManageDeviceFuzzTest() local
33 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrManageDeviceFuzzTest()
34 if (ret != UEC_OK || devList.empty()) { in UsbMgrManageDeviceFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrmanageglobalinterface_fuzzer/
H A Dusbmgrmanageglobalinterface_fuzzer.cpp29 std::vector<UsbDevice> devList; in UsbMgrManageGlobalInterfaceFuzzTest() local
31 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrManageGlobalInterfaceFuzzTest()
32 if (ret != UEC_OK || devList.empty()) { in UsbMgrManageGlobalInterfaceFuzzTest()
/base/usb/usb_manager/test/fuzztest/usbmgrmanageinterfacetype_fuzzer/
H A Dusbmgrmanageinterfacetype_fuzzer.cpp29 std::vector<UsbDevice> devList; in UsbMgrManageDeviceFuzzTest() local
31 auto ret = usbSrvClient.GetDevices(devList); in UsbMgrManageDeviceFuzzTest()
32 if (ret != UEC_OK || devList.empty()) { in UsbMgrManageDeviceFuzzTest()
/base/web/webview/test/fuzztest/ohos_adapter/multimodalinput_adapter/getdeviceids_fuzzer/
H A Dgetdeviceids_fuzzer.cpp29 std::vector<int32_t> devList; in GetDeviceIdsFuzzTest() local
30 AdapterImpl->GetDeviceIds(devList); in GetDeviceIdsFuzzTest()

Completed in 5 milliseconds

12