Searched refs:ppd (Results 1 - 5 of 5) sorted by relevance
/base/print/print_fwk/services/print_service/include/ |
H A D | print_cups_wrapper.h | 23 #include <cups/ppd.h>
|
/base/print/print_fwk/test/unittest/fwk_print_cups_client_test/ |
H A D | print_cups_wrapper_test.cpp | 342 std::string ppd = "testPpd"; in HWTEST_F() local 343 EXPECT_EQ(printCupsClient.IsPrinterExist(name.c_str(), uri.c_str(), ppd.c_str()), false); in HWTEST_F() 358 std::string ppd = "testPpd"; in HWTEST_F() 359 EXPECT_EQ(printCupsClient.IsPrinterExist(name.c_str(), uri.c_str(), ppd.c_str()), false); in HWTEST_F() 378 std::string ppd = "testPpd"; in HWTEST_F() 379 EXPECT_EQ(printCupsClient.IsPrinterExist(name.c_str(), uri.c_str(), ppd.c_str()), false); in HWTEST_F() 431 ippAddString(response, IPP_TAG_PRINTER, IPP_TAG_TEXT, "ppd-make-and-model", nullptr, "testmodel"); in HWTEST_F() 432 ippAddString(response, IPP_TAG_PRINTER, IPP_TAG_NAME, "ppd-name", nullptr, "testppd"); in HWTEST_F()
|
H A D | print_cups_client_test.cpp | 582 ppd_file_t *ppd = printCupsClient.GetPPDFile(printerName); in HWTEST_F() local 583 EXPECT_EQ(ppd, nullptr); in HWTEST_F() 1529 const char *ppdName = "DIRECT-PixLab_V1-0105.ppd"; in HWTEST_F()
|
/base/print/print_fwk/services/print_service/src/ |
H A D | print_cups_client.cpp | 429 ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_TEXT, "ppd-make-and-model", NULL, makeModel); in QueryPPDInformation() 465 if (!strcmp(attr->name, "ppd-make-and-model") && attr->value_tag == IPP_TAG_TEXT) { in ParsePPDInfo() 467 } else if (!strcmp(attr->name, "ppd-name") && attr->value_tag == IPP_TAG_NAME) { in ParsePPDInfo() 474 PRINT_HILOGI("ppd: name = %{private}s, make-and-model = %{private}s", ppd_name, ppd_make_model); in ParsePPDInfo() 489 std::string ppd = DEFAULT_PPD_NAME; in AddPrinterToCups() local 495 ppd = ppds[0]; in AddPrinterToCups() 500 PRINT_HILOGI("ppd driver: %{public}s", ppd.c_str()); in AddPrinterToCups() 501 if (IsPrinterExist(printerUri.c_str(), standardName.c_str(), ppd.c_str())) { in AddPrinterToCups() 517 ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_NAME, "ppd in AddPrinterToCups() 938 ppd_file_t *ppd = 0; GetPPDFile() local [all...] |
/base/print/print_fwk/test/fuzztest/printcupsclient_fuzzer/ |
H A D | printcupsclient_fuzzer.cpp | 35 std::string ppd = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in TestQueryPPDInformation() local 37 ppds.push_back(ppd); in TestQueryPPDInformation()
|
Completed in 6 milliseconds