Home
last modified time | relevance | path

Searched refs:OnCanceled (Results 1 - 25 of 29) sorted by relevance

12

/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_subscriber_listener.cpp82 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 Dans_subscriber_stub.cpp191 OnCanceled(notification, notificationMap, reason); in HandleOnCanceledMap()
321 void AnsSubscriberStub::OnCanceled( in OnCanceled() function in OHOS::Notification::AnsSubscriberStub
H A Dans_subscriber_proxy.cpp177 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 Dans_subscriber_interface.h69 virtual void OnCanceled(const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap,
H A Dans_subscriber_listener.h43 void OnCanceled(const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap,
H A Dans_subscriber_proxy.h60 void OnCanceled(const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap,
H A Dans_subscriber_stub.h71 void OnCanceled(const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap,
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/include/
H A Dmock_ans_subscriber.h43 void OnCanceled(const sptr<Notification> &notification, const sptr<NotificationSortingMap> &notificationMap,
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dreminder_data_manager_test.cpp789 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 Dnotification_subscriber_manager_test.cpp51 void OnCanceled(const std::shared_ptr<Notification> &request,
H A Dadvanced_notification_utils_test.cpp108 void OnCanceled(const std::shared_ptr<Notification> &request,
H A Dadvanced_notification_service_branch_test.cpp117 void OnCanceled(const std::shared_ptr<Notification> &request,
/base/notification/distributed_notification_service/test/fuzztest/anssubscriberproxy_fuzzer/
H A Danssubscriberproxy_fuzzer.cpp48 // 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 Dnotification_subscriber.h41 virtual void OnCanceled(const std::shared_ptr<Notification> &request,
/base/notification/distributed_notification_service/services/ans/include/
H A Dreminder_event_manager.h78 void OnCanceled(const std::shared_ptr<Notification> &request,
/base/notification/distributed_notification_service/test/fuzztest/anssubscriberstub_fuzzer/
H A Danssubscriberstub_fuzzer.cpp59 // test OnCanceled function in DoSomethingInterestingWithMyAPI()
61 ansSubscriberStub.OnCanceled(notification, notificationMap, deleteReason); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dsubscribe.h37 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 Dans_subscriber_proxy_unit_test.cpp329 * @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 Dnotification_service_test.cpp79 void OnCanceled(const std::shared_ptr<OHOS::Notification::Notification> &request,
/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_event_manager.cpp311 void ReminderEventManager::ReminderNotificationSubscriber::OnCanceled( in OnCanceled() function in OHOS::Notification::ReminderEventManager::ReminderNotificationSubscriber
H A Dnotification_subscriber_manager.cpp503 record->subscriber->OnCanceled(notification, notificationMap, deleteReason); in NotifyCanceledInner()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp96 void OnCanceled(const std::shared_ptr<Notification> &request,
/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/
H A Dadvanced_notification_service_publish_test.cpp134 void OnCanceled(const std::shared_ptr<Notification> &request,
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dsubscribe.cpp180 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 Dans_innerkits_module_publish_test.cpp138 void OnCanceled(const std::shared_ptr<Notification> &request,

Completed in 23 milliseconds

12