Searched refs:sThis (Results 1 – 4 of 4) sorted by relevance
213 std::shared_ptr<JsStaticSubscriberExtension> sThis = wThis.lock(); in OnReceiveEvent() local214 if (sThis == nullptr) { in OnReceiveEvent()221 if (!sThis->jsObj_) { in OnReceiveEvent()226 AbilityRuntime::HandleScope handleScope(sThis->jsRuntime_); in OnReceiveEvent()227 napi_env env = sThis->jsRuntime_.GetNapiEnv(); in OnReceiveEvent()249 napi_value obj = sThis->jsObj_->GetNapiValue(); in OnReceiveEvent()
48 sptr<CommonEventListener> sThis = wp.promote(); in NotifyEvent() local49 if (sThis == nullptr) { in NotifyEvent()53 sThis->OnReceiveEvent(commonEventData, ordered, sticky); in NotifyEvent()
582 sptr<AdvancedNotificationService> sThis = wThis.promote(); in StartDelayPublishTimer() local583 if (sThis != nullptr) { in StartDelayPublishTimer()584 sThis->StartPublishDelayedNotificationTimeOut(ownerUid, notificationId); in StartDelayPublishTimer()
1784 sptr<AdvancedNotificationService> sThis = wThis.promote(); in StartAutoDelete() local1785 if (sThis != nullptr) { in StartAutoDelete()1786 sThis->TriggerAutoDelete(record->notification->GetKey(), reason); in StartAutoDelete()1788 sThis->SendLiveViewUploadHiSysEvent(record, record->finish_status); in StartAutoDelete()