Home
last modified time | relevance | path

Searched refs:GetUtdId (Results 1 - 12 of 12) sorted by relevance

/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpaste_data_entry.cpp85 this->utdId_ = entry.GetUtdId(); in operator =()
106 std::string PasteDataEntry::GetUtdId() const in GetUtdId() function in OHOS::MiscServices::PasteDataEntry
193 auto utdId = GetUtdId(); in ConvertToPlianText()
215 if (GetUtdId() != UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDType::HTML)) { in ConvertToHtml()
216 PASTEBOARD_HILOGE(PASTEBOARD_MODULE_CLIENT, "type error, utdId:%{public}s", GetUtdId().c_str()); in ConvertToHtml()
236 if (GetUtdId() != UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDType::FILE_URI)) { in ConvertToUri()
237 PASTEBOARD_HILOGE(PASTEBOARD_MODULE_CLIENT, "type error, utdId:%{public}s", GetUtdId().c_str()); in ConvertToUri()
256 if (GetUtdId() != UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDType::OPENHARMONY_WANT)) { in ConvertToWant()
257 PASTEBOARD_HILOGE(PASTEBOARD_MODULE_CLIENT, "type error, utdId:%{public}s", GetUtdId().c_str()); in ConvertToWant()
271 auto utdId = GetUtdId(); in ConvertToPixelMap()
[all...]
H A Dconvert_utils.cpp94 auto utdId = record->GetUtdId(); in Convert()
101 if (utdId == entry->GetUtdId()) { in Convert()
104 pbRecord->AddEntry(entry->GetUtdId(), entry); in Convert()
138 if (udmfEntryMap.find(entry->GetUtdId()) == udmfEntryMap.end()) { in Convert()
139 entryUtdIds.emplace_back(entry->GetUtdId()); in Convert()
141 udmfEntryMap.insert_or_assign(entry->GetUtdId(), entry->GetValue()); in Convert()
H A Dpaste_data_record.cpp651 types.emplace(entry->GetUtdId()); in GetUdtTypes()
679 if (utdType != value->GetUtdId()) { in AddEntry()
681 utdType.c_str(), value->GetUtdId().c_str()); in AddEntry()
708 if (entry->GetUtdId() == utdType) { in AddEntry()
742 if (entry->GetUtdId() == utdType) { in GetEntry()
/foundation/distributeddatamgr/pasteboard/services/zidl/src/
H A Dpasteboard_entry_getter_client.cpp37 auto utdId = value.GetUtdId(); in GetRecordValueByType()
/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dconvert_utils_test.cpp238 if (entry->GetUtdId() == UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::PLAIN_TEXT)) { in CheckEntries()
240 } else if (entry->GetUtdId() == UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::FILE_URI)) { in CheckEntries()
242 } else if (entry->GetUtdId() == UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::SYSTEM_DEFINED_PIXEL_MAP)) { in CheckEntries()
244 } else if (entry->GetUtdId() == UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::HYPERLINK)) { in CheckEntries()
246 } else if (entry->GetUtdId() == UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::HTML)) { in CheckEntries()
341 ASSERT_EQ(entry->GetUtdId(), entry->GetMimeType()); in CheckCustomEntry()
345 if (entry->GetUtdId() == appUtdId1_) { in CheckCustomEntry()
H A Dpaste_data_record_test.cpp127 if (entry->GetUtdId() == UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::PLAIN_TEXT)) { in CheckEntries()
130 if (entry->GetUtdId() == UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::FILE_URI)) { in CheckEntries()
133 if (entry->GetUtdId() == UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::SYSTEM_DEFINED_PIXEL_MAP)) { in CheckEntries()
136 if (entry->GetUtdId() == UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::HYPERLINK)) { in CheckEntries()
139 if (entry->GetUtdId() == UDMF::UtdUtils::GetUtdIdFromUtdEnum(UDMF::HTML)) { in CheckEntries()
H A Dpaste_data_entry_test.cpp205 ASSERT_EQ(decodePasteEntry.GetUtdId(), utdId); in HWTEST_F()
229 ASSERT_EQ(decodePasteEntry.GetUtdId(), utdId); in HWTEST_F()
250 ASSERT_EQ(decodePasteEntry.GetUtdId(), utdId); in HWTEST_F()
/foundation/distributeddatamgr/udmf/interfaces/innerkits/data/
H A Dunified_record.h47 std::string GetUtdId() const;
/foundation/distributeddatamgr/pasteboard/framework/innerkits/include/
H A Dpaste_data_entry.h56 std::string GetUtdId() const;
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/
H A Dunified_record.cpp153 std::string UnifiedRecord::GetUtdId() const in GetUtdId() function in OHOS::UDMF::UnifiedRecord
/foundation/distributeddatamgr/pasteboard/services/core/src/
H A Dpasteboard_service.cpp368 record->AddEntry(value.GetUtdId(), std::make_shared<PasteDataEntry>(value)); in GetRecordValueByType()
914 record->AddEntry(entries[0]->GetUtdId(), entries[0]); in GetDelayPasteRecord()
2126 record->AddEntry(entry->GetUtdId(), std::make_shared<PasteDataEntry>(*entry)); in GetFullDelayPasteData()
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/
H A Dnapi_pastedata.cpp584 result->AddEntry(pasteDataEntry->GetUtdId(), pasteDataEntry); in ParseRecord()

Completed in 12 milliseconds