Home
last modified time | relevance | path

Searched refs:Html (Results 1 - 18 of 18) sorted by relevance

/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/
H A Dhtml.cpp20 Html::Html() in Html() function in OHOS::UDMF::Html
25 Html::Html(const std::string &htmlContent, const std::string &plainContent) in Html() function in OHOS::UDMF::Html
35 Html::Html(UDType type, ValueType value) : Text(type, value) in Html() function in OHOS::UDMF::Html
52 int64_t Html::GetSize() in GetSize()
57 std::string Html::GetHtmlContent() const in GetHtmlContent()
62 void Html::SetHtmlContent(const std::string &htmlContent) in SetHtmlContent()
73 std::string Html
[all...]
/foundation/distributeddatamgr/udmf/interfaces/innerkits/data/
H A Dhtml.h24 class API_EXPORT Html : public Text { class
26 Html();
27 explicit Html(const std::string &htmlContent, const std::string &plainContent);
28 Html(UDType type, ValueType value);
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dhtml_test.cpp57 * @tc.desc: Abnormal testcase of Html, because htmlContent and plainContent are equal to MAX_TEXT_LEN
65 Html html(htmlContent, plainContent); in HWTEST_F()
74 * @tc.desc: Abnormal testcase of Html, because plainContent and MAX_TEXT_LEN are equal
82 Html html(htmlContent, plainContent); in HWTEST_F()
91 * @tc.desc: Abnormal testcase of Html, because htmlContent and MAX_TEXT_LEN are equal
99 Html html(htmlContent, plainContent); in HWTEST_F()
108 * @tc.desc: Normal testcase of Html
116 Html html(htmlContent, plainContent); in HWTEST_F()
125 * @tc.desc: Normal testcase of Html
133 Html htm in HWTEST_F()
[all...]
H A Dndk_data_conversion_test.cpp611 std::shared_ptr<Html> html = std::make_shared<Html>("htmlContent", "plainContent"); in HWTEST_F()
699 auto html = std::static_pointer_cast<Html>(readRecord); in HWTEST_F()
H A Dudmf_client_test.cpp352 * @tc.desc: Set Html record with valid params and get data
362 Html html1; in HWTEST_F()
368 std::shared_ptr<UnifiedRecord> record1 = std::make_shared<Html>(html1); in HWTEST_F()
389 auto html2 = static_cast<Html *>(record2.get()); in HWTEST_F()
2450 auto record = std::make_shared<Html>(UDType::HTML, obj); in HWTEST_F()
/foundation/distributeddatamgr/udmf/interfaces/jskits/data/
H A Dhtml_napi.h28 class Html;
33 std::shared_ptr<Html> value_;
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/
H A Dhtml_napi.cpp28 /* Html extends UnifiedRecord */ in Constructor()
31 /* Html extends Text */ in Constructor()
33 /* Html properties */ in Constructor()
50 html->value_ = std::make_shared<Html>(); in New()
61 html->value_ = std::static_pointer_cast<Html>(in); in NewInstance()
H A Dunified_record_napi.cpp89 {HTML, [](UDType type, ValueType value) { return std::make_shared<Html>(type, value); }}, in GenerateNativeRecord()
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/convert/
H A Dudmf_conversion.cpp69 record = std::make_shared<Html>(type, value); in ConvertRecordToSubclass()
/foundation/arkui/ace_engine/adapter/ohos/capability/udmf/
H A Dudmf_impl.cpp246 auto htmlRecord = std::make_shared<UDMF::Html>(htmlContent, plainContent); in AddHtmlRecord()
266 UDMF::Html* html = reinterpret_cast<UDMF::Html*>(record.get()); in GetHtmlRecord()
/foundation/distributeddatamgr/udmf/framework/common/unittest/
H A Dtlv_util_test.cpp342 std::shared_ptr<UnifiedRecord> html = std::make_shared<Html>(UDType::HTML, "this is a HTML content"); in HWTEST_F()
398 auto htmlSubclass = std::static_pointer_cast<Html>(htmlResult); in HWTEST_F()
563 std::shared_ptr<UnifiedRecord> html = std::make_shared<Html>(UDType::HTML, "this is a HTML content"); in HWTEST_F()
622 auto htmlSubclass = std::static_pointer_cast<Html>(htmlResult); in HWTEST_F()
/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dpasteboard_utils_test.cpp109 std::shared_ptr<UDMF::Html> htmlRecord = std::make_shared<UDMF::Html>(text_, extraText_); in InitHtmlData()
351 auto link = std::make_shared<UDMF::Html>(UDMF::HTML, *udmfValue); in HWTEST_F()
360 auto newPlainRecord = static_cast<UDMF::Html *>(newRecord.get()); in HWTEST_F()
H A Dpasteboard_unified_data_test.cpp105 std::shared_ptr<UDMF::Html> htmlRecord = std::make_shared<UDMF::Html>(text_, extraText_); in InitHtmlData()
389 auto newPlainRecord = static_cast<UDMF::Html *>(newRecord.get()); in HWTEST_F()
407 auto html = std::make_shared<UDMF::Html>(UDMF::HTML, *udmfValue); in HWTEST_F()
H A Dpasteboard_client_udmf_delay_test.cpp156 Html html; in SetHtmlUnifiedData()
162 std::shared_ptr<UnifiedRecord> record = std::make_shared<Html>(html); in SetHtmlUnifiedData()
444 * @tc.desc: SetUnifiedData of Html with delay getter and GetUnifiedData and GetPasteData
461 auto html = static_cast<Html *>(unifiedRecord.get()); in HWTEST_F()
/foundation/distributeddatamgr/udmf/interfaces/cj/src/
H A Dunified_record_impl.cpp172 {HTML, [](UDType type, ValueType value) { return std::make_shared<Html>(type, value); }}, in CUnifiedRecord()
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/fuzztest/udmfclient_fuzzer/
H A Dudmf_client_fuzzer.cpp181 Html html1; in SetDataHtmlFuzz()
189 std::shared_ptr<UnifiedRecord> record1 = std::make_shared<Html>(html1); in SetDataHtmlFuzz()
/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpasteboard_utils.cpp289 auto html = static_cast<UDMF::Html *>(record.get()); in Html2PasteRecord()
321 auto html = std::make_shared<UDMF::Html>(UDMF::HTML, *udmfValue); in PasteRecord2Html()
/foundation/distributeddatamgr/udmf/framework/ndkimpl/data/
H A Dudmf.cpp549 AddUds<Html>(record, html, HTML); in OH_UdmfRecord_AddHtml()

Completed in 19 milliseconds