Home
last modified time | relevance | path

Searched refs:dataWorker (Results 1 - 2 of 2) sorted by relevance

/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dsubscribe.cpp233 NotificationReceiveDataWorker *dataWorker = new (std::nothrow) NotificationReceiveDataWorker(); in OnCanceled() local
234 if (dataWorker == nullptr) { in OnCanceled()
239 dataWorker->request = request; in OnCanceled()
240 dataWorker->sortingMap = sortingMap; in OnCanceled()
241 dataWorker->deleteReason = deleteReason; in OnCanceled()
242 dataWorker->env = canceCallbackInfo_.env; in OnCanceled()
243 dataWorker->ref = canceCallbackInfo_.ref; in OnCanceled()
244 dataWorker->type = Type::CANCEL; in OnCanceled()
247 napi_call_threadsafe_function(tsfn_, dataWorker, napi_tsfn_nonblocking); in OnCanceled()
316 NotificationReceiveDataWorker *dataWorker in OnBatchCanceled() local
412 NotificationReceiveDataWorker *dataWorker = new (std::nothrow) NotificationReceiveDataWorker(); OnConsumed() local
471 NotificationReceiveDataWorker *dataWorker = new (std::nothrow) NotificationReceiveDataWorker(); OnUpdate() local
516 NotificationReceiveDataWorker *dataWorker = new (std::nothrow) NotificationReceiveDataWorker(); OnConnected() local
561 NotificationReceiveDataWorker *dataWorker = new (std::nothrow) NotificationReceiveDataWorker(); OnDisconnected() local
603 NotificationReceiveDataWorker *dataWorker = new (std::nothrow) NotificationReceiveDataWorker(); OnDied() local
664 NotificationReceiveDataWorker *dataWorker = new (std::nothrow) NotificationReceiveDataWorker(); OnDoNotDisturbDateChange() local
721 NotificationReceiveDataWorker* dataWorker = new (std::nothrow) NotificationReceiveDataWorker(); onDoNotDisturbChanged() local
782 NotificationReceiveDataWorker *dataWorker = new (std::nothrow) NotificationReceiveDataWorker(); OnEnabledNotificationChanged() local
842 NotificationReceiveDataWorker *dataWorker = new (std::nothrow) NotificationReceiveDataWorker(); OnBadgeChanged() local
899 NotificationReceiveDataWorker *dataWorker = new (std::nothrow) NotificationReceiveDataWorker(); OnBadgeEnabledChanged() local
[all...]
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dlocal_live_view_subscribe.cpp126 LocalLiveViewReceiveDataWorker *dataWorker = new (std::nothrow) LocalLiveViewReceiveDataWorker(); in OnResponse() local
127 if (dataWorker == nullptr) { in OnResponse()
132 dataWorker->notificationId = notificationId; in OnResponse()
133 dataWorker->buttonOption = buttonOption; in OnResponse()
134 dataWorker->env = responseCallbackInfo_.env; in OnResponse()
135 dataWorker->ref = responseCallbackInfo_.ref; in OnResponse()
140 delete dataWorker; in OnResponse()
141 dataWorker = nullptr; in OnResponse()
145 work->data = reinterpret_cast<void *>(dataWorker); in OnResponse()
150 delete dataWorker; in OnResponse()
[all...]

Completed in 3 milliseconds