/ohos5.0/base/print/print_fwk/test/unittest/service_test/ |
H A D | print_ipp_over_usb_manager_test.cpp | 55 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 D | print_system_data_test.cpp | 72 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 D | vendor_wlan_group.cpp | 39 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 D | vendor_ppd_driver.cpp | 25 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 D | vendor_driver_base.cpp | 53 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 D | vendor_manager.cpp | 48 …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 D | print_system_data.cpp | 128 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 D | vendor_bsuni_driver.cpp | 106 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 D | print_ipp_over_usb_manager.cpp | 58 bool PrintIppOverUsbManager::ConnectPrinter(const std::string printerId, int32_t &port) in ConnectPrinter() 91 void PrintIppOverUsbManager::DisConnectPrinter(const std::string printerId) in DisConnectPrinter()
|
H A D | print_service_ability.cpp | 434 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 D | vendor_ipp_everywhere.cpp | 61 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 D | vendor_driver_group.cpp | 26 …_t VendorDriverGroup::OnPrinterRemoved(const std::string &vendorName, const std::string &printerId) in OnPrinterRemoved()
|
H A D | print_user_data.cpp | 123 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 D | print_extension_callback_proxy.cpp | 47 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 D | print_ipp_over_usb_manager_other_test.cpp | 66 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 D | print_service_ability_other_test.cpp | 464 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 D | vendor_ppd_driver_test.cpp | 57 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 D | vendor_bsuni_driver_test.cpp | 65 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 D | vendor_manager_test.cpp | 60 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 D | print_extension.js | 29 onConnectPrinter(printerId) { argument 33 onDisconnectPrinter(printerId) { argument 45 onRequestPrinterCapability(printerId) { argument
|
/ohos5.0/base/print/print_fwk/test/unittest/service_test/mock/ |
H A D | mock_print_service.h | 35 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 D | print_service_ability_test.cpp | 259 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 D | print_extension_callback_stub.cpp | 62 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 D | print_manager_client_test.cpp | 508 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 D | printserviceability_fuzzer.cpp | 79 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 …]
|