Home
last modified time | relevance | path

Searched refs:propertyKeys (Results 1 – 11 of 11) sorted by relevance

/ohos5.0/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/
H A Dvendor_bsuni_driver_test.cpp197 std::vector<std::string> propertyKeys; variable
198 propertyKeys.push_back(PRINTER_PROPERTY_KEY_DEVICE_STATE);
199 propertyKeys.push_back(PRINTER_PROPERTY_KEY_DEVICE_SUPPLIES);
221 std::vector<std::string> propertyKeys; variable
222 propertyKeys.push_back(PRINTER_PROPERTY_KEY_DEVICE_STATE);
223 propertyKeys.push_back(PRINTER_PROPERTY_KEY_DEVICE_SUPPLIES);
224 propertyKeys.push_back(PRINTER_PROPERTY_KEY_CUPS_PPD_FILE);
257 std::vector<std::string> propertyKeys; variable
258 vendorDriver.OnQueryProperties(PRINTER_TEST_IP, propertyKeys);
280 std::vector<std::string> propertyKeys; variable
[all …]
H A Dvendor_ipp_everywhere_test.cpp83 std::vector<std::string> propertyKeys; variable
84 EXPECT_FALSE(vendorDriver.OnQueryProperties(PRINTER_TEST_IP, propertyKeys));
85 propertyKeys.push_back(PRINTER_PROPERTY_KEY_DEVICE_STATE);
86 propertyKeys.push_back(PRINTER_PROPERTY_KEY_DEVICE_SUPPLIES);
87 EXPECT_FALSE(vendorDriver.OnQueryProperties(PRINTER_TEST_IP, propertyKeys));
92 EXPECT_TRUE(vendorDriver.OnQueryProperties(PRINTER_TEST_IP, propertyKeys));
130 std::vector<std::string> propertyKeys; variable
131 EXPECT_FALSE(vendorDriver.OnQueryProperties(printerId, propertyKeys));
H A Dvendor_ppd_driver_test.cpp59 std::vector<std::string> propertyKeys(1, "test.property.key"); variable
65 EXPECT_FALSE(vendorDriver.OnQueryProperties(printerId, propertyKeys));
66 EXPECT_TRUE(vendorDriver.OnQueryProperties(printerId, propertyKeys));
148 std::vector<std::string> propertyKeys(1, "test.property.key"); variable
161 EXPECT_TRUE(vendorDriver.OnQueryProperties(printerId, propertyKeys));
/ohos5.0/base/print/print_fwk/services/print_service/src/
H A Dvendor_ppd_driver.cpp52 …iver::OnQueryProperties(const std::string &printerId, const std::vector<std::string> &propertyKeys) in OnQueryProperties() argument
55 if (propertyKeys.empty()) { in OnQueryProperties()
62 if (!vendorManager->QueryPPDInformation(propertyKeys[0].c_str(), ppds)) { in OnQueryProperties()
64 printerId.c_str(), propertyKeys[0].c_str()); in OnQueryProperties()
H A Dvendor_ipp_everywhere.cpp79 …here::OnQueryProperties(const std::string &printerId, const std::vector<std::string> &propertyKeys) in OnQueryProperties() argument
82 for (auto const &key : propertyKeys) { in OnQueryProperties()
H A Dvendor_driver_base.cpp61 …Base::OnQueryProperties(const std::string &printerId, const std::vector<std::string> &propertyKeys) in OnQueryProperties() argument
H A Dvendor_bsuni_driver.cpp347 …iver::OnQueryProperties(const std::string &printerId, const std::vector<std::string> &propertyKeys) in OnQueryProperties() argument
360 if (ConvertStringVectorToStringList(propertyKeys, propertyKeyList)) { in OnQueryProperties()
/ohos5.0/base/print/print_fwk/services/print_service/include/
H A Dvendor_ppd_driver.h30 …eryProperties(const std::string &printerId, const std::vector<std::string> &propertyKeys) override;
H A Dvendor_ipp_everywhere.h37 …eryProperties(const std::string &printerId, const std::vector<std::string> &propertyKeys) override;
H A Dvendor_bsuni_driver.h46 …eryProperties(const std::string &printerId, const std::vector<std::string> &propertyKeys) override;
H A Dvendor_driver_base.h81 …bool OnQueryProperties(const std::string &printerId, const std::vector<std::string> &propertyKeys);