Searched refs:usbdevice (Results 1 – 6 of 6) sorted by relevance
52 bool PrintUsbManager::isPrintDevice(USB::UsbDevice &usbdevice, std::string &printerName) in isPrintDevice() argument54 int32_t configCount = usbdevice.GetConfigCount(); in isPrintDevice()57 PRINT_HILOGD("name = %{public}s.", usbdevice.GetName().c_str()); in isPrintDevice()78 printerName = GetProductName(usbdevice); in isPrintDevice()168 bool PrintUsbManager::AllocateInterface(const std::string &printerName, UsbDevice &usbdevice, in AllocateInterface() argument176 usbdevice.GetConfigs()[configIndex].GetInterfaces()[interfaceIndex]; in AllocateInterface()223 UsbDevice usbdevice = printDeviceMap[printerName]; in ConnectUsbPinter() local231 return AllocateInterface(printerName, usbdevice, usbDevicePipe); in ConnectUsbPinter()245 UsbDevice usbdevice = printDeviceMap[printerName]; in DisConnectUsbPinter() local268 UsbDevice usbdevice = printDeviceMap[printerName]; in BulkTransferWrite() local[all …]
64 bool isPrintDevice(USB::UsbDevice &usbdevice, std::string &printerName);69 bool AllocateInterface(const std::string &printerName, USB::UsbDevice &usbdevice,
29 | Array<Readonly<[USBDevice](#usbdevice)>> | 设备信息列表。 |102 | device | [USBDevice](#usbdevice) | 是 | USB设备信息。 |491 USB配置,一个[USBDevice](#usbdevice)中可以含有多个配置。
27 | Array<Readonly<[USBDevice](#usbdevice)>> | 设备信息列表。 |105 | device | [USBDevice](#usbdevice) | 是 | USB设备信息,用getDevices获取的busNum和devAddress确定设备,当前其他属性不做处理。 |1076 USB配置,一个[USBDevice](#usbdevice)中可以含有多个配置。
29 | Array<Readonly<[USBDevice](#usbdevice)>> | USB device list.|102 | device | [USBDevice](#usbdevice) | Yes| USB device information.|491 Represents the USB configuration. One [USBDevice](#usbdevice) can contain multiple **USBConfig** in…
27 | Array<Readonly<[USBDevice](#usbdevice)>> | USB device list.|101 | device | [USBDevice](#usbdevice) | Yes| USB device. The **busNum** and **devAddress** parameters …812 Represents the USB configuration. One [USBDevice](#usbdevice) can contain multiple **USBConfig** in…