/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_subscriber_listener.cpp | 82 void SubscriberListener::OnCanceled( in OnCanceled() function in OHOS::Notification::SubscriberListener 92 subscriber->OnCanceled(std::make_shared<Notification>(*notification), in OnCanceled() 95 subscriber->OnCanceled(std::make_shared<Notification>(*notification), in OnCanceled() 135 OnCanceled(notification, notificationMap, deleteReason); in OnCanceledList()
|
H A D | ans_subscriber_stub.cpp | 191 OnCanceled(notification, notificationMap, reason); in HandleOnCanceledMap() 321 void AnsSubscriberStub::OnCanceled( in OnCanceled() function in OHOS::Notification::AnsSubscriberStub
|
H A D | ans_subscriber_proxy.cpp | 177 void AnsSubscriberProxy::OnCanceled( in OnCanceled() function in OHOS::Notification::AnsSubscriberProxy 181 ANS_LOGE("[OnCanceled] fail: notification is nullptr."); in OnCanceled() 188 ANS_LOGE("[OnCanceled] fail: set max capacity failed."); in OnCanceled() 193 ANS_LOGE("[OnCanceled] fail: write interface token failed."); in OnCanceled() 198 ANS_LOGE("[OnCanceled] fail: write notification failed."); in OnCanceled() 203 ANS_LOGE("[OnCanceled] fail: write existMap failed"); in OnCanceled() 209 ANS_LOGE("[OnCanceled] fail: write notificationMap failed"); in OnCanceled() 215 ANS_LOGE("[OnCanceled] fail: write deleteReason failed."); in OnCanceled() 223 ANS_LOGE("[OnCanceled] fail: transact ErrCode=ERR_ANS_TRANSACT_FAILED"); in OnCanceled()
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_subscriber_interface.h | 69 virtual void OnCanceled(const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap,
|
H A D | ans_subscriber_listener.h | 43 void OnCanceled(const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap,
|
H A D | ans_subscriber_proxy.h | 60 void OnCanceled(const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap,
|
H A D | ans_subscriber_stub.h | 71 void OnCanceled(const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap,
|
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/include/ |
H A D | mock_ans_subscriber.h | 43 void OnCanceled(const sptr<Notification> ¬ification, const sptr<NotificationSortingMap> ¬ificationMap,
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | reminder_data_manager_test.cpp | 789 test.OnCanceled(notification, nullptr, NotificationConstant::CANCEL_REASON_DELETE);
in HWTEST_F() 792 test.OnCanceled(nullptr, nullptr, NotificationConstant::APP_CANCEL_REASON_DELETE);
in HWTEST_F() 796 test.OnCanceled(notification, nullptr, NotificationConstant::APP_CANCEL_REASON_DELETE);
in HWTEST_F() 800 test.OnCanceled(notification, nullptr, NotificationConstant::APP_CANCEL_REASON_DELETE);
in HWTEST_F() 804 test.OnCanceled(notification, nullptr, NotificationConstant::APP_CANCEL_REASON_DELETE);
in HWTEST_F() 808 test.OnCanceled(notification, nullptr, NotificationConstant::APP_CANCEL_REASON_DELETE);
in HWTEST_F() 812 test.OnCanceled(notification, nullptr, NotificationConstant::APP_CANCEL_REASON_DELETE);
in HWTEST_F() 816 test.OnCanceled(notification, nullptr, NotificationConstant::APP_CANCEL_REASON_DELETE);
in HWTEST_F()
|
H A D | notification_subscriber_manager_test.cpp | 51 void OnCanceled(const std::shared_ptr<Notification> &request,
|
H A D | advanced_notification_utils_test.cpp | 108 void OnCanceled(const std::shared_ptr<Notification> &request,
|
H A D | advanced_notification_service_branch_test.cpp | 117 void OnCanceled(const std::shared_ptr<Notification> &request,
|
/base/notification/distributed_notification_service/test/fuzztest/anssubscriberproxy_fuzzer/ |
H A D | anssubscriberproxy_fuzzer.cpp | 48 // test OnCanceled function
in DoSomethingInterestingWithMyAPI() 50 ansSubscriberProxy.OnCanceled(notification, notificationMap, deleteReason);
in DoSomethingInterestingWithMyAPI() 51 // test OnCanceled function
in DoSomethingInterestingWithMyAPI() 53 // test OnCanceled function
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_subscriber.h | 41 virtual void OnCanceled(const std::shared_ptr<Notification> &request,
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | reminder_event_manager.h | 78 void OnCanceled(const std::shared_ptr<Notification> &request,
|
/base/notification/distributed_notification_service/test/fuzztest/anssubscriberstub_fuzzer/ |
H A D | anssubscriberstub_fuzzer.cpp | 59 // test OnCanceled function
in DoSomethingInterestingWithMyAPI() 61 ansSubscriberStub.OnCanceled(notification, notificationMap, deleteReason);
in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | subscribe.h | 37 virtual void OnCanceled(const std::shared_ptr<OHOS::Notification::Notification> &request,
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_test/ |
H A D | ans_subscriber_proxy_unit_test.cpp | 329 * @tc.desc: test AnsSubscriberProxy's OnCanceled function
350 proxy->OnCanceled(notification, notificationMap, deleteReason);
in HWTEST_F() 355 * @tc.desc: test AnsSubscriberProxy's OnCanceled function
376 proxy->OnCanceled(notification, notificationMap, deleteReason);
in HWTEST_F() 381 * @tc.desc: test AnsSubscriberProxy's OnCanceled function
397 proxy->OnCanceled(nullptr, notificationMap, deleteReason);
in HWTEST_F() 402 * @tc.desc: test AnsSubscriberProxy's OnCanceled function
421 proxy->OnCanceled(notification, nullptr, deleteReason);
in HWTEST_F()
|
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/ |
H A D | notification_service_test.cpp | 79 void OnCanceled(const std::shared_ptr<OHOS::Notification::Notification> &request,
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | reminder_event_manager.cpp | 311 void ReminderEventManager::ReminderNotificationSubscriber::OnCanceled( in OnCanceled() function in OHOS::Notification::ReminderEventManager::ReminderNotificationSubscriber
|
H A D | notification_subscriber_manager.cpp | 503 record->subscriber->OnCanceled(notification, notificationMap, deleteReason); in NotifyCanceledInner()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
H A D | ans_notification_unit_test.cpp | 96 void OnCanceled(const std::shared_ptr<Notification> &request,
|
/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/ |
H A D | advanced_notification_service_publish_test.cpp | 134 void OnCanceled(const std::shared_ptr<Notification> &request,
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | subscribe.cpp | 180 ANS_LOGI("OnCanceled thread safe start"); in ThreadSafeOnCancel() 211 void SubscriberInstance::OnCanceled(const std::shared_ptr<OHOS::Notification::Notification> &request, in OnCanceled() function in OHOS::NotificationNapi::SubscriberInstance 230 ANS_LOGI("OnCanceled NotificationKey = %{public}s. sortingMap size = %{public}zu. deleteReason = %{public}d", in OnCanceled()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_publish_test.cpp | 138 void OnCanceled(const std::shared_ptr<Notification> &request,
|