Searched refs:RemovePrinterFromCups (Results 1 - 8 of 8) sorted by relevance
/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/mock/ |
H A D | mock_vendor_manager.h | 30 MOCK_METHOD2(RemovePrinterFromCups, int32_t (const std::string &, const std::string &));
|
/base/print/print_fwk/services/print_service/include/ |
H A D | vendor_bsuni_driver.h | 31 static int32_t RemovePrinterFromCups(const char *printerId);
|
H A D | vendor_driver_base.h | 52 virtual int32_t RemovePrinterFromCups(const std::string &vendorName, const std::string &printerId) = 0;
|
H A D | vendor_manager.h | 66 int32_t RemovePrinterFromCups(const std::string &vendorName, const std::string &printerId) override;
|
/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/ |
H A D | vendor_bsuni_driver_test.cpp | 265 EXPECT_EQ(VendorBsuniDriver::RemovePrinterFromCups(nullptr), EXTENSION_INVALID_PARAMETER); in HWTEST_F() 270 EXPECT_EQ(VendorBsuniDriver::RemovePrinterFromCups(PRINTER_TEST_IP.c_str()), EXTENSION_ERROR_CALLBACK_NULL); in HWTEST_F() 348 EXPECT_CALL(mockManager, RemovePrinterFromCups(_, _)).WillRepeatedly(Return(0)); in HWTEST_F() 353 EXPECT_EQ(VendorBsuniDriver::RemovePrinterFromCups(nullptr), EXTENSION_INVALID_PARAMETER); in HWTEST_F() 355 EXPECT_EQ(VendorBsuniDriver::RemovePrinterFromCups(printerIp.c_str()), EXTENSION_ERROR_NONE); in HWTEST_F()
|
H A D | vendor_manager_test.cpp | 184 EXPECT_EQ(vendorManager.RemovePrinterFromCups("", ""), EXTENSION_ERROR_CALLBACK_FAIL); in HWTEST_F() 230 EXPECT_EQ(vendorManager.RemovePrinterFromCups(vendorName, PRINTER_TEST_IP), EXTENSION_ERROR_CALLBACK_FAIL); in HWTEST_F() 231 EXPECT_EQ(vendorManager.RemovePrinterFromCups(vendorName, PRINTER_TEST_IP), EXTENSION_ERROR_NONE); in HWTEST_F()
|
/base/print/print_fwk/services/print_service/src/ |
H A D | vendor_bsuni_driver.cpp | 147 int32_t VendorBsuniDriver::RemovePrinterFromCups(const char *printerId) in RemovePrinterFromCups() function in VendorBsuniDriver 149 PRINT_HILOGI("BsUni callback RemovePrinterFromCups"); in RemovePrinterFromCups() 160 return g_driverWrapper->vendorManager->RemovePrinterFromCups(g_driverWrapper->GetVendorName(), vendorPrinterId); in RemovePrinterFromCups() 242 printServiceAbility.removePrinterFromCups = RemovePrinterFromCups; in OnCreate()
|
H A D | vendor_manager.cpp | 298 int32_t VendorManager::RemovePrinterFromCups(const std::string &vendorName, const std::string &printerId) in RemovePrinterFromCups() function in VendorManager 300 PRINT_HILOGI("RemovePrinterFromCups enter"); in RemovePrinterFromCups() 307 PRINT_HILOGW("RemovePrinterFromCups fail"); in RemovePrinterFromCups() 310 PRINT_HILOGI("RemovePrinterFromCups quit"); in RemovePrinterFromCups()
|
Completed in 4 milliseconds