Home
last modified time | relevance | path

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

/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account.cpp1546 SubscriberOAWorker *subscriberOAWorker = new (std::nothrow) SubscriberOAWorker(); in OnAccountsSubNotify() local
1547 if (subscriberOAWorker == nullptr) { in OnAccountsSubNotify()
1552 subscriberOAWorker->oldId = oldId; in OnAccountsSubNotify()
1553 subscriberOAWorker->newId = newId; in OnAccountsSubNotify()
1554 subscriberOAWorker->env = env_; in OnAccountsSubNotify()
1555 subscriberOAWorker->ref = ref_; in OnAccountsSubNotify()
1556 subscriberOAWorker->subscriber = this; in OnAccountsSubNotify()
1557 work->data = reinterpret_cast<void *>(subscriberOAWorker); in OnAccountsSubNotify()
1563 delete subscriberOAWorker; in OnAccountsSubNotify()
1567 static napi_value CreateSwitchEventInfoObj(std::unique_ptr<SubscriberOAWorker> &subscriberOAWorker) in CreateSwitchEventInfoObj() argument
[all...]
/base/security/security_guard/frameworks/js/napi/
H A Dsecurity_guard_napi.cpp1208 SubscriberOAWorker *subscriberOAWorker = new (std::nothrow) SubscriberOAWorker(); in OnNotifyEvent() local
1210 if (subscriberOAWorker == nullptr) { in OnNotifyEvent()
1216 subscriberOAWorker->event.eventId = event.eventId; in OnNotifyEvent()
1217 subscriberOAWorker->event.version = event.version; in OnNotifyEvent()
1218 subscriberOAWorker->event.content = event.content; in OnNotifyEvent()
1219 subscriberOAWorker->event.timestamp = event.timestamp; in OnNotifyEvent()
1220 subscriberOAWorker->env = env; in OnNotifyEvent()
1221 subscriberOAWorker->ref = ref; in OnNotifyEvent()
1222 subscriberOAWorker->subscriber = subscriber; in OnNotifyEvent()
1223 work->data = reinterpret_cast<void *>(subscriberOAWorker); in OnNotifyEvent()
[all...]

Completed in 6 milliseconds