Home
last modified time | relevance | path

Searched refs:GetPrinterName (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/base/print/print_fwk/test/unittest/others/
H A Dprint_usb_manager_other_test.cpp40 virtual std::string GetPrinterName(const std::string &name) in GetPrinterName() function in OHOS::Print::PrintUsbManagerTest
371 EXPECT_EQ(manager.GetPrinterName(expected), expected); in HWTEST_F()
378 EXPECT_EQ(manager.GetPrinterName(expected), expected); in HWTEST_F()
385 EXPECT_EQ(manager.GetPrinterName(expected), expected); in HWTEST_F()
392 EXPECT_EQ(manager.GetPrinterName(expected), expected); in HWTEST_F()
399 EXPECT_EQ(manager.GetPrinterName(expected), expected); in HWTEST_F()
H A Dprint_service_ability_other_test.cpp1089 std::string GetPrinterName() in TEST_F() function
1095 auto ret = instance->AddPrinterToCups(printerUri, printerInfo.GetPrinterName(), make); in TEST_F()
1105 std::string GetPrinterName() in TEST_F() function
1111 auto ret = instance->AddPrinterToCups(printerUri, printerInfo.GetPrinterName(), make); in TEST_F()
1118 std::string GetPrinterName() in TEST_F() function
1124 instance->QueryPrinterCapabilityFromPPD(printerInfo.GetPrinterName(), printerCaps); in TEST_F()
H A Dprint_cups_client_vendor_helper_other_test.cpp1636 EXPECT_EQ(info.GetPrinterName(), "TestName UNI"); in TEST_F()
1652 EXPECT_EQ(info.GetPrinterName(), "TestName UNI"); in TEST_F()
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/src/
H A Dprinter_info.cpp172 const std::string &PrinterInfo::GetPrinterName() const in GetPrinterName() function in OHOS::Print::PrinterInfo
337 parcel.WriteString(GetPrinterName()); in Marshalling()
/ohos5.0/base/print/print_fwk/services/print_service/include/
H A Dprint_usb_manager.h60 std::string GetPrinterName(const std::string &name);
/ohos5.0/base/print/print_fwk/frameworks/models/print_models/include/
H A Dprinter_info.h59 [[nodiscard]] const std::string &GetPrinterName() const;
/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dvendor_ppd_driver.cpp109 printerInfo.GetPrinterName().c_str()); in AddPrinterToCups()
H A Dprint_http_server_manager.cpp163 … std::string printerName = DelayedSingleton<PrintUsbManager>::GetInstance()->GetPrinterName(name); in DealUsbDevDetach()
H A Dprint_usb_manager.cpp358 std::string printerName = GetPrinterName(dev->GetName()); in DealUsbDevStatusChange()
379 std::string PrintUsbManager::GetPrinterName(const std::string &name) in GetPrinterName() function in OHOS::Print::PrintUsbManager
H A Dprint_service_ability.cpp678 PRINT_HILOGD("printerInfo %{public}s", printerInfo.GetPrinterName().c_str()); in QueryPrinterProperties()
771 AddPrinterToCups(printerUri, printerInfo->GetPrinterName(), make); in QueryPrinterCapabilityByUri()
777 QueryPrinterCapabilityFromPPD(printerInfo->GetPrinterName(), printerCaps); in QueryPrinterCapabilityByUri()
1581 cupsPrinterInfo.name = info.GetPrinterName(); in UpdatePrinterCapability()
1815 msg["MODEL"] = printerInfo->GetPrinterName(); in ReportHisysEvent()
3270 info.name = printerInfo->GetPrinterName(); in AddVendorPrinterToCupsWithPpd()
3318 info.name = printerInfo->GetPrinterName(); in AddVendorPrinterToCupsWithSpecificPpd()
3331 QueryPrinterCapabilityFromPPD(printerInfo->GetPrinterName(), printerCaps); in AddVendorPrinterToCupsWithSpecificPpd()
3588 return info.GetPrinterName(); in RenamePrinterWhenAdded()
3593 auto printerName = info.GetPrinterName(); in RenamePrinterWhenAdded()
[all …]
H A Dvendor_ipp_everywhere.cpp149 printerInfo->SetPrinterName(discoveredInfo->GetPrinterName()); in ConnectPrinter()
H A Dvendor_helper.cpp725 options["printerName"] = info.GetPrinterName(); in UpdatePrinterInfoWithCapability()
H A Dprint_system_data.cpp821 if (PrintUtil::StandardizePrinterName(printerInfoPtr->GetPrinterName()) != name) { in QueryDiscoveredPrinterInfoByName()
H A Dprint_service_stub.cpp291 …I("PrintServiceStub::OnQueryPrinterInfoByPrinterId out %{public}s", info.GetPrinterName().c_str()); in OnQueryPrinterInfoByPrinterId()
H A Dprint_cups_client.cpp1069 PRINT_HILOGD("the printerInfo printerName %{public}s", info.GetPrinterName().c_str()); in QueryPrinterInfoByPrinterId()
1075 dest = printAbility_->GetNamedDest(CUPS_HTTP_DEFAULT, info.GetPrinterName().c_str(), nullptr); in QueryPrinterInfoByPrinterId()
/ohos5.0/base/print/print_fwk/frameworks/helper/print_helper/src/
H A Dprinter_info_helper.cpp41 … NapiPrintUtils::SetStringPropertyUtf8(env, jsObj, PARAM_INFO_PRINTERNAME, info.GetPrinterName()); in MakeJsObject()
/ohos5.0/base/print/print_fwk/test/unittest/service_test/
H A Dprint_usb_manager_test.cpp304 std::string printerName = printUsbManager.GetPrinterName(name);
308 printUsbManager.GetPrinterName(usbDevice.GetName());
H A Dprint_system_data_test.cpp165 EXPECT_EQ(result->GetPrinterName(), "123");
/ohos5.0/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dprinter_info_test.cpp62 EXPECT_EQ("OpenHarmony", info.GetPrinterName());
/ohos5.0/base/print/print_fwk/frameworks/ohprint/src/
H A Dprint_capi.cpp281 if (info.GetPrinterId() != id || info.GetPrinterName().empty()) { in OH_Print_QueryPrinterInfo()
H A Dprint_helper.cpp519 nativePrinterInfo->printerName = CopyString(info.GetPrinterName()); in ConvertToNativePrinterInfo()
/ohos5.0/base/print/print_fwk/interfaces/kits/napi/print_napi/src/
H A Dnapi_print_ext.cpp496 PRINT_HILOGD("PrinterName = %{private}s", info.GetPrinterName().c_str()); in DiscoverUsbPrinters()