Home
last modified time | relevance | path

Searched refs:usbdevice (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dprint_usb_manager.cpp52 bool PrintUsbManager::isPrintDevice(USB::UsbDevice &usbdevice, std::string &printerName) in isPrintDevice() argument
54 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() argument
176 usbdevice.GetConfigs()[configIndex].GetInterfaces()[interfaceIndex]; in AllocateInterface()
223 UsbDevice usbdevice = printDeviceMap[printerName]; in ConnectUsbPinter() local
231 return AllocateInterface(printerName, usbdevice, usbDevicePipe); in ConnectUsbPinter()
245 UsbDevice usbdevice = printDeviceMap[printerName]; in DisConnectUsbPinter() local
268 UsbDevice usbdevice = printDeviceMap[printerName]; in BulkTransferWrite() local
[all …]
/ohos5.0/base/print/print_fwk/services/print_service/include/
H A Dprint_usb_manager.h64 bool isPrintDevice(USB::UsbDevice &usbdevice, std::string &printerName);
69 bool AllocateInterface(const std::string &printerName, USB::UsbDevice &usbdevice,
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-usb-deprecated.md29 | Array<Readonly<[USBDevice](#usbdevice)>> | 设备信息列表。 |
102 | device | [USBDevice](#usbdevice) | 是 | USB设备信息。 |
491 USB配置,一个[USBDevice](#usbdevice)中可以含有多个配置。
H A Djs-apis-usbManager.md27 | Array<Readonly<[USBDevice](#usbdevice)>> | 设备信息列表。 |
105 | device | [USBDevice](#usbdevice) | 是 | USB设备信息,用getDevices获取的busNum和devAddress确定设备,当前其他属性不做处理。 |
1076 USB配置,一个[USBDevice](#usbdevice)中可以含有多个配置。
/ohos5.0/docs/en/application-dev/reference/apis-basic-services-kit/
H A Djs-apis-usb-deprecated.md29 | 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…
H A Djs-apis-usbManager.md27 | 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…