Searched refs:OH_Pasteboard_Subscribe (Results 1 - 3 of 3) sorted by relevance
/foundation/distributeddatamgr/pasteboard/interfaces/ndk/unittest/ |
H A D | pasteboard_capi_test.cpp | 239 * @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 D | oh_pasteboard.h | 173 int OH_Pasteboard_Subscribe(OH_Pasteboard* pasteboard, int type, const OH_PasteboardObserver* observer);
|
/foundation/distributeddatamgr/pasteboard/interfaces/ndk/src/ |
H A D | oh_pasteboard.cpp | 118 int OH_Pasteboard_Subscribe(OH_Pasteboard *pasteboard, int type, const OH_PasteboardObserver *observer) in OH_Pasteboard_Subscribe() function
|
Completed in 2 milliseconds