Home
last modified time | relevance | path

Searched refs:RemoveNotifications (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/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()
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp286 ErrCode NotificationHelper::RemoveNotifications(const std::vector<std::string> hashcodes, int32_t r… in RemoveNotifications() function in OHOS::Notification::NotificationHelper
288 …return DelayedSingleton<AnsNotification>::GetInstance()->RemoveNotifications(hashcodes, removeReas… in RemoveNotifications()
296 ErrCode NotificationHelper::RemoveNotifications() in RemoveNotifications() function in OHOS::Notification::NotificationHelper
298 return DelayedSingleton<AnsNotification>::GetInstance()->RemoveNotifications(); in RemoveNotifications()
472 ErrCode NotificationHelper::RemoveNotifications(const int32_t &userId) in RemoveNotifications() function in OHOS::Notification::NotificationHelper
474 return DelayedSingleton<AnsNotification>::GetInstance()->RemoveNotifications(userId); in RemoveNotifications()
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h574 …static ErrCode RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason);
590 static ErrCode RemoveNotifications();
896 static ErrCode RemoveNotifications(const int32_t &userId);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_notification.h574 ErrCode RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason);
591 ErrCode RemoveNotifications();
984 ErrCode RemoveNotifications(const int32_t &userId);
H A Dans_manager_interface.h346 …virtual ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReaso…
H A Dans_manager_proxy.h324 …ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) overr…
H A Dans_manager_stub.h328 … ErrCode RemoveNotifications(const std::vector<std::string> &keys, int32_t removeReason) override;
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/notificationhelper_fuzzer/
H A Dnotificationhelper_fuzzer.cpp37 notificationHelper.RemoveNotifications(); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/setdonotdisturbdate_fuzzer/
H A Dsetdonotdisturbdate_fuzzer.cpp52 return Notification::NotificationHelper::RemoveNotifications(userId); in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp199 …ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) overr… in RemoveNotifications() function in OHOS::Notification::MockAnsManagerInterface
637 ErrCode ret = ansNotification->RemoveNotifications(hashcodes, removeReason);
656 ErrCode ret = ansNotification->RemoveNotifications(hashcodes, removeReason);
675 ansNotification->RemoveNotifications(hashcodes, removeReason);
/ohos5.0/base/notification/distributed_notification_service/test/bechmarktest/notification_publish_test/
H A Dnotification_publish_test.cpp193 NotificationHelper::RemoveNotifications(); in BENCHMARK_F()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_publish_service_test.cpp588 auto ret = advancedNotificationService_->RemoveNotifications(keys, removeReason);
593 ret = advancedNotificationService_->RemoveNotifications(keys, removeReason);
598 ret = advancedNotificationService_->RemoveNotifications(keys, removeReason);
623 ret = advancedNotificationService_->RemoveNotifications(keys, removeReason);
/ohos5.0/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()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_notification.cpp846 ErrCode AnsNotification::RemoveNotifications(const std::vector<std::string> hashcodes, int32_t remo… in RemoveNotifications() function in OHOS::Notification::AnsNotification
860 return proxy->RemoveNotifications(hashcodes, removeReason); in RemoveNotifications()
881 ErrCode AnsNotification::RemoveNotifications() in RemoveNotifications() function in OHOS::Notification::AnsNotification
1641 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 removeRea… in RemoveNotifications() function in OHOS::Notification::AnsManagerStub
H A Dans_manager_proxy.cpp854 ErrCode AnsManagerProxy::RemoveNotifications(const std::vector<std::string> &keys, int32_t removeRe… in RemoveNotifications() function in OHOS::Notification::AnsManagerProxy
H A Dans_manager_stub.cpp1222 ErrCode result = RemoveNotifications(keys, removeReason); in HandleRemoveNotifications()
/ohos5.0/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);
819 EXPECT_EQ(NotificationHelper::RemoveNotifications(USER_ID), ERR_OK);
847 EXPECT_EQ(NotificationHelper::RemoveNotifications(), ERR_OK);
1913 ASSERT_EQ(NotificationHelper::RemoveNotifications(USER_ID), ERR_OK);
2048 EXPECT_EQ(NotificationHelper::RemoveNotifications(), ERR_OK);
2561 EXPECT_EQ(NotificationHelper::RemoveNotifications(), (int)ERR_OK);
H A Dans_innerkits_module_publish_test.cpp1259 … EXPECT_EQ((int)ERR_OK, (int)NotificationHelper::RemoveNotifications(SUBSCRIBE_USER_SYSTEM_BEGIN));
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp318 ErrCode ret1 = ans_->RemoveNotifications(hashCodes, 1);
713 ErrCode ret6 = ans_->RemoveNotifications();
939 ErrCode ret6 = ans_->RemoveNotifications(userId);
941 ErrCode ret7 = ans_->RemoveNotifications(userId1);
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp541 ErrCode ret = notificationHelper.RemoveNotifications();
964 ErrCode ret = notificationHelper.RemoveNotifications(userId);
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h377 … ErrCode RemoveNotifications(const std::vector<std::string> &keys, int32_t removeReason) override;
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_publish_service.cpp1735 ErrCode AdvancedNotificationService::RemoveNotifications( in RemoveNotifications() function in OHOS::Notification::AdvancedNotificationService