Home
last modified time | relevance | path

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

12

/base/update/updateservice/foundations/ability/utils/include/
H A Djson_builder.h70 JsonBuilder &Append(const std::string &key, const std::vector<JsonBuilder> &valueList) in Append() argument
72 std::vector<JsonBuilder>::size_type valueListSize = valueList.size(); in Append()
73 if (!valueList.empty()) { in Append()
77 jsonArray.Append(valueList[i].ToJson()); in Append()
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
H A Dpermission_definition_cache.h53 void StorePermissionDef(std::vector<GenericValues>& valueList);
55 void StorePermissionDef(AccessTokenID tokenID, std::vector<GenericValues>& valueList);
H A Dpermission_policy_set.h75 void StorePermissionDef(std::vector<GenericValues>& valueList) const;
76 void StorePermissionState(std::vector<GenericValues>& valueList) const;
/base/update/updateservice/interfaces/inner_api/feature/update/model/task/src/
H A Dtask_body.cpp32 std::vector<JsonBuilder> GetArrayJsonBuilderList(const std::vector<T> &valueList) in GetArrayJsonBuilderList() argument
35 for (T value : valueList) { in GetArrayJsonBuilderList()
/base/security/access_token/services/accesstokenmanager/main/cpp/include/token/
H A Dhap_token_info_inner.h45 void StoreHapInfo(std::vector<GenericValues>& valueList) const;
69 void StoreHapBasicInfo(std::vector<GenericValues>& valueList) const;
H A Dnative_token_info_inner.h40 void TransferNativeInfo(std::vector<GenericValues>& valueList) const;
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
H A Dpermission_definition_cache.cpp151 void PermissionDefinitionCache::StorePermissionDef(std::vector<GenericValues>& valueList) in StorePermissionDef() argument
159 valueList.emplace_back(genericValues); in StorePermissionDef()
164 void PermissionDefinitionCache::StorePermissionDef(AccessTokenID tokenID, std::vector<GenericValues>& valueList) in StorePermissionDef() argument
173 valueList.emplace_back(genericValues); in StorePermissionDef()
H A Dpermission_policy_set.cpp152 void PermissionPolicySet::StorePermissionState(std::vector<GenericValues>& valueList) const in StorePermissionState()
160 valueList.emplace_back(genericValues); in StorePermissionState()
169 valueList.emplace_back(genericValues); in StorePermissionState()
/base/telephony/core_service/utils/vcard/include/
H A Dvcard_constructor.h54 void AddLine(const std::string &type, std::vector<std::string> valueList);
60 const std::string &type, std::vector<std::string> valueList, bool needCharset, bool needQuotedPrintable);
61 void AddLine(const std::string &type, const std::vector<std::string> &paramList, std::vector<std::string> valueList,
68 void AddLineWithCharsetAndQP(const std::string &type, std::vector<std::string> valueList);
/base/print/print_fwk/frameworks/ohprint/include/
H A Dprint_helper.h29 Print_ErrorCode ConvertStringVectorToPropertyList(const std::vector<std::string> &valueList,
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_action_report_test.cpp118 std::vector<uint32_t> valueList; in ActionValueDecision() local
123 valueList.push_back(stoi(actionIter.actionValue)); in ActionValueDecision()
126 valueList.push_back(stoi(actionIter.actionValue)); in ActionValueDecision()
132 if (valueList.empty()) { in ActionValueDecision()
136 value = *max_element(valueList.begin(), valueList.end()); in ActionValueDecision()
138 value = *min_element(valueList.begin(), valueList.end()); in ActionValueDecision()
149 std::vector<float> valueList; in LcdValueDecision() local
155 valueList in LcdValueDecision()
[all...]
/base/telephony/core_service/utils/vcard/src/
H A Dvcard_contact.cpp718 std::vector<std::string> valueList = GetValueListFromParasMap(rawValue, propValue, parasMap); in AddIms() local
719 for (std::string value : valueList) { in AddIms()
744 std::vector<std::string> valueList = GetValueListFromParasMap(rawValue, propValue, parasMap); in AddNameData() local
745 nameData_->SetPhoneticGiven((valueList.size() != 0) ? valueList[0] : ""); in AddNameData()
747 std::vector<std::string> valueList = GetValueListFromParasMap(rawValue, propValue, parasMap); in AddNameData() local
748 nameData_->SetPhoneticMiddle((valueList.size() != 0) ? valueList[0] : ""); in AddNameData()
750 std::vector<std::string> valueList = GetValueListFromParasMap(rawValue, propValue, parasMap); in AddNameData() local
751 nameData_->SetPhoneticFamily((valueList in AddNameData()
999 std::vector<std::string> valueList = AddEmailsData() local
[all...]
H A Dvcard_constructor.cpp827 std::vector<std::string> valueList = { email }; in AddEmailLine() local
828 bool needAddCharset = IsNeedCharsetParam(valueList); in AddEmailLine()
829 bool needAddQuotedPrintable = needQP_ && !VCardUtils::IsPrintableAscii(valueList); in AddEmailLine()
830 AddLine(VCARD_TYPE_EMAIL, paramTypes, valueList, needAddCharset, needAddQuotedPrintable); in AddEmailLine()
838 void VCardConstructor::AddLine(const std::string &type, std::vector<std::string> valueList) in AddLine() argument
840 AddLine(type, valueList, false, false); in AddLine()
869 void VCardConstructor::AddLineWithCharsetAndQP(const std::string &type, std::vector<std::string> valueList) in AddLineWithCharsetAndQP() argument
871 bool needAddCharset = IsNeedCharsetParam(valueList); in AddLineWithCharsetAndQP()
872 bool needAddQuotedPrintable = needQP_ && !VCardUtils::IsPrintableAscii({ valueList }); in AddLineWithCharsetAndQP()
873 AddLine(type, valueList, needAddCharse in AddLineWithCharsetAndQP()
876 AddLine( const std::string &type, std::vector<std::string> valueList, bool needCharset, bool needQuotedPrintable) AddLine() argument
882 AddLine(const std::string &type, const std::vector<std::string> &paramList, std::vector<std::string> valueList, bool needCharset, bool needQuotedPrintable) AddLine() argument
[all...]
H A Dvcard_decoder_v21.cpp234 std::vector<std::string> valueList; in DealRawDataValue() local
236 valueList.push_back(value); in DealRawDataValue()
237 rawData->SetValues(valueList); in DealRawDataValue()
/base/print/print_fwk/test/unittest/fwk_print_cups_client_test/
H A Dprint_cups_wrapper_test.cpp107 std::vector<std::string> valueList; in HWTEST_F() local
108 EXPECT_EQ(printCupsClient.QueryPrinterAttrList(printerName, keyList, valueList), E_PRINT_SERVER_FAILURE); in HWTEST_F()
109 printCupsClient.QueryPPDInformation(printerId.c_str(), valueList); in HWTEST_F()
129 std::vector<std::string> valueList; in HWTEST_F()
130 EXPECT_EQ(printCupsClient.QueryPrinterAttrList(printerName, keyList, valueList), E_PRINT_SERVER_FAILURE); in HWTEST_F()
149 std::vector<std::string> valueList; in HWTEST_F()
150 EXPECT_EQ(printCupsClient.QueryPrinterAttrList(printerName, keyList, valueList), E_PRINT_NONE); in HWTEST_F()
/base/print/print_fwk/frameworks/ohprint/src/
H A Dprint_helper.cpp662 Print_ErrorCode ConvertStringVectorToPropertyList(const std::vector<std::string> &valueList, in ConvertStringVectorToPropertyList() argument
665 if (valueList.size() == 0) { in ConvertStringVectorToPropertyList()
666 PRINT_HILOGW("empty valueList"); in ConvertStringVectorToPropertyList()
669 propertyList->list = new (std::nothrow) Print_Property[valueList.size()]; in ConvertStringVectorToPropertyList()
674 if (memset_s(propertyList->list, valueList.size() * sizeof(Print_Property), 0, in ConvertStringVectorToPropertyList()
675 valueList.size() * sizeof(Print_Property)) != 0) { in ConvertStringVectorToPropertyList()
682 for (size_t i = 0; i < valueList.size(); i++) { in ConvertStringVectorToPropertyList()
683 std::string keyVal = valueList[i]; in ConvertStringVectorToPropertyList()
H A Dprint_capi.cpp335 std::vector<std::string> valueList; in OH_Print_QueryPrinterProperties() local
336 int32_t ret = PrintManagerClient::GetInstance()->QueryPrinterProperties(printerId, keyList, valueList); in OH_Print_QueryPrinterProperties()
342 return ConvertStringVectorToPropertyList(valueList, propertyList); in OH_Print_QueryPrinterProperties()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
H A Dnative_token_info_inner.cpp120 void NativeTokenInfoInner::TransferNativeInfo(std::vector<GenericValues>& valueList) const in TransferNativeInfo()
130 valueList.emplace_back(value); in TransferNativeInfo()
H A Dhap_token_info_inner.cpp197 void HapTokenInfoInner::StoreHapInfo(std::vector<GenericValues>& valueList) const in StoreHapInfo()
206 valueList.emplace_back(genericValues); in StoreHapInfo()
/base/print/print_fwk/test/fuzztest/printcupsclient_fuzzer/
H A Dprintcupsclient_fuzzer.cpp115 std::vector<std::string> valueList; in TestQueryPrinterAttrList() local
116 valueList.push_back(value); in TestQueryPrinterAttrList()
117 PrintCupsClient::GetInstance()->QueryPrinterAttrList(printerName, keyList, valueList); in TestQueryPrinterAttrList()
/base/print/print_fwk/frameworks/innerkitsimpl/print_impl/include/
H A Diprint_service.h76 std::vector<std::string> &valueList) = 0;
H A Dprint_service_proxy.h73 std::vector<std::string> &valueList) override;
H A Dprint_manager_client.h79 std::vector<std::string> &valueList);
/base/print/print_fwk/services/print_service/include/
H A Dprint_cups_client.h98 std::vector<std::string> &valueList);
/base/print/print_fwk/test/unittest/service_test/mock/
H A Dmock_print_service.h161 std::vector<std::string> &valueList) override

Completed in 16 milliseconds

12