Home
last modified time | relevance | path

Searched defs:printerId (Results 1 – 25 of 52) sorted by relevance

123

/ohos5.0/base/print/print_fwk/test/unittest/service_test/
H A Dprint_ipp_over_usb_manager_test.cpp55 std::string printerId = "com.ohos.spooler:USB-PixLab V1-0159"; variable
69 std::string printerId = "com.ohos.spoolerUSB-PixLab V1-0159"; variable
83 std::string printerId = "com.ohos.test:USB-PixLab V1-0159"; variable
97 std::string printerId = "com.ohos.spooler:USB-PixLab V1-0159"; variable
111 std::string printerId = "com.ohos.spooler:USB-PixLab V1-0159"; variable
124 std::string printerId = "com.ohos.spoolerUSB-PixLab V1-0159"; variable
137 std::string printerId = "com.ohos.test:USB-PixLab V1-0159"; variable
150 std::string printerId = "com.ohos.spooler:USB-PixLab V1-0159"; variable
H A Dprint_system_data_test.cpp72 std::string printerId = "1234"; variable
109 std::string printerId = "1234"; variable
124 std::string printerId = "1234"; variable
142 std::string printerId = "1234"; variable
154 std::string printerId = "1234"; variable
237 std::string printerId = "1234"; variable
258 std::string printerId = "1234"; variable
1013 std::string printerId; variable
1040 std::string printerId; variable
1061 std::string printerId; variable
[all …]
/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dvendor_wlan_group.cpp39 bool VendorWlanGroup::OnQueryCapability(const std::string &printerId, int timeout) in OnQueryCapability()
125 …32_t VendorWlanGroup::OnPrinterRemoved(const std::string &vendorName, const std::string &printerId) in OnPrinterRemoved()
143 std::string printerId(VendorManager::ExtractPrinterId(globalPrinterIdOrIp)); in IsConnectingPrinter() local
155 std::string printerId(VendorManager::ExtractPrinterId(globalPrinterIdOrIp)); in SetConnectingPrinter() local
161 …l VendorWlanGroup::OnPrinterPpdQueried(const std::string &vendorName, const std::string &printerId, in OnPrinterPpdQueried()
180 std::string printerId(VendorManager::ExtractPrinterId(bothPrinterId)); in IsGroupDriver() local
185 bool VendorWlanGroup::ConvertGroupDriver(std::string &printerId, std::string &vendorName) in ConvertGroupDriver()
200 bool VendorWlanGroup::IsBsunidriverSupport(const std::string &printerId) in IsBsunidriverSupport()
224 void VendorWlanGroup::RemovePrinterVendorGroupById(const std::string &printerId) in RemovePrinterVendorGroupById()
235 std::string printerId(VendorManager::ExtractPrinterId(bothPrinterId)); in ConvertGroupGlobalPrinterId() local
[all …]
H A Dvendor_ppd_driver.cpp25 bool VendorPpdDriver::OnQueryCapability(const std::string &printerId, int timeout) in OnQueryCapability()
52 bool VendorPpdDriver::OnQueryProperties(const std::string &printerId, const std::vector<std::string… in OnQueryProperties()
81 bool VendorPpdDriver::QueryPpdByPrinterId(const std::string &printerId, std::vector<std::string> &p… in QueryPpdByPrinterId()
94 bool VendorPpdDriver::AddPrinterToCups(const std::string &printerId, const std::string &ppdData) in AddPrinterToCups()
119 …hared_ptr<PrinterInfo> VendorPpdDriver::QueryPrinterCapabilityFromPpd(const std::string &printerId, in QueryPrinterCapabilityFromPpd()
H A Dvendor_driver_base.cpp53 bool VendorDriverBase::OnQueryCapability(const std::string &printerId, int timeout) in OnQueryCapability()
61 bool VendorDriverBase::OnQueryProperties(const std::string &printerId, const std::vector<std::strin… in OnQueryProperties()
101 bool VendorDriverBase::MonitorPrinterStatus(const std::string &printerId, bool on) in MonitorPrinterStatus()
121 …red_ptr<PrinterVendorStatus> VendorDriverBase::GetMonitorVendorStatus(const std::string &printerId) in GetMonitorVendorStatus()
136 std::string VendorDriverBase::GetGlobalPrinterId(const std::string &printerId) in GetGlobalPrinterId()
141 void VendorDriverBase::OnPrinterStateQueried(const std::string &printerId, Print_PrinterState state) in OnPrinterStateQueried()
H A Dvendor_manager.cpp48 …endorManager::GetGlobalPrinterId(const std::string &globalVendorName, const std::string &printerId) in GetGlobalPrinterId()
170 std::string printerId = ExtractPrinterId(globalPrinterId); in ConnectPrinter() local
201 std::string printerId = ExtractPrinterId(globalPrinterId); in QueryPrinterInfo() local
282 …dorManager::RemovePrinterFromDiscovery(const std::string &vendorName, const std::string &printerId) in RemovePrinterFromDiscovery()
300 …VendorManager::AddPrinterToCupsWithPpd(const std::string &vendorName, const std::string &printerId, in AddPrinterToCupsWithPpd()
328 …t VendorManager::RemovePrinterFromCups(const std::string &vendorName, const std::string &printerId) in RemovePrinterFromCups()
345 bool VendorManager::OnPrinterPpdQueried(const std::string &vendorName, const std::string &printerId, in OnPrinterPpdQueried()
371 … VendorManager::OnPrinterStatusChanged(const std::string &vendorName, const std::string &printerId, in OnPrinterStatusChanged()
479 std::string printerId = ExtractPrinterId(globalPrinterId); in MonitorPrinterStatus() local
551 const std::string &printerId) in QueryDiscoveredPrinterInfoById()
[all …]
H A Dprint_system_data.cpp128 const std::string &printerId, const CupsPrinterInfo &printerInfo, bool needUpdateCaps) in InsertCupsPrinter()
163 void PrintSystemData::DeleteCupsPrinter(const std::string &printerId) in DeleteCupsPrinter()
247 void PrintSystemData::QueryPrinterInfoById(const std::string &printerId, PrinterInfo &printerInfo) in QueryPrinterInfoById()
267 void PrintSystemData::UpdatePrinterStatus(const std::string& printerId, PrinterStatus printerStatus) in UpdatePrinterStatus()
301 void PrintSystemData::InsertPrinterInfo(const std::string &printerId, const PrinterInfo &printerInf… in InsertPrinterInfo()
331 bool PrintSystemData::IsPrinterAdded(const std::string &printerId) in IsPrinterAdded()
649 std::string printerId, PrinterCapability &printerCapability) in GetPrinterCapabilityFromSystemData()
682 std::string printerId, nlohmann::json &jsonObject, PrinterCapability &printerCapability) in GetPrinterCapabilityFromJson()
721 bool PrintSystemData::CheckPrinterInfoJson(nlohmann::json &object, std::string &printerId) in CheckPrinterInfoJson()
750 bool PrintSystemData::CheckPrinterBusy(const std::string &printerId) in CheckPrinterBusy()
[all …]
H A Dvendor_bsuni_driver.cpp106 int32_t VendorBsuniDriver::RemovePrinterFromDiscovery(const char *printerId) in RemovePrinterFromDiscovery()
154 int32_t VendorBsuniDriver::RemovePrinterFromCups(const char *printerId) in RemovePrinterFromCups()
187 int32_t VendorBsuniDriver::OnPropertiesQueried(const char *printerId, const Print_PropertyList *pro… in OnPropertiesQueried()
309 bool VendorBsuniDriver::OnQueryCapability(const std::string &printerId, int timeout) in OnQueryCapability()
347 bool VendorBsuniDriver::OnQueryProperties(const std::string &printerId, const std::vector<std::stri… in OnQueryProperties()
372 int32_t VendorBsuniDriver::OnPrinterPropertiesQueried(const std::string &printerId, in OnPrinterPropertiesQueried()
434 std::string printerId = printerInfo->GetPrinterId(); in OnPrinterCapabilityQueried() local
H A Dprint_ipp_over_usb_manager.cpp58 bool PrintIppOverUsbManager::ConnectPrinter(const std::string printerId, int32_t &port) in ConnectPrinter()
91 void PrintIppOverUsbManager::DisConnectPrinter(const std::string printerId) in DisConnectPrinter()
H A Dprint_service_ability.cpp434 for (auto &printerId : printerIdList) { in StartDiscoverPrinter() local
992 std::string printerId = it.key(); in InitPreferenceMap() local
1171 auto printerId = nativePrintJob->GetPrinterId(); in StartNativePrintJob() local
1190 auto printerId = jobInfo.GetPrinterId(); in StartPrintJob() local
1248 std::string printerId = printJob->GetPrinterId(); in UpdateQueuedJobList() local
1512 for (const auto& printerId : printerIds) { in RemovePrinters() local
1729 auto printerId = jobIt->second->GetPrinterId(); in CheckAndSendQueuePrintJob() local
1897 auto printerId = jobInfo.GetPrinterId(); in RequestPreview() local
3248 const std::string &printerId) in RemoveVendorPrinterFromDiscovery()
3256 const std::string &printerId, const std::string &ppdData) in AddVendorPrinterToCupsWithPpd()
[all …]
H A Dvendor_ipp_everywhere.cpp61 bool VendorIppEveryWhere::OnQueryCapability(const std::string &printerId, int timeout) in OnQueryCapability()
79 bool VendorIppEveryWhere::OnQueryProperties(const std::string &printerId, const std::vector<std::st… in OnQueryProperties()
144 std::string printerId(printerInfo->GetUri()); in ConnectPrinter() local
H A Dvendor_driver_group.cpp26 …_t VendorDriverGroup::OnPrinterRemoved(const std::string &vendorName, const std::string &printerId) in OnPrinterRemoved()
H A Dprint_user_data.cpp123 int32_t PrintUserData::SetLastUsedPrinter(const std::string &printerId) in SetLastUsedPrinter()
154 int32_t PrintUserData::SetDefaultPrinter(const std::string &printerId, uint32_t type) in SetDefaultPrinter()
189 void PrintUserData::DeletePrinter(const std::string &printerId) in DeletePrinter()
210 void PrintUserData::DeletePrinterFromUsedPrinterList(const std::string &printerId) in DeletePrinterFromUsedPrinterList()
H A Dprint_extension_callback_proxy.cpp47 bool PrintExtensionCallbackProxy::OnCallback(const std::string &printerId) in OnCallback()
93 bool PrintExtensionCallbackProxy::OnCallback(const std::string &printerId, PrinterCapability &cap) in OnCallback()
/ohos5.0/base/print/print_fwk/test/unittest/others/
H A Dprint_ipp_over_usb_manager_other_test.cpp66 std::string printerId = "validPrinterId"; in TEST_F() local
74 std::string printerId = "invalidPrinterId"; in TEST_F() local
82 std::string printerId = ""; in TEST_F() local
90 std::string printerId = nullptr; in TEST_F() local
H A Dprint_service_ability_other_test.cpp464 std::string printerId = ""; variable
1131 std::string printerId = "testId"; in TEST_F() local
1223 std::string printerId; member in OHOS::Print::PrintServiceAbilityTest
1275 std::string printerId = "printer1"; variable
1284 std::string printerId = "printer1"; variable
1294 std::string printerId = "printer1"; variable
1305 std::string printerId = "printer1"; variable
1318 std::string printerId = "printer1"; variable
1343 std::string printerId = "printer1"; variable
1357 std::string printerId = ""; variable
[all …]
/ohos5.0/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/
H A Dvendor_ppd_driver_test.cpp57 std::string printerId = "test.printer.id"; variable
74 std::string printerId = "test.printer.id"; variable
92 std::string printerId = "test.printer.id"; variable
110 std::string printerId = "test.printer.id"; variable
128 std::string printerId = "test.printer.id"; variable
146 std::string printerId = "test.printer.id"; variable
H A Dvendor_bsuni_driver_test.cpp65 int32_t OnConnectPrinterTest(const char *printerId) in OnConnectPrinterTest()
72 int32_t OnDisconnectPrinterTest(const char *printerId) in OnDisconnectPrinterTest()
79 int32_t OnQueryCapabilityTest(const char *printerId) in OnQueryCapabilityTest()
93 int32_t OnQueryPropertiesTest(const char *printerId, const Print_StringList *propertyKeyList) in OnQueryPropertiesTest()
225 std::string printerId = PRINTER_TEST_IP; variable
H A Dvendor_manager_test.cpp60 std::string printerId = "test.printer.id"; variable
122 std::string printerId = PRINTER_TEST_IP; variable
/ohos5.0/base/print/print_fwk/interfaces/kits/jsnapi/print_extension/
H A Dprint_extension.js29 onConnectPrinter(printerId) { argument
33 onDisconnectPrinter(printerId) { argument
45 onRequestPrinterCapability(printerId) { argument
/ohos5.0/base/print/print_fwk/test/unittest/service_test/mock/
H A Dmock_print_service.h35 int32_t ConnectPrinter(const std::string &printerId) override in ConnectPrinter()
39 int32_t DisconnectPrinter(const std::string &printerId) override in DisconnectPrinter()
75 int32_t UpdatePrinterState(const std::string &printerId, uint32_t state) override in UpdatePrinterState()
95 int32_t QueryPrinterCapability(const std::string &printerId) override in QueryPrinterCapability()
133 int32_t QueryPrinterCapabilityByUri(const std::string &printerUri, const std::string &printerId, in QueryPrinterCapabilityByUri()
156 int32_t QueryPrinterInfoByPrinterId(const std::string &printerId, PrinterInfo &info) override in QueryPrinterInfoByPrinterId()
164 …int32_t QueryPrinterProperties(const std::string &printerId, const std::vector<std::string> &keyLi… in QueryPrinterProperties()
185 …int32_t GetPrinterPreference(const std::string &printerId, std::string &printerPreference) override in GetPrinterPreference()
189 …int32_t SetPrinterPreference(const std::string &printerId, const std::string &printerPreference) o… in SetPrinterPreference()
193 int32_t SetDefaultPrinter(const std::string &printerId, uint32_t type) override in SetDefaultPrinter()
[all …]
/ohos5.0/base/print/print_fwk/test/unittest/fwk_print_service_ability_test/
H A Dprint_service_ability_test.cpp259 std::string printerId = "1234"; variable
387 std::string printerId ="1234"; variable
409 std::string printerId ="1234"; variable
594 std::string printerId = "1234"; variable
927 std::string printerId ="1234"; variable
1387 std::string printerId = "123"; variable
1401 std::string printerId = "123"; variable
1409 std::string printerId = "123"; variable
1434 std::string printerId = "123"; variable
1453 std::string printerId = "123"; variable
[all …]
/ohos5.0/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/
H A Dprint_extension_callback_stub.cpp62 bool PrintExtensionCallbackStub::OnCallback(const std::string &printerId) in OnCallback()
78 bool PrintExtensionCallbackStub::OnCallback(const std::string &printerId, PrinterCapability &cap) in OnCallback()
118 std::string printerId = data.ReadString(); in HandlePrinterCallback() local
139 std::string printerId = data.ReadString(); in HandleCapabilityCallback() local
/ohos5.0/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dprint_manager_client_test.cpp508 std::string printerId = "printId-123"; variable
2206 std::string printerId; variable
2216 std::string printerId; variable
2227 std::string printerId; variable
2238 std::string printerId; variable
2418 std::string printerId = "2"; variable
2426 std::string printerId = "2"; variable
2461 std::string printerId = "2"; variable
2480 std::string printerId = "2"; variable
2533 std::string printerId; variable
[all …]
/ohos5.0/base/print/print_fwk/test/fuzztest/printserviceability_fuzzer/
H A Dprintserviceability_fuzzer.cpp79 std::string printerId = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in TestDisconnectPrinter() local
150 std::string printerId = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in TestRemovePrinters() local
170 std::string printerId = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in TestUpdatePrinterState() local
206 std::string printerId = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in TestQueryPrinterCapability() local
307 std::string printerId = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in TestQueryPrinterCapabilityByUri() local
331 std::string printerId = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in TestQueryPrinterInfoByPrinterId() local
356 std::string printerId = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in TestQueryPrinterProperties() local
376 std::string printerId = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in TestGetPrinterPreference() local
383 std::string printerId = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in TestSetPrinterPreference() local
390 std::string printerId = dataProvider->ConsumeRandomLengthString(MAX_STRING_LENGTH); in TestSetDefaultPrinter() local
[all …]

123