Home
last modified time | relevance | path

Searched refs:devList (Results 1 – 25 of 70) sorted by relevance

123

/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
H A Ddevice_networking_collect.cpp92 std::vector<DmDeviceInfo> devList; in ReportMissedEvents() local
93 int32_t ret = DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", devList); in ReportMissedEvents()
101 if (devList.empty()) { in ReportMissedEvents()
107 for (DmDeviceInfo& devInfo : devList) { in ReportMissedEvents()
113 if (!devList.empty()) { in ReportMissedEvents()
115 for (DmDeviceInfo& devInfo : devList) { in ReportMissedEvents()
/ohos5.0/drivers/peripheral/usb/ddk/host/src/
H A Dddk_device_manager.c45 struct DListHead devList; member
57 if (DListIsEmpty(&g_ddkDevList.devList)) { in DdkDevMgrIsDevExists()
66 …DLIST_FOR_EACH_ENTRY_SAFE(infoPos, infoTemp, &g_ddkDevList.devList, struct UsbDdkDeviceInfo, list)… in DdkDevMgrIsDevExists()
91 DListInsertTail(&device->list, &g_ddkDevList.devList); in DdkDevMgrAddDevice()
217 DListHeadInit(&g_ddkDevList.devList); in DdkDevMgrInit()
230 if (DListIsEmpty(&g_ddkDevList.devList)) { in DdkDevMgrForEachDeviceSafe()
238 DLIST_FOR_EACH_ENTRY_SAFE(pos, tmp, &g_ddkDevList.devList, struct UsbDdkDeviceInfo, list) { in DdkDevMgrForEachDeviceSafe()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/input/
H A D_input_manager.md26 …elist) )(uint32_t \*devNum, [InputDeviceInfo](_input_device_info.md) \*\*devList, uint32_t size) |…
84 int32_t(* InputManager::GetInputDeviceList) (uint32_t *devNum, InputDeviceInfo **devList, uint32_t …
97 | devList | 输出参数,Input设备列表所对应的设备信息,具体参考[InputDeviceInfo](_input_device_info.md)。 |

123