/base/notification/distributed_notification_service/frameworks/js/napi/src/subscribe/ |
H A D | napi_remove.cpp | 33 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 D | notificationhelper_fuzzer.cpp | 37 notificationHelper.RemoveNotifications();
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_helper.cpp | 258 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 D | notification_helper.h | 551 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 D | setdonotdisturbdate_fuzzer.cpp | 51 // test RemoveNotifications function
in DoSomethingInterestingWithMyAPI() 52 return Notification::NotificationHelper::RemoveNotifications(userId);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_notification.h | 484 ErrCode RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason); 501 ErrCode RemoveNotifications(); 894 ErrCode RemoveNotifications(const int32_t &userId);
|
H A D | ans_manager_interface.h | 346 virtual ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) = 0;
|
H A D | ans_manager_proxy.h | 324 ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) override;
|
H A D | ans_manager_stub.h | 328 ErrCode RemoveNotifications(const std::vector<std::string> &keys, int32_t removeReason) override;
|
/base/notification/distributed_notification_service/test/bechmarktest/notification_publish_test/ |
H A D | notification_publish_test.cpp | 193 NotificationHelper::RemoveNotifications();
in BENCHMARK_F()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 197 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 D | advanced_notification_publish_service_test.cpp | 578 * @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 D | remove.cpp | 378 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 D | ans_notification_unit_test.cpp | 305 * @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 D | ans_notification.cpp | 802 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 D | ans_manager_stub_invalid.cpp | 223 ErrCode AnsManagerStub::RemoveNotifications(const std::vector<std::string> &keys, int32_t removeReason) in RemoveNotifications() function in OHOS::Notification::AnsManagerStub
|
H A D | ans_manager_proxy.cpp | 850 ErrCode AnsManagerProxy::RemoveNotifications(const std::vector<std::string> &keys, int32_t removeReason) in RemoveNotifications() function in OHOS::Notification::AnsManagerProxy
|
H A D | ans_manager_stub.cpp | 1214 ErrCode result = RemoveNotifications(keys, removeReason); in HandleRemoveNotifications()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_fw_module_test.cpp | 629 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 D | ans_innerkits_module_publish_test.cpp | 1259 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 D | notification_helper_test.cpp | 534 * @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 D | advancednotificationservice_fuzzer.cpp | 176 service->RemoveNotifications(keys, fuzzData.GenerateRandomInt32()); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | advanced_notification_service.h | 378 ErrCode RemoveNotifications(const std::vector<std::string> &keys, int32_t removeReason) override;
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_publish_service.cpp | 1663 ErrCode AdvancedNotificationService::RemoveNotifications( in RemoveNotifications() function in OHOS::Notification::AdvancedNotificationService
|