Home
last modified time | relevance | path

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

/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/data_sync/gallery_data_sync/
Dalbum_data_handler.h42 DriveKit::DKRecordOperResult> &map) override;
44 DriveKit::DKRecordOperResult> &map) override;
46 DriveKit::DKRecordOperResult> &map) override;
61 …int32_t OnUploadSuccess(const std::pair<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> &entry…
62 …int32_t OnDeleteSuccess(const std::pair<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> &entry…
63 …int32_t OnCreateSuccess(const std::pair<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> &entry…
64 … int32_t OnCreateFail(const std::pair<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> &entry);
65 … int32_t OnDeleteFail(const std::pair<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> &entry);
66 … int32_t OnModifyFail(const std::pair<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> &entry);
Dfile_data_handler.h63 DriveKit::DKRecordOperResult> &map) override;
65 DriveKit::DKRecordOperResult> &map) override;
67 DriveKit::DKRecordOperResult> &map) override;
69 DriveKit::DKRecordOperResult> &map) override;
78 …t OnCreateRecordSuccess(const std::pair<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> &entry,
80 … OnDeleteRecordSuccess(const std::pair<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> &entry);
81 …t OnModifyRecordSuccess(const std::pair<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> &entry,
87 void GetLocalTimeMap(const std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> &map,
93 …int32_t OnRecordFailed(const std::pair<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> &entry);
/foundation/filemanagement/dfs_service/adapter/cloud_adapter_example/include/
Ddk_database.h87 class DKRecordOperResult : public DKResult {
89 DKRecordOperResult() {} in DKRecordOperResult() function
90 DKRecordOperResult(DKLocalErrorCode code) in DKRecordOperResult() function
132 … std::shared_ptr<std::map<DKRecordId, DKRecordOperResult>>,
142 DKRecordOperResult,
174 … std::shared_ptr<std::map<DKRecordId, DKRecordOperResult>>,
184 std::shared_ptr<std::map<DKRecordId, DKRecordOperResult>> saveResult,
185 std::shared_ptr<std::map<DKRecordId, DKRecordOperResult>> delResult,
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/data_sync/
Ddata_handler_mock.h51 DriveKit::DKRecordOperResult> &map) {return 0;} in OnCreateRecords()
53 DriveKit::DKRecordOperResult> &map) {return 0;} in OnDeleteRecords()
55 DriveKit::DKRecordOperResult> &map) {return 0;} in OnModifyMdirtyRecords()
57 DriveKit::DKRecordOperResult> &map) {return 0;} in OnModifyFdirtyRecords()
Dfile_data_handler_test.cpp776 std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> map;
778 … auto result = std::make_shared<std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>();
781 DriveKit::DKRecordOperResult operResult;
806 std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> map;
808 … auto result = std::make_shared<std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>();
810 DriveKit::DKRecordOperResult operResult;
835 std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> map;
839 … auto result = std::make_shared<std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>();
846 DriveKit::DKRecordOperResult operResult;
871 std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> map;
[all …]
Dalbum_data_handler_test.cpp229 map<DKRecordId, DKRecordOperResult> map;
252 map<DKRecordId, DKRecordOperResult> map;
275 map<DKRecordId, DKRecordOperResult> map;
Ddata_handler_test.cpp118 map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult> map;
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/data_sync/gallery_data_sync/
Dalbum_data_handler.cpp300 int32_t AlbumDataHandler::OnCreateRecords(const map<DKRecordId, DKRecordOperResult> &map) in OnCreateRecords()
305 const DKRecordOperResult &result = entry.second; in OnCreateRecords()
318 int32_t AlbumDataHandler::OnDeleteRecords(const map<DKRecordId, DKRecordOperResult> &map) in OnDeleteRecords()
323 const DKRecordOperResult &result = entry.second; in OnDeleteRecords()
336 int32_t AlbumDataHandler::OnModifyMdirtyRecords(const map<DKRecordId, DKRecordOperResult> &map) in OnModifyMdirtyRecords()
341 const DKRecordOperResult &result = entry.second; in OnModifyMdirtyRecords()
354 static inline string GetAlbumNameFromRecord(const DriveKit::DKRecordOperResult &result) in GetAlbumNameFromRecord()
363 DriveKit::DKRecordOperResult> &entry) in OnCreateSuccess()
380 DriveKit::DKRecordOperResult> &entry) in OnUploadSuccess()
396 DriveKit::DKRecordOperResult> &entry) in OnDeleteSuccess()
[all …]
Dfile_data_handler.cpp2185 int32_t FileDataHandler::OnCreateRecords(const map<DKRecordId, DKRecordOperResult> &map) in OnCreateRecords()
2193 const DKRecordOperResult &result = entry.second; in OnCreateRecords()
2214 int32_t FileDataHandler::OnDeleteRecords(const map<DKRecordId, DKRecordOperResult> &map) in OnDeleteRecords()
2218 const DKRecordOperResult &result = entry.second; in OnDeleteRecords()
2236 int32_t FileDataHandler::OnModifyMdirtyRecords(const map<DKRecordId, DKRecordOperResult> &map) in OnModifyMdirtyRecords()
2244 const DKRecordOperResult &result = entry.second; in OnModifyMdirtyRecords()
2261 int32_t FileDataHandler::OnModifyFdirtyRecords(const map<DKRecordId, DKRecordOperResult> &map) in OnModifyFdirtyRecords()
2269 const DKRecordOperResult &result = entry.second; in OnModifyFdirtyRecords()
2293 const std::pair<DKRecordId, DKRecordOperResult> &entry, in OnCreateRecordSuccess()
2357 int32_t FileDataHandler::OnDeleteRecordSuccess(const std::pair<DKRecordId, DKRecordOperResult> &ent… in OnDeleteRecordSuccess()
[all …]
/foundation/filemanagement/dfs_service/adapter/cloud_adapter_example/src/
Ddk_database.cpp30 auto result = std::make_shared<std::map<DKRecordId, DKRecordOperResult>>(); in SaveRecords()
34 DKRecordOperResult operResult; in SaveRecords()
81 auto result = std::make_shared<std::map<DKRecordId, DKRecordOperResult>>(); in DeleteRecords()
84 DKRecordOperResult operResult; in DeleteRecords()
102 auto result = std::make_shared<std::map<DKRecordId, DKRecordOperResult>>(); in ModifyRecords()
105 DKRecordOperResult operResult; in ModifyRecords()
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/mock/
Ddata_syncer_mock.cpp187 shared_ptr<const map<DKRecordId, DKRecordOperResult>> map, const DKError &err) in OnCreateRecords()
193 shared_ptr<const map<DKRecordId, DKRecordOperResult>> map, const DKError &err) in OnDeleteRecords()
199 shared_ptr<const map<DKRecordId, DKRecordOperResult>> saveMap, in OnModifyMdirtyRecords()
200 shared_ptr<const map<DKRecordId, DKRecordOperResult>> deleteMap, in OnModifyMdirtyRecords()
207 shared_ptr<const map<DKRecordId, DKRecordOperResult>> saveMap, in OnModifyFdirtyRecords()
208 shared_ptr<const map<DKRecordId, DKRecordOperResult>> deleteMap, in OnModifyFdirtyRecords()
Dsdk_helper_mock.cpp61 std::shared_ptr<const std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>, in CreateRecords() argument
69 std::shared_ptr<const std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>, in DeleteRecords() argument
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/data_sync/
Ddata_syncer.h140 std::shared_ptr<const std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>,
144 std::shared_ptr<const std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>,
148 std::shared_ptr<const std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>,
149 std::shared_ptr<const std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>,
153 std::shared_ptr<const std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>,
154 std::shared_ptr<const std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>,
Ddata_handler.h60 DriveKit::DKRecordOperResult> &map) = 0;
62 DriveKit::DKRecordOperResult> &map) = 0;
64 DriveKit::DKRecordOperResult> &map) = 0;
66 DriveKit::DKRecordOperResult> &map);
Dsdk_helper.h72 std::shared_ptr<const std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>,
80 std::shared_ptr<const std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>,
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/data_sync/
Dsdk_helper.cpp110 std::shared_ptr<const std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>, in CreateRecords() argument
125 std::shared_ptr<const std::map<DriveKit::DKRecordId, DriveKit::DKRecordOperResult>>, in DeleteRecords() argument
Ddata_syncer.cpp831 shared_ptr<const map<DKRecordId, DKRecordOperResult>> map, const DKError &err) in OnCreateRecords()
861 shared_ptr<const map<DKRecordId, DKRecordOperResult>> map, const DKError &err) in OnDeleteRecords()
891 shared_ptr<const map<DKRecordId, DKRecordOperResult>> saveMap, in OnModifyMdirtyRecords()
892 shared_ptr<const map<DKRecordId, DKRecordOperResult>> deleteMap, in OnModifyMdirtyRecords()
923 shared_ptr<const map<DKRecordId, DKRecordOperResult>> saveMap, in OnModifyFdirtyRecords()
924 shared_ptr<const map<DKRecordId, DKRecordOperResult>> deleteMap, in OnModifyFdirtyRecords()
Ddata_handler.cpp177 DriveKit::DKRecordOperResult> &map) in OnModifyFdirtyRecords()