Home
last modified time | relevance | path

Searched refs:AddPrinterToCupsWithPpd (Results 1 - 12 of 12) sorted by relevance

/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/mock/
H A Dmock_vendor_manager.h29 MOCK_METHOD3(AddPrinterToCupsWithPpd, int32_t (const std::string &, const std::string &, const std::string &));
/base/print/print_fwk/services/print_service/include/
H A Dvendor_driver_base.h50 virtual int32_t AddPrinterToCupsWithPpd(const std::string &vendorName, const std::string &printerId,
H A Dvendor_manager.h64 int32_t AddPrinterToCupsWithPpd(const std::string &vendorName, const std::string &printerId,
H A Dprint_cups_client.h84 int32_t AddPrinterToCupsWithPpd(const std::string &printerUri, const std::string &printerName,
/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/
H A Dvendor_manager_test.cpp183 EXPECT_EQ(vendorManager.AddPrinterToCupsWithPpd("", "", ""), EXTENSION_ERROR_CALLBACK_FAIL); in HWTEST_F()
259 EXPECT_EQ(vendorManager.AddPrinterToCupsWithPpd(vendorName, PRINTER_TEST_IP, ppdData), in HWTEST_F()
261 EXPECT_EQ(vendorManager.AddPrinterToCupsWithPpd(vendorName, PRINTER_TEST_IP, ppdData), EXTENSION_ERROR_NONE); in HWTEST_F()
H A Dvendor_ipp_everywhere_test.cpp175 EXPECT_CALL(mock, AddPrinterToCupsWithPpd(_, _, _)).Times(2).WillOnce(Return(1)).WillRepeatedly(Return(0)); in HWTEST_F()
H A Dvendor_bsuni_driver_test.cpp389 EXPECT_CALL(mockManager, AddPrinterToCupsWithPpd(_, _, _)).WillOnce(Return(1)).WillRepeatedly(Return(0)); in HWTEST_F()
/base/print/print_fwk/services/print_service/src/
H A Dvendor_ipp_everywhere.cpp143 if (vendorManager->AddPrinterToCupsWithPpd(GetVendorName(), printerInfo->GetPrinterId(), "") != in ConnectPrinter()
145 PRINT_HILOGW("AddPrinterToCupsWithPpd fail"); in ConnectPrinter()
H A Dvendor_bsuni_driver.cpp144 return g_driverWrapper->vendorManager->AddPrinterToCupsWithPpd(vendorName, info.GetPrinterId(), ppdContent); in AddPrinterToCups()
H A Dvendor_manager.cpp281 int32_t VendorManager::AddPrinterToCupsWithPpd(const std::string &vendorName, const std::string &printerId, in AddPrinterToCupsWithPpd() function in VendorManager
284 PRINT_HILOGI("AddPrinterToCupsWithPpd enter"); in AddPrinterToCupsWithPpd()
291 PRINT_HILOGW("AddPrinterToCupsWithPpd fail"); in AddPrinterToCupsWithPpd()
294 PRINT_HILOGI("AddPrinterToCupsWithPpd quit"); in AddPrinterToCupsWithPpd()
330 PRINT_HILOGW("AddPrinterToCupsWithPpd fail"); in OnPrinterPpdQueried()
H A Dprint_cups_client.cpp529 int32_t PrintCupsClient::AddPrinterToCupsWithPpd(const std::string &printerUri, const std::string &printerName, in AddPrinterToCupsWithPpd() function in OHOS::Print::PrintCupsClient
532 PRINT_HILOGD("AddPrinterToCupsWithPpd, ppdName: %{public}s", ppdName.c_str()); in AddPrinterToCupsWithPpd()
H A Dprint_service_ability.cpp3195 ret = DelayedSingleton<PrintCupsClient>::GetInstance()->AddPrinterToCupsWithPpd(info.uri, info.name, in AddVendorPrinterToCupsWithPpd()

Completed in 18 milliseconds