Home
last modified time | relevance | path

Searched refs:RemoveNotification (Results 1 - 25 of 32) sorted by relevance

12

/base/notification/distributed_notification_service/test/fuzztest/removenotification_fuzzer/
H A Dremovenotification_fuzzer.cpp24 return Notification::NotificationHelper::RemoveNotification(key, in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/enabledistributed_fuzzer/
H A Denabledistributed_fuzzer.cpp40 // test RemoveNotification function in DoSomethingInterestingWithMyAPI()
41 return Notification::NotificationHelper::RemoveNotification(bundleOption, usingData, stringData, usingData); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/js/napi/src/subscribe/
H A Dnapi_remove.cpp36 removeInfo->info.errorCode = NotificationHelper::RemoveNotification(removeInfo->params.hashcode.value(), in NapiRemoveExecuteCallback()
40 removeInfo->info.errorCode = NotificationHelper::RemoveNotification(infos.option, in NapiRemoveExecuteCallback()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp241 ErrCode NotificationHelper::RemoveNotification(const std::string &key, int32_t removeReason) in RemoveNotification() function in OHOS::Notification::NotificationHelper
243 return DelayedSingleton<AnsNotification>::GetInstance()->RemoveNotification(key, removeReason); in RemoveNotification()
246 ErrCode NotificationHelper::RemoveNotification(const NotificationBundleOption &bundleOption, in RemoveNotification() function in OHOS::Notification::NotificationHelper
249 return DelayedSingleton<AnsNotification>::GetInstance()->RemoveNotification(bundleOption, in RemoveNotification()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h527 static ErrCode RemoveNotification(const std::string &key, int32_t removeReason);
539 static ErrCode RemoveNotification(const NotificationBundleOption &bundleOption,
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_notification.h460 ErrCode RemoveNotification(const std::string &key, int32_t removeReason);
472 ErrCode RemoveNotification(const NotificationBundleOption &bundleOption, const int32_t notificationId,
H A Dans_manager_interface.h335 virtual ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int notificationId,
H A Dans_manager_proxy.h313 ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId,
H A Dans_manager_stub.h317 virtual ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId,
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dremove.cpp287 removeInfo->info.errorCode = NotificationHelper::RemoveNotification(removeInfo->params.hashcode.value(), in RemoveExecuteCallback()
291 removeInfo->info.errorCode = NotificationHelper::RemoveNotification(infos.option, in RemoveExecuteCallback()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_annex_test/
H A Dans_notification_annex_test.cpp139 * @tc.desc: test RemoveNotification ErrCode ERR_ANS_NON_SYSTEM_APP.
151 ErrCode ret3 = ans_->RemoveNotification(bundleOption, notificationId, label, removeReason); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp210 ErrCode AnsManagerStub::RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, in RemoveNotification() function in OHOS::Notification::AnsManagerStub
213 ANS_LOGE("AnsManagerStub::RemoveNotification called!"); in RemoveNotification()
H A Dans_notification.cpp745 ErrCode AnsNotification::RemoveNotification(const std::string &key, int32_t removeReason) in RemoveNotification() function in OHOS::Notification::AnsNotification
747 ANS_LOGI("enter RemoveNotification,key:%{public}s,removeReason:%{public}d", in RemoveNotification()
763 ErrCode AnsNotification::RemoveNotification(const NotificationBundleOption &bundleOption, in RemoveNotification() function in OHOS::Notification::AnsNotification
766 ANS_LOGI("enter RemoveNotification,bundle:%{public}s,Id:%{public}d,reason:%{public}d", in RemoveNotification()
781 return proxy->RemoveNotification(bo, notificationId, label, removeReason); in RemoveNotification()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_fw_module_test.cpp716 EXPECT_EQ(NotificationHelper::RemoveNotification(key), ERR_OK); in HWTEST_F()
761 EXPECT_EQ(NotificationHelper::RemoveNotification(AN_NOT_EXIST_KEY), (int)ERR_ANS_NOTIFICATION_NOT_EXISTS); in HWTEST_F()
763 EXPECT_EQ(NotificationHelper::RemoveNotification(key), (int)ERR_OK); in HWTEST_F()
770 EXPECT_EQ(NotificationHelper::RemoveNotification(key), (int)ERR_ANS_NOTIFICATION_NOT_EXISTS); in HWTEST_F()
1860 * @tc.desc : remove a notification to distributed kvstore ,use RemoveNotification(bundleOption, id, label).
1880 NotificationHelper::RemoveNotification(bundleOption, request.GetNotificationId(), request.GetLabel()), ERR_OK); in HWTEST_F()
2373 EXPECT_EQ(NotificationHelper::RemoveNotification(key), (int)ERR_OK); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp474 * @tc.desc: Test RemoveNotification parameters.
483 ErrCode ret = notificationHelper.RemoveNotification(key, removeReason); in HWTEST_F()
489 * @tc.desc: Test RemoveNotification parameters.
500 ErrCode ret = notificationHelper.RemoveNotification(bundleOption, notificationId, label, removeReason); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
H A Dnotification_subscriber_manager_branch_test.cpp753 * @tc.desc : Test RemoveNotification function and CheckPermission is false
765 ASSERT_EQ(advancedNotificationService.RemoveNotification(bundleOption, notificationId, label, removeReason), in HWTEST_F()
772 * @tc.desc : Test RemoveNotification function and bundle is nullptr
785 ASSERT_EQ(advancedNotificationService.RemoveNotification(bundleOption, notificationId, label, removeReason), in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp683 * @tc.desc: test RemoveNotification ErrCode ERR_ANS_SERVICE_NOT_CONNECTED.
697 ErrCode ret1 = ans_->RemoveNotification(key, removeReason); in HWTEST_F()
700 ErrCode ret2 = ans_->RemoveNotification(key1, removeReason); in HWTEST_F()
707 ErrCode ret3 = ans_->RemoveNotification(bundleOption, notificationId, label, removeReason); in HWTEST_F()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp92 service->RemoveNotification(bundleOption, notificationId, stringData, removeReason); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
H A Dansmanagerstubannexthree_fuzzer.cpp359 ansManagerStub.RemoveNotification(bundleOption, notificationId, stringData, removeReason); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp186 ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int notificationId,
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_branch_test.cpp669 * @tc.desc : Test RemoveNotification function return ERR_ANS_PERMISSION_DENIED.
679 auto result = advancedNotificationService_->RemoveNotification( in HWTEST_F()
H A Dadvanced_notification_publish_service_test.cpp561 * @tc.desc: Test RemoveNotification
571 auto ret = advancedNotificationService_->RemoveNotification(bundle, notificationId, label, 0); in HWTEST_F()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/
H A Dansmanagerstubannex_fuzzer.cpp367 ansManagerStub.RemoveNotification(bundleOption, notificationId, stringData, removeReason); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp368 ansManagerStub.RemoveNotification(bundleOption, notificationId, stringData, removeReason); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h365 ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId,

Completed in 54 milliseconds

12