Home
last modified time | relevance | path

Searched refs:IsDuplicate (Results 1 - 3 of 3) sorted by relevance

/foundation/distributeddatamgr/pasteboard/services/test/unittest/src/
H A Dpasteboard_deduplicate_memory_test.cpp62 * @tc.desc: should return false when first called IsDuplicate
63 * should return true when called IsDuplicate with same params within expirationMilliSeconds
71 bool isDuplicate = reportMemory.IsDuplicate({.pid = 1, .errorCode = PasteboardError::INVALID_PARAM_ERROR}); in HWTEST_F()
74 isDuplicate = reportMemory.IsDuplicate({.pid = 1, .errorCode = PasteboardError::INVALID_PARAM_ERROR}); in HWTEST_F()
77 isDuplicate = reportMemory.IsDuplicate({.pid = 1, .errorCode = PasteboardError::INVALID_PARAM_ERROR}); in HWTEST_F()
83 * @tc.desc: should return false when first called IsDuplicate
84 * should return false when called IsDuplicate with same params after expirationMilliSeconds
92 bool isDuplicate = reportMemory.IsDuplicate({.pid = 1, .errorCode = PasteboardError::INVALID_PARAM_ERROR}); in HWTEST_F()
96 isDuplicate = reportMemory.IsDuplicate({.pid = 1, .errorCode = PasteboardError::INVALID_PARAM_ERROR}); in HWTEST_F()
100 isDuplicate = reportMemory.IsDuplicate({ in HWTEST_F()
[all...]
/foundation/distributeddatamgr/pasteboard/services/dfx/src/
H A Dpasteboard_deduplicate_memory.h30 bool IsDuplicate(const T &data);
58 bool DeduplicateMemory<T>::IsDuplicate(const T &data) in IsDuplicate() function in OHOS::MiscServices::DeduplicateMemory
/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/
H A Dpasteboard_client.cpp269 !reportMemory.IsDuplicate({.pid = pid, .errorCode = ret})) { in GetPasteData()

Completed in 3 milliseconds