Home
last modified time | relevance | path

Searched refs:ppdData (Results 1 - 13 of 13) sorted by relevance

/base/print/print_fwk/services/print_service/include/
H A Dvendor_manager.h35 const std::string &ppdData) = 0;
65 const std::string &ppdData) override;
70 const std::string &ppdData) override;
H A Dvendor_driver_base.h51 const std::string &ppdData) = 0;
56 const std::string &ppdData) = 0;
H A Dvendor_bsuni_driver.h30 const Print_DefaultValue *defaultValue, const char *ppdData);
H A Dprint_cups_client.h85 const std::string &ppdName, const std::string &ppdData);
H A Dprint_service_ability.h202 const std::string &ppdData) override;
/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/
H A Dvendor_manager_test.cpp222 std::string ppdData; in HWTEST_F() local
223 EXPECT_FALSE(vendorManager.OnPrinterPpdQueried(vendorName, PRINTER_TEST_IP, ppdData)); in HWTEST_F()
225 EXPECT_FALSE(vendorManager.OnPrinterPpdQueried(vendorName, PRINTER_TEST_IP, ppdData)); in HWTEST_F()
226 EXPECT_TRUE(vendorManager.OnPrinterPpdQueried(vendorName, PRINTER_TEST_IP, ppdData)); in HWTEST_F()
247 std::string ppdData; in HWTEST_F() local
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_bsuni_driver_test.cpp386 std::string ppdData; in HWTEST_F()
410 ppdData = "ppd"; in HWTEST_F()
411 EXPECT_NE(VendorBsuniDriver::AddPrinterToCups(&printer, &capability, &defaultValue, ppdData.c_str()), in HWTEST_F()
413 EXPECT_EQ(VendorBsuniDriver::AddPrinterToCups(&printer, &capability, &defaultValue, ppdData.c_str()), in HWTEST_F()
/base/print/print_fwk/services/print_service/src/
H A Dvendor_bsuni_driver.cpp118 const Print_DefaultValue *defaultValue, const char *ppdData) in AddPrinterToCups()
131 if (ppdData != nullptr) { in AddPrinterToCups()
132 ppdContent = std::string(ppdData); in AddPrinterToCups()
374 std::string ppdData = FindPropertyFromPropertyList(propertyList, key); in OnPrinterPropertiesQueried() local
375 if (!ppdData.empty()) { in OnPrinterPropertiesQueried()
376 PRINT_HILOGI("ppdData queried"); in OnPrinterPropertiesQueried()
377 if (vendorManager->OnPrinterPpdQueried(GetVendorName(), printerId, ppdData)) { in OnPrinterPropertiesQueried()
116 AddPrinterToCups(const Print_DiscoveryItem *printer, const Print_PrinterCapability *capability, const Print_DefaultValue *defaultValue, const char *ppdData) AddPrinterToCups() argument
H A Dvendor_manager.cpp282 const std::string &ppdData) in AddPrinterToCupsWithPpd()
290 if (!printServiceAbility->AddVendorPrinterToCupsWithPpd(globalVendorName, printerId, ppdData)) { in AddPrinterToCupsWithPpd()
315 const std::string &ppdData) in OnPrinterPpdQueried()
329 if (!printServiceAbility->AddVendorPrinterToCupsWithPpd(globalVendorName, printerId, ppdData)) { in OnPrinterPpdQueried()
281 AddPrinterToCupsWithPpd(const std::string &vendorName, const std::string &printerId, const std::string &ppdData) AddPrinterToCupsWithPpd() argument
314 OnPrinterPpdQueried(const std::string &vendorName, const std::string &printerId, const std::string &ppdData) OnPrinterPpdQueried() argument
H A Dprint_cups_client.cpp530 const std::string &ppdName, const std::string &ppdData) in AddPrinterToCupsWithPpd()
559 ippLength(request) + ppdData.length()); in AddPrinterToCupsWithPpd()
561 status = cupsWriteRequestData(CUPS_HTTP_DEFAULT, ppdData.c_str(), ppdData.length()); in AddPrinterToCupsWithPpd()
529 AddPrinterToCupsWithPpd(const std::string &printerUri, const std::string &printerName, const std::string &ppdName, const std::string &ppdData) AddPrinterToCupsWithPpd() argument
H A Dprint_service_ability.cpp3173 const std::string &printerId, const std::string &ppdData) in AddVendorPrinterToCupsWithPpd()
3192 if (ppdData.empty()) { in AddVendorPrinterToCupsWithPpd()
3196 "Brocadesoft Universal Driver", ppdData); in AddVendorPrinterToCupsWithPpd()
3172 AddVendorPrinterToCupsWithPpd(const std::string &globalVendorName, const std::string &printerId, const std::string &ppdData) AddVendorPrinterToCupsWithPpd() argument
/base/print/print_fwk/frameworks/ohprint/include/
H A Dvendor_extension.h89 const Print_DefaultValue *defaultValue, const char *ppdData);
/base/print/print_fwk/test/unittest/fwk_print_service_ability_test/
H A Dprint_service_ability_test.cpp2087 std::string ppdData; in HWTEST_F() local
2091 EXPECT_FALSE(service->AddVendorPrinterToCupsWithPpd(vendorName, printerId, ppdData)); in HWTEST_F()
2093 EXPECT_FALSE(service->AddVendorPrinterToCupsWithPpd(vendorName, printerId, ppdData)); in HWTEST_F()
2097 EXPECT_FALSE(service->AddVendorPrinterToCupsWithPpd(vendorName, printerId, ppdData)); in HWTEST_F()
2100 EXPECT_FALSE(service->AddVendorPrinterToCupsWithPpd(vendorName, printerId, ppdData)); in HWTEST_F()
2103 service->AddVendorPrinterToCupsWithPpd(vendorName, printerId, ppdData); in HWTEST_F()
2104 ppdData = "ppd"; in HWTEST_F()
2105 service->AddVendorPrinterToCupsWithPpd(vendorName, printerId, ppdData); in HWTEST_F()
2125 std::string ppdData; in HWTEST_F() local
2133 ppdData in HWTEST_F()
[all...]

Completed in 18 milliseconds