Home
last modified time | relevance | path

Searched refs:AllocateInterface (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/base/print/print_fwk/test/unittest/others/
H A Dprint_usb_manager_other_test.cpp180 EXPECT_EQ(printUsbManager->AllocateInterface(printerName, usbDevice), false);
187 EXPECT_EQ(printUsbManager->AllocateInterface(printerName, usbDevice), true);
195 EXPECT_EQ(printUsbManager->AllocateInterface(printerName, usbDevice), false);
203 EXPECT_EQ(printUsbManager->AllocateInterface(printerName, usbDevice), true);
/ohos5.0/base/print/print_fwk/services/print_service/include/
H A Dprint_usb_manager.h69 bool AllocateInterface(const std::string &printerName, USB::UsbDevice &usbdevice,
/ohos5.0/base/print/print_fwk/test/unittest/service_test/
H A Dprint_usb_manager_test.cpp318 bool ret = printUsbManager.AllocateInterface(name, usbDevice, usbDevicePipe);
323 ret = printUsbManager.AllocateInterface(name, usbDevice, usbDevicePipe);
406 bool ret = printUsbManager.AllocateInterface(name, usbDevice, usbDevicePipe);
/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dprint_usb_manager.cpp168 bool PrintUsbManager::AllocateInterface(const std::string &printerName, UsbDevice &usbdevice, in AllocateInterface() function in OHOS::Print::PrintUsbManager
231 return AllocateInterface(printerName, usbdevice, usbDevicePipe); in ConnectUsbPinter()