Searched refs:openDeviceRet (Results 1 – 2 of 2) sorted by relevance
114 int32_t openDeviceRet = UEC_OK; in GetProductName() local116 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() local227 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()
123 int32_t openDeviceRet = UsbSrvClient.OpenDevice(usbDevice, usbDevicePipe); in GetSerialNumber() local124 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()