Home
last modified time | relevance | path

Searched refs:RemoveNotifications (Results 1 - 24 of 24) sorted by relevance

/base/notification/distributed_notification_service/frameworks/js/napi/src/subscribe/
H A Dnapi_remove.cpp33 removeInfo->info.errorCode = NotificationHelper::RemoveNotifications(removeInfo->params.hashcodes, in NapiRemoveExecuteCallback()
127 asynccallbackinfo->info.errorCode = NotificationHelper::RemoveNotifications( in NapiRemoveAll()
130 asynccallbackinfo->info.errorCode = NotificationHelper::RemoveNotifications(); in NapiRemoveAll()
/base/notification/distributed_notification_service/test/fuzztest/notificationhelper_fuzzer/
H A Dnotificationhelper_fuzzer.cpp37 notificationHelper.RemoveNotifications(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp258 ErrCode NotificationHelper::RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason) in RemoveNotifications() function in OHOS::Notification::NotificationHelper
260 return DelayedSingleton<AnsNotification>::GetInstance()->RemoveNotifications(hashcodes, removeReason); in RemoveNotifications()
268 ErrCode NotificationHelper::RemoveNotifications() in RemoveNotifications() function in OHOS::Notification::NotificationHelper
270 return DelayedSingleton<AnsNotification>::GetInstance()->RemoveNotifications(); in RemoveNotifications()
444 ErrCode NotificationHelper::RemoveNotifications(const int32_t &userId) in RemoveNotifications() function in OHOS::Notification::NotificationHelper
446 return DelayedSingleton<AnsNotification>::GetInstance()->RemoveNotifications(userId); in RemoveNotifications()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h551 static ErrCode RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason);
567 static ErrCode RemoveNotifications();
841 static ErrCode RemoveNotifications(const int32_t &userId);
/base/notification/distributed_notification_service/test/fuzztest/setdonotdisturbdate_fuzzer/
H A Dsetdonotdisturbdate_fuzzer.cpp51 // test RemoveNotifications function in DoSomethingInterestingWithMyAPI()
52 return Notification::NotificationHelper::RemoveNotifications(userId); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_notification.h484 ErrCode RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason);
501 ErrCode RemoveNotifications();
894 ErrCode RemoveNotifications(const int32_t &userId);
H A Dans_manager_interface.h346 virtual ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) = 0;
H A Dans_manager_proxy.h324 ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) override;
H A Dans_manager_stub.h328 ErrCode RemoveNotifications(const std::vector<std::string> &keys, int32_t removeReason) override;
/base/notification/distributed_notification_service/test/bechmarktest/notification_publish_test/
H A Dnotification_publish_test.cpp193 NotificationHelper::RemoveNotifications(); in BENCHMARK_F()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp197 ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) override
617 * @tc.desc: Test RemoveNotifications and hashcodes is empty
627 ErrCode ret = ansNotification->RemoveNotifications(hashcodes, removeReason); in HWTEST_F()
633 * @tc.desc: 1.Test RemoveNotifications and hashcodes is not empty
646 ErrCode ret = ansNotification->RemoveNotifications(hashcodes, removeReason); in HWTEST_F()
652 * @tc.desc: 1.Test RemoveNotifications and hashcodes is not empty
665 ansNotification->RemoveNotifications(hashcodes, removeReason); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_publish_service_test.cpp578 * @tc.desc: Test RemoveNotifications
588 auto ret = advancedNotificationService_->RemoveNotifications(keys, removeReason); in HWTEST_F()
593 ret = advancedNotificationService_->RemoveNotifications(keys, removeReason); in HWTEST_F()
598 ret = advancedNotificationService_->RemoveNotifications(keys, removeReason); in HWTEST_F()
604 * @tc.desc: Test RemoveNotifications
623 ret = advancedNotificationService_->RemoveNotifications(keys, removeReason); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dremove.cpp378 asynccallbackinfo->info.errorCode = NotificationHelper::RemoveNotifications( in RemoveAll()
381 asynccallbackinfo->info.errorCode = NotificationHelper::RemoveNotifications(); in RemoveAll()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp305 * @tc.desc: test RemoveNotifications.
318 ErrCode ret1 = ans_->RemoveNotifications(hashCodes, 1); in HWTEST_F()
713 ErrCode ret6 = ans_->RemoveNotifications(); in HWTEST_F()
939 ErrCode ret6 = ans_->RemoveNotifications(userId); in HWTEST_F()
941 ErrCode ret7 = ans_->RemoveNotifications(userId1); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_notification.cpp802 ErrCode AnsNotification::RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason) in RemoveNotifications() function in OHOS::Notification::AnsNotification
804 ANS_LOGI("enter RemoveNotifications,removeReason:%{public}d", removeReason); in RemoveNotifications()
816 return proxy->RemoveNotifications(hashcodes, removeReason); in RemoveNotifications()
837 ErrCode AnsNotification::RemoveNotifications() in RemoveNotifications() function in OHOS::Notification::AnsNotification
1598 ErrCode AnsNotification::RemoveNotifications(const int32_t &userId) in RemoveNotifications() function in OHOS::Notification::AnsNotification
H A Dans_manager_stub_invalid.cpp223 ErrCode AnsManagerStub::RemoveNotifications(const std::vector<std::string> &keys, int32_t removeReason) in RemoveNotifications() function in OHOS::Notification::AnsManagerStub
H A Dans_manager_proxy.cpp850 ErrCode AnsManagerProxy::RemoveNotifications(const std::vector<std::string> &keys, int32_t removeReason) in RemoveNotifications() function in OHOS::Notification::AnsManagerProxy
H A Dans_manager_stub.cpp1214 ErrCode result = RemoveNotifications(keys, removeReason); in HandleRemoveNotifications()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_fw_module_test.cpp629 NotificationHelper::RemoveNotifications(); in TearDown()
659 EXPECT_EQ(NotificationHelper::RemoveNotifications(), ERR_OK); in HWTEST_F()
819 EXPECT_EQ(NotificationHelper::RemoveNotifications(USER_ID), ERR_OK); in HWTEST_F()
847 EXPECT_EQ(NotificationHelper::RemoveNotifications(), ERR_OK); in HWTEST_F()
1890 * @tc.desc : remove a notification to distributed kvstore ,use RemoveNotifications().
1913 ASSERT_EQ(NotificationHelper::RemoveNotifications(USER_ID), ERR_OK); in HWTEST_F()
2048 EXPECT_EQ(NotificationHelper::RemoveNotifications(), ERR_OK); in HWTEST_F()
2561 EXPECT_EQ(NotificationHelper::RemoveNotifications(), (int)ERR_OK); in HWTEST_F()
H A Dans_innerkits_module_publish_test.cpp1259 EXPECT_EQ((int)ERR_OK, (int)NotificationHelper::RemoveNotifications(SUBSCRIBE_USER_SYSTEM_BEGIN)); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp534 * @tc.desc: Test RemoveNotifications parameters.
541 ErrCode ret = notificationHelper.RemoveNotifications(); in HWTEST_F()
956 * @tc.desc: Test RemoveNotifications parameters.
964 ErrCode ret = notificationHelper.RemoveNotifications(userId); in HWTEST_F()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp176 service->RemoveNotifications(keys, fuzzData.GenerateRandomInt32()); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h378 ErrCode RemoveNotifications(const std::vector<std::string> &keys, int32_t removeReason) override;
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_publish_service.cpp1663 ErrCode AdvancedNotificationService::RemoveNotifications( in RemoveNotifications() function in OHOS::Notification::AdvancedNotificationService

Completed in 74 milliseconds