/base/print/print_fwk/services/print_service/include/ |
H A D | vendor_manager.h | 35 const std::string &ppdData) = 0; 65 const std::string &ppdData) override; 70 const std::string &ppdData) override;
|
H A D | vendor_driver_base.h | 51 const std::string &ppdData) = 0; 56 const std::string &ppdData) = 0;
|
H A D | vendor_bsuni_driver.h | 30 const Print_DefaultValue *defaultValue, const char *ppdData);
|
H A D | print_cups_client.h | 85 const std::string &ppdName, const std::string &ppdData);
|
H A D | print_service_ability.h | 202 const std::string &ppdData) override;
|
/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/ |
H A D | vendor_manager_test.cpp | 222 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 D | vendor_bsuni_driver_test.cpp | 386 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 D | vendor_bsuni_driver.cpp | 118 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 D | vendor_manager.cpp | 282 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 D | print_cups_client.cpp | 530 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 D | print_service_ability.cpp | 3173 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 D | vendor_extension.h | 89 const Print_DefaultValue *defaultValue, const char *ppdData);
|
/base/print/print_fwk/test/unittest/fwk_print_service_ability_test/ |
H A D | print_service_ability_test.cpp | 2087 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...] |