/base/request/request/frameworks/js/napi/src/ |
D | uv_queue.cpp | 36 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/ |
D | ans_subscriber_stub.cpp | 235 …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
|
D | ans_subscriber_proxy.cpp | 286 …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/ |
D | anssubscriberproxy_fuzzer.cpp | 53 …sptr<Notification::EnabledNotificationCallbackData> callbackData = new Notification::EnabledNotifi… in DoSomethingInterestingWithMyAPI() local 54 ansSubscriberProxy.OnEnabledNotificationChanged(callbackData); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
D | notification_subscriber.h | 88 …abledNotificationChanged(const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) = 0; 133 …void OnEnabledNotificationChanged(const sptr<EnabledNotificationCallbackData> &callbackData) overr…
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | notification_subscriber_manager.h | 96 … void NotifyEnabledNotificationChanged(const sptr<EnabledNotificationCallbackData> &callbackData); 142 …d NotifyEnabledNotificationChangedInner(const sptr<EnabledNotificationCallbackData> &callbackData);
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
D | ans_subscriber_interface.h | 91 …l void OnEnabledNotificationChanged(const sptr<EnabledNotificationCallbackData> &callbackData) = 0;
|
D | ans_subscriber_proxy.h | 82 …void OnEnabledNotificationChanged(const sptr<EnabledNotificationCallbackData> &callbackData) overr…
|
D | ans_subscriber_stub.h | 93 …void OnEnabledNotificationChanged(const sptr<EnabledNotificationCallbackData> &callbackData) overr…
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | notification_subscriber.cpp | 104 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/ |
D | upload_task_napiV5.cpp | 35 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/ |
D | anssubscriberstub_fuzzer.cpp | 65 …sptr<Notification::EnabledNotificationCallbackData> callbackData = new Notification::EnabledNotifi… in DoSomethingInterestingWithMyAPI() local
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_test/ |
D | ans_subscriber_proxy_unit_test.cpp | 430 …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/ |
D | notification_subscriber_manager.cpp | 208 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/ |
D | subscribe.h | 88 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override;
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
D | notification_subscriber_manager_test.cpp | 49 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
|
D | advanced_notification_service_branch_test.cpp | 100 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
|
D | advanced_notification_service_test.cpp | 111 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
D | subscribe.cpp | 42 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/ |
D | notification_service_test.cpp | 77 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
|
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/ |
D | notification_subscriber_manager_branch_test.cpp | 120 sptr<EnabledNotificationCallbackData> callbackData = nullptr; variable 122 notificationSubscriberManager->NotifyEnabledNotificationChanged(callbackData);
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
D | ans_fw_module_test.cpp | 167 …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()
|
D | ans_innerkits_module_publish_test.cpp | 101 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
D | ans_notification_unit_test.cpp | 87 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
|
/base/notification/distributed_notification_service/services/test/moduletest/ |
D | ans_module_test.cpp | 59 const std::shared_ptr<EnabledNotificationCallbackData> &callbackData) override in OnEnabledNotificationChanged() argument
|