Home
last modified time | relevance | path

Searched refs:keyList (Results 1 - 25 of 25) sorted by relevance

/base/security/huks/test/unittest/huks_lite_test/liteos_a_adapter/upgrade_test/version_one/module_test/src/
H A Dhks_compatibility_module_test.cpp489 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 Dframework_executor_callback.cpp340 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 Dprint_cups_wrapper_test.cpp106 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 Dprint_cups_client_test.cpp610 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 Dvendor_bsuni_driver.cpp429 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 Dprint_service_stub.cpp331 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 Dprint_cups_client.cpp964 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 Dprint_service_ability.cpp668 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 Dprint_service_ability_test.cpp273 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 Dframework_executor_callback.h67 ResultCode FillPropertyToAttribute(const std::vector<Attributes::AttributeKey> &keyList, const Property property,
/base/print/print_fwk/frameworks/ohprint/src/
H A Dprint_capi.cpp320 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 Dprintcupsclient_fuzzer.cpp112 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 Diprint_service.h75 virtual int32_t QueryPrinterProperties(const std::string &printerId, const std::vector<std::string> &keyList,
H A Dprint_service_proxy.h72 int32_t QueryPrinterProperties(const std::string &printerId, const std::vector<std::string> &keyList,
H A Dprint_manager_client.h78 int32_t QueryPrinterProperties(const std::string &printerId, const std::vector<std::string> &keyList,
/base/print/print_fwk/services/print_service/include/
H A Dprint_cups_client.h97 int32_t QueryPrinterAttrList(const std::string &printerName, const std::vector<std::string> &keyList,
H A Dprint_service_ability.h97 int32_t QueryPrinterProperties(const std::string &printerId, const std::vector<std::string> &keyList,
/base/print/print_fwk/services/scan_service/src/
H A Dscan_system_data.cpp35 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 Duser_auth_executor_fuzzer.cpp523 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 Dmock_print_service.h160 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 Dprint_manager_client_test.cpp2266 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 Dprint_manager_client.cpp331 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 Dprint_service_proxy.cpp463 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 Dprint_service_stub_test.cpp1245 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 Dprintserviceability_fuzzer.cpp358 std::vector<std::string> keyList; in TestQueryPrinterProperties() local
359 keyList.push_back(key); in TestQueryPrinterProperties()
363 PrintServiceAbility::GetInstance()->QueryPrinterProperties(printerId, keyList, valueList); in TestQueryPrinterProperties()

Completed in 36 milliseconds