Home
last modified time | relevance | path

Searched refs:PublishReminder (Results 1 - 25 of 31) sorted by relevance

12

/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dreminder_helper.cpp25 ErrCode ReminderHelper::PublishReminder(ReminderRequest &reminder) in PublishReminder() function in OHOS::Notification::ReminderHelper
27 ANSR_LOGI("PublishReminder start"); in PublishReminder()
29 return DelayedSingleton<AnsNotification>::GetInstance()->PublishReminder(reminder); in PublishReminder()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dreminder_helper.h51 static ErrCode PublishReminder(ReminderRequest &reminder);
/base/notification/distributed_notification_service/frameworks/js/napi/include/reminder/
H A Dpublish.h65 napi_value PublishReminder(napi_env env, napi_callback_info info);
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dreminder_data_manager_test.cpp72 manager->PublishReminder(reminder, option); in HWTEST_F()
462 manager->PublishReminder(reminder1, option1); in HWTEST_F()
463 manager->PublishReminder(reminder2, option2); in HWTEST_F()
464 manager->PublishReminder(reminder3, option3); in HWTEST_F()
676 ErrCode ret = manager->PublishReminder(reminder, option); in HWTEST_F()
680 ret = manager->PublishReminder(reminder, option); in HWTEST_F()
849 manager->PublishReminder(reminder1, option1); in HWTEST_F()
859 manager->PublishReminder(reminder2, option2); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_annex_test/
H A Dans_notification_annex_test.cpp265 * @tc.desc: test PublishReminder ErrCode ERR_ANS_SERVICE_NOT_CONNECTED.
273 ErrCode ret = ans_->PublishReminder(reminder); in HWTEST_F()
280 * @tc.desc: test PublishReminder ErrCode ERR_ANS_SERVICE_NOT_CONNECTED.
288 ErrCode ret = ans_->PublishReminder(reminder); in HWTEST_F()
295 * @tc.desc: test PublishReminder ErrCode ERR_ANS_SERVICE_NOT_CONNECTED.
306 ErrCode ret = ans_->PublishReminder(reminder); in HWTEST_F()
/base/notification/distributed_notification_service/test/fuzztest/reminderhelper_fuzzer/
H A Dreminderhelper_fuzzer.cpp34 Notification::ReminderHelper::PublishReminder(reminder); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dreminder_helper_test.cpp40 * @tc.desc: Test PublishReminder parameters.
48 ErrCode ret = reminderHelper.PublishReminder(reminder); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
H A Dnative_module.cpp34 DECLARE_NAPI_FUNCTION("publishReminder", PublishReminder), in ReminderAgentInit()
H A Dpublish.cpp1002 ANSR_LOGI("PublishReminder"); in PublishReminderInner()
1036 asynccallbackinfo->info.errorCode = ReminderHelper::PublishReminder(*(asynccallbackinfo->reminder)); in PublishReminderInner()
1076 napi_value PublishReminder(napi_env env, napi_callback_info info) in PublishReminder() function
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_reminder_service.cpp52 ErrCode AdvancedNotificationService::PublishReminder(sptr<ReminderRequest> &reminder) in PublishReminder() function in OHOS::Notification::AdvancedNotificationService
111 return rdm->PublishReminder(reminder, bundleOption); in PublishReminder()
/base/notification/distributed_notification_service/test/fuzztest/reminderdatamanager_fuzzer/
H A Dreminderdatamanager_fuzzer.cpp115 manager->PublishReminder(reminder, option); in DoSomethingInterestingWithReminder()
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_proxy_reminder.cpp33 ErrCode AnsManagerProxy::PublishReminder(sptr<ReminderRequest> &reminder) in PublishReminder() function in OHOS::Notification::AnsManagerProxy
35 ANSR_LOGI("PublishReminder"); in PublishReminder()
38 ANSR_LOGE("[PublishReminder] fail: write interface token failed."); in PublishReminder()
42 ANSR_LOGW("[PublishReminder] fail: reminder is null ptr."); in PublishReminder()
46 ANSR_LOGE("[PublishReminder] fail: write reminder type failed"); in PublishReminder()
58 ANSR_LOGE("[PublishReminder] fail: transact ErrCode=%{public}d", result); in PublishReminder()
63 ANSR_LOGE("[PublishReminder] fail: read reminder id failed."); in PublishReminder()
69 ANSR_LOGE("[PublishReminder] fail: read result failed."); in PublishReminder()
H A Dans_manager_stub_invalid.cpp469 ErrCode AnsManagerStub::PublishReminder(sptr<ReminderRequest> &reminder) in PublishReminder() function in OHOS::Notification::AnsManagerStub
471 ANS_LOGE("AnsManagerStub::PublishReminder called!"); in PublishReminder()
H A Dans_notification.cpp1319 ErrCode AnsNotification::PublishReminder(ReminderRequest &reminder) in PublishReminder() function in OHOS::Notification::AnsNotification
1342 ANSR_LOGW("PublishReminder fail."); in PublishReminder()
1351 ErrCode code = proxy->PublishReminder(tarReminder); in PublishReminder()
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h679 virtual ErrCode PublishReminder(sptr<ReminderRequest> &reminder) = 0;
H A Dans_manager_proxy.h676 ErrCode PublishReminder(sptr<ReminderRequest> &reminder) override;
H A Dans_notification.h815 ErrCode PublishReminder(ReminderRequest &reminder);
H A Dans_manager_stub.h669 virtual ErrCode PublishReminder(sptr<ReminderRequest> &reminder) override;
/base/notification/distributed_notification_service/services/ans/include/
H A Dreminder_data_manager.h186 ErrCode PublishReminder(const sptr<ReminderRequest> &reminder,
/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/
H A Dadvanced_notification_service_publish_test.cpp1326 * @tc.desc : Test PublishReminder function
1332 ASSERT_EQ(advancedNotificationService_->PublishReminder(reminder), ERR_ANS_INVALID_PARAM); in HWTEST_F()
1387 * @tc.desc : Test PublishReminder function.
1397 ASSERT_EQ(advancedNotificationService_->PublishReminder(reminder), ERR_REMINDER_NOTIFICATION_NOT_ENABLE); in HWTEST_F()
1405 * @tc.desc : Test PublishReminder function.
1416 ASSERT_EQ(advancedNotificationService_->PublishReminder(reminder), ERR_ANS_INVALID_BUNDLE); in HWTEST_F()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp133 service->PublishReminder(reminder); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
H A Dansmanagerstubannexthree_fuzzer.cpp395 ansManagerStub.PublishReminder(reminder); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp404 ErrCode PublishReminder(sptr<ReminderRequest> &reminder) override
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/
H A Dansmanagerstubannex_fuzzer.cpp403 ansManagerStub.PublishReminder(reminder); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp404 ansManagerStub.PublishReminder(reminder); in DoSomethingInterestingWithMyAPI()

Completed in 25 milliseconds

12