Home
last modified time | relevance | path

Searched refs:callbackData (Results 1 – 25 of 26) sorted by relevance

12

/base/request/request/frameworks/js/napi/src/
Duv_queue.cpp36 UvCallbackData *callbackData = new (std::nothrow) UvCallbackData(); in DeleteRef() local
37 if (callbackData == nullptr) { in DeleteRef()
40 callbackData->env = env; in DeleteRef()
41 callbackData->ref = ref; in DeleteRef()
42 UvQueue::Call(env, reinterpret_cast<void *>(callbackData), UvDelete); in DeleteRef()
47 UvCallbackData *callbackData = reinterpret_cast<UvCallbackData *>(work->data); in UvDelete() local
48 if (callbackData != nullptr) { in UvDelete()
49 napi_delete_reference(callbackData->env, callbackData->ref); in UvDelete()
50 delete callbackData; in UvDelete()
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_subscriber_stub.cpp235 …sptr<EnabledNotificationCallbackData> callbackData = data.ReadParcelable<EnabledNotificationCallba… in HandleOnEnabledNotificationChanged() local
236 if (!callbackData) { in HandleOnEnabledNotificationChanged()
240 OnEnabledNotificationChanged(callbackData); in HandleOnEnabledNotificationChanged()
246 sptr<BadgeNumberCallbackData> callbackData = data.ReadParcelable<BadgeNumberCallbackData>(); in HandleOnBadgeChanged() local
247 if (!callbackData) { in HandleOnBadgeChanged()
251 OnBadgeChanged(callbackData); in HandleOnBadgeChanged()
279 …criberStub::OnEnabledNotificationChanged(const sptr<EnabledNotificationCallbackData> &callbackData) in OnEnabledNotificationChanged() argument
Dans_subscriber_proxy.cpp286 …riberProxy::OnEnabledNotificationChanged(const sptr<EnabledNotificationCallbackData> &callbackData) in OnEnabledNotificationChanged() argument
294 if (!data.WriteParcelable(callbackData)) { in OnEnabledNotificationChanged()
/base/notification/distributed_notification_service/test/fuzztest/anssubscriberproxy_fuzzer/
Danssubscriberproxy_fuzzer.cpp53 …sptr<Notification::EnabledNotificationCallbackData> callbackData = new Notification::EnabledNotifi… in DoSomethingInterestingWithMyAPI() local
54 ansSubscriberProxy.OnEnabledNotificationChanged(callbackData); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_subscriber.h88 …abledNotificationChanged(const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) = 0;
133 …void OnEnabledNotificationChanged(const sptr<EnabledNotificationCallbackData> &callbackData) overr…
/base/notification/distributed_notification_service/services/ans/include/
Dnotification_subscriber_manager.h96 … void NotifyEnabledNotificationChanged(const sptr<EnabledNotificationCallbackData> &callbackData);
142 …d NotifyEnabledNotificationChangedInner(const sptr<EnabledNotificationCallbackData> &callbackData);
/base/notification/distributed_notification_service/frameworks/core/include/
Dans_subscriber_interface.h91 …l void OnEnabledNotificationChanged(const sptr<EnabledNotificationCallbackData> &callbackData) = 0;
Dans_subscriber_proxy.h82 …void OnEnabledNotificationChanged(const sptr<EnabledNotificationCallbackData> &callbackData) overr…
Dans_subscriber_stub.h93 …void OnEnabledNotificationChanged(const sptr<EnabledNotificationCallbackData> &callbackData) overr…
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_subscriber.cpp104 const sptr<EnabledNotificationCallbackData> &callbackData) in OnEnabledNotificationChanged() argument
107 …er_.OnEnabledNotificationChanged(std::make_shared<EnabledNotificationCallbackData>(*callbackData)); in OnEnabledNotificationChanged()
/base/request/request/frameworks/js/napi/src/upload/
Dupload_task_napiV5.cpp35 RecycleRef *callbackData = new (std::nothrow) in ~UploadTaskNapiV5()
37 if (callbackData == nullptr) { in ~UploadTaskNapiV5()
51 UvQueue::Call(env_, reinterpret_cast<void *>(callbackData), afterCallback); in ~UploadTaskNapiV5()
/base/notification/distributed_notification_service/test/fuzztest/anssubscriberstub_fuzzer/
Danssubscriberstub_fuzzer.cpp65 …sptr<Notification::EnabledNotificationCallbackData> callbackData = new Notification::EnabledNotifi… in DoSomethingInterestingWithMyAPI() local
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_test/
Dans_subscriber_proxy_unit_test.cpp430 …sptr<EnabledNotificationCallbackData> callbackData = new (std::nothrow) EnabledNotificationCallbac… variable
431 ASSERT_NE(nullptr, callbackData);
432 proxy->OnEnabledNotificationChanged(callbackData);
450 …sptr<EnabledNotificationCallbackData> callbackData = new (std::nothrow) EnabledNotificationCallbac… variable
451 ASSERT_NE(nullptr, callbackData);
452 proxy->OnEnabledNotificationChanged(callbackData);
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_subscriber_manager.cpp208 const sptr<EnabledNotificationCallbackData> &callbackData) in NotifyEnabledNotificationChanged() argument
216 …d::bind(&NotificationSubscriberManager::NotifyEnabledNotificationChangedInner, this, callbackData); in NotifyEnabledNotificationChanged()
470 const sptr<EnabledNotificationCallbackData> &callbackData) in NotifyEnabledNotificationChangedInner() argument
474 record->subscriber->OnEnabledNotificationChanged(callbackData); in NotifyEnabledNotificationChangedInner()
/base/notification/distributed_notification_service/frameworks/js/napi/include/
Dsubscribe.h88 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override;
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dnotification_subscriber_manager_test.cpp49 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
Dadvanced_notification_service_branch_test.cpp100 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
Dadvanced_notification_service_test.cpp111 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dsubscribe.cpp42 EnabledNotificationCallbackData callbackData; member
746 …n::SetEnabledNotificationCallbackData(dataWorkerData->env, dataWorkerData->callbackData, result)) { in UvQueueWorkOnEnabledNotificationChanged()
759 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) in OnEnabledNotificationChanged() argument
768 if (callbackData == nullptr) { in OnEnabledNotificationChanged()
786 dataWorker->callbackData = *callbackData; in OnEnabledNotificationChanged()
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/
Dnotification_service_test.cpp77 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
Dnotification_subscriber_manager_branch_test.cpp120 sptr<EnabledNotificationCallbackData> callbackData = nullptr; variable
122 notificationSubscriberManager->NotifyEnabledNotificationChanged(callbackData);
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_fw_module_test.cpp167 …abledNotificationChangedEvent(const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) in OnEnabledNotificationChangedEvent() argument
168 … SubscriberEvent(SubscriberEventType::ON_ENABLED_NOTIFICATION_CHANGED), callbackData_(callbackData) in OnEnabledNotificationChangedEvent()
307 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
310 std::make_shared<OnEnabledNotificationChangedEvent>(callbackData); in OnEnabledNotificationChanged()
Dans_innerkits_module_publish_test.cpp101 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
Dans_notification_unit_test.cpp87 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
/base/notification/distributed_notification_service/services/test/moduletest/
Dans_module_test.cpp59 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument

12