Home
last modified time | relevance | path

Searched refs:GetPrinterId (Results 1 – 25 of 27) sorted by relevance

12

/ohos5.0/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dprinter_info_test.cpp49 EXPECT_EQ("001", info.GetPrinterId());
300 EXPECT_EQ(copyInfo.GetPrinterId(), info.GetPrinterId());
315 EXPECT_EQ(copyInfo.GetPrinterId(), info.GetPrinterId());
H A Dprint_callback_stub_test.cpp104 return op.GetPrinterId() == oParam.GetPrinterId();
H A Dprint_job_test.cpp125 EXPECT_EQ(job.GetPrinterId(), "printid-1234");
H A Dprint_service_proxy_test.cpp582 EXPECT_EQ(testJobInfo.GetPrinterId(), jobinfo.GetPrinterId()); in __anon45825cae2102()
/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dprint_service_ability.cpp1171 auto printerId = nativePrintJob->GetPrinterId(); in StartNativePrintJob()
1190 auto printerId = jobInfo.GetPrinterId(); in StartPrintJob()
1219 ConnectIppOverUsbPrinter(printJob->GetPrinterId()); in UpdateQueuedJobList()
1248 std::string printerId = printJob->GetPrinterId(); in UpdateQueuedJobList()
1729 auto printerId = jobIt->second->GetPrinterId(); in CheckAndSendQueuePrintJob()
1897 auto printerId = jobInfo.GetPrinterId(); in RequestPreview()
2309 info.GetPrinterId().c_str(), event); in SendPrinterDiscoverEvent()
2323 info.GetPrinterId().c_str(), event); in SendPrinterChangeEvent()
2350 info.GetPrinterId().c_str(), printerEvent); in SendPrinterEventChangeEvent()
3133 std::string printExtId = info.GetPrinterId(); in UpdateSinglePrinterInfo()
[all …]
H A Dprint_security_guard_info.cpp40 std::string printerId = printerInfo.GetPrinterId(); in SetPrintTypeInfo()
H A Dvendor_ppd_driver.cpp110 …if (vendorManager->AddPrinterToCupsWithPpd(GetVendorName(), printerInfo.GetPrinterId(), ppdData) != in AddPrinterToCups()
H A Dvendor_bsuni_driver.cpp151 …return g_driverWrapper->vendorManager->AddPrinterToCupsWithPpd(vendorName, info.GetPrinterId(), pp… in AddPrinterToCups()
434 std::string printerId = printerInfo->GetPrinterId(); in OnPrinterCapabilityQueried()
H A Dprint_callback_proxy.cpp52 …Printer Event argument:[%{public}d], printerId [%{private}s]", state, info.GetPrinterId().c_str()); in OnCallback()
H A Dvendor_ipp_everywhere.cpp156 if (vendorManager->AddPrinterToCupsWithPpd(GetVendorName(), printerInfo->GetPrinterId(), "") != in ConnectPrinter()
H A Dvendor_wlan_group.cpp261 UpdateMappedPrinterId(printerInfo.GetPrinterId(), std::string(option["printer-uuid"])); in ConvertPrinterInfoId()
H A Dprint_system_data.cpp294 auto info = addedPrinterMap_.Find(printerInfo->GetPrinterId()); in UpdatePrinterUri()
833 discoveredPrinterInfoList_[printerInfo->GetPrinterId()] = printerInfo; in AddPrinterToDiscovery()
H A Dvendor_manager.cpp273 …auto targetVendorName = IsWlanGroupDriver(printerInfo.GetPrinterId()) ? VENDOR_WLAN_GROUP : vendor… in UpdatePrinterToDiscovery()
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/src/
H A Dprinter_info.cpp167 const std::string &PrinterInfo::GetPrinterId() const in GetPrinterId() function in OHOS::Print::PrinterInfo
336 parcel.WriteString(GetPrinterId()); in Marshalling()
H A Dprint_job.cpp213 const std::string &PrintJob::GetPrinterId() const in GetPrinterId() function in OHOS::Print::PrintJob
361 parcel.WriteString(GetPrinterId()); in Marshalling()
/ohos5.0/base/print/print_fwk/frameworks/ohprint/src/
H A Dprint_capi.cpp46 event, info.GetPrinterId().c_str()); in NativePrinterDiscoverFunction()
64 event, info.GetPrinterId().c_str()); in NativePrinterInfoFunction()
281 if (info.GetPrinterId() != id || info.GetPrinterName().empty()) { in OH_Print_QueryPrinterInfo()
H A Dprint_helper.cpp518 nativePrinterInfo->printerId = CopyString(info.GetPrinterId()); in ConvertToNativePrinterInfo()
540 …int32_t ret = PrintManagerClient::GetInstance()->GetPrinterPreference(info.GetPrinterId(), printer… in ConvertToNativePrinterInfo()
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/include/
H A Dprinter_info.h57 [[nodiscard]] const std::string &GetPrinterId() const;
H A Dprint_job.h78 [[nodiscard]] const std::string &GetPrinterId() const;
/ohos5.0/base/print/print_fwk/test/unittest/service_test/
H A Dprint_callback_proxy_test.cpp103 return op.GetPrinterId() == oParam.GetPrinterId();
/ohos5.0/base/print/print_fwk/interfaces/kits/napi/print_napi/src/
H A Dnapi_print_ext.cpp45 printerInfoPtr->SetPrinterId(printerInfoPtr->GetPrinterId()); in AddPrinters()
495 PRINT_HILOGD("PrinterId = %{public}s", info.GetPrinterId().c_str()); in DiscoverUsbPrinters()
535 …PRINT_HILOGD("printerInfoPtr->GetPrinterId() = %{public}s", printerInfoPtr->GetPrinterId().c_str()… in AddPrinterToDiscovery()
586 …PRINT_HILOGD("printerInfoPtr->GetPrinterId() = %{public}s", printerInfoPtr->GetPrinterId().c_str()… in UpdatePrinterInDiscovery()
676 …PRINT_HILOGD("UpdatePrinterInSystem printerId = %{public}s", printerInfoPtr->GetPrinterId().c_str(… in UpdatePrinterInSystem()
/ohos5.0/base/print/print_fwk/frameworks/helper/print_helper/src/
H A Dprinter_info_helper.cpp40 NapiPrintUtils::SetStringPropertyUtf8(env, jsObj, PARAM_INFO_PRINTERID, info.GetPrinterId()); in MakeJsObject()
H A Dprint_job_helper.cpp60 NapiPrintUtils::SetStringPropertyUtf8(env, jsObj, PARAM_JOB_PRINTERID, job.GetPrinterId()); in MakeJsObject()
/ohos5.0/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/
H A Dprint_callback.cpp180 callbackValues[1] = cbParam->jobInfo.GetPrinterId().length() == 0 in PrintJobAfterCallFun()
/ohos5.0/base/print/print_fwk/test/unittest/others/
H A Dprint_cups_client_vendor_helper_other_test.cpp1635 EXPECT_EQ(info.GetPrinterId(), "TestID"); in TEST_F()
1651 EXPECT_EQ(info.GetPrinterId(), "TestID"); in TEST_F()

12