/base/notification/distributed_notification_service/test/fuzztest/removenotification_fuzzer/ |
H A D | removenotification_fuzzer.cpp | 24 return Notification::NotificationHelper::RemoveNotification(key, in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/enabledistributed_fuzzer/ |
H A D | enabledistributed_fuzzer.cpp | 40 // 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 D | napi_remove.cpp | 36 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 D | notification_helper.cpp | 241 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 D | notification_helper.h | 527 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 D | ans_notification.h | 460 ErrCode RemoveNotification(const std::string &key, int32_t removeReason); 472 ErrCode RemoveNotification(const NotificationBundleOption &bundleOption, const int32_t notificationId,
|
H A D | ans_manager_interface.h | 335 virtual ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int notificationId,
|
H A D | ans_manager_proxy.h | 313 ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId,
|
H A D | ans_manager_stub.h | 317 virtual ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId,
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | remove.cpp | 287 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 D | ans_notification_annex_test.cpp | 139 * @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 D | ans_manager_stub_invalid.cpp | 210 ErrCode AnsManagerStub::RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, in RemoveNotification() function in OHOS::Notification::AnsManagerStub 213 ANS_LOGE("AnsManagerStub::RemoveNotification called!"); in RemoveNotification()
|
H A D | ans_notification.cpp | 745 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 D | ans_fw_module_test.cpp | 716 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 D | notification_helper_test.cpp | 474 * @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 D | notification_subscriber_manager_branch_test.cpp | 753 * @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 D | ans_notification_unit_test.cpp | 683 * @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 D | advancednotificationservice_fuzzer.cpp | 92 service->RemoveNotification(bundleOption, notificationId, stringData, removeReason); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/ |
H A D | ansmanagerstubannexthree_fuzzer.cpp | 359 ansManagerStub.RemoveNotification(bundleOption, notificationId, stringData, removeReason);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 186 ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int notificationId,
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_branch_test.cpp | 669 * @tc.desc : Test RemoveNotification function return ERR_ANS_PERMISSION_DENIED. 679 auto result = advancedNotificationService_->RemoveNotification( in HWTEST_F()
|
H A D | advanced_notification_publish_service_test.cpp | 561 * @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 D | ansmanagerstubannex_fuzzer.cpp | 367 ansManagerStub.RemoveNotification(bundleOption, notificationId, stringData, removeReason);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/ |
H A D | ansmanagerstub_fuzzer.cpp | 368 ansManagerStub.RemoveNotification(bundleOption, notificationId, stringData, removeReason);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | advanced_notification_service.h | 365 ErrCode RemoveNotification(const sptr<NotificationBundleOption> &bundleOption, int32_t notificationId,
|