Searched refs:SetPrinterAttrNameAndValue (Results 1 - 5 of 5) sorted by relevance
/base/print/print_fwk/services/print_service/src/ |
H A D | print_cups_attribute.cpp | 120 printerCaps.SetPrinterAttrNameAndValue("printer-state", in SetCapabilityGroupAttribute() 124 printerCaps.SetPrinterAttrNameAndValue("printer-info", ippGetString(attrPtr, 0, NULL)); in SetCapabilityGroupAttribute() 127 printerCaps.SetPrinterAttrNameAndValue("printer-location", ippGetString(attrPtr, 0, NULL)); in SetCapabilityGroupAttribute() 137 printerCaps.SetPrinterAttrNameAndValue(keyword.c_str(), duplexModeJson.c_str()); in ParseDuplexModeAttributes() 150 printerCaps.SetPrinterAttrNameAndValue(keyword.c_str(), std::to_string(value).c_str()); in ParseDuplexModeAttributes() 160 printerCaps.SetPrinterAttrNameAndValue(keyword.c_str(), colorModeJson.c_str()); in ParseColorModeAttributes() 166 printerCaps.SetPrinterAttrNameAndValue("defaultColorMode", std::to_string(mode).c_str()); in ParseColorModeAttributes() 184 printerCaps.SetPrinterAttrNameAndValue("supportedPageSizeArray", pageSizeJson.c_str()); in ParsePageSizeAttributes() 189 printerCaps.SetPrinterAttrNameAndValue("defaultPageSizeId", defaultPageSizeId.c_str()); in ParsePageSizeAttributes() 217 printerCaps.SetPrinterAttrNameAndValue(keywor in ParseQualityAttributes() [all...] |
H A D | vendor_helper.cpp | 431 printerCap.SetPrinterAttrNameAndValue("defaultPageSizeId", pageId.c_str()); in UpdateDefaultPageSizeId() 475 printerCap.SetPrinterAttrNameAndValue("supportedPageSizeArray", pageSizeJson.c_str()); in UpdatePageSizeCapability() 494 printerCap.SetPrinterAttrNameAndValue("print-quality-supported", supportedQualities.c_str()); in UpdateQualityCapability() 513 printerCap.SetPrinterAttrNameAndValue("print-color-mode-supported", colorModeJson.c_str()); in UpdateColorCapability() 538 printerCap.SetPrinterAttrNameAndValue("sides-supported", duplexModeJson.c_str()); in UpdateDuplexCapability() 567 printerCap.SetPrinterAttrNameAndValue("printer-resolution-supported", resolutionArray.dump().c_str()); in UpdateResolutionCapability() 580 printerCap.SetPrinterAttrNameAndValue("printer-resolution-default", object.dump().c_str()); in UpdateResolutionDefaultValue() 591 printerCap.SetPrinterAttrNameAndValue("copies-supported", std::to_string(capability->supportedCopies).c_str()); in UpdateCopiesCapability() 592 printerCap.SetPrinterAttrNameAndValue("copies-default", std::to_string(defaultValue->defaultCopies).c_str()); in UpdateCopiesCapability() 603 printerCap.SetPrinterAttrNameAndValue("orientatio in UpdateOrientationCapability() [all...] |
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
H A D | printer_capability_test.cpp | 263 capability.SetPrinterAttrNameAndValue("key1", "value1"); in HWTEST_F() 264 capability.SetPrinterAttrNameAndValue("key2", "value2"); in HWTEST_F()
|
/base/print/print_fwk/frameworks/models/print_models/include/ |
H A D | printer_capability.h | 111 void SetPrinterAttrNameAndValue(const char* name, const char* value);
|
/base/print/print_fwk/frameworks/models/print_models/src/ |
H A D | printer_capability.cpp | 443 void PrinterCapability::SetPrinterAttrNameAndValue(const char *name, const char *value) in SetPrinterAttrNameAndValue() function in OHOS::Print::PrinterCapability
|
Completed in 4 milliseconds