Home
last modified time | relevance | path

Searched refs:propertyKeyList (Results 1 - 5 of 5) sorted by relevance

/base/print/print_fwk/frameworks/ohprint/src/
H A Dprint_capi.cpp313 const char *printerId, const Print_StringList *propertyKeyList, Print_PropertyList *propertyList) in OH_Print_QueryPrinterProperties()
315 if (printerId == nullptr || propertyKeyList == nullptr || propertyKeyList->list == nullptr || in OH_Print_QueryPrinterProperties()
321 for (uint32_t i = 0; i < propertyKeyList->count; i++) { in OH_Print_QueryPrinterProperties()
322 if (propertyKeyList->list[i] == nullptr) { in OH_Print_QueryPrinterProperties()
325 std::string key(propertyKeyList->list[i]); in OH_Print_QueryPrinterProperties()
380 Print_ErrorCode OH_Print_RestorePrinterProperties(const char *printerId, const Print_StringList *propertyKeyList) in OH_Print_RestorePrinterProperties() argument
312 OH_Print_QueryPrinterProperties( const char *printerId, const Print_StringList *propertyKeyList, Print_PropertyList *propertyList) OH_Print_QueryPrinterProperties() argument
/base/print/print_fwk/frameworks/ohprint/include/
H A Dvendor_extension.h105 int32_t (*onQueryProperties)(const char *printerId, const Print_StringList *propertyKeyList);
H A Dohprint.h726 * @param propertyKeyList The list of property keywords to be queried
736 Print_ErrorCode OH_Print_QueryPrinterProperties(const char *printerId, const Print_StringList *propertyKeyList,
767 * @param propertyKeyList The list of property keywords to be restored.
774 Print_ErrorCode OH_Print_RestorePrinterProperties(const char *printerId, const Print_StringList *propertyKeyList);
/base/print/print_fwk/services/print_service/src/
H A Dvendor_bsuni_driver.cpp352 Print_StringList propertyKeyList = { 0 }; in OnQueryProperties() local
353 if (ConvertStringVectorToStringList(propertyKeys, propertyKeyList)) { in OnQueryProperties()
354 int32_t result = vendorExtension->onQueryProperties(printerId.c_str(), &propertyKeyList); in OnQueryProperties()
360 ReleaseStringList(propertyKeyList); in OnQueryProperties()
/base/print/print_fwk/test/unittest/fwk_vendor_manager_test/
H A Dvendor_bsuni_driver_test.cpp93 int32_t OnQueryPropertiesTest(const char *printerId, const Print_StringList *propertyKeyList) in OnQueryPropertiesTest() argument
96 return g_mockDriver->OnQueryProperties(printerId, propertyKeyList); in OnQueryPropertiesTest()

Completed in 6 milliseconds