Home
last modified time | relevance | path

Searched refs:UpdatePrinterToDiscovery (Results 1 - 9 of 9) sorted by relevance

/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 &));
/base/print/print_fwk/services/print_service/src/
H A Dvendor_ipp_everywhere.cpp120 if (vendorManager->UpdatePrinterToDiscovery(GetVendorName(), *printerInfo) != EXTENSION_ERROR_NONE) { in UpdateCapability()
121 PRINT_HILOGW("UpdatePrinterToDiscovery fail"); in UpdateCapability()
138 if (vendorManager->UpdatePrinterToDiscovery(GetVendorName(), *printerInfo) != EXTENSION_ERROR_NONE) { in ConnectPrinter()
139 PRINT_HILOGW("UpdatePrinterToDiscovery fail"); in ConnectPrinter()
142 PRINT_HILOGI("UpdatePrinterToDiscovery success"); in ConnectPrinter()
H A Dvendor_bsuni_driver.cpp140 if (g_driverWrapper->vendorManager->UpdatePrinterToDiscovery(vendorName, info) != EXTENSION_ERROR_NONE) { in AddPrinterToCups()
418 vendorManager->UpdatePrinterToDiscovery(GetVendorName(), *printerInfo); in OnPrinterCapabilityQueried()
H A Dvendor_manager.cpp251 int32_t VendorManager::UpdatePrinterToDiscovery(const std::string &vendorName, const PrinterInfo &printerInfo) in UpdatePrinterToDiscovery() function in VendorManager
253 PRINT_HILOGI("UpdatePrinterToDiscovery enter"); in UpdatePrinterToDiscovery()
260 PRINT_HILOGW("UpdatePrinterToDiscovery fail"); in UpdatePrinterToDiscovery()
263 PRINT_HILOGI("UpdatePrinterToDiscovery quit"); in UpdatePrinterToDiscovery()
/base/print/print_fwk/services/print_service/include/
H A Dvendor_driver_base.h48 virtual int32_t UpdatePrinterToDiscovery(const std::string &vendorName, const PrinterInfo &printerInfo) = 0;
H A Dvendor_manager.h62 int32_t UpdatePrinterToDiscovery(const std::string &vendorName, const PrinterInfo &printerInfo) override;
/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/
H A Dvendor_manager_test.cpp181 EXPECT_EQ(vendorManager.UpdatePrinterToDiscovery("", printerInfo), EXTENSION_ERROR_CALLBACK_FAIL); in HWTEST_F()
255 EXPECT_EQ(vendorManager.UpdatePrinterToDiscovery(vendorName, printerInfo), EXTENSION_ERROR_CALLBACK_FAIL); in HWTEST_F()
256 EXPECT_EQ(vendorManager.UpdatePrinterToDiscovery(vendorName, printerInfo), EXTENSION_ERROR_NONE); in HWTEST_F()
H A Dvendor_ipp_everywhere_test.cpp174 EXPECT_CALL(mock, UpdatePrinterToDiscovery(_, _)).Times(3).WillOnce(Return(1)).WillRepeatedly(Return(0)); in HWTEST_F()
189 EXPECT_CALL(mock, UpdatePrinterToDiscovery(_, _)).Times(2).WillOnce(Return(1)).WillRepeatedly(Return(0)); in HWTEST_F()
H A Dvendor_bsuni_driver_test.cpp388 EXPECT_CALL(mockManager, UpdatePrinterToDiscovery(_, _)).WillOnce(Return(1)).WillRepeatedly(Return(0)); in HWTEST_F()

Completed in 6 milliseconds