Home
last modified time | relevance | path

Searched refs:value_ (Results 126 - 150 of 403) sorted by relevance

12345678910>>...17

/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dudmf_client_test.cpp2315 obj->value_["uniformDataType"] = "general.plain-text"; in HWTEST_F()
2316 obj->value_["textContent"] = "plainTextContent"; in HWTEST_F()
2317 obj->value_["abstract"] = "plainTextAbstract"; in HWTEST_F()
2319 obj2->value_["detail1"] = "detail1"; in HWTEST_F()
2320 obj2->value_["detail2"] = "detail2"; in HWTEST_F()
2321 obj->value_["details"] = obj2; in HWTEST_F()
2341 ASSERT_NE(std::get_if<std::string>(&obj->value_["uniformDataType"]), nullptr); in HWTEST_F()
2342 ASSERT_EQ(std::get<std::string>(obj->value_["uniformDataType"]), "general.plain-text"); in HWTEST_F()
2343 ASSERT_NE(std::get_if<std::string>(&obj->value_["textContent"]), nullptr); in HWTEST_F()
2344 ASSERT_EQ(std::get<std::string>(obj->value_["textConten in HWTEST_F()
[all...]
/foundation/multimedia/player_framework/frameworks/js/avrecorder/
H A Davrecorder_callback.cpp440 setRet = CommonNapi::SetPropertyInt32(env, result, "streamId", value_.sessionId); in GetJsResult()
442 setRet = CommonNapi::SetPropertyInt32(env, result, "clientUid", value_.clientUID); in GetJsResult()
444 setRet = CommonNapi::SetPropertyInt32(env, result, "capturerState", value_.capturerState); in GetJsResult()
446 setRet = CommonNapi::SetPropertyBool(env, result, "muted", value_.muted); in GetJsResult()
463 static_cast<int32_t>(value_.capturerInfo.sourceType)); in SetAudioCapturerInfo()
465 setRet = CommonNapi::SetPropertyInt32(env, captureInfo, "capturerFlags", value_.capturerInfo.capturerFlags); in SetAudioCapturerInfo()
475 static_cast<int32_t>(value_.inputDeviceInfo.deviceRole)); in SetDeviceProperty()
478 static_cast<int32_t>(value_.inputDeviceInfo.deviceType)); in SetDeviceProperty()
480 setRet = CommonNapi::SetPropertyInt32(env, element, "id", value_.inputDeviceInfo.deviceId); in SetDeviceProperty()
482 setRet = CommonNapi::SetPropertyString(env, element, "name", value_ in SetDeviceProperty()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddelegate_callback.cpp27 this->value_ = value; in CallbackKv()
35 return value_; in GetValue()
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/
H A Dnapi_pastedata.cpp41 value_ = std::make_shared<PasteData>(); in PasteDataNapi()
69 obj->value_->AddHtmlRecord(str); in AddHtmlRecord()
99 obj->value_->AddPixelMapRecord(pixelMap); in AddPixelMapRecord()
126 obj->value_->AddTextRecord(str); in AddTextRecord()
153 obj->value_->AddUriRecord(OHOS::Uri(str)); in AddUriRecord()
174 std::shared_ptr<std::string> p = obj->value_->GetPrimaryHtml(); in GetPrimaryHtml()
202 std::shared_ptr<PixelMap> pixelMap = obj->value_->GetPrimaryPixelMap(); in GetPrimaryPixelMap()
229 std::shared_ptr<std::string> p = obj->value_->GetPrimaryText(); in GetPrimaryText()
257 std::shared_ptr<OHOS::Uri> p = obj->value_->GetPrimaryUri(); in GetPrimaryUri()
296 bool ret = obj->value_ in HasMimeType()
[all...]
/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dconvert_utils_test.cpp96 plainUds.value_[UDMF::UNIFORM_DATA_TYPE] = utdId; in AddPlainUdsEntry()
97 plainUds.value_[UDMF::CONTENT] = text_; in AddPlainUdsEntry()
105 fileUriobject.value_[UDMF::UNIFORM_DATA_TYPE] = utdId; in AddFileUriUdsEntry()
106 fileUriobject.value_[UDMF::FILE_URI_PARAM] = uri_; in AddFileUriUdsEntry()
107 fileUriobject.value_[UDMF::FILE_TYPE] = ""; in AddFileUriUdsEntry()
115 htmlobject.value_[UDMF::UNIFORM_DATA_TYPE] = utdId; in AddHtmlUdsEntry()
116 htmlobject.value_[UDMF::HTML_CONTENT] = html_; in AddHtmlUdsEntry()
124 linkObject.value_[UDMF::UNIFORM_DATA_TYPE] = utdId; in AddLinkUdsEntry()
125 linkObject.value_[UDMF::URL] = link_; in AddLinkUdsEntry()
144 object.value_[UDM in AddPixelMapUdsEntry()
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Dark_js_value.h40 ArkJSValue(const shared_ptr<ArkJSRuntime> &runtime, Local<JSValueRef> value) : value_(runtime->GetEcmaVm(), value) in ArkJSValue()
45 value_.FreeGlobalHandleAddr();
92 return value_.ToLocal(runtime->GetEcmaVm()); in GetValue()
97 value_ = Global<JSValueRef>(runtime->GetEcmaVm(), value); in SetValue()
104 Global<JSValueRef> value_ {};
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/qrcode/
H A Dqrcode_modifier.cpp21 qrCodeSize_(AceType::MakeRefPtr<PropertyFloat>(0.0f)), value_(AceType::MakeRefPtr<PropertyString>("")), in QRCodeModifier()
28 AttachProperty(value_); in QRCodeModifier()
39 auto value = value_->Get(); in onDraw()
134 if (value_) { in SetQRCodeValue()
135 value_->Set(value); in SetQRCodeValue()
/foundation/multimedia/player_framework/frameworks/js/common/
H A Dcommon_napi.h103 : value_(value) in MediaJsResultBoolean()
109 return napi_get_boolean(env, value_, &result);
112 bool value_; member in OHOS::Media::MediaJsResultBoolean
118 : value_(value) in MediaJsResultInt()
124 return napi_create_int32(env, value_, &result);
127 int32_t value_; member in OHOS::Media::MediaJsResultInt
133 : value_(value) in MediaJsResultString()
139 return napi_create_string_utf8(env, value_.c_str(), NAPI_AUTO_LENGTH, &result);
143 std::string value_; member in OHOS::Media::MediaJsResultString
149 : value_(valu in MediaJsResultStringVector()
156 std::vector<std::string> value_; global() member in OHOS::Media::MediaJsResultStringVector
169 std::vector<int32_t> value_; global() member in OHOS::Media::MediaJsResultIntArray
182 std::vector<Format> value_; global() member in OHOS::Media::MediaJsResultArray
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/progress/
H A Dprogress_content_modifier_test_ng.cpp178 EXPECT_EQ(config.value_, MAX_VALUE); in HWTEST_F()
220 * @tc.expected: step4. Check the value_ of config is equal to MAX_VALUE. in HWTEST_F()
223 EXPECT_EQ(config.value_, MAX_VALUE); in HWTEST_F()
261 * @tc.expected: step4. Check the value_ of config is equal to MIN_VALUE. in HWTEST_F()
264 EXPECT_EQ(config.value_, MIN_VALUE); in HWTEST_F()
302 * @tc.expected: step4. Check the value_ of config is equal to NEG_VALUE. in HWTEST_F()
305 EXPECT_EQ(config.value_, NEG_VALUE); in HWTEST_F()
343 * @tc.expected: step4. Check the value_ of config is equal to VALUE_OF_PROGRESS. in HWTEST_F()
346 EXPECT_EQ(config.value_, VALUE_OF_PROGRESS); in HWTEST_F()
384 * @tc.expected: step4. Check the value_ o in HWTEST_F()
[all...]
/foundation/ability/idl_tool/idl_tool_2/ast/
H A Dast_enum_type.h30 explicit ASTEnumValue(const std::string &name) : mName_(name), value_(nullptr) {} in ASTEnumValue()
51 value_ = value; in SetExprValue()
56 return value_; in GetExprValue()
62 AutoPtr<ASTExpr> value_; member in OHOS::Idl::ASTEnumValue
/foundation/ability/ability_lite/services/abilitymgr_lite/src/slite/
H A Dability_list.cpp55 AbilityRecord *record = node->value_; in Get()
75 AbilityRecord *record = node->value_; in Get()
90 AbilityRecord *record = node->value_; in GetByTaskId()
105 AbilityRecord *record = node->value_; in Erase()
121 AbilityRecord *record = node->value_; in GetAbilityList()
181 missionInfoList->missionInfos[i++].SetAppName(it->value_->appName); in GetMissionInfos()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_tool_bar_item.cpp92 [](DOMToolBarItem& toolBarItem, const std::string& val) { toolBarItem.value_ = std::move(val); } }, in SetSpecializedAttr()
190 if (static_cast<uint32_t>(icon_.empty()) ^ static_cast<uint32_t>(value_.empty())) { in PrepareSpecializedComponent()
211 if (!value_.empty()) { in BuildCommonComponent()
213 textChild_ = AceType::MakeRefPtr<TextComponent>(value_); in BuildCommonComponent()
216 textChild_->SetData(value_); in BuildCommonComponent()
259 if (!value_.empty()) { in BuildOptionComponent()
260 RefPtr<TextComponent> textComponent = AceType::MakeRefPtr<TextComponent>(value_); in BuildOptionComponent()
265 optionComponent->SetValue(value_); in BuildOptionComponent()
/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_map.cpp65 BundleInfo *info = node->value_; in Add()
92 BundleInfo *info = oldNode->value_; in Update()
123 BundleInfo *info = node->value_; in Get()
199 BundleInfoUtils::CopyBundleInfo(flags, infos++, *(node->value_)); in GetBundleInfos()
213 bundleInfos.PushBack(node->value_); in GetBundleInfosInner()
243 BundleInfoUtils::CopyBundleInfoNoReplication(flags, infos++, *(node->value_)); in GetBundleInfosNoReplication()
277 BundleInfo *info = node->value_; in Erase()
296 BundleInfoUtils::FreeBundleInfo(node->value_); in EraseAll()
/foundation/arkui/ace_engine/frameworks/core/components/watch_slider/
H A Dwatch_slider_component.h71 return value_; in GetValue()
76 value_ = value; in SetValue()
168 double value_ = 100.0; member in OHOS::Ace::WatchSliderComponent
/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/
H A Dbluetooth_gatt_descriptor_parcel.cpp36 if (!parcel.WriteUint8(value_[i])) { in Marshalling()
83 value_ = std::make_unique<uint8_t[]>(length); in ReadFromParcel()
84 if (memcpy_s(value_.get(), length, value, length_) != EOK) { in ReadFromParcel()
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/
H A Dget_device_prop_value_data.cpp49 if (value_ == nullptr) { in Maker()
53 return WriteValue(outBuffer, type_, *value_); in Maker()
72 value_ = value; in SetValue()
/foundation/ability/ability_base/interfaces/inner_api/base/include/
H A Ddouble_wrapper.h25 Double(double value) : value_(value) in Double()
49 double value_; member in OHOS::AAFwk::final
H A Dint_wrapper.h25 Integer(int value) : value_(value) in Integer()
49 int value_; member in OHOS::AAFwk::final
H A Dbool_wrapper.h25 Boolean(bool value) : value_(value) in Boolean()
49 bool value_; member in OHOS::AAFwk::final
H A Dfloat_wrapper.h25 Float(float value) : value_(value) in Float()
49 float value_; member in OHOS::AAFwk::final
H A Dbyte_wrapper.h25 Byte(byte value) : value_(value) in Byte()
49 byte value_; member in OHOS::AAFwk::final
H A Dlong_wrapper.h25 Long(long value) : value_(value) in Long()
49 long value_; member in OHOS::AAFwk::final
H A Dshort_wrapper.h25 Short(short value) : value_(value) in Short()
49 short value_; member in OHOS::AAFwk::final
/foundation/arkui/ace_engine/frameworks/core/components/qrcode/
H A Drender_qrcode.h38 return value_; in GetValue()
50 std::string value_; member in OHOS::Ace::RenderQrcode
/foundation/distributeddatamgr/preferences/frameworks/js/napi/storage/src/
H A Dnapi_storage.cpp53 : value_(value), env_(nullptr), uvQueue_(nullptr) in StorageProxy()
60 value_->UnRegisterObserver(observer); in ~StorageProxy()
155 obj->value_ = std::move(preference); in New()
218 NAPI_ASSERT(env, (obj != nullptr && obj->value_ != nullptr), "unwrap null native pointer"); in GetValueSync()
225 double result = obj->value_->GetDouble(key, value); in GetValueSync()
236 std::string result = obj->value_->GetString(key, value); in GetValueSync()
243 bool result = obj->value_->GetBool(key, value); in GetValueSync()
360 bool tmpValue = (bool)obj->value_->GetBool(context->key, context->defValue); in GetValue()
363 std::string tmpValue = obj->value_->GetString(context->key, context->defValue); in GetValue()
366 double tmpValue = obj->value_ in GetValue()
[all...]

Completed in 15 milliseconds

12345678910>>...17