Home
last modified time | relevance | path

Searched refs:printerNameList (Results 1 - 17 of 17) sorted by relevance

/base/print/print_fwk/frameworks/ohprint/src/
H A Dprint_capi.cpp231 std::vector<std::string> printerNameList; in OH_Print_QueryPrinterList() local
232 int32_t ret = PrintManagerClient::GetInstance()->QueryAddedPrinter(printerNameList); in OH_Print_QueryPrinterList()
233 size_t count = printerNameList.size(); in OH_Print_QueryPrinterList()
250 printerIdList->list[i] = CopyString(printerNameList[i]); in OH_Print_QueryPrinterList()
/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/include/
H A Diprint_service.h74 virtual int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList) = 0;
H A Dprint_service_proxy.h71 int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList) override;
H A Dprint_manager_client.h77 int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList);
/base/print/print_fwk/services/print_service/include/
H A Dprint_system_data.h55 void GetAddedPrinterListFromSystemData(std::vector<std::string> &printerNameList);
H A Dprint_service_ability.h95 int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList) override;
/base/print/print_fwk/services/print_service/src/
H A Dprint_service_ability.cpp598 std::vector<std::string> printerNameList; in QueryAddedPrinter() local
599 printSystemData_.GetAddedPrinterListFromSystemData(printerNameList); in QueryAddedPrinter()
600 if (printerNameList.size() <= 0) { in QueryAddedPrinter()
604 for (uint32_t i = 0; i < printerNameList.size(); i++) { in QueryAddedPrinter()
605 PRINT_HILOGD("QueryAddedPrinter in printerName %{public}s", printerNameList[i].c_str()); in QueryAddedPrinter()
606 std::string printerId = printSystemData_.QueryPrinterIdByStandardizeName(printerNameList[i]); in QueryAddedPrinter()
3449 std::vector<std::string> printerNameList; in RenamePrinterWhenAdded() local
3450 printSystemData_.GetAddedPrinterListFromSystemData(printerNameList); in RenamePrinterWhenAdded()
3453 auto iter = printerNameList.begin(); in RenamePrinterWhenAdded()
3454 auto end = printerNameList in RenamePrinterWhenAdded()
[all...]
H A Dprint_service_stub.cpp317 std::vector<std::string> printerNameList; in OnQueryAddedPrinter() local
319 int32_t ret = QueryAddedPrinter(printerNameList); in OnQueryAddedPrinter()
321 reply.WriteStringVector(printerNameList); in OnQueryAddedPrinter()
H A Dprint_system_data.cpp319 void PrintSystemData::GetAddedPrinterListFromSystemData(std::vector<std::string> &printerNameList) in GetAddedPrinterListFromSystemData() argument
327 printerNameList.push_back(info->name); in GetAddedPrinterListFromSystemData()
H A Dprint_cups_client.cpp870 int32_t PrintCupsClient::QueryAddedPrinterList(std::vector<std::string> &printerNameList) in QueryAddedPrinterList() argument
879 printerNameList.clear(); in QueryAddedPrinterList()
885 printerNameList.emplace_back(dests[i].name); in QueryAddedPrinterList()
/base/print/print_fwk/test/unittest/fwk_print_cups_client_test/
H A Dprint_cups_client_test.cpp550 std::vector<std::string> printerNameList; in HWTEST_F() local
551 printerNameList.push_back("testPrinterName"); in HWTEST_F()
553 printCupsClient.QueryAddedPrinterList(printerNameList); in HWTEST_F()
565 std::vector<std::string> printerNameList; in HWTEST_F() local
566 printerNameList.push_back("testPrinterName"); in HWTEST_F()
568 printCupsClient.QueryAddedPrinterList(printerNameList); in HWTEST_F()
/base/print/print_fwk/test/unittest/service_test/
H A Dprint_system_data_test.cpp478 std::vector<std::string> printerNameList; in HWTEST_F() local
479 systemData->GetAddedPrinterListFromSystemData(printerNameList); in HWTEST_F()
486 std::vector<std::string> printerNameList; in HWTEST_F() local
487 systemData->GetAddedPrinterListFromSystemData(printerNameList); in HWTEST_F()
489 systemData->GetAddedPrinterListFromSystemData(printerNameList); in HWTEST_F()
495 systemData->GetAddedPrinterListFromSystemData(printerNameList); in HWTEST_F()
/base/print/print_fwk/test/unittest/service_test/mock/
H A Dmock_print_service.h156 int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList) override
/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/
H A Dprint_service_proxy.cpp443 int32_t PrintServiceProxy::QueryAddedPrinter(std::vector<std::string> &printerNameList) in QueryAddedPrinter() argument
457 reply.ReadStringVector(&printerNameList); in QueryAddedPrinter()
458 PRINT_HILOGD("PrintServiceProxy QueryAddedPrinter printerNameList size %{public}zu.", printerNameList.size()); in QueryAddedPrinter()
H A Dprint_manager_client.cpp318 int32_t PrintManagerClient::QueryAddedPrinter(std::vector<std::string> &printerNameList) in QueryAddedPrinter() argument
324 ret = printServiceProxy_->QueryAddedPrinter(printerNameList); in QueryAddedPrinter()
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dprint_manager_client_test.cpp2257 std::vector<std::string> printerNameList; in HWTEST_F() local
2258 printerNameList.push_back("1"); in HWTEST_F()
2260 PrintManagerClient::GetInstance()->QueryAddedPrinter(printerNameList); in HWTEST_F()
2449 std::vector<std::string> printerNameList; in HWTEST_F() local
2450 printerNameList.push_back("1"); in HWTEST_F()
2451 mockPrintManagerClient.QueryAddedPrinter(printerNameList); in HWTEST_F()
/base/print/print_fwk/test/fuzztest/printserviceability_fuzzer/
H A Dprintserviceability_fuzzer.cpp349 std::vector<std::string> printerNameList; in TestQueryAddedPrinter() local
350 printerNameList.push_back(printerName); in TestQueryAddedPrinter()
351 PrintServiceAbility::GetInstance()->QueryAddedPrinter(printerNameList); in TestQueryAddedPrinter()

Completed in 29 milliseconds