Home
last modified time | relevance | path

Searched refs:RemoveAllNotifications (Results 1 - 25 of 28) sorted by relevance

12

/base/notification/distributed_notification_service/test/fuzztest/removenotificationsbybundle_fuzzer/
H A Dremovenotificationsbybundle_fuzzer.cpp30 // test RemoveAllNotifications function in DoSomethingInterestingWithMyAPI()
31 return Notification::NotificationHelper::RemoveAllNotifications(bundleOption); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/js/napi/src/subscribe/
H A Dnapi_remove.cpp125 asynccallbackinfo->info.errorCode = NotificationHelper::RemoveAllNotifications(infos.option); in NapiRemoveAll()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp253 ErrCode NotificationHelper::RemoveAllNotifications(const NotificationBundleOption &bundleOption) in RemoveAllNotifications() function in OHOS::Notification::NotificationHelper
255 return DelayedSingleton<AnsNotification>::GetInstance()->RemoveAllNotifications(bundleOption); in RemoveAllNotifications()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h549 static ErrCode RemoveAllNotifications(const NotificationBundleOption &bundleOption);
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_annex_test/
H A Dans_notification_annex_test.cpp157 * @tc.desc: test RemoveAllNotifications ErrCode ERR_ANS_NON_SYSTEM_APP.
166 ErrCode ret3 = ans_->RemoveAllNotifications(bundleOption); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h344 virtual ErrCode RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) = 0;
H A Dans_manager_proxy.h322 ErrCode RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) override;
H A Dans_notification.h482 ErrCode RemoveAllNotifications(const NotificationBundleOption &bundleOption);
H A Dans_manager_stub.h326 virtual ErrCode RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) override;
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp217 ErrCode AnsManagerStub::RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) in RemoveAllNotifications() function in OHOS::Notification::AnsManagerStub
219 ANS_LOGE("AnsManagerStub::RemoveAllNotifications called!"); in RemoveAllNotifications()
H A Dans_notification.cpp784 ErrCode AnsNotification::RemoveAllNotifications(const NotificationBundleOption &bundleOption) in RemoveAllNotifications() function in OHOS::Notification::AnsNotification
786 ANS_LOGI("enter RemoveAllNotifications,bundleName:%{public}s", bundleOption.GetBundleName().c_str()); in RemoveAllNotifications()
799 return proxy->RemoveAllNotifications(bo); in RemoveAllNotifications()
H A Dans_manager_proxy.cpp816 ErrCode AnsManagerProxy::RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) in RemoveAllNotifications() function in OHOS::Notification::AnsManagerProxy
819 ANS_LOGE("[RemoveAllNotifications] fail: bundle is empty."); in RemoveAllNotifications()
825 ANS_LOGE("[RemoveAllNotifications] fail:, write interface token failed."); in RemoveAllNotifications()
830 ANS_LOGE("[RemoveAllNotifications] fail:: write bundle failed"); in RemoveAllNotifications()
H A Dans_manager_stub.cpp1186 ErrCode result = RemoveAllNotifications(bundleOption); in HandleRemoveAllNotifications()
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
H A Dnotification_subscriber_manager_branch_test.cpp792 * @tc.desc : Test RemoveAllNotifications function and CheckPermission is false
801 ASSERT_EQ(advancedNotificationService.RemoveAllNotifications(bundleOption), ERR_ANS_NON_SYSTEM_APP); in HWTEST_F()
807 * @tc.desc : Test RemoveAllNotifications function and bundle is nullptr
818 ASSERT_EQ(advancedNotificationService.RemoveAllNotifications(bundleOption), ERR_ANS_INVALID_BUNDLE); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dremove.cpp375 asynccallbackinfo->info.errorCode = NotificationHelper::RemoveAllNotifications(infos.option); in RemoveAll()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp93 service->RemoveAllNotifications(bundleOption); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
H A Dansmanagerstubannexthree_fuzzer.cpp360 ansManagerStub.RemoveAllNotifications(bundleOption); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp192 ErrCode RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) override
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_branch_test.cpp688 * @tc.desc : Test RemoveAllNotifications function return ERR_ANS_PERMISSION_DENIED.
697 ASSERT_EQ(advancedNotificationService_->RemoveAllNotifications(bundleOption), ERR_ANS_PERMISSION_DENIED); in HWTEST_F()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/
H A Dansmanagerstubannex_fuzzer.cpp368 ansManagerStub.RemoveAllNotifications(bundleOption); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp369 ansManagerStub.RemoveAllNotifications(bundleOption); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp506 * @tc.desc: Test RemoveAllNotifications parameters.
514 ErrCode ret = notificationHelper.RemoveAllNotifications(bundleOption); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h374 ErrCode RemoveAllNotifications(const sptr<NotificationBundleOption> &bundleOption) override;
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp709 ErrCode ret4 = ans_->RemoveAllNotifications(bundleOption); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp3338 * @tc.desc: test RemoveAllNotifications function
3352 int32_t result = proxy->RemoveAllNotifications(bundleOption); in HWTEST_F()
3358 * @tc.desc: test RemoveAllNotifications function
3372 int32_t result = proxy->RemoveAllNotifications(bundleOption); in HWTEST_F()
3378 * @tc.desc: test RemoveAllNotifications function
3394 int32_t result = proxy->RemoveAllNotifications(bundleOption); in HWTEST_F()
3400 * @tc.desc: test RemoveAllNotifications function
3415 int32_t result = proxy->RemoveAllNotifications(bundleOption); in HWTEST_F()
3421 * @tc.desc: test RemoveAllNotifications function
3437 int32_t result = proxy->RemoveAllNotifications(bundleOptio in HWTEST_F()
[all...]

Completed in 47 milliseconds

12