Home
last modified time | relevance | path

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

/foundation/distributeddatamgr/pasteboard/interfaces/ndk/unittest/
H A Dpasteboard_capi_test.cpp239 * @tc.desc: OH_Pasteboard_Subscribe test valid
249 int res = OH_Pasteboard_Subscribe(pasteboard, NOTIFY_LOCAL_DATA_CHANGE, observer); in HWTEST_F()
252 int resRepeat = OH_Pasteboard_Subscribe(pasteboard, NOTIFY_LOCAL_DATA_CHANGE, observer); in HWTEST_F()
261 * @tc.desc: OH_Pasteboard_Subscribe test invalid
271 int res1 = OH_Pasteboard_Subscribe(nullptr, NOTIFY_LOCAL_DATA_CHANGE, observer); in HWTEST_F()
274 int res2 = OH_Pasteboard_Subscribe(pasteboard, 10, observer); in HWTEST_F()
277 int res3 = OH_Pasteboard_Subscribe(pasteboard, -1, observer); in HWTEST_F()
280 int res4 = OH_Pasteboard_Subscribe(pasteboard, NOTIFY_LOCAL_DATA_CHANGE, nullptr); in HWTEST_F()
299 OH_Pasteboard_Subscribe(pasteboard, NOTIFY_LOCAL_DATA_CHANGE, observer); in HWTEST_F()
/foundation/distributeddatamgr/pasteboard/interfaces/ndk/include/
H A Doh_pasteboard.h173 int OH_Pasteboard_Subscribe(OH_Pasteboard* pasteboard, int type, const OH_PasteboardObserver* observer);
/foundation/distributeddatamgr/pasteboard/interfaces/ndk/src/
H A Doh_pasteboard.cpp118 int OH_Pasteboard_Subscribe(OH_Pasteboard *pasteboard, int type, const OH_PasteboardObserver *observer) in OH_Pasteboard_Subscribe() function

Completed in 3 milliseconds