Home
last modified time | relevance | path

Searched refs:entryGetter (Results 1 - 19 of 19) sorted by relevance

/foundation/distributeddatamgr/pasteboard/test/fuzztest/pasteboardservice_fuzzer/
H A Dpasteboardservice_fuzzer.cpp54 const sptr<IPasteboardEntryGetter> entryGetter) override
58 (void)entryGetter; variable
70 sptr<IPasteboardEntryGetter> entryGetter = nullptr) override
74 (void)entryGetter; variable
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/
H A Dnapi_pastedata_record.cpp153 std::shared_ptr<PastedataRecordEntryGetterInstance> entryGetter, napi_value &instance) in NewEntryGetterRecordInstance()
155 if (entryGetter == nullptr) { in NewEntryGetterRecordInstance()
159 NAPI_CALL_BASE(entryGetter->GetEnv(), PasteDataRecordNapi::NewInstance(entryGetter->GetEnv(), instance), false); in NewEntryGetterRecordInstance()
161 napi_status status = napi_unwrap(entryGetter->GetEnv(), instance, reinterpret_cast<void **>(&obj)); in NewEntryGetterRecordInstance()
166 obj->value_ = PasteboardClient::GetInstance()->CreateMultiDelayRecord(mimeTypes, entryGetter->GetStub()); in NewEntryGetterRecordInstance()
167 obj->JSFillInstance(entryGetter->GetEnv(), instance); in NewEntryGetterRecordInstance()
555 if (entryGetterWork == nullptr || entryGetterWork->entryGetter == nullptr) { in UvWorkGetRecordByEntryGetter()
561 auto env = entryGetterWork->entryGetter->GetEnv(); in UvWorkGetRecordByEntryGetter()
562 auto ref = entryGetterWork->entryGetter in UvWorkGetRecordByEntryGetter()
152 NewEntryGetterRecordInstance(const std::vector<std::string> mimeTypes, std::shared_ptr<PastedataRecordEntryGetterInstance> entryGetter, napi_value &instance) NewEntryGetterRecordInstance() argument
[all...]
H A Dnapi_pasteboard.cpp223 std::shared_ptr<UDMF::EntryGetter> entryGetter) in CreateMultiTypeDelayData()
233 obj->value_ = PasteboardClient::GetInstance()->CreateMultiTypeDelayData(mimeTypes, entryGetter); in CreateMultiTypeDelayData()
389 std::shared_ptr<PastedataRecordEntryGetterInstance> entryGetter = in JSCreateRecord() local
391 entryGetter->GetStub()->SetEntryGetterWrapper(entryGetter); in JSCreateRecord()
392 PasteDataRecordNapi::NewEntryGetterRecordInstance(mimeTypes, entryGetter, instance); in JSCreateRecord()
504 std::shared_ptr<PastedataRecordEntryGetterInstance> entryGetter = in JSCreateData() local
506 entryGetter->GetStub()->SetEntryGetterWrapper(entryGetter); in JSCreateData()
507 return CreateMultiTypeDelayData(env, mimeTypes, entryGetter in JSCreateData()
222 CreateMultiTypeDelayData(napi_env env, std::vector<std::string> mimeTypes, std::shared_ptr<UDMF::EntryGetter> entryGetter) CreateMultiTypeDelayData() argument
[all...]
/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.h49 std::shared_ptr<UDMF::EntryGetter> entryGetter);
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/data/
H A Dunified_record.cpp180 const std::shared_ptr<EntryGetter> &entryGetter) in SetEntryGetter()
189 entryGetter_ = entryGetter; in SetEntryGetter()
178 SetEntryGetter( const std::vector<std::string> &utdIds, const std::shared_ptr<EntryGetter> &entryGetter) SetEntryGetter() argument
/foundation/distributeddatamgr/pasteboard/framework/innerkits/include/
H A Dpasteboard_client.h102 * @param std::shared_ptr<UDMF::EntryGetter> entryGetter
106 std::vector<std::string> mimeTypes, const std::shared_ptr<UDMF::EntryGetter> entryGetter);
172 * @param std::shared_ptr<UDMF::EntryGetter> entryGetter
176 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);
/foundation/distributeddatamgr/pasteboard/services/core/include/
H A Di_pasteboard_service.h35 const sptr<IPasteboardEntryGetter> entryGetter) = 0;
H A Dpasteboard_service.h109 const sptr<IPasteboardEntryGetter> entryGetter) override;
216 sptr<IPasteboardEntryGetter> entryGetter = nullptr) override;
218 sptr<IPasteboardEntryGetter> entryGetter = nullptr);
220 sptr<IPasteboardEntryGetter> entryGetter, const AppInfo &appInfo);
/foundation/distributeddatamgr/udmf/interfaces/innerkits/data/
H A Dunified_record.h54 void SetEntryGetter(const std::vector<std::string> &utdIds, const std::shared_ptr<EntryGetter> &entryGetter);
/foundation/distributeddatamgr/pasteboard/services/core/src/
H A Dpasteboard_service.cpp335 auto entryGetter = entryGetters_.Find(appInfo.userId); in GetRecordValueByType() local
336 if (!clip.first || !tempTime.first || !entryGetter.first) { in GetRecordValueByType()
347 auto getter = entryGetter.second; in GetRecordValueByType()
879 auto entryGetter = entryGetters_.Find(appInfo.userId); in GetDelayPasteRecord() local
880 if (!entryGetter.first) { in GetDelayPasteRecord()
881 PASTEBOARD_HILOGW(PASTEBOARD_MODULE_SERVICE, "entryGetter.first is null"); in GetDelayPasteRecord()
884 auto getter = entryGetter.second; in GetDelayPasteRecord()
1197 const sptr<IPasteboardEntryGetter> entryGetter) in SetPasteData()
1200 return SavePasteData(data, delayGetter, entryGetter); in SetPasteData()
1204 sptr<IPasteboardEntryGetter> entryGetter) in SaveData()
1196 SetPasteData(PasteData &pasteData, const sptr<IPasteboardDelayGetter> delayGetter, const sptr<IPasteboardEntryGetter> entryGetter) SetPasteData() argument
1203 SaveData(std::shared_ptr<PasteData> &pasteData, sptr<IPasteboardDelayGetter> delayGetter, sptr<IPasteboardEntryGetter> entryGetter) SaveData() argument
1256 HandleDelayDataAndRecord(std::shared_ptr<PasteData> &pasteData, sptr<IPasteboardDelayGetter> delayGetter, sptr<IPasteboardEntryGetter> entryGetter, const AppInfo &appInfo) HandleDelayDataAndRecord() argument
1440 SavePasteData(std::shared_ptr<PasteData> &pasteData, sptr<IPasteboardDelayGetter> delayGetter, sptr<IPasteboardEntryGetter> entryGetter) SavePasteData() argument
2098 auto entryGetter = entryGetters_.Find(userId); GetFullDelayPasteData() local
[all...]
/foundation/distributeddatamgr/pasteboard/framework/test/src/
H A Dpasteboard_multi_type_unified_data_delay_test.cpp216 std::shared_ptr<EntryGetter> entryGetter = std::make_shared<EntryGetterImpl>(); in HWTEST_F() local
217 inputRecord->SetEntryGetter(inputTypes, entryGetter); in HWTEST_F()
264 std::shared_ptr<EntryGetter> entryGetter = std::make_shared<EntryGetterImpl>(); in HWTEST_F() local
265 inputRecord->SetEntryGetter(inputTypes, entryGetter); in HWTEST_F()
/foundation/distributeddatamgr/pasteboard/services/zidl/src/
H A Dpasteboard_service_stub.cpp239 sptr<IPasteboardEntryGetter> entryGetter = nullptr; in OnSetPasteData() local
246 entryGetter = iface_cast<IPasteboardEntryGetter>(obj); in OnSetPasteData()
247 if (entryGetter == nullptr) { in OnSetPasteData()
252 auto result = SavePasteData(pasteData, delayGetter, entryGetter); in OnSetPasteData()
H A Dpasteboard_service_proxy.cpp127 const sptr<IPasteboardEntryGetter> entryGetter) in SetPasteData()
139 if (pasteData.IsDelayRecord() && entryGetter == nullptr) { in SetPasteData()
165 if (pasteData.IsDelayRecord() && !data.WriteRemoteObject(entryGetter->AsObject())) { in SetPasteData()
126 SetPasteData(PasteData &pasteData, const sptr<IPasteboardDelayGetter> delayGetter, const sptr<IPasteboardEntryGetter> entryGetter) SetPasteData() argument
/foundation/distributeddatamgr/pasteboard/services/zidl/include/
H A Dpasteboard_service_stub.h39 sptr<IPasteboardEntryGetter> entryGetter = nullptr) = 0;
H A Dpasteboard_service_proxy.h36 const sptr<IPasteboardEntryGetter> entryGetter) override;
/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpasteboard_client.cpp138 std::vector<std::string> mimeTypes, const std::shared_ptr<UDMF::EntryGetter> entryGetter) in CreateMultiDelayRecord()
140 return PasteDataRecord::NewMultiTypeDelayRecord(mimeTypes, entryGetter); in CreateMultiDelayRecord()
202 std::shared_ptr<UDMF::EntryGetter> entryGetter) in CreateMultiTypeDelayData()
206 pasteData->AddRecord(PasteDataRecord::NewMultiTypeDelayRecord(mimeTypes, entryGetter)); in CreateMultiTypeDelayData()
137 CreateMultiDelayRecord( std::vector<std::string> mimeTypes, const std::shared_ptr<UDMF::EntryGetter> entryGetter) CreateMultiDelayRecord() argument
201 CreateMultiTypeDelayData(std::vector<std::string> mimeTypes, std::shared_ptr<UDMF::EntryGetter> entryGetter) CreateMultiTypeDelayData() argument
H A Dpaste_data_record.cpp186 std::vector<std::string> mimeTypes, const std::shared_ptr<UDMF::EntryGetter> entryGetter) in NewMultiTypeDelayRecord()
196 if (entryGetter != nullptr) { in NewMultiTypeDelayRecord()
197 record->SetEntryGetter(entryGetter); in NewMultiTypeDelayRecord()
793 void PasteDataRecord::SetEntryGetter(const std::shared_ptr<UDMF::EntryGetter> entryGetter) in SetEntryGetter() argument
795 entryGetter_ = std::move(entryGetter); in SetEntryGetter()
185 NewMultiTypeDelayRecord( std::vector<std::string> mimeTypes, const std::shared_ptr<UDMF::EntryGetter> entryGetter) NewMultiTypeDelayRecord() argument

Completed in 15 milliseconds