Home
last modified time | relevance | path

Searched refs:entryGetter (Results 1 – 18 of 18) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/
H A Dnapi_pastedata_record.cpp158 std::shared_ptr<PastedataRecordEntryGetterInstance> entryGetter, napi_value &instance) in NewEntryGetterRecordInstance() argument
160 if (entryGetter == nullptr) { in NewEntryGetterRecordInstance()
164 …NAPI_CALL_BASE(entryGetter->GetEnv(), PasteDataRecordNapi::NewInstance(entryGetter->GetEnv(), inst… in NewEntryGetterRecordInstance()
166 …napi_status status = napi_unwrap(entryGetter->GetEnv(), instance, reinterpret_cast<void **>(&obj)); in NewEntryGetterRecordInstance()
171 …obj->value_ = PasteboardClient::GetInstance()->CreateMultiDelayRecord(mimeTypes, entryGetter->GetS… in NewEntryGetterRecordInstance()
172 obj->JSFillInstance(entryGetter->GetEnv(), instance); in NewEntryGetterRecordInstance()
562 if (entryGetterWork == nullptr || entryGetterWork->entryGetter == nullptr) { in UvWorkGetRecordByEntryGetter()
568 auto env = entryGetterWork->entryGetter->GetEnv(); in UvWorkGetRecordByEntryGetter()
569 auto ref = entryGetterWork->entryGetter->GetRef(); in UvWorkGetRecordByEntryGetter()
627 entryGetterWork->entryGetter = shared_from_this(); in GetValueByType()
H A Dnapi_pasteboard.cpp232 std::shared_ptr<UDMF::EntryGetter> entryGetter) in CreateMultiTypeDelayData() argument
242 obj->value_ = PasteboardClient::GetInstance()->CreateMultiTypeDelayData(mimeTypes, entryGetter); in CreateMultiTypeDelayData()
398 std::shared_ptr<PastedataRecordEntryGetterInstance> entryGetter = in JSCreateRecord() local
400 entryGetter->GetStub()->SetEntryGetterWrapper(entryGetter); in JSCreateRecord()
401 PasteDataRecordNapi::NewEntryGetterRecordInstance(mimeTypes, entryGetter, instance); in JSCreateRecord()
513 std::shared_ptr<PastedataRecordEntryGetterInstance> entryGetter = in JSCreateData() local
515 entryGetter->GetStub()->SetEntryGetterWrapper(entryGetter); in JSCreateData()
516 return CreateMultiTypeDelayData(env, mimeTypes, entryGetter->GetStub()); in JSCreateData()
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/core/src/
H A Dpasteboard_service.cpp343 auto entryGetter = entryGetters_.Find(appInfo.userId); in GetRecordValueByType() local
355 auto getter = entryGetter.second; in GetRecordValueByType()
888 if (!entryGetter.first) { in GetDelayPasteRecord()
892 auto getter = entryGetter.second; in GetDelayPasteRecord()
1199 const sptr<IPasteboardEntryGetter> entryGetter) in SetPasteData() argument
1202 return SavePasteData(data, delayGetter, entryGetter); in SetPasteData()
1495 if (entryGetter.first != nullptr && entryGetter.second != nullptr) { in RemovePasteData()
1496 entryGetter.first->AsObject()->RemoveDeathRecipient(entryGetter.second); in RemovePasteData()
2175 auto entryGetter = entryGetters_.Find(userId); in GetFullDelayPasteData() local
2176 if (!entryGetter.first) { in GetFullDelayPasteData()
[all …]
/ohos5.0/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/include/
H A Dpastedata_record_napi.h68 std::shared_ptr<PastedataRecordEntryGetterInstance> entryGetter = nullptr; member
95 std::shared_ptr<PastedataRecordEntryGetterInstance> entryGetter,
H A Dpasteboard_napi.h59 std::shared_ptr<UDMF::EntryGetter> entryGetter);
/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/
H A Dunified_record.cpp180 const std::shared_ptr<EntryGetter> &entryGetter) in SetEntryGetter() argument
189 entryGetter_ = entryGetter; in SetEntryGetter()
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/innerkits/include/
H A Dpasteboard_client.h105 std::vector<std::string> mimeTypes, const std::shared_ptr<UDMF::EntryGetter> entryGetter);
175 std::shared_ptr<UDMF::EntryGetter> entryGetter);
H A Dpaste_data_record.h67 std::vector<std::string> mimeTypes, const std::shared_ptr<UDMF::EntryGetter> entryGetter);
123 void SetEntryGetter(const std::shared_ptr<UDMF::EntryGetter> entryGetter);
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/zidl/src/
H A Dpasteboard_service_stub.cpp243 sptr<IPasteboardEntryGetter> entryGetter = nullptr; in OnSetPasteData() local
250 entryGetter = iface_cast<IPasteboardEntryGetter>(obj); in OnSetPasteData()
251 if (entryGetter == nullptr) { in OnSetPasteData()
256 auto result = SavePasteData(pasteData, delayGetter, entryGetter); in OnSetPasteData()
H A Dpasteboard_service_proxy.cpp127 const sptr<IPasteboardEntryGetter> entryGetter) in SetPasteData() argument
139 if (pasteData.IsDelayRecord() && entryGetter == nullptr) { in SetPasteData()
165 if (pasteData.IsDelayRecord() && !data.WriteRemoteObject(entryGetter->AsObject())) { in SetPasteData()
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dpasteboard_multi_type_unified_data_delay_test.cpp223 std::shared_ptr<EntryGetter> entryGetter = std::make_shared<EntryGetterImpl>(); variable
224 inputRecord->SetEntryGetter(inputTypes, entryGetter);
271 std::shared_ptr<EntryGetter> entryGetter = std::make_shared<EntryGetterImpl>(); variable
272 inputRecord->SetEntryGetter(inputTypes, entryGetter);
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/core/include/
H A Dpasteboard_service.h108 const sptr<IPasteboardEntryGetter> entryGetter) override;
214 sptr<IPasteboardEntryGetter> entryGetter = nullptr) override;
217 sptr<IPasteboardEntryGetter> entryGetter = nullptr);
219 …sptr<IPasteboardDelayGetter> delayGetter, sptr<IPasteboardEntryGetter> entryGetter, const AppInfo&…
H A Di_pasteboard_service.h35 const sptr<IPasteboardEntryGetter> entryGetter) = 0;
/ohos5.0/foundation/distributeddatamgr/udmf/interfaces/innerkits/data/
H A Dunified_record.h54 …tryGetter(const std::vector<std::string> &utdIds, const std::shared_ptr<EntryGetter> &entryGetter);
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/zidl/include/
H A Dpasteboard_service_proxy.h36 const sptr<IPasteboardEntryGetter> entryGetter) override;
H A Dpasteboard_service_stub.h39 sptr<IPasteboardEntryGetter> entryGetter = nullptr) = 0;
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpasteboard_client.cpp136 std::vector<std::string> mimeTypes, const std::shared_ptr<UDMF::EntryGetter> entryGetter) in CreateMultiDelayRecord() argument
138 return PasteDataRecord::NewMultiTypeDelayRecord(mimeTypes, entryGetter); in CreateMultiDelayRecord()
200 std::shared_ptr<UDMF::EntryGetter> entryGetter) in CreateMultiTypeDelayData() argument
204 pasteData->AddRecord(PasteDataRecord::NewMultiTypeDelayRecord(mimeTypes, entryGetter)); in CreateMultiTypeDelayData()
H A Dpaste_data_record.cpp199 std::vector<std::string> mimeTypes, const std::shared_ptr<UDMF::EntryGetter> entryGetter) in NewMultiTypeDelayRecord() argument
209 if (entryGetter != nullptr) { in NewMultiTypeDelayRecord()
210 record->SetEntryGetter(entryGetter); in NewMultiTypeDelayRecord()
876 void PasteDataRecord::SetEntryGetter(const std::shared_ptr<UDMF::EntryGetter> entryGetter) in SetEntryGetter() argument
878 entryGetter_ = std::move(entryGetter); in SetEntryGetter()