Home
last modified time | relevance | path

Searched refs:UpdatePrinterToDiscovery (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/
H A Dvendor_ppd_driver_test.cpp84 EXPECT_CALL(mock, UpdatePrinterToDiscovery(_, _)).WillRepeatedly(Return(EXTENSION_ERROR_NONE));
102 EXPECT_CALL(mock, UpdatePrinterToDiscovery(_, _)).WillRepeatedly(Return(EXTENSION_ERROR_NONE));
120 EXPECT_CALL(mock, UpdatePrinterToDiscovery(_, _)).WillRepeatedly(Return(EXTENSION_ERROR_NONE));
137 …EXPECT_CALL(mock, UpdatePrinterToDiscovery(_, _)).WillOnce(Return(EXTENSION_ERROR_INVALID_PRINTER))
158 EXPECT_CALL(mock, UpdatePrinterToDiscovery(_, _)).WillRepeatedly(Return(EXTENSION_ERROR_NONE));
H A Dvendor_manager_test.cpp144 … EXPECT_EQ(vendorManager.UpdatePrinterToDiscovery("", printerInfo), EXTENSION_ERROR_CALLBACK_FAIL);
/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dvendor_ipp_everywhere.cpp126 …if (vendorManager->UpdatePrinterToDiscovery(GetVendorName(), *printerInfo) != EXTENSION_ERROR_NONE… in UpdateCapability()
151 …if (vendorManager->UpdatePrinterToDiscovery(GetVendorName(), *printerInfo) != EXTENSION_ERROR_NONE… in ConnectPrinter()
H A Dvendor_ppd_driver.cpp148 …if (vendorManager->UpdatePrinterToDiscovery(GetVendorName(), *printerInfo) != EXTENSION_ERROR_NONE… in UpdateCapability()
H A Dvendor_bsuni_driver.cpp147 …if (g_driverWrapper->vendorManager->UpdatePrinterToDiscovery(vendorName, info) != EXTENSION_ERROR_… in AddPrinterToCups()
433 vendorManager->UpdatePrinterToDiscovery(GetVendorName(), *printerInfo); in OnPrinterCapabilityQueried()
H A Dvendor_wlan_group.cpp122 …return vendorManager->UpdatePrinterToDiscovery(GetVendorName(), ConvertPrinterInfoId(printerInfo)); in OnUpdatePrinterToDiscovery()
H A Dvendor_manager.cpp263 int32_t VendorManager::UpdatePrinterToDiscovery(const std::string &vendorName, const PrinterInfo &p… in UpdatePrinterToDiscovery() function in VendorManager
/ohos5.0/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/mock/
H A Dmock_vendor_manager.h27 MOCK_METHOD2(UpdatePrinterToDiscovery, int32_t (const std::string &, const PrinterInfo &));
/ohos5.0/base/print/print_fwk/services/print_service/include/
H A Dvendor_driver_base.h48 …virtual int32_t UpdatePrinterToDiscovery(const std::string &vendorName, const PrinterInfo &printer…
H A Dvendor_manager.h68 …int32_t UpdatePrinterToDiscovery(const std::string &vendorName, const PrinterInfo &printerInfo) ov…