Home
last modified time | relevance | path

Searched refs:NapiGetNull (Results 1 - 25 of 83) sorted by relevance

1234

/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
H A Dnapi_common_event.cpp136 commonEventDataWorkerData->env, result, "parameters", NapiGetNull(commonEventDataWorkerData->env)); in SetCommonEventData()
139 return NapiGetNull(commonEventDataWorkerData->env); in SetCommonEventData()
300 return NapiGetNull(env); in CreateSubscriber()
306 return NapiGetNull(env); in CreateSubscriber()
313 return NapiGetNull(env); in CreateSubscriber()
363 return NapiGetNull(env); in CreateSubscriber()
378 return NapiGetNull(env); in CreateSubscriberSync()
389 return NapiGetNull(env); in CreateSubscriberSync()
409 return NapiGetNull(env); in CreateSubscriberSync()
471 return NapiGetNull(en in Subscribe()
[all...]
H A Dcommon_event_set_param.cpp44 ReturnCallbackPromise(env, asyncCallbackInfo->info, NapiGetNull(env)); in AsyncCompleteCallbackRemoveStickyCommonEvent()
129 return NapiGetNull(env); in SetCode()
136 return NapiGetNull(env); in SetCode()
143 return NapiGetNull(env); in SetCode()
171 ReturnCallbackPromise(env, asyncCallbackInfo->info, NapiGetNull(env)); in SetCode()
188 return NapiGetNull(env); in SetCode()
206 return NapiGetNull(env); in SetData()
213 return NapiGetNull(env); in SetData()
220 return NapiGetNull(env); in SetData()
248 ReturnCallbackPromise(env, asyncCallbackInfo->info, NapiGetNull(en in SetData()
[all...]
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/
H A Dcommon_event.cpp109 commonEventDataWorkerData->env, result, "parameters", NapiGetNull(commonEventDataWorkerData->env)); in SetCommonEventData()
112 return NapiGetNull(commonEventDataWorkerData->env); in SetCommonEventData()
289 return NapiGetNull(env); in ParseParametersByGetSubscribeInfo()
304 return NapiGetNull(env); in GetSubscribeInfo()
311 return NapiGetNull(env); in GetSubscribeInfo()
318 return NapiGetNull(env); in GetSubscribeInfo()
366 return NapiGetNull(env); in GetSubscribeInfo()
400 return NapiGetNull(env); in IsOrderedCommonEvent()
407 return NapiGetNull(env); in IsOrderedCommonEvent()
414 return NapiGetNull(en in IsOrderedCommonEvent()
[all...]
H A Dcommon_event_set_param.cpp97 return NapiGetNull(env); in SetCode()
104 return NapiGetNull(env); in SetCode()
111 return NapiGetNull(env); in SetCode()
141 ReturnCallbackPromise(env, asyncCallbackInfo->info, NapiGetNull(env)); in SetCode()
158 return NapiGetNull(env); in SetCode()
176 return NapiGetNull(env); in SetData()
183 return NapiGetNull(env); in SetData()
190 return NapiGetNull(env); in SetData()
220 ReturnCallbackPromise(env, asyncCallbackInfo->info, NapiGetNull(env)); in SetData()
238 return NapiGetNull(en in SetData()
[all...]
H A Dcommon_event_parse.cpp45 napi_value NapiGetNull(napi_env env) in NapiGetNull() function
81 return NapiGetNull(env); in ParseParametersByCreateSubscriber()
86 return NapiGetNull(env); in ParseParametersByCreateSubscriber()
138 return NapiGetNull(env); in ParseParametersByIsOrderedCommonEvent()
173 return NapiGetNull(env); in ParseParametersByIsStickyCommonEvent()
208 return NapiGetNull(env); in ParseParametersByGetCode()
251 return NapiGetNull(env); in ParseParametersBySetCode()
303 return NapiGetNull(env); in ParseParametersBySetData()
365 return NapiGetNull(env); in ParseParametersBySetCodeAndData()
411 return NapiGetNull(en in ParseParametersByGetData()
[all...]
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_get_active.cpp39 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetAllActiveNotifications()
62 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetAllActiveNotifications()
119 return Common::NapiGetNull(env); in NapiGetAllActiveNotifications()
137 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetActiveNotifications()
160 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetActiveNotifications()
217 return Common::NapiGetNull(env); in NapiGetActiveNotifications()
235 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetActiveNotificationCount()
291 return Common::NapiGetNull(env); in NapiGetActiveNotificationCount()
326 return Common::NapiGetNull(env); in ParseGetLiveViewFilter()
334 return Common::NapiGetNull(en in ParseGetLiveViewFilter()
[all...]
H A Dnapi_distributed.cpp35 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiIsDistributedEnabled()
93 return Common::NapiGetNull(env); in NapiIsDistributedEnabled()
140 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiEnableDistributed()
159 return Common::NapiGetNull(env); in NapiEnableDistributed()
202 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiEnableDistributedByBundle()
221 return Common::NapiGetNull(env); in NapiEnableDistributedByBundle()
266 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiEnableDistributedSelf()
285 return Common::NapiGetNull(env); in NapiEnableDistributedSelf()
303 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiIsDistributedEnableByBundle()
368 return Common::NapiGetNull(en in NapiIsDistributedEnableByBundle()
[all...]
H A Dnapi_slot.cpp68 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiAddSlot()
87 return Common::NapiGetNull(env); in NapiAddSlot()
129 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiAddSlots()
148 return Common::NapiGetNull(env); in NapiAddSlots()
189 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiSetSlotByBundle()
208 return Common::NapiGetNull(env); in NapiSetSlotByBundle()
225 napi_value result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetSlot()
231 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetSlot()
286 return Common::NapiGetNull(env); in NapiGetSlot()
349 return Common::NapiGetNull(en in NapiGetSlotNumByBundle()
[all...]
H A Dnapi_cancel.cpp71 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiCancel()
90 return Common::NapiGetNull(env); in NapiCancel()
130 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiCancelAll()
149 return Common::NapiGetNull(env); in NapiCancelAll()
193 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiCancelGroup()
212 return Common::NapiGetNull(env); in NapiCancelGroup()
266 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiCancelAsBundle()
285 return Common::NapiGetNull(env); in NapiCancelAsBundle()
H A Dnapi_disturb_mode.cpp66 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiSetDoNotDisturbDate()
83 return Common::NapiGetNull(env); in NapiSetDoNotDisturbDate()
123 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiAddDoNotDisturbProfiles()
169 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiRemoveDoNotDisturbProfiles()
190 napi_value result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetDoNotDisturbDate()
197 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in AsyncCompleteCallbackNapiGetDoNotDisturbDate()
259 return Common::NapiGetNull(env); in NapiGetDoNotDisturbDate()
329 return Common::NapiGetNull(env); in NapiSupportDoNotDisturbMode()
349 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetDoNotDisturbProfile()
355 result = Common::NapiGetNull(en in AsyncCompleteCallbackNapiGetDoNotDisturbProfile()
[all...]
H A Dnapi_remove_group.cpp85 return Common::NapiGetNull(env); in ParseParameters()
89 return Common::NapiGetNull(env); in ParseParameters()
101 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in AsyncCompleteCallbackNapiRemoveGroupByBundle()
158 return Common::NapiGetNull(env); in NapiRemoveGroupByBundle()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Ddistributed.cpp60 return Common::NapiGetNull(env); in ParseParameters()
65 return Common::NapiGetNull(env); in ParseParameters()
113 return Common::NapiGetNull(env); in ParseParameters()
118 return Common::NapiGetNull(env); in ParseParameters()
174 return Common::NapiGetNull(env); in ParseParameters()
189 result = Common::NapiGetNull(env); in AsyncCompleteCallbackIsDistributedEnabled()
247 return Common::NapiGetNull(env); in IsDistributedEnabled()
291 Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in EnableDistributed()
309 return Common::NapiGetNull(env); in EnableDistributed()
353 Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(en in EnableDistributedByBundle()
[all...]
H A Dcommon_convert_request.cpp198 napi_set_named_property(env, result, "wantAgent", NapiGetNull(env)); in SetNotificationRequestByWantAgent()
208 napi_set_named_property(env, result, "removalWantAgent", NapiGetNull(env)); in SetNotificationRequestByWantAgent()
218 napi_set_named_property(env, result, "maxScreenWantAgent", NapiGetNull(env)); in SetNotificationRequestByWantAgent()
243 napi_set_named_property(env, result, "smallIcon", NapiGetNull(env)); in SetNotificationRequestByPixelMap()
258 napi_set_named_property(env, result, "largeIcon", NapiGetNull(env)); in SetNotificationRequestByPixelMap()
273 napi_set_named_property(env, result, "overlayIcon", NapiGetNull(env)); in SetNotificationRequestByPixelMap()
403 napi_set_named_property(env, result, "wantAgent", NapiGetNull(env)); in SetNotificationActionButton()
419 napi_set_named_property(env, result, "icon", NapiGetNull(env)); in SetNotificationActionButton()
588 return NapiGetNull(env); in GetNotificationRequestByNumber()
619 return NapiGetNull(en in GetNotificationRequestByString()
[all...]
H A Dslot.cpp250 return Common::NapiGetNull(env); in ParseParametersByAddSlot()
256 return Common::NapiGetNull(env); in ParseParametersByAddSlot()
312 return Common::NapiGetNull(env); in ParseParametersByAddSlots()
317 return Common::NapiGetNull(env); in ParseParametersByAddSlots()
382 return Common::NapiGetNull(env); in ParseParametersSetSlotByBundle()
387 return Common::NapiGetNull(env); in ParseParametersSetSlotByBundle()
423 return Common::NapiGetNull(env); in ParseParametersByGetSlot()
427 return Common::NapiGetNull(env); in ParseParametersByGetSlot()
466 return Common::NapiGetNull(env); in ParseParametersGetSlotNumByBundle()
471 return Common::NapiGetNull(en in ParseParametersGetSlotNumByBundle()
[all...]
H A Dunsubscribe.cpp58 return Common::NapiGetNull(env); in ParseParameters()
63 return Common::NapiGetNull(env); in ParseParameters()
118 Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in Unsubscribe()
136 return Common::NapiGetNull(env); in Unsubscribe()
H A Dget_active.cpp34 result = Common::NapiGetNull(env); in AsyncCompleteCallbackGetAllActiveNotifications()
57 result = Common::NapiGetNull(env); in AsyncCompleteCallbackGetAllActiveNotifications()
112 return Common::NapiGetNull(env); in GetAllActiveNotifications()
132 result = Common::NapiGetNull(env); in AsyncCompleteCallbackGetActiveNotifications()
155 result = Common::NapiGetNull(env); in AsyncCompleteCallbackGetActiveNotifications()
210 return Common::NapiGetNull(env); in GetActiveNotifications()
230 result = Common::NapiGetNull(env); in AsyncCompleteCallbackGetActiveNotificationCount()
287 return Common::NapiGetNull(env); in GetActiveNotificationCount()
H A Dcancel.cpp68 return Common::NapiGetNull(env); in ParseParameters()
109 return Common::NapiGetNull(env); in ParseParameters()
114 return Common::NapiGetNull(env); in ParseParameters()
160 return Common::NapiGetNull(env); in ParseParameters()
165 return Common::NapiGetNull(env); in ParseParameters()
206 Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in Cancel()
224 return Common::NapiGetNull(env); in Cancel()
265 Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in CancelAll()
283 return Common::NapiGetNull(env); in CancelAll()
328 Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(en in CancelGroup()
[all...]
H A Denable_notification.cpp77 return Common::NapiGetNull(env); in ParseParameters()
82 return Common::NapiGetNull(env); in ParseParameters()
95 return Common::NapiGetNull(env); in ParseParameters()
103 return Common::NapiGetNull(env); in ParseParameters()
125 return Common::NapiGetNull(env); in ParseParameters()
130 return Common::NapiGetNull(env); in ParseParameters()
142 Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in AsyncCompleteCallbackEnableNotification()
196 return Common::NapiGetNull(env); in EnableNotification()
282 return Common::NapiGetNull(env); in IsNotificationEnabled()
335 return Common::NapiGetNull(en in IsNotificationEnabledSelf()
[all...]
H A Ddisturb_mode.cpp99 return Common::NapiGetNull(env); in GetDoNotDisturbDate()
220 return Common::NapiGetNull(env); in ParseParameters()
236 return Common::NapiGetNull(env); in ParseParameters()
241 return Common::NapiGetNull(env); in ParseParameters()
340 Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in SetDoNotDisturbDate()
356 return Common::NapiGetNull(env); in SetDoNotDisturbDate()
372 napi_value result = Common::NapiGetNull(env); in AsyncCompleteCallbackGetDoNotDisturbDate()
405 return Common::NapiGetNull(env); in ParseParameters()
420 return Common::NapiGetNull(env); in ParseParameters()
425 return Common::NapiGetNull(en in ParseParameters()
[all...]
H A Ddisplay_badge.cpp72 return Common::NapiGetNull(env); in ParseParameters()
77 return Common::NapiGetNull(env); in ParseParameters()
123 return Common::NapiGetNull(env); in ParseParameters()
128 return Common::NapiGetNull(env); in ParseParameters()
173 Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in DisplayBadge()
191 return Common::NapiGetNull(env); in DisplayBadge()
270 return Common::NapiGetNull(env); in IsBadgeDisplayed()
/base/account/os_account/interfaces/kits/napi/appaccount/src/
H A Dnapi_app_account.cpp185 GetErrorCodeValue(env, ConvertToJSErrCodeV8(asyncContext->errCode)), NapiGetNull(env)); in AddAccount()
200 return NapiGetNull(env); in CreateAccount()
218 GenerateBusinessError(env, context->errCode), NapiGetNull(env)); in CreateAccount()
231 return NapiGetNull(env); in CreateAccountImplicitly()
236 return NapiGetNull(env); in CreateAccountImplicitly()
257 return NapiGetNull(env); in CreateAccountImplicitly()
266 return NapiGetNull(env); in AddAccountImplicitly()
291 return NapiGetNull(env); in AddAccountImplicitly()
311 return NapiGetNull(env); in RemoveAccountInternal()
327 ProcessCallbackOrPromise(env, asyncContext, err, NapiGetNull(en in RemoveAccountInternal()
[all...]
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
H A Dnapi_dh_key_util.cpp50 return NapiGetNull(env); in JsGenDHCommonParamsSpec()
58 return NapiGetNull(env); in JsGenDHCommonParamsSpec()
65 return NapiGetNull(env); in JsGenDHCommonParamsSpec()
/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi_convert_request.cpp66 return NapiGetNull(env); in GetNotificationRequestByNumber()
93 return NapiGetNull(env); in GetNotificationRequestByString()
135 return NapiGetNull(env); in GetNotificationRequestByBool()
198 return NapiGetNull(env); in GetNotificationRequestByCustom()
217 return NapiGetNull(env); in GetNotificationRequest()
246 return NapiGetNull(env); in GetNotificationSmallIcon()
275 return NapiGetNull(env); in GetNotificationLargeIcon()
304 return NapiGetNull(env); in GetNotificationOverlayIcon()
349 return NapiGetNull(env); in GetNotificationSupportDisplayDevices()
395 return NapiGetNull(en in GetNotificationSupportOperateDevices()
[all...]
H A Dnotification_napi_convert_notification.cpp67 return NapiGetNull(env); in GetNotificationRequestDistributedOptions()
92 return NapiGetNull(env); in GetNotificationIsDistributed()
/base/notification/distributed_notification_service/frameworks/js/napi/src/reminder/
H A Dpublish.cpp84 return NotificationNapi::Common::NapiGetNull(env); in GetCallback()
127 return NotificationNapi::Common::NapiGetNull(env); in ParseParameters()
177 return NotificationNapi::Common::NapiGetNull(env); in ParseSlotParameters()
223 return NotificationNapi::Common::NapiGetNull(env); in ParseCanCelParameter()
244 return NotificationNapi::Common::NapiGetNull(env); in ParseCanCelAllParameter()
264 return NotificationNapi::Common::NapiGetNull(env); in ParseGetValidParameter()
286 return NotificationNapi::Common::NapiGetNull(env); in CancelReminderInner()
293 return DealErrorReturn(env, asynccallbackinfo->callback, NotificationNapi::Common::NapiGetNull(env), isThrow); in CancelReminderInner()
323 env, asynccallbackinfo->info, NotificationNapi::Common::NapiGetNull(env), asynccallbackinfo->isThrow); in CancelReminderInner()
332 return NotificationNapi::Common::NapiGetNull(en in CancelReminderInner()
[all...]

Completed in 21 milliseconds

1234