/ohos5.0/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()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_helper.cpp | 286 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 D | notification_helper.h | 574 …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 D | ans_notification.h | 574 ErrCode RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason); 591 ErrCode RemoveNotifications(); 984 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 removeReaso…
|
H A D | ans_manager_proxy.h | 324 …ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) overr…
|
H A D | ans_manager_stub.h | 328 … 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 D | notificationhelper_fuzzer.cpp | 37 notificationHelper.RemoveNotifications(); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/setdonotdisturbdate_fuzzer/ |
H A D | setdonotdisturbdate_fuzzer.cpp | 52 return Notification::NotificationHelper::RemoveNotifications(userId); in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 199 …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 D | notification_publish_test.cpp | 193 NotificationHelper::RemoveNotifications(); in BENCHMARK_F()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_publish_service_test.cpp | 588 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 D | remove.cpp | 378 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 D | ans_notification.cpp | 846 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 D | ans_manager_stub_invalid.cpp | 223 ErrCode AnsManagerStub::RemoveNotifications(const std::vector<std::string> &keys, int32_t removeRea… in RemoveNotifications() function in OHOS::Notification::AnsManagerStub
|
H A D | ans_manager_proxy.cpp | 854 ErrCode AnsManagerProxy::RemoveNotifications(const std::vector<std::string> &keys, int32_t removeRe… in RemoveNotifications() function in OHOS::Notification::AnsManagerProxy
|
H A D | ans_manager_stub.cpp | 1222 ErrCode result = RemoveNotifications(keys, removeReason); in HandleRemoveNotifications()
|
/ohos5.0/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); 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 D | ans_innerkits_module_publish_test.cpp | 1259 … 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 D | ans_notification_unit_test.cpp | 318 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 D | notification_helper_test.cpp | 541 ErrCode ret = notificationHelper.RemoveNotifications(); 964 ErrCode ret = notificationHelper.RemoveNotifications(userId);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/ |
H A D | advanced_notification_service.h | 377 … ErrCode RemoveNotifications(const std::vector<std::string> &keys, int32_t removeReason) override;
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_publish_service.cpp | 1735 ErrCode AdvancedNotificationService::RemoveNotifications( in RemoveNotifications() function in OHOS::Notification::AdvancedNotificationService
|