Home
last modified time | relevance | path

Searched refs:NapiGetNull (Results 1 – 25 of 70) sorted by relevance

123

/base/notification/common_event_service/interfaces/kits/napi/napi_common_event/src/
Dnapi_common_event.cpp145 …commonEventDataWorkerData->env, result, "parameters", NapiGetNull(commonEventDataWorkerData->env)); in SetCommonEventData()
148 return NapiGetNull(commonEventDataWorkerData->env); in SetCommonEventData()
266 return NapiGetNull(env); in CreateSubscriber()
272 return NapiGetNull(env); in CreateSubscriber()
279 return NapiGetNull(env); in CreateSubscriber()
329 return NapiGetNull(env); in CreateSubscriber()
344 return NapiGetNull(env); in CreateSubscriberSync()
354 return NapiGetNull(env); in CreateSubscriberSync()
370 return NapiGetNull(env); in CreateSubscriberSync()
421 return NapiGetNull(env); in Subscribe()
[all …]
Dcommon_event_set_param.cpp41 ReturnCallbackPromise(env, asyncCallbackInfo->info, NapiGetNull(env)); in AsyncCompleteCallbackRemoveStickyCommonEvent()
126 return NapiGetNull(env); in SetCode()
133 return NapiGetNull(env); in SetCode()
140 return NapiGetNull(env); in SetCode()
168 ReturnCallbackPromise(env, asyncCallbackInfo->info, NapiGetNull(env)); in SetCode()
185 return NapiGetNull(env); in SetCode()
203 return NapiGetNull(env); in SetData()
210 return NapiGetNull(env); in SetData()
217 return NapiGetNull(env); in SetData()
245 ReturnCallbackPromise(env, asyncCallbackInfo->info, NapiGetNull(env)); in SetData()
[all …]
Dcommon_event_parse.cpp76 napi_value NapiGetNull(napi_env env) in NapiGetNull() function
86 napi_value result = NapiGetNull(env); in GetCallbackErrorValue()
87 napi_value eCode = NapiGetNull(env); in GetCallbackErrorValue()
120 return NapiGetNull(env); in ParseParametersByCreateSubscriber()
125 return NapiGetNull(env); in ParseParametersByCreateSubscriber()
176 return NapiGetNull(env); in ParseParametersByGetSubscribeInfo()
210 return NapiGetNull(env); in ParseParametersByIsOrderedCommonEvent()
244 return NapiGetNull(env); in ParseParametersByIsStickyCommonEvent()
279 return NapiGetNull(env); in ParseParametersByGetCode()
322 return NapiGetNull(env); in ParseParametersBySetCode()
[all …]
/base/notification/common_event_service/interfaces/kits/napi/common_event/src/
Dcommon_event.cpp127 …commonEventDataWorkerData->env, result, "parameters", NapiGetNull(commonEventDataWorkerData->env)); in SetCommonEventData()
130 return NapiGetNull(commonEventDataWorkerData->env); in SetCommonEventData()
260 return NapiGetNull(env); in ParseParametersByGetSubscribeInfo()
275 return NapiGetNull(env); in GetSubscribeInfo()
282 return NapiGetNull(env); in GetSubscribeInfo()
289 return NapiGetNull(env); in GetSubscribeInfo()
337 return NapiGetNull(env); in GetSubscribeInfo()
371 return NapiGetNull(env); in IsOrderedCommonEvent()
378 return NapiGetNull(env); in IsOrderedCommonEvent()
385 return NapiGetNull(env); in IsOrderedCommonEvent()
[all …]
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(env); in SetData()
[all …]
Dcommon_event_parse.cpp44 napi_value NapiGetNull(napi_env env) in NapiGetNull() function
80 return NapiGetNull(env); in ParseParametersByCreateSubscriber()
85 return NapiGetNull(env); in ParseParametersByCreateSubscriber()
137 return NapiGetNull(env); in ParseParametersByIsOrderedCommonEvent()
172 return NapiGetNull(env); in ParseParametersByIsStickyCommonEvent()
207 return NapiGetNull(env); in ParseParametersByGetCode()
250 return NapiGetNull(env); in ParseParametersBySetCode()
302 return NapiGetNull(env); in ParseParametersBySetData()
364 return NapiGetNull(env); in ParseParametersBySetCodeAndData()
410 return NapiGetNull(env); in ParseParametersByGetData()
[all …]
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
Dnapi_get_active.cpp39 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetAllActiveNotifications()
62 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetAllActiveNotifications()
118 return Common::NapiGetNull(env); in NapiGetAllActiveNotifications()
136 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetActiveNotifications()
159 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetActiveNotifications()
215 return Common::NapiGetNull(env); in NapiGetActiveNotifications()
233 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetActiveNotificationCount()
289 return Common::NapiGetNull(env); in NapiGetActiveNotificationCount()
324 return Common::NapiGetNull(env); in ParseGetLiveViewFilter()
332 return Common::NapiGetNull(env); in ParseGetLiveViewFilter()
[all …]
Dnapi_distributed.cpp35 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiIsDistributedEnabled()
93 return Common::NapiGetNull(env); in NapiIsDistributedEnabled()
139 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiEnableDistributed()
158 return Common::NapiGetNull(env); in NapiEnableDistributed()
201 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiEnableDistributedByBundle()
220 return Common::NapiGetNull(env); in NapiEnableDistributedByBundle()
265 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiEnableDistributedSelf()
284 return Common::NapiGetNull(env); in NapiEnableDistributedSelf()
302 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiIsDistributedEnableByBundle()
359 return Common::NapiGetNull(env); in NapiIsDistributedEnableByBundle()
[all …]
Dnapi_slot.cpp68 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiAddSlot()
87 return Common::NapiGetNull(env); in NapiAddSlot()
128 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiAddSlots()
147 return Common::NapiGetNull(env); in NapiAddSlots()
188 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiSetSlotByBundle()
207 return Common::NapiGetNull(env); in NapiSetSlotByBundle()
224 napi_value result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetSlot()
230 result = Common::NapiGetNull(env); in AsyncCompleteCallbackNapiGetSlot()
285 return Common::NapiGetNull(env); in NapiGetSlot()
347 return Common::NapiGetNull(env); in NapiGetSlotNumByBundle()
[all …]
Dnapi_cancel.cpp59 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiCancel()
78 return Common::NapiGetNull(env); in NapiCancel()
117 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiCancelAll()
136 return Common::NapiGetNull(env); in NapiCancelAll()
179 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiCancelGroup()
198 return Common::NapiGetNull(env); in NapiCancelGroup()
244 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiCancelAsBundle()
263 return Common::NapiGetNull(env); in NapiCancelAsBundle()
Dnapi_display_badge.cpp65 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in NapiDisplayBadge()
84 return Common::NapiGetNull(env); in NapiDisplayBadge()
162 return Common::NapiGetNull(env); in NapiIsBadgeDisplayed()
195 return Common::NapiGetNull(env); in ParseParameters()
200 return Common::NapiGetNull(env); in ParseParameters()
211 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in AsyncCompleteCallbackNapiSetBadgeNumber()
262 return Common::NapiGetNull(env); in NapiSetBadgeNumber()
Dnapi_enable_notification.cpp37 Common::CreateReturnValue(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in AsyncCompleteCallbackNapiEnableNotification()
90 return Common::NapiGetNull(env); in NapiEnableNotification()
173 return Common::NapiGetNull(env); in NapiIsNotificationEnabled()
226 return Common::NapiGetNull(env); in NapiIsNotificationEnabledSelf()
329 return Common::NapiGetNull(env); in NapiRequestEnableNotification()
345 return Common::NapiGetNull(env); in ParseRequestEnableParameters()
353 return Common::NapiGetNull(env); in ParseRequestEnableParameters()
375 return Common::NapiGetNull(env); in ParseRequestEnableParameters()
380 return Common::NapiGetNull(env); in ParseRequestEnableParameters()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dslot.cpp231 return Common::NapiGetNull(env); in ParseParametersByAddSlot()
237 return Common::NapiGetNull(env); in ParseParametersByAddSlot()
286 return Common::NapiGetNull(env); in ParseParametersByAddSlots()
291 return Common::NapiGetNull(env); in ParseParametersByAddSlots()
348 return Common::NapiGetNull(env); in ParseParametersSetSlotByBundle()
353 return Common::NapiGetNull(env); in ParseParametersSetSlotByBundle()
386 return Common::NapiGetNull(env); in ParseParametersByGetSlot()
390 return Common::NapiGetNull(env); in ParseParametersByGetSlot()
425 return Common::NapiGetNull(env); in ParseParametersGetSlotNumByBundle()
430 return Common::NapiGetNull(env); in ParseParametersGetSlotNumByBundle()
[all …]
Ddistributed.cpp56 return Common::NapiGetNull(env); in ParseParameters()
61 return Common::NapiGetNull(env); in ParseParameters()
103 return Common::NapiGetNull(env); in ParseParameters()
108 return Common::NapiGetNull(env); in ParseParameters()
142 return Common::NapiGetNull(env); in ParseParameters()
147 return Common::NapiGetNull(env); in ParseParameters()
162 result = Common::NapiGetNull(env); in AsyncCompleteCallbackIsDistributedEnabled()
220 return Common::NapiGetNull(env); in IsDistributedEnabled()
264 … Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in EnableDistributed()
282 return Common::NapiGetNull(env); in EnableDistributed()
[all …]
Dcommon_convert_request.cpp190 napi_set_named_property(env, result, "wantAgent", NapiGetNull(env)); in SetNotificationRequestByWantAgent()
200 napi_set_named_property(env, result, "removalWantAgent", NapiGetNull(env)); in SetNotificationRequestByWantAgent()
210 napi_set_named_property(env, result, "maxScreenWantAgent", NapiGetNull(env)); in SetNotificationRequestByWantAgent()
235 napi_set_named_property(env, result, "smallIcon", NapiGetNull(env)); in SetNotificationRequestByPixelMap()
250 napi_set_named_property(env, result, "largeIcon", NapiGetNull(env)); in SetNotificationRequestByPixelMap()
265 napi_set_named_property(env, result, "overlayIcon", NapiGetNull(env)); in SetNotificationRequestByPixelMap()
371 napi_set_named_property(env, result, "wantAgent", NapiGetNull(env)); in SetNotificationActionButton()
387 napi_set_named_property(env, result, "icon", NapiGetNull(env)); in SetNotificationActionButton()
552 return NapiGetNull(env); in GetNotificationRequestByNumber()
575 return NapiGetNull(env); in GetNotificationRequestByString()
[all …]
Dcancel.cpp51 return Common::NapiGetNull(env); in ParseParameters()
81 return Common::NapiGetNull(env); in ParseParameters()
86 return Common::NapiGetNull(env); in ParseParameters()
129 return Common::NapiGetNull(env); in ParseParameters()
134 return Common::NapiGetNull(env); in ParseParameters()
175 … Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in Cancel()
193 return Common::NapiGetNull(env); in Cancel()
234 … Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in CancelAll()
252 return Common::NapiGetNull(env); in CancelAll()
297 … Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in CancelGroup()
[all …]
Ddisturb_mode.cpp85 return Common::NapiGetNull(env); in GetDoNotDisturbDate()
117 return Common::NapiGetNull(env); in ParseParameters()
133 return Common::NapiGetNull(env); in ParseParameters()
138 return Common::NapiGetNull(env); in ParseParameters()
184 … Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in SetDoNotDisturbDate()
200 return Common::NapiGetNull(env); in SetDoNotDisturbDate()
216 napi_value result = Common::NapiGetNull(env); in AsyncCompleteCallbackGetDoNotDisturbDate()
249 return Common::NapiGetNull(env); in ParseParameters()
264 return Common::NapiGetNull(env); in ParseParameters()
269 return Common::NapiGetNull(env); in ParseParameters()
[all …]
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()
Dunsubscribe.cpp55 return Common::NapiGetNull(env); in ParseParameters()
60 return Common::NapiGetNull(env); in ParseParameters()
115 … Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in Unsubscribe()
133 return Common::NapiGetNull(env); in Unsubscribe()
Ddisplay_badge.cpp65 return Common::NapiGetNull(env); in ParseParameters()
70 return Common::NapiGetNull(env); in ParseParameters()
112 return Common::NapiGetNull(env); in ParseParameters()
117 return Common::NapiGetNull(env); in ParseParameters()
162 … Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in DisplayBadge()
180 return Common::NapiGetNull(env); in DisplayBadge()
259 return Common::NapiGetNull(env); in IsBadgeDisplayed()
Denable_notification.cpp71 return Common::NapiGetNull(env); in ParseParameters()
76 return Common::NapiGetNull(env); in ParseParameters()
89 return Common::NapiGetNull(env); in ParseParameters()
97 return Common::NapiGetNull(env); in ParseParameters()
118 return Common::NapiGetNull(env); in ParseParameters()
123 return Common::NapiGetNull(env); in ParseParameters()
135 Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in AsyncCompleteCallbackEnableNotification()
189 return Common::NapiGetNull(env); in EnableNotification()
275 return Common::NapiGetNull(env); in IsNotificationEnabled()
328 return Common::NapiGetNull(env); in IsNotificationEnabledSelf()
[all …]
Dremove.cpp167 return Common::NapiGetNull(env); in ParseParametersByRemoveAll()
175 return Common::NapiGetNull(env); in ParseParametersByRemoveAll()
197 return Common::NapiGetNull(env); in ParseParametersByRemoveAll()
202 return Common::NapiGetNull(env); in ParseParametersByRemoveAll()
259 return Common::NapiGetNull(env); in ParseParameters()
263 return Common::NapiGetNull(env); in ParseParameters()
295 Common::ReturnCallbackPromise(env, removeInfo->info, Common::NapiGetNull(env)); in RemoveCompleteCallback()
327 return Common::NapiGetNull(env); in Remove()
378 … Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in RemoveAll()
396 return Common::NapiGetNull(env); in RemoveAll()
[all …]
Dpublish.cpp38 return Common::NapiGetNull(env); in GetCallback()
42 return Common::NapiGetNull(env); in GetCallback()
74 return Common::NapiGetNull(env); in ParseParameters()
94 return Common::NapiGetNull(env); in ParseParameters()
140 … Common::ReturnCallbackPromise(env, asynccallbackinfo->info, Common::NapiGetNull(env)); in Publish()
158 return Common::NapiGetNull(env); in Publish()
200 return Common::NapiGetNull(env); in GetStringProperty()
219 return Common::NapiGetNull(env); in GetObjectProperty()
295 return Common::NapiGetNull(env); in ParseShowOptions()
423 return Common::NapiGetNull(env); in ParsePublishAsBundleParameters()
[all …]
/base/account/os_account/interfaces/kits/napi/appaccount/src/
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(env)); in RemoveAccountInternal()
[all …]
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_dh_key_util.cpp50 return NapiGetNull(env); in JsGenDHCommonParamsSpec()
58 return NapiGetNull(env); in JsGenDHCommonParamsSpec()
65 return NapiGetNull(env); in JsGenDHCommonParamsSpec()

123