/foundation/filemanagement/dfs_service/test/unittests/clouddisk_database/ |
H A D | clouddisk_notify_test.cpp | 78 ParamDiskOthers paramOthers; in HWTEST_F() local 79 CloudDiskNotify.TryNotify(paramDisk, paramOthers); in HWTEST_F() 100 ParamDiskOthers paramOthers; in HWTEST_F() local 101 CloudDiskNotify.TryNotify(paramDisk, paramOthers); in HWTEST_F() 121 ParamDiskOthers paramOthers; in HWTEST_F() local 122 CloudDiskNotify.TryNotify(paramDisk, paramOthers); in HWTEST_F() 143 ParamDiskOthers paramOthers; in HWTEST_F() local 144 CloudDiskNotify.TryNotify(paramDisk, paramOthers); in HWTEST_F() 164 ParamDiskOthers paramOthers; in HWTEST_F() local 165 CloudDiskNotify.TryNotify(paramDisk, paramOthers); in HWTEST_F() 187 ParamDiskOthers paramOthers; HWTEST_F() local 212 ParamDiskOthers paramOthers; HWTEST_F() local 236 ParamDiskOthers paramOthers; HWTEST_F() local 260 ParamDiskOthers paramOthers; HWTEST_F() local 284 ParamDiskOthers paramOthers; HWTEST_F() local 303 ParamDiskOthers paramOthers; HWTEST_F() local 324 ParamDiskOthers paramOthers; HWTEST_F() local 347 ParamDiskOthers paramOthers; HWTEST_F() local 366 ParamDiskOthers paramOthers; HWTEST_F() local 387 ParamDiskOthers paramOthers; HWTEST_F() local 410 ParamDiskOthers paramOthers; HWTEST_F() local 433 ParamDiskOthers paramOthers; HWTEST_F() local 453 ParamDiskOthers paramOthers; HWTEST_F() local 474 ParamDiskOthers paramOthers; HWTEST_F() local 495 ParamDiskOthers paramOthers; HWTEST_F() local 517 ParamDiskOthers paramOthers; HWTEST_F() local 539 ParamDiskOthers paramOthers; HWTEST_F() local 562 ParamDiskOthers paramOthers; HWTEST_F() local 580 ParamDiskOthers paramOthers; HWTEST_F() local 600 ParamServiceOther paramOthers; HWTEST_F() local 619 ParamServiceOther paramOthers; HWTEST_F() local 638 ParamServiceOther paramOthers; HWTEST_F() local 656 ParamServiceOther paramOthers; HWTEST_F() local 675 ParamServiceOther paramOthers; HWTEST_F() local 693 ParamServiceOther paramOthers; HWTEST_F() local 711 ParamServiceOther paramOthers; HWTEST_F() local 730 ParamServiceOther paramOthers; HWTEST_F() local 750 ParamServiceOther paramOthers; HWTEST_F() local 770 ParamServiceOther paramOthers; HWTEST_F() local 788 ParamServiceOther paramOthers; HWTEST_F() local 806 ParamServiceOther paramOthers; HWTEST_F() local 824 ParamServiceOther paramOthers; HWTEST_F() local 841 ParamServiceOther paramOthers; HWTEST_F() local 862 ParamServiceOther paramOthers; HWTEST_F() local [all...] |
/foundation/filemanagement/dfs_service/services/clouddisk_database/src/ |
H A D | clouddisk_notify.cpp | 66 static int32_t GetTrashNotifyData(const CacheNode &cacheNode, const ParamServiceOther ¶mOthers, in GetTrashNotifyData() argument 70 realPrefix.replace(CLOUDDISK_URI_PREFIX.find(BUNDLENAME_FLAG), BUNDLENAME_FLAG.length(), paramOthers.bundleName); in GetTrashNotifyData() 165 static void HandleWrite(const NotifyParamDisk ¶mDisk, const ParamDiskOthers ¶mOthers) in HandleWrite() argument 172 if (paramOthers.dirtyType == static_cast<int32_t>(DirtyType::TYPE_NO_NEED_UPLOAD)) { in HandleWrite() 175 if (paramOthers.fileDirty == CLOUD_DISK_FILE_WRITE) { in HandleWrite() 206 static void HandleRename(const NotifyParamDisk ¶mDisk, const ParamDiskOthers ¶mOthers) in HandleRename() argument 225 notifyData.isDir = paramOthers.isDir; in HandleRename() 231 void CloudDiskNotify::TryNotify(const NotifyParamDisk ¶mDisk, const ParamDiskOthers ¶mOthers) in TryNotify() argument 250 HandleRename(paramDisk, paramOthers); in TryNotify() 253 HandleWrite(paramDisk, paramOthers); in TryNotify() 261 HandleInsert(const NotifyParamService ¶mService, const ParamServiceOther ¶mOthers) HandleInsert() argument 285 HandleUpdate(const NotifyParamService ¶mService, const ParamServiceOther ¶mOthers) HandleUpdate() argument 311 HandleUpdateRecycle(const NotifyParamService ¶mService, const ParamServiceOther ¶mOthers) HandleUpdateRecycle() argument 342 HandleDelete(const NotifyParamService ¶mService, const ParamServiceOther ¶mOthers) HandleDelete() argument 358 HandleDeleteBatch(const NotifyParamService ¶mService, const ParamServiceOther ¶mOthers) HandleDeleteBatch() argument 365 TryNotifyService(const NotifyParamService ¶mService, const ParamServiceOther ¶mOthers) TryNotifyService() argument 389 GetDeleteNotifyData(const vector<NativeRdb::ValueObject> &deleteIds, vector<NotifyData> ¬ifyDataList, const ParamServiceOther ¶mOthers) GetDeleteNotifyData() argument [all...] |
/foundation/filemanagement/dfs_service/test/fuzztest/clouddisknotify_fuzzer/ |
H A D | clouddisknotify_fuzzer.cpp | 48 ParamServiceOther paramOthers; in TryNotifyServiceFuzzTest() local 49 paramOthers.userId = fuzzData.GetData<int32_t>(); in TryNotifyServiceFuzzTest() 50 paramOthers.bundleName = fuzzData.GetStringFromData(len); in TryNotifyServiceFuzzTest() 55 paramOthers.notifyDataList.emplace_back(notifyData); in TryNotifyServiceFuzzTest() 57 CloudDiskNotify::GetInstance().TryNotifyService(paramService, paramOthers); in TryNotifyServiceFuzzTest() 63 ParamServiceOther paramOthers; in GetDeleteNotifyDataFuzzTest() local 64 paramOthers.userId = fuzzData.GetData<int32_t>(); in GetDeleteNotifyDataFuzzTest() 69 paramOthers.bundleName = fuzzData.GetStringFromData(len); in GetDeleteNotifyDataFuzzTest() 71 CloudDiskNotify::GetInstance().GetDeleteNotifyData(deleteIds, notifyDataList, paramOthers); in GetDeleteNotifyDataFuzzTest()
|
/foundation/filemanagement/dfs_service/test/mock/ |
H A D | clouddisk_notify_mock.cpp | 40 void CloudDiskNotify::TryNotify(const NotifyParamDisk ¶mDisk, const ParamDiskOthers ¶mOthers) {} in TryNotify() argument 42 void CloudDiskNotify::TryNotifyService(const NotifyParamService ¶mService, const ParamServiceOther ¶mOthers) {} in TryNotifyService() argument 46 const ParamServiceOther ¶mOthers) in GetDeleteNotifyData() 44 GetDeleteNotifyData(const vector<NativeRdb::ValueObject> &deleteIds, vector<NotifyData> ¬ifyDataList, const ParamServiceOther ¶mOthers) GetDeleteNotifyData() argument
|
/foundation/filemanagement/dfs_service/services/clouddisk_database/include/ |
H A D | clouddisk_notify.h | 39 void TryNotify(const NotifyParamDisk ¶mDisk, const ParamDiskOthers ¶mOthers = {}); 40 void TryNotifyService(const NotifyParamService ¶mService, const ParamServiceOther ¶mOthers = {}); 43 const ParamServiceOther ¶mOthers);
|