Home
last modified time | relevance | path

Searched refs:printerNameList (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/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()
/ohos5.0/base/print/print_fwk/test/unittest/service_test/
H A Dprint_system_data_test.cpp478 std::vector<std::string> printerNameList; variable
479 systemData->GetAddedPrinterListFromSystemData(printerNameList);
486 std::vector<std::string> printerNameList; variable
487 systemData->GetAddedPrinterListFromSystemData(printerNameList);
489 systemData->GetAddedPrinterListFromSystemData(printerNameList);
495 systemData->GetAddedPrinterListFromSystemData(printerNameList);
/ohos5.0/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/include/
H A Diprint_service.h76 virtual int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList) = 0;
H A Dprint_service_proxy.h73 int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList) override;
H A Dprint_manager_client.h77 int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList);
/ohos5.0/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.h96 int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList) override;
/ohos5.0/base/print/print_fwk/test/unittest/fwk_print_cups_client_test/
H A Dprint_cups_client_test.cpp554 std::vector<std::string> printerNameList; variable
555 printerNameList.push_back("testPrinterName");
557 printCupsClient.QueryAddedPrinterList(printerNameList);
569 std::vector<std::string> printerNameList; variable
570 printerNameList.push_back("testPrinterName");
572 printCupsClient.QueryAddedPrinterList(printerNameList);
/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dprint_service_ability.cpp597 std::vector<std::string> printerNameList; in QueryAddedPrinter() local
598 printSystemData_.GetAddedPrinterListFromSystemData(printerNameList); in QueryAddedPrinter()
599 if (printerNameList.size() <= 0) { in QueryAddedPrinter()
603 for (uint32_t i = 0; i < printerNameList.size(); i++) { in QueryAddedPrinter()
604 PRINT_HILOGD("QueryAddedPrinter in printerName %{public}s", printerNameList[i].c_str()); in QueryAddedPrinter()
605 … std::string printerId = printSystemData_.QueryPrinterIdByStandardizeName(printerNameList[i]); in QueryAddedPrinter()
3590 std::vector<std::string> printerNameList; in RenamePrinterWhenAdded() local
3591 printSystemData_.GetAddedPrinterListFromSystemData(printerNameList); in RenamePrinterWhenAdded()
3594 auto iter = printerNameList.begin(); in RenamePrinterWhenAdded()
3595 auto end = printerNameList.end(); in RenamePrinterWhenAdded()
[all …]
H A Dprint_service_stub.cpp321 std::vector<std::string> printerNameList; in OnQueryAddedPrinter() local
323 int32_t ret = QueryAddedPrinter(printerNameList); in OnQueryAddedPrinter()
325 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.cpp946 int32_t PrintCupsClient::QueryAddedPrinterList(std::vector<std::string> &printerNameList) in QueryAddedPrinterList() argument
955 printerNameList.clear(); in QueryAddedPrinterList()
961 printerNameList.emplace_back(dests[i].name); in QueryAddedPrinterList()
/ohos5.0/base/print/print_fwk/test/unittest/service_test/mock/
H A Dmock_print_service.h160 int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList) override in QueryAddedPrinter() argument
/ohos5.0/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/
H A Dprint_service_proxy.cpp469 int32_t PrintServiceProxy::QueryAddedPrinter(std::vector<std::string> &printerNameList) in QueryAddedPrinter() argument
483 reply.ReadStringVector(&printerNameList); in QueryAddedPrinter()
484 …D("PrintServiceProxy QueryAddedPrinter printerNameList size %{public}zu.", printerNameList.size()); in QueryAddedPrinter()
H A Dprint_manager_client.cpp336 int32_t PrintManagerClient::QueryAddedPrinter(std::vector<std::string> &printerNameList) in QueryAddedPrinter() argument
342 ret = printServiceProxy_->QueryAddedPrinter(printerNameList); in QueryAddedPrinter()
/ohos5.0/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dprint_manager_client_test.cpp2266 std::vector<std::string> printerNameList; variable
2267 printerNameList.push_back("1");
2269 int32_t ret = PrintManagerClient::GetInstance()->QueryAddedPrinter(printerNameList);
2484 std::vector<std::string> printerNameList; variable
2485 printerNameList.push_back("1");
2486 mockPrintManagerClient.QueryAddedPrinter(printerNameList);
/ohos5.0/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()
/ohos5.0/base/print/print_fwk/test/unittest/others/
H A Dprint_cups_client_vendor_helper_other_test.cpp467 client.QueryAddedPrinterList = [](std::vector std::stringundefined &printerNameList) { return E_PRI… in TEST_F() argument