Home
last modified time | relevance | path

Searched refs:GetStringValue (Results 1 – 25 of 77) sorted by relevance

1234

/foundation/arkui/ace_engine/frameworks/core/components/test/json/
Dselect_creator.cpp40 if (!GetStringValue(componentJson, CLASS_NAME, strValue)) { in CreateFromJson()
79 bool SelectCreator::GetStringValue(const JsonValue& json, const std::string& name, std::string& out… in GetStringValue() function in OHOS::Ace::SelectCreator
127 if (GetStringValue(componentJson, SELECT_DISABLED, strValue)) { in CreateCommonAttribute()
131 if (GetStringValue(componentJson, SELECT_ON_CHANGED, strValue)) { in CreateCommonAttribute()
137 if (GetStringValue(componentJson, SELECT_TIP_TEXT, strValue)) { in CreateCommonAttribute()
154 if (GetStringValue(componentJson, TEXT_FONT_FAMILIES, strValue)) { in CreateCommonAttribute()
216 if (GetStringValue(*optionJson, SELECT_OPTION_ICON, strValue)) { in CreateOptionsAttribute()
223 if (GetStringValue(*optionJson, SELECT_OPTION_TEXT, strValue)) { in CreateOptionsAttribute()
243 if (GetStringValue(componentJson, SELECT_OPTION_VALUE, strValue)) { in CreateOptionCommonAttribute()
247 if (GetStringValue(componentJson, SELECT_OPTION_SELECTED, strValue)) { in CreateOptionCommonAttribute()
[all …]
Dselect_creator.h34 … static bool GetStringValue(const JsonValue& json, const std::string& name, std::string& outValue);
/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/
Djs_plugin_component.cpp189 asyncCallbackInfo->jsParamList.paramList.GetStringValue("name"), in JSPushCompleteAsyncCallbackWork()
190 asyncCallbackInfo->jsParamList.paramList.GetStringValue("jsonPath"), in JSPushCompleteAsyncCallbackWork()
191 asyncCallbackInfo->jsParamList.paramList.GetStringValue("data"), in JSPushCompleteAsyncCallbackWork()
192 asyncCallbackInfo->jsParamList.paramList.GetStringValue("extraData")); in JSPushCompleteAsyncCallbackWork()
207 asyncCallbackInfo->jsParamList.paramList.GetStringValue("name"), in JSPushCompletePromiseCallbackWork()
208 asyncCallbackInfo->jsParamList.paramList.GetStringValue("jsonPath"), in JSPushCompletePromiseCallbackWork()
209 asyncCallbackInfo->jsParamList.paramList.GetStringValue("data"), in JSPushCompletePromiseCallbackWork()
210 asyncCallbackInfo->jsParamList.paramList.GetStringValue("extraData")); in JSPushCompletePromiseCallbackWork()
339 asyncCallbackInfo->jsParamList.paramList.GetStringValue("name"), in AceRequestCompleteAsyncCallbackWork()
340 asyncCallbackInfo->jsParamList.paramList.GetStringValue("data"), in AceRequestCompleteAsyncCallbackWork()
[all …]
/foundation/arkui/ace_engine/adapter/preview/osal/
Dresponse_data.cpp25 resultJson->Put(std::string("data").c_str(), GetStringValue()); in GetResultString()
28 resultJson->Put(std::string("data").c_str(), GetStringValue()); in GetResultString()
34 std::unique_ptr<JsonValue> ResponseData::GetStringValue() const in GetStringValue() function in OHOS::Ace::ResponseData
Dresponse_data.h70 std::unique_ptr<JsonValue> GetStringValue() const;
/foundation/communication/nfc/services/src/tags/
Dtag_dispatcher.cpp198 want.SetParam(KITS::TagInfo::ATQA, extra.GetStringValue(KITS::TagInfo::ATQA, "")); in SetWantExtraParam()
200 … want.SetParam(KITS::TagInfo::APP_DATA, extra.GetStringValue(KITS::TagInfo::APP_DATA, "")); in SetWantExtraParam()
201 …want.SetParam(KITS::TagInfo::PROTOCOL_INFO, extra.GetStringValue(KITS::TagInfo::PROTOCOL_INFO, "")… in SetWantExtraParam()
203 want.SetParam(KITS::TagInfo::NFCF_SC, extra.GetStringValue(KITS::TagInfo::NFCF_SC, "")); in SetWantExtraParam()
204 … want.SetParam(KITS::TagInfo::NFCF_PMM, extra.GetStringValue(KITS::TagInfo::NFCF_PMM, "")); in SetWantExtraParam()
209 …want.SetParam(KITS::TagInfo::HISTORICAL_BYTES, extra.GetStringValue(KITS::TagInfo::HISTORICAL_BYTE… in SetWantExtraParam()
210 …want.SetParam(KITS::TagInfo::HILAYER_RESPONSE, extra.GetStringValue(KITS::TagInfo::HILAYER_RESPONS… in SetWantExtraParam()
216 … want.SetParam(KITS::TagInfo::NDEF_MSG, extra.GetStringValue(KITS::TagInfo::NDEF_MSG, "")); in SetWantExtraParam()
/foundation/multimedia/image_framework/plugins/manager/src/framework/
Djson_helper.h27 static uint32_t GetStringValue(const nlohmann::json &jsonString, std::string &value);
28 …static uint32_t GetStringValue(const nlohmann::json &jsonObject, const std::string &key, std::stri…
Djson_helper.cpp37 uint32_t JsonHelper::GetStringValue(const json &jsonString, string &value) in GetStringValue() function in OHOS::MultimediaPlugin::JsonHelper
48 uint32_t JsonHelper::GetStringValue(const json &jsonObject, const string &key, string &value) in GetStringValue() function in OHOS::MultimediaPlugin::JsonHelper
57 return GetStringValue(jsonString, value); in GetStringValue()
Dcapability.cpp56 if (JsonHelper::GetStringValue(capabilityInfo, "name", name) != SUCCESS) { in SetCapability()
109 if (JsonHelper::GetStringValue(capInfo, "type", type) != SUCCESS) { in AnalyzeAttrData()
160 if (JsonHelper::GetStringValue(capInfo, "value", value) != SUCCESS) { in AnalyzeBool()
198 if (JsonHelper::GetStringValue(capInfo, "value", value) != SUCCESS) { in AnalyzeString()
304 if (JsonHelper::GetStringValue(valueArray[i], value) != SUCCESS) { in AnalyzeStringSet()
Dplugin_mgr.cpp136 if (JsonHelper::GetStringValue(root, "libraryPath", libraryPath) != SUCCESS) { in CheckPluginMetaFile()
217 if (JsonHelper::GetStringValue(root, "libraryPath", libraryPath) != SUCCESS) { in RegisterPlugin()
/foundation/communication/nfc/frameworks/js/napi/tag/
Dnfc_napi_foreground_dispatch.cpp154 napi_create_string_utf8(env, extra.GetStringValue(KITS::TagInfo::ATQA, "").c_str(), in SetTagExtraData()
159 napi_create_string_utf8(env, extra.GetStringValue(KITS::TagInfo::APP_DATA, "").c_str(), in SetTagExtraData()
163 … napi_create_string_utf8(env, extra.GetStringValue(KITS::TagInfo::PROTOCOL_INFO, "").c_str(), in SetTagExtraData()
168 napi_create_string_utf8(env, extra.GetStringValue(KITS::TagInfo::NFCF_PMM, "").c_str(), in SetTagExtraData()
172 napi_create_string_utf8(env, extra.GetStringValue(KITS::TagInfo::NFCF_SC, "").c_str(), in SetTagExtraData()
184 … napi_create_string_utf8(env, extra.GetStringValue(KITS::TagInfo::HISTORICAL_BYTES, "").c_str(), in SetTagExtraData()
188 … napi_create_string_utf8(env, extra.GetStringValue(KITS::TagInfo::HILAYER_RESPONSE, "").c_str(), in SetTagExtraData()
196 napi_create_string_utf8(env, extra.GetStringValue(KITS::TagInfo::NDEF_MSG, "").c_str(), in SetTagExtraData()
/foundation/multimedia/media_utils_lite/interfaces/kits/
Dformat.h203 bool GetStringValue(std::string &val) const;
340 bool GetStringValue(const std::string &key, std::string &value) const;
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/sharedata/
Djs_share_data.cpp117 auto returnValue = JSVal(ToJSValue(data.GetStringValue())); in ReadString()
144 str = key.GetStringValue(); in ReadObject()
149 obj->SetProperty<std::string>(str.c_str(), value.GetStringValue()); in ReadObject()
/foundation/multimedia/media_utils_lite/src/
Dformat.cpp179 bool FormatData::GetStringValue(std::string &val) const in GetStringValue() function in OHOS::Media::FormatData
255 bool Format::GetStringValue(const std::string &key, std::string &value) const in GetStringValue() function in OHOS::Media::Format
263 return (*iter->second).GetStringValue(value); in GetStringValue()
345 SET_STRING_FORMAT(std::string, GetStringValue); in CopyFrom()
/foundation/multimedia/player_framework/test/unittest/avcodec_test/native/avformat/
Davformat_native_mock.cpp36 bool AVFormatNativeMock::GetStringValue(const std::string_view &key, std::string &value) in GetStringValue() function in OHOS::Media::AVFormatNativeMock
38 return format_.GetStringValue(key, value); in GetStringValue()
Davformat_native_mock.h31 bool GetStringValue(const std::string_view &key, std::string &value) override;
/foundation/multimedia/av_codec/test/unittest/format_test/
Davformat_unit_test.cpp94 EXPECT_TRUE(format_->GetStringValue(stringKey, getStringValue));
120 EXPECT_FALSE(format_->GetStringValue(key, getString));
Davformat_mock.h43 virtual bool GetStringValue(const std::string_view &key, std::string &value) = 0;
/foundation/multimedia/av_codec/test/unittest/format_test/inner/
Davformat_inner_mock.cpp37 bool AVFormatInnerMock::GetStringValue(const std::string_view &key, std::string &value) in GetStringValue() function in OHOS::MediaAVCodec::AVFormatInnerMock
39 return format_.GetStringValue(key, value); in GetStringValue()
Davformat_inner_mock.h31 bool GetStringValue(const std::string_view &key, std::string &value) override;
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/gaussdb_rd/test/unittest/oh_adapter/
Ddocumentdb_json_common_test.cpp66 EXPECT_EQ(itemName.GetItemValue().GetStringValue(), "Xue");
90 EXPECT_EQ(itemName.GetItemValue().GetStringValue(), "Neco");
110 EXPECT_EQ(itemCase.GetItemValue().GetStringValue(), "beijing"); // 99: grade
114 EXPECT_EQ(itemName.GetItemValue().GetStringValue(), "Neco");
147 EXPECT_EQ(itemCase.GetItemValue().GetStringValue(), "GG");
166 EXPECT_EQ(itemCase.GetItemValue().GetStringValue(), "LL");
185 EXPECT_EQ(itemCase.GetItemValue().GetStringValue(), "XXX");
204 EXPECT_EQ(itemCase.GetItemValue().GetStringValue(), "XX");
223 EXPECT_EQ(itemCase.GetItemValue().GetStringValue(), "AA");
298 EXPECT_EQ(itemCase.GetItemValue().GetStringValue(), "GG");
/foundation/arkui/ace_engine/frameworks/bridge/codec/
Dstandard_function_codec.cpp50 functionCall.SetFuncName(funcName.GetStringValue()); in DecodeFunctionCall()
/foundation/arkui/ace_engine/frameworks/core/common/
Dplatform_bridge.cpp55 resultString = codecResult.GetStringValue(); in HandleCallback()
/foundation/multimedia/av_codec/test/unittest/format_test/capi/
Davformat_capi_mock.h32 bool GetStringValue(const std::string_view &key, std::string &value) override;
/foundation/multimedia/av_codec/interfaces/inner_api/native/
Dformat.h187 bool GetStringValue(const std::string_view &key, std::string &value) const;

1234