Home
last modified time | relevance | path

Searched refs:openDeviceRet (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dprint_usb_manager.cpp114 int32_t openDeviceRet = UEC_OK; in GetProductName() local
116 openDeviceRet = UsbSrvClient::GetInstance().OpenDevice(usbDevice, usbDevicePipe); in GetProductName()
118 PRINT_HILOGI("openDevice ret = %{public}d", openDeviceRet); in GetProductName()
119 if (openDeviceRet != UEC_OK) { in GetProductName()
120 PRINT_HILOGE("openDevice fail with ret = %{public}d", openDeviceRet); in GetProductName()
225 int32_t openDeviceRet = UEC_OK; in ConnectUsbPinter() local
227 openDeviceRet = UsbSrvClient::GetInstance().OpenDevice(usbdevice, usbDevicePipe); in ConnectUsbPinter()
229 PRINT_HILOGD("openDevice ret = %{public}d", openDeviceRet); in ConnectUsbPinter()
230 if (openDeviceRet == UEC_OK) { in ConnectUsbPinter()
233 PRINT_HILOGE("ipp usb openDevice fail with ret = %{public}d", openDeviceRet); in ConnectUsbPinter()
/ohos5.0/base/print/print_fwk/services/scan_service/src/
H A Dscan_usb_manager.cpp123 int32_t openDeviceRet = UsbSrvClient.OpenDevice(usbDevice, usbDevicePipe); in GetSerialNumber() local
124 if (openDeviceRet != UEC_OK) { in GetSerialNumber()
125 SCAN_HILOGE("openDevice fail with ret = %{public}d", openDeviceRet); in GetSerialNumber()
128 SCAN_HILOGI("openDevice ret = %{public}d", openDeviceRet); in GetSerialNumber()