/base/usb/usb_manager/services/native/include/ |
D | usb_host_manager.h | 29 typedef std::map<std::string, UsbDevice *> MAP_STR_DEVICE; 37 bool AddDevice(UsbDevice *dev); 41 bool PublishCommonEvent(const std::string &event, const UsbDevice &dev); 42 void ReportHostPlugSysEvent(const std::string &event, const UsbDevice &dev);
|
D | usb_service.h | 68 int32_t GetDevices(std::vector<UsbDevice> &deviceList) override; 100 int32_t GetDeviceInfo(uint8_t busNum, uint8_t devAddr, UsbDevice &dev); 102 UsbDevice &dev); 103 int32_t GetConfigDescriptor(UsbDevice &dev, std::vector<uint8_t> &descriptor); 131 int32_t FillDevStrings(UsbDevice &dev);
|
D | usb_descriptor_parser.h | 27 static int32_t ParseDeviceDescriptor(const uint8_t *buffer, uint32_t length, UsbDevice &dev);
|
/base/usb/usb_manager/test/native/service_unittest/src/ |
D | usb_device_pipe_test.cpp | 76 vector<UsbDevice> devi; 85 UsbDevice device = devi.front(); 107 std::vector<UsbDevice> deviceList; 114 UsbDevice device = deviceList.front(); 135 vector<UsbDevice> devi; 144 UsbDevice device = devi.front(); 172 vector<UsbDevice> devi; 181 UsbDevice device = devi.front(); 211 vector<UsbDevice> devi; 220 UsbDevice device = devi.front(); [all …]
|
D | usb_bulkcallback_test.cpp | 113 vector<UsbDevice> devi; 122 UsbDevice device = devi.front(); 161 vector<UsbDevice> devi; 170 UsbDevice device = devi.front(); 209 vector<UsbDevice> devi; 218 UsbDevice device = devi.front(); 259 vector<UsbDevice> devi; 268 UsbDevice device = devi.front(); 309 vector<UsbDevice> devi; 318 UsbDevice device = devi.front(); [all …]
|
D | usb_request_test.cpp | 78 vector<UsbDevice> delist; 85 UsbDevice device = delist.front(); 121 vector<UsbDevice> delist; 128 UsbDevice device = delist.front(); 167 vector<UsbDevice> delist; 174 UsbDevice device = delist.front(); 210 vector<UsbDevice> delist; 217 UsbDevice device = delist.front(); 253 vector<UsbDevice> delist; 260 UsbDevice device = delist.front(); [all …]
|
/base/usb/usb_manager/services/native/src/ |
D | usb_host_manager.cpp | 53 UsbDevice *devOld = iter->second; in DelDevice() 69 bool UsbHostManager::AddDevice(UsbDevice *dev) in AddDevice() 88 UsbDevice *devOld = iter->second; in AddDevice() 94 devices_.insert(std::pair<std::string, UsbDevice *>(name, dev)); in AddDevice() 98 bool UsbHostManager::PublishCommonEvent(const std::string &event, const UsbDevice &dev) in PublishCommonEvent() 131 void UsbHostManager::ReportHostPlugSysEvent(const std::string &event, const UsbDevice &dev) in ReportHostPlugSysEvent()
|
/base/usb/usb_manager/test/fuzztest/usbmgrrequestinitialize_fuzzer/ |
D | usbmgrrequestinitialize_fuzzer.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrRequestInitializeFuzzTest() 34 UsbDevice device = devList.front(); in UsbMgrRequestInitializeFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrclose_fuzzer/ |
D | usbmgrclose_fuzzer.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrCloseFuzzTest() 34 UsbDevice device = devList.front(); in UsbMgrCloseFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrclaiminterface_fuzzer/ |
D | usbmgrclaiminterface_fuzzer.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrClaimInterfaceFuzzTest() 34 UsbDevice device = devList.front(); in UsbMgrClaimInterfaceFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrsetconfiguration_fuzzer/ |
D | usbmgrsetconfiguration_fuzzer.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrSetConfigurationFuzzTest() 34 UsbDevice device = devList.front(); in UsbMgrSetConfigurationFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrgetfiledescriptor_fuzzer/ |
D | usbmgrgetfiledescriptor_fuzzer.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrGetFileDescriptorFuzzTest() 34 UsbDevice device = devList.front(); in UsbMgrGetFileDescriptorFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrgetrawdescriptors_fuzzer/ |
D | usbmgrgetrawdescriptors_fuzzer.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrGetRawDescriptorsFuzzTest() 34 UsbDevice device = devList.front(); in UsbMgrGetRawDescriptorsFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/common/src/ |
D | usb_common_fuzz.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrPrepareFuzzEnv() 34 UsbDevice device = devList.front(); in UsbMgrPrepareFuzzEnv()
|
/base/usb/usb_manager/test/fuzztest/usbmgrrequestqueue_fuzzer/ |
D | usbmgrrequestqueue_fuzzer.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrRequestQueueFuzzTest() 34 UsbDevice device = devList.front(); in UsbMgrRequestQueueFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrsetinterface_fuzzer/ |
D | usbmgrsetinterface_fuzzer.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrSetInterfaceFuzzTest() 34 UsbDevice device = devList.front(); in UsbMgrSetInterfaceFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrrequestfree_fuzzer/ |
D | usbmgrrequestfree_fuzzer.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrRequestFreeFuzzTest() 34 UsbDevice device = devList.front(); in UsbMgrRequestFreeFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrpiperequestwait_fuzzer/ |
D | usbmgrpiperequestwait_fuzzer.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrPipeRequestWaitFuzzTest() 34 UsbDevice device = devList.front(); in UsbMgrPipeRequestWaitFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrreleaseinterface_fuzzer/ |
D | usbmgrreleaseinterface_fuzzer.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrReleaseInterfaceFuzzTest() 34 UsbDevice device = devList.front(); in UsbMgrReleaseInterfaceFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrcontroltransfer_fuzzer/ |
D | usbmgrcontroltransfer_fuzzer.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrControlTransferFuzzTest() 34 UsbDevice device = devList.front(); in UsbMgrControlTransferFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrbulktransfer_fuzzer/ |
D | usbmgrbulktransfer_fuzzer.cpp | 25 std::vector<UsbDevice> devList; in UsbMgrBulkTransferFuzzTest() 34 UsbDevice device = devList.front(); in UsbMgrBulkTransferFuzzTest()
|
/base/usb/usb_manager/interfaces/innerkits/native/include/ |
D | usb_device.h | 29 class UsbDevice { 31 …UsbDevice(std::string name, std::string manufacturerName, std::string productName, std::string ver… in UsbDevice() function 49 explicit UsbDevice(const Json::Value &device) in UsbDevice() function 70 UsbDevice() {} in UsbDevice() function 71 ~UsbDevice() {} in ~UsbDevice()
|
/base/usb/usb_manager/test/fuzztest/usbmgrhasright_fuzzer/ |
D | usbmgrhasright_fuzzer.cpp | 26 std::vector<UsbDevice> devList; in UsbMgrHasRightFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrremoveright_fuzzer/ |
D | usbmgrremoveright_fuzzer.cpp | 26 std::vector<UsbDevice> devList; in UsbMgrRemoveRightFuzzTest()
|
/base/usb/usb_manager/services/zidl/include/ |
D | usb_server_proxy.h | 34 int32_t GetDevices(std::vector<UsbDevice> &deviceList) override; 84 int32_t GetDeviceListMessageParcel(MessageParcel &data, std::vector<UsbDevice> &deviceList); 85 int32_t GetDeviceMessageParcel(MessageParcel &data, UsbDevice &devInfo);
|