/ohos5.0/base/print/print_fwk/frameworks/ohprint/src/ |
H A D | print_capi.cpp | 231 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 D | print_system_data_test.cpp | 478 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 D | iprint_service.h | 76 virtual int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList) = 0;
|
H A D | print_service_proxy.h | 73 int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList) override;
|
H A D | print_manager_client.h | 77 int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList);
|
/ohos5.0/base/print/print_fwk/services/print_service/include/ |
H A D | print_system_data.h | 55 void GetAddedPrinterListFromSystemData(std::vector<std::string> &printerNameList);
|
H A D | print_service_ability.h | 96 int32_t QueryAddedPrinter(std::vector<std::string> &printerNameList) override;
|
/ohos5.0/base/print/print_fwk/test/unittest/fwk_print_cups_client_test/ |
H A D | print_cups_client_test.cpp | 554 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 D | print_service_ability.cpp | 597 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 D | print_service_stub.cpp | 321 std::vector<std::string> printerNameList; in OnQueryAddedPrinter() local 323 int32_t ret = QueryAddedPrinter(printerNameList); in OnQueryAddedPrinter() 325 reply.WriteStringVector(printerNameList); in OnQueryAddedPrinter()
|
H A D | print_system_data.cpp | 319 void PrintSystemData::GetAddedPrinterListFromSystemData(std::vector<std::string> &printerNameList) in GetAddedPrinterListFromSystemData() argument 327 printerNameList.push_back(info->name); in GetAddedPrinterListFromSystemData()
|
H A D | print_cups_client.cpp | 946 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 D | mock_print_service.h | 160 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 D | print_service_proxy.cpp | 469 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 D | print_manager_client.cpp | 336 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 D | print_manager_client_test.cpp | 2266 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 D | printserviceability_fuzzer.cpp | 349 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 D | print_cups_client_vendor_helper_other_test.cpp | 467 client.QueryAddedPrinterList = [](std::vector std::stringundefined &printerNameList) { return E_PRI… in TEST_F() argument
|