Searched refs:UpdatePrinterToDiscovery (Results 1 - 9 of 9) sorted by relevance
/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/mock/ |
H A D | mock_vendor_manager.h | 27 MOCK_METHOD2(UpdatePrinterToDiscovery, int32_t (const std::string &, const PrinterInfo &));
|
/base/print/print_fwk/services/print_service/src/ |
H A D | vendor_ipp_everywhere.cpp | 120 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 D | vendor_bsuni_driver.cpp | 140 if (g_driverWrapper->vendorManager->UpdatePrinterToDiscovery(vendorName, info) != EXTENSION_ERROR_NONE) { in AddPrinterToCups() 418 vendorManager->UpdatePrinterToDiscovery(GetVendorName(), *printerInfo); in OnPrinterCapabilityQueried()
|
H A D | vendor_manager.cpp | 251 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 D | vendor_driver_base.h | 48 virtual int32_t UpdatePrinterToDiscovery(const std::string &vendorName, const PrinterInfo &printerInfo) = 0;
|
H A D | vendor_manager.h | 62 int32_t UpdatePrinterToDiscovery(const std::string &vendorName, const PrinterInfo &printerInfo) override;
|
/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/ |
H A D | vendor_manager_test.cpp | 181 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 D | vendor_ipp_everywhere_test.cpp | 174 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 D | vendor_bsuni_driver_test.cpp | 388 EXPECT_CALL(mockManager, UpdatePrinterToDiscovery(_, _)).WillOnce(Return(1)).WillRepeatedly(Return(0)); in HWTEST_F()
|
Completed in 6 milliseconds