Home
last modified time | relevance | path

Searched refs:ppds (Results 1 - 4 of 4) sorted by relevance

/base/print/print_fwk/test/unittest/fwk_print_cups_client_test/
H A Dprint_cups_wrapper_test.cpp395 std::vector<std::string> ppds; in HWTEST_F() local
396 printCupsClient.QueryPPDInformation(nullptr, ppds); in HWTEST_F()
397 printCupsClient.ParsePPDInfo(nullptr, nullptr, nullptr, ppds); in HWTEST_F()
413 std::vector<std::string> ppds; in HWTEST_F() local
414 printCupsClient.QueryPPDInformation(makeModel.c_str(), ppds); in HWTEST_F()
427 std::vector<std::string> ppds; in HWTEST_F() local
433 printCupsClient.ParsePPDInfo(response, nullptr, nullptr, ppds); in HWTEST_F()
434 printCupsClient.ParsePPDInfo(response, "testmodel", nullptr, ppds); in HWTEST_F()
435 printCupsClient.ParsePPDInfo(response, "testmodel", "testppd", ppds); in HWTEST_F()
/base/print/print_fwk/services/print_service/include/
H A Dprint_cups_client.h81 void QueryPPDInformation(const char *makeModel, std::vector<std::string> &ppds);
145 std::vector<std::string> &ppds);
/base/print/print_fwk/test/fuzztest/printcupsclient_fuzzer/
H A Dprintcupsclient_fuzzer.cpp36 std::vector<std::string> ppds; in TestQueryPPDInformation() local
37 ppds.push_back(ppd); in TestQueryPPDInformation()
38 PrintCupsClient::GetInstance()->QueryPPDInformation(makeModelStr.c_str(), ppds); in TestQueryPPDInformation()
/base/print/print_fwk/services/print_service/src/
H A Dprint_cups_client.cpp413 void PrintCupsClient::QueryPPDInformation(const char *makeModel, std::vector<std::string> &ppds) in QueryPPDInformation() argument
443 ParsePPDInfo(response, ppd_make_model, ppd_name, ppds); in QueryPPDInformation()
449 std::vector<std::string> &ppds) in ParsePPDInfo()
473 ppds.push_back(ppd_name); in ParsePPDInfo()
488 std::vector<string> ppds; in AddPrinterToCups() local
493 QueryPPDInformation(printerMake.c_str(), ppds); in AddPrinterToCups()
494 if (!ppds.empty()) { in AddPrinterToCups()
495 ppd = ppds[0]; in AddPrinterToCups()
535 std::vector<string> ppds; in AddPrinterToCupsWithPpd() local
448 ParsePPDInfo(ipp_t *response, const char *ppd_make_model, const char *ppd_name, std::vector<std::string> &ppds) ParsePPDInfo() argument

Completed in 6 milliseconds