Home
last modified time | relevance | path

Searched refs:secondPort (Results 1 - 2 of 2) sorted by relevance

/base/print/print_fwk/services/scan_service/src/
H A Dscan_usb_manager.cpp175 std::string secondPort = usbDevicePort.substr(usbDevicePort.find("-") + 1, usbDevicePort.size() - 1); in getNewDeviceId() local
176 SCAN_HILOGI("firstPort = %{public}s, secondPort = %{public}s.", in getNewDeviceId()
177 firstPort.c_str(), secondPort.c_str()); in getNewDeviceId()
179 FormatUsbPort(secondPort); in getNewDeviceId()
180 return deviceIdHead + firstPort + ":" + secondPort; in getNewDeviceId()
H A Dscan_system_data.cpp136 std::string secondPort = usbDevicePort.substr(usbDevicePort.find("-") + 1, usbDevicePort.size() - 1); in GetNewDeviceId() local
137 SCAN_HILOGI("firstPort = %{public}s, secondPort = %{public}s.", in GetNewDeviceId()
138 firstPort.c_str(), secondPort.c_str()); in GetNewDeviceId()
140 FormatUsbPort(secondPort); in GetNewDeviceId()
141 return deviceIdHead + firstPort + ":" + secondPort; in GetNewDeviceId()

Completed in 2 milliseconds