/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/upgrade_test/version_one/module_test/src/ |
H A D | hks_compatibility_module_test.cpp | 489 static void FreeKeyInfoList(struct HksKeyInfo **keyList, uint32_t listCount) in FreeKeyInfoList() argument 492 if ((*keyList)[i].alias.data == nullptr) { in FreeKeyInfoList() 495 HKS_FREE((*keyList)[i].alias.data); in FreeKeyInfoList() 496 if ((*keyList)[i].paramSet == nullptr) { in FreeKeyInfoList() 499 HksFreeParamSet(&((*keyList)[i].paramSet)); in FreeKeyInfoList() 501 HKS_FREE(*keyList); in FreeKeyInfoList() 506 struct HksKeyInfo *keyList = (struct HksKeyInfo *)HksMalloc(sizeof(struct HksKeyInfo) * listCount); in BuildKeyInfoList() local 507 if (keyList == nullptr) { in BuildKeyInfoList() 510 (void)memset_s(keyList, sizeof(struct HksKeyInfo) * listCount, 0, sizeof(struct HksKeyInfo) * listCount); in BuildKeyInfoList() 513 keyList[ in BuildKeyInfoList() [all...] |
/base/useriam/user_auth_framework/frameworks/native/executors/src/framework/ |
H A D | framework_executor_callback.cpp | 340 std::vector<Attributes::AttributeKey> keyList; in ProcessGetPropertyCommand() local 341 keyList.reserve(uint32KeyList.size()); in ProcessGetPropertyCommand() 343 keyList.push_back(static_cast<Attributes::AttributeKey>(uint32Key)); in ProcessGetPropertyCommand() 348 ResultCode getPropertyRet = hdi->GetProperty(templateIdList, keyList, property); in ProcessGetPropertyCommand() 351 ResultCode fillAttributeRet = FillPropertyToAttribute(keyList, property, values); in ProcessGetPropertyCommand() 357 ResultCode FrameworkExecutorCallback::FillPropertyToAttribute(const std::vector<Attributes::AttributeKey> &keyList, in FillPropertyToAttribute() argument 360 for (auto &key : keyList) { in FillPropertyToAttribute()
|
/base/print/print_fwk/test/unittest/fwk_print_cups_client_test/ |
H A D | print_cups_wrapper_test.cpp | 106 std::vector<std::string> keyList; in HWTEST_F() local 108 EXPECT_EQ(printCupsClient.QueryPrinterAttrList(printerName, keyList, valueList), E_PRINT_SERVER_FAILURE); in HWTEST_F() 128 std::vector<std::string> keyList = {"key1", "key2"}; in HWTEST_F() 130 EXPECT_EQ(printCupsClient.QueryPrinterAttrList(printerName, keyList, valueList), E_PRINT_SERVER_FAILURE); in HWTEST_F() 148 std::vector<std::string> keyList = {"key1", "key2"}; in HWTEST_F() 150 EXPECT_EQ(printCupsClient.QueryPrinterAttrList(printerName, keyList, valueList), E_PRINT_NONE); in HWTEST_F()
|
H A D | print_cups_client_test.cpp | 610 std::vector<std::string> keyList; in HWTEST_F() local 612 printCupsClient.QueryPrinterAttrList(printerName, keyList, valueList); in HWTEST_F()
|
/base/print/print_fwk/services/print_service/src/ |
H A D | vendor_bsuni_driver.cpp | 429 std::vector<std::string> keyList; in OnPrinterCapabilityQueried() local 430 keyList.push_back(PRINTER_PROPERTY_KEY_DEVICE_STATE); in OnPrinterCapabilityQueried() 431 keyList.push_back(PRINTER_PROPERTY_KEY_CUPS_PPD_FILE); in OnPrinterCapabilityQueried() 432 OnQueryProperties(printerId, keyList); in OnPrinterCapabilityQueried()
|
H A D | print_service_stub.cpp | 331 std::vector<std::string> keyList; in OnQueryPrinterProperties() local 332 data.ReadStringVector(&keyList); in OnQueryPrinterProperties() 334 int32_t ret = QueryPrinterProperties(printerId, keyList, valueList); in OnQueryPrinterProperties()
|
H A D | print_cups_client.cpp | 964 int32_t PrintCupsClient::QueryPrinterAttrList(const std::string &printerName, const std::vector<std::string> &keyList, in QueryPrinterAttrList() argument 977 for (auto &key : keyList) { in QueryPrinterAttrList()
|
H A D | print_service_ability.cpp | 668 const std::vector<std::string> &keyList, std::vector<std::string> &valueList) in QueryPrinterProperties() 684 for (auto &key : keyList) { in QueryPrinterProperties() 667 QueryPrinterProperties(const std::string &printerId, const std::vector<std::string> &keyList, std::vector<std::string> &valueList) QueryPrinterProperties() argument
|
/base/print/print_fwk/test/unittest/fwk_print_service_ability_test/ |
H A D | print_service_ability_test.cpp | 273 std::vector<std::string> keyList; in HWTEST_F() local 275 EXPECT_EQ(service->QueryPrinterProperties(printerId, keyList, valueList), E_PRINT_NO_PERMISSION); in HWTEST_F() 689 std::vector<std::string> keyList; in HWTEST_F() local 691 EXPECT_EQ(service->QueryPrinterProperties(printerId, keyList, valueList), E_PRINT_INVALID_PRINTER); in HWTEST_F() 694 keyList.push_back("printerId"); in HWTEST_F() 695 keyList.push_back("printerName"); in HWTEST_F() 696 EXPECT_EQ(service->QueryPrinterProperties(printerId, keyList, valueList), E_PRINT_INVALID_PRINTER); in HWTEST_F() 1211 std::vector<std::string> keyList; in HWTEST_F() local 1212 keyList.emplace_back("pagesizeId"); in HWTEST_F() 1213 keyList in HWTEST_F() 1230 std::vector<std::string> keyList; HWTEST_F() local [all...] |
/base/useriam/user_auth_framework/frameworks/native/executors/include/framework/ |
H A D | framework_executor_callback.h | 67 ResultCode FillPropertyToAttribute(const std::vector<Attributes::AttributeKey> &keyList, const Property property,
|
/base/print/print_fwk/frameworks/ohprint/src/ |
H A D | print_capi.cpp | 320 std::vector<std::string> keyList; in OH_Print_QueryPrinterProperties() local 329 keyList.emplace_back(key); in OH_Print_QueryPrinterProperties() 331 if (keyList.size() == 0) { in OH_Print_QueryPrinterProperties() 332 PRINT_HILOGW("empty keyList"); in OH_Print_QueryPrinterProperties() 336 int32_t ret = PrintManagerClient::GetInstance()->QueryPrinterProperties(printerId, keyList, valueList); in OH_Print_QueryPrinterProperties()
|
/base/print/print_fwk/test/fuzztest/printcupsclient_fuzzer/ |
H A D | printcupsclient_fuzzer.cpp | 112 std::vector<std::string> keyList; in TestQueryPrinterAttrList() local 113 keyList.push_back(key); in TestQueryPrinterAttrList() 117 PrintCupsClient::GetInstance()->QueryPrinterAttrList(printerName, keyList, valueList); in TestQueryPrinterAttrList()
|
/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/include/ |
H A D | iprint_service.h | 75 virtual int32_t QueryPrinterProperties(const std::string &printerId, const std::vector<std::string> &keyList,
|
H A D | print_service_proxy.h | 72 int32_t QueryPrinterProperties(const std::string &printerId, const std::vector<std::string> &keyList,
|
H A D | print_manager_client.h | 78 int32_t QueryPrinterProperties(const std::string &printerId, const std::vector<std::string> &keyList,
|
/base/print/print_fwk/services/print_service/include/ |
H A D | print_cups_client.h | 97 int32_t QueryPrinterAttrList(const std::string &printerName, const std::vector<std::string> &keyList,
|
H A D | print_service_ability.h | 97 int32_t QueryPrinterProperties(const std::string &printerId, const std::vector<std::string> &keyList,
|
/base/print/print_fwk/services/scan_service/src/ |
H A D | scan_system_data.cpp | 35 const std::vector<std::string> keyList = {"deviceId", "manufacturer", "model", "deviceType", in CheckJsonObjectValue() local 37 for (auto key : keyList) { in CheckJsonObjectValue()
|
/base/useriam/user_auth_framework/test/fuzztest/executors/userauthexecutor_fuzzer/ |
H A D | user_auth_executor_fuzzer.cpp | 523 std::vector<Attributes::AttributeKey> keyList = { in FuzzFillPropertyToAttribute() local 534 g_frameworkExecutorCallback->FillPropertyToAttribute(keyList, property, values); in FuzzFillPropertyToAttribute()
|
/base/print/print_fwk/test/unittest/service_test/mock/ |
H A D | mock_print_service.h | 160 int32_t QueryPrinterProperties(const std::string &printerId, const std::vector<std::string> &keyList,
|
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/ |
H A D | print_manager_client_test.cpp | 2266 std::vector<std::string> keyList; in HWTEST_F() local 2268 keyList.push_back("1"); in HWTEST_F() 2271 PrintManagerClient::GetInstance()->QueryPrinterProperties(printerId, keyList, valueList); in HWTEST_F() 2452 std::vector<std::string> keyList; in HWTEST_F() local 2454 keyList.push_back("1"); in HWTEST_F() 2456 mockPrintManagerClient.QueryPrinterProperties(printerId, keyList, valueList); in HWTEST_F()
|
/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/src/ |
H A D | print_manager_client.cpp | 331 const std::vector<std::string> &keyList, std::vector<std::string> &valueList) in QueryPrinterProperties() 337 ret = printServiceProxy_->QueryPrinterProperties(printerId, keyList, valueList); in QueryPrinterProperties() 330 QueryPrinterProperties(const std::string &printerId, const std::vector<std::string> &keyList, std::vector<std::string> &valueList) QueryPrinterProperties() argument
|
H A D | print_service_proxy.cpp | 463 const std::vector<std::string> &keyList, std::vector<std::string> &valueList) in QueryPrinterProperties() 469 data.WriteStringVector(keyList); in QueryPrinterProperties() 462 QueryPrinterProperties(const std::string &printerId, const std::vector<std::string> &keyList, std::vector<std::string> &valueList) QueryPrinterProperties() argument
|
/base/print/print_fwk/test/unittest/service_test/ |
H A D | print_service_stub_test.cpp | 1245 std::vector<std::string> keyList; in HWTEST_F() local 1246 keyList.resize(1001); in HWTEST_F() 1249 EXPECT_TRUE(data.WriteStringVector(keyList)); in HWTEST_F()
|
/base/print/print_fwk/test/fuzztest/printserviceability_fuzzer/ |
H A D | printserviceability_fuzzer.cpp | 358 std::vector<std::string> keyList; in TestQueryPrinterProperties() local 359 keyList.push_back(key); in TestQueryPrinterProperties() 363 PrintServiceAbility::GetInstance()->QueryPrinterProperties(printerId, keyList, valueList); in TestQueryPrinterProperties()
|