/base/print/print_fwk/frameworks/helper/src/ |
D | printer_info_helper.cpp | 74 …std::string printerName = NapiPrintUtils::GetStringPropertyUtf8(env, jsValue, PARAM_INFO_PRINTERNA… in BuildFromJs() local 75 if (printerId == "" || printerName == "") { in BuildFromJs() 77 printerId.c_str(), printerName.c_str()); in BuildFromJs() 81 nativeObj->SetPrinterName(printerName); in BuildFromJs()
|
/base/print/print_fwk/services/include/ |
D | print_cups_client.h | 79 std::string printerName; member 113 int32_t AddPrinterToCups(const std::string &printerUri, const std::string &printerName); 136 bool IsPrinterExist(const char* printerUri, const char* printerName);
|
D | print_service_ability.h | 76 … int32_t AddPrinterToCups(const std::string &printerUri, const std::string &printerName) override;
|
/base/print/print_fwk/interfaces/kits/jskits/ |
D | @ohos.print.d.ts | 120 printerName: string; // printer name property 536 …function addPrinterToCups(printerUri: string, printerName: string, callback: AsyncCallback<boolean… 537 function addPrinterToCups(printerUri: string, printerName: string): Promise<boolean>;
|
/base/print/print_fwk/services/src/ |
D | print_cups_client.cpp | 137 …_t PrintCupsClient::AddPrinterToCups(const std::string &printerUri, const std::string &printerName) in AddPrinterToCups() argument 144 if (IsPrinterExist(printerUri.c_str(), printerName.c_str())) { in AddPrinterToCups() 151 printerName.c_str()); in AddPrinterToCups() 154 ippAddString(request, IPP_TAG_PRINTER, IPP_TAG_TEXT, "printer-info", NULL, printerName.c_str()); in AddPrinterToCups() 344 if ((job_id = cupsCreateJob(http, jobParams->printerName.c_str(), jobParams->jobName.c_str(), in StartCupsJob() 355 cupsCancelJob2(http, jobParams->printerName.c_str(), job_id, 0); in StartCupsJob() 359 …status = cupsStartDocument(http, jobParams->printerName.c_str(), job_id, jobParams->jobName.c_str(… in StartCupsJob() 364 … if (status != HTTP_STATUS_CONTINUE || cupsFinishDocument(http, jobParams->printerName.c_str()) in StartCupsJob() 589 if (cupsCancelJob2(CUPS_HTTP_DEFAULT, currentJob->printerName.c_str(), in CancelCupsJob() 629 params->printerName = optionJson["printerName"]; in BuildJobParameters() [all …]
|
D | print_service_stub.cpp | 375 std::string printerName = data.ReadString(); in OnAddPrinterToCups() local 376 int32_t ret = AddPrinterToCups(printerUri, printerName); in OnAddPrinterToCups()
|
D | print_service_ability.cpp | 590 …rintServiceAbility::AddPrinterToCups(const std::string &printerUri, const std::string &printerName) in AddPrinterToCups() argument 599 PrintCupsClient::GetInstance()->AddPrinterToCups(printerUri, printerName); in AddPrinterToCups()
|
/base/print/print_fwk/frameworks/innerkitsimpl/src/ |
D | printer_info.cpp | 64 void PrinterInfo::SetPrinterName(std::string printerName) in SetPrinterName() argument 66 printerName_ = printerName; in SetPrinterName()
|
D | print_manager_client.cpp | 312 …PrintManagerClient::AddPrinterToCups(const std::string &printerUri, const std::string &printerName) in AddPrinterToCups() argument 317 ret = printServiceProxy_->AddPrinterToCups(printerUri, printerName); in AddPrinterToCups()
|
D | print_service_proxy.cpp | 387 … PrintServiceProxy::AddPrinterToCups(const std::string &printerUri, const std::string &printerName) in AddPrinterToCups() argument 393 data.WriteString(printerName); in AddPrinterToCups()
|
/base/print/print_fwk/frameworks/innerkitsimpl/include/ |
D | printer_info.h | 35 void SetPrinterName(std::string printerName);
|
D | iprint_service.h | 62 …virtual int32_t AddPrinterToCups(const std::string &printerUri, const std::string &printerName) = …
|
D | print_service_proxy.h | 56 … int32_t AddPrinterToCups(const std::string &printerUri, const std::string &printerName) override;
|
D | print_manager_client.h | 64 int32_t AddPrinterToCups(const std::string &printerUri, const std::string &printerName);
|
/base/print/print_fwk/interfaces/kits/napi/include/ |
D | napi_print_ext.h | 63 std::string printerName = ""; member
|
/base/print/print_fwk/interfaces/kits/napi/src/ |
D | napi_print_ext.cpp | 332 …std::string printerName = NapiPrintUtils::GetStringFromValueUtf8(env, argv[NapiPrintUtils::INDEX_O… in AddPrinterToCups() local 333 PRINT_HILOGD("printerName : %{private}s", printerName.c_str()); in AddPrinterToCups() 334 context->printerName = printerName; in AddPrinterToCups() 344 …t = PrintManagerClient::GetInstance()->AddPrinterToCups(context->printerUri, context->printerName); in AddPrinterToCups()
|
/base/print/print_fwk/test/unittest/service_test/mock/ |
D | mock_print_service.h | 129 int32_t AddPrinterToCups(const std::string &printerUri, const std::string &printerName) override in AddPrinterToCups() argument
|
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
D | print_manager_client_test.cpp | 2206 std::string printerName; variable 2208 PrintManagerClient::GetInstance()->AddPrinterToCups(printerUri, printerName); 2214 std::string printerName; variable 2217 PrintManagerClient::GetInstance()->AddPrinterToCups(printerUri, printerName); 2223 std::string printerName; variable 2226 PrintManagerClient::GetInstance()->AddPrinterToCups(printerUri, printerName); 2232 std::string printerName; variable 2234 PrintManagerClient::GetInstance()->AddPrinterToCups(printerUri, printerName);
|
/base/print/print_fwk/test/unittest/service_test/ |
D | print_service_ability_test.cpp | 2422 std::string printerName; variable 2424 service -> AddPrinterToCups(printerUrl, printerName); 2433 std::string printerName; variable 2435 service -> AddPrinterToCups(printerUrl, printerName);
|