Home
last modified time | relevance | path

Searched refs:napi_unwrap (Results 1 - 25 of 276) sorted by relevance

12345678910>>...12

/foundation/communication/ipc/ipc/native/src/napi_common/source/
H A Dnapi_message_parcel_read.cpp38 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_readRemoteObject()
53 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_readInterfaceToken()
70 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_readException()
88 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_readByte()
103 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_readShort()
118 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_readInt()
133 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_readLong()
148 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_readFloat()
163 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_readDouble()
178 napi_unwrap(en in JS_readBoolean()
[all...]
H A Dnapi_message_parcel_write.cpp79 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_writeByte()
104 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_writeShort()
129 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_writeInt()
154 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_writeLong()
179 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_writeFloat()
204 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_writeDouble()
229 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_writeBoolean()
254 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_writeChar()
281 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&napiParcel)); in JS_writeByteArray()
327 napi_unwrap(en in JS_writeShortArray()
[all...]
H A Dnapi_message_sequence_read.cpp41 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_getSize()
57 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_getCapacity()
73 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_getReadableBytes()
89 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_getReadPosition()
121 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_rewindRead()
141 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_readRemoteObject()
165 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_readInterfaceToken()
184 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_readException()
205 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_readByte()
223 napi_unwrap(en in JS_readShort()
[all...]
H A Dnapi_message_sequence_write.cpp114 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_writeByte()
152 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_writeShort()
190 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_writeInt()
228 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_writeLong()
266 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_writeFloat()
310 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_writeBoolean()
348 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_writeChar()
378 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_writeByteArray()
462 napi_unwrap(env, thisVar, (void **)&napiSequence); in JS_writeShortArray()
519 napi_unwrap(en in JS_writeIntArray()
[all...]
/foundation/arkui/napi/sample/native_module_netserver/
H A Djs_netserver.cpp50 napi_unwrap(env, thisVar, (void**)&netServer); in JS_Start()
77 napi_unwrap(env, thisVar, (void**)&netServer); in JS_Stop()
96 napi_unwrap(env, thisVar, (void**)&netServer); in JS_On()
130 napi_unwrap(env, thisVar, (void**)&netServer); in JS_Once()
169 napi_unwrap(env, thisVar, (void**)&netServer); in JS_Off()
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/tone_attrs/
H A Dtone_attrs_napi.cpp115 NAPI_CALL_BASE(env, napi_unwrap(env, instance, reinterpret_cast<void**>(&toneAttrsNapi)), napi_generic_failure); in NewInstance()
170 napi_unwrap(env, jsThis, reinterpret_cast<void**>(&toneAttrsNapi)); in GetTitle()
201 napi_unwrap(env, jsThis, reinterpret_cast<void**>(&toneAttrsNapi)); in SetTitle()
219 napi_unwrap(env, jsThis, reinterpret_cast<void**>(&toneAttrsNapi)); in GetFileName()
250 napi_unwrap(env, jsThis, reinterpret_cast<void**>(&toneAttrsNapi)); in SetFileName()
268 napi_unwrap(env, jsThis, reinterpret_cast<void**>(&toneAttrsNapi)); in GetUri()
288 napi_unwrap(env, jsThis, reinterpret_cast<void**>(&toneAttrsNapi)); in GetCustomizedType()
323 napi_unwrap(env, jsThis, reinterpret_cast<void**>(&toneAttrsNapi)); in SetCategory()
341 napi_unwrap(env, jsThis, reinterpret_cast<void**>(&toneAttrsNapi)); in GetCategory()
/foundation/multimedia/media_library/frameworks/js/src/
H A Dcloud_enhancement_task_state_napi.cpp152 status = napi_unwrap(env, instance, reinterpret_cast<void**>(&cloudEnhancementTaskStateNapi)); in NewCloudEnhancementTaskStateNapi()
177 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&obj)); in JSGetTaskStage()
201 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&obj)); in JSGetTransferredFileSize()
227 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&obj)); in JSGetTotalFileSize()
253 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&obj)); in JSGetExpectedDuration()
279 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&obj)); in JSGetStatusCode()
H A Dmedia_asset_edit_data_napi.cpp106 CHECK_ARGS(env, napi_unwrap(env, instance, reinterpret_cast<void**>(&assetEditData)), JS_INNER_FAIL); in CreateMediaAssetEditData()
161 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&obj)); in JSGetCompatibleFormat()
185 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&obj)); in JSGetFormatVersion()
209 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&obj)); in JSGetData()
228 CHECK_ARGS(env, napi_unwrap(env, thisVar, reinterpret_cast<void**>(obj)), JS_INNER_FAIL); in GetStringArg()
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/ringtone_player/
H A Daudio_renderer_info_napi.cpp142 status = napi_unwrap(env, jsThis, (void **)&audioRendererInfoNapi); in GetContentType()
171 status = napi_unwrap(env, jsThis, (void **)&audioRendererInfoNapi); in SetContentType()
204 status = napi_unwrap(env, jsThis, (void **)&audioRendererInfoNapi); in GetStreamUsage()
233 status = napi_unwrap(env, jsThis, (void **)&audioRendererInfoNapi); in SetStreamUsage()
235 MEDIA_LOGE("SetStreamUsage: napi_unwrap failed"); in SetStreamUsage()
268 status = napi_unwrap(env, jsThis, (void **)&audioRendererInfoNapi); in GetRendererFlags()
297 status = napi_unwrap(env, jsThis, (void **)&audioRendererInfoNapi); in SetRendererFlags()
H A Dringtone_options_napi.cpp144 status = napi_unwrap(env, jsThis, (void **)&ringtoneOptionsNapi); in GetVolume()
172 status = napi_unwrap(env, jsThis, (void **)&ringtoneOptionsNapi); in SetVolume()
204 status = napi_unwrap(env, jsThis, (void **)&ringtoneOptionsNapi); in GetLoop()
232 status = napi_unwrap(env, jsThis, (void **)&ringtoneOptionsNapi); in SetLoop()
/foundation/communication/ipc/ipc/native/src/napi/src/
H A Dnapi_message_option.cpp40 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&option)); in NapiOhosRpcMessageOptionGetFlags()
66 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&option)); in NapiOhosRpcMessageOptionSetFlags()
83 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&option)); in NapiOhosRpcMessageOptionIsAsync()
109 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&option)); in NapiOhosRpcMessageOptionSetAsync()
126 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&option)); in NapiOhosRpcMessageOptionGetWaittime()
152 napi_unwrap(env, thisVar, reinterpret_cast<void **>(&option)); in NapiOhosRpcMessageOptionSetWaittime()
/foundation/multimedia/player_framework/frameworks/js/player/
H A Daudio_player_napi.cpp217 status = napi_unwrap(env, jsThis, reinterpret_cast<void **>(&player)); in SetSrc()
283 status = napi_unwrap(env, jsThis, reinterpret_cast<void **>(&player)); in GetSrc()
306 status = napi_unwrap(env, jsThis, reinterpret_cast<void **>(&player)); in SetFdSrc()
356 status = napi_unwrap(env, jsThis, reinterpret_cast<void **>(&player)); in GetFdSrc()
386 status = napi_unwrap(env, jsThis, reinterpret_cast<void **>(&player)); in Play()
419 status = napi_unwrap(env, jsThis, reinterpret_cast<void **>(&player)); in Pause()
449 status = napi_unwrap(env, jsThis, reinterpret_cast<void **>(&player)); in Stop()
480 status = napi_unwrap(env, jsThis, reinterpret_cast<void **>(&player)); in Reset()
511 status = napi_unwrap(env, jsThis, reinterpret_cast<void **>(&player)); in Release()
544 status = napi_unwrap(en in Seek()
[all...]
H A Dvideo_player_napi.cpp238 status = napi_unwrap(env, jsThis, reinterpret_cast<void **>(&jsPlayer)); in SetUrl()
294 status = napi_unwrap(env, jsThis, reinterpret_cast<void **>(&jsPlayer)); in GetUrl()
322 status = napi_unwrap(env, jsThis, reinterpret_cast<void **>(&jsPlayer)); in SetFdSrc()
369 status = napi_unwrap(env, jsThis, reinterpret_cast<void **>(&jsPlayer)); in GetFdSrc()
448 (void)napi_unwrap(env, jsThis, reinterpret_cast<void **>(&asyncContext->jsPlayer)); in SetDisplaySurface()
562 (void)napi_unwrap(env, jsThis, reinterpret_cast<void **>(&asyncContext->jsPlayer)); in Prepare()
593 (void)napi_unwrap(env, jsThis, reinterpret_cast<void **>(&asyncContext->jsPlayer)); in Play()
629 (void)napi_unwrap(env, jsThis, reinterpret_cast<void **>(&asyncContext->jsPlayer)); in Pause()
661 (void)napi_unwrap(env, jsThis, reinterpret_cast<void **>(&asyncContext->jsPlayer)); in Stop()
694 (void)napi_unwrap(en in Reset()
[all...]
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/system_tone_player/
H A Dsystem_tone_options_napi.cpp143 status = napi_unwrap(env, jsThis, (void **)&systemToneOptionsNapi); in IsAudioMute()
171 status = napi_unwrap(env, jsThis, (void **)&systemToneOptionsNapi); in SetAudioMute()
203 status = napi_unwrap(env, jsThis, (void **)&systemToneOptionsNapi); in IsHapticsMute()
231 status = napi_unwrap(env, jsThis, (void **)&ringtoneOptionsNapi); in SetHapticsMute()
/foundation/multimedia/player_framework/frameworks/js/audio_haptic/src/audio_haptic_player/
H A Daudio_haptic_player_options_napi.cpp145 status = napi_unwrap(env, jsThis, (void **)&audioHapticPlayerOptionsNapi); in IsAudioMute()
173 status = napi_unwrap(env, jsThis, (void **)&audioHapticPlayerOptionsNapi); in SetAudioMute()
205 status = napi_unwrap(env, jsThis, (void **)&audioHapticPlayerOptionsNapi); in IsHapticsMute()
233 status = napi_unwrap(env, jsThis, (void **)&audioHapticPlayerOptionsNapi); in SetHapticsMute()
/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_tag_ndef_formatable.cpp95 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfoCb)); in Format()
105 napi_status status2 = napi_unwrap(env, params[ARGV_INDEX_0], reinterpret_cast<void **>(&context->msg)); in Format()
156 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfoCb)); in FormatReadOnly()
166 napi_status status2 = napi_unwrap(env, params[ARGV_INDEX_0], reinterpret_cast<void **>(&context->msg)); in FormatReadOnly()
H A Dnfc_napi_tagv.cpp33 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetResponseFlags()
35 ErrorLog("GetResponseFlags, napi_unwrap failed, object is null."); in GetResponseFlags()
61 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetDsfId()
63 ErrorLog("GetDsfId, napi_unwrap failed, object is null."); in GetDsfId()
H A Dnfc_napi_tagb.cpp33 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetRespAppData()
35 ErrorLog("GetRespAppData, napi_unwrap failed, object is null."); in GetRespAppData()
61 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetRespProtocol()
63 ErrorLog("GetRespProtocol, napi_unwrap failed, object is null."); in GetRespProtocol()
H A Dnfc_napi_taga.cpp33 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetSak()
35 ErrorLog("GetSak, napi_unwrap failed, object is null."); in GetSak()
62 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetAtqa()
64 ErrorLog("GetAtqa, napi_unwrap failed, object is null."); in GetAtqa()
H A Dnfc_napi_tagf.cpp34 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetSystemCode()
36 ErrorLog("GetSystemCode, napi_unwrap failed, object is null."); in GetSystemCode()
62 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetPmm()
64 ErrorLog("GetPmm, napi_unwrap failed, object is null."); in GetPmm()
H A Dnfc_napi_tag_isodep.cpp34 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetHistoricalBytes()
36 ErrorLog("GetHistoricalBytes, napi_unwrap failed, object is null."); in GetHistoricalBytes()
62 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfo)); in GetHiLayerResponse()
64 ErrorLog("GetHiLayerResponse, napi_unwrap failed, object is null."); in GetHiLayerResponse()
140 napi_status status = napi_unwrap(env, thisVar, reinterpret_cast<void **>(&objectInfoCb)); in IsExtendedApduSupported()
/foundation/distributeddatamgr/pasteboard/interfaces/kits/napi/src/
H A Dnapi_pastedata_record.cpp51 napi_status status = napi_unwrap(env, instance, reinterpret_cast<void **>(&obj)); in NewInstanceByRecord()
64 napi_status status = napi_unwrap(env, instance, reinterpret_cast<void **>(&obj)); in NewHtmlTextRecordInstance()
77 napi_status status = napi_unwrap(env, instance, reinterpret_cast<void **>(&obj)); in NewPlainTextRecordInstance()
96 napi_status status = napi_unwrap(env, instance, reinterpret_cast<void **>(&obj)); in NewPixelMapRecordInstance()
110 napi_status status = napi_unwrap(env, instance, reinterpret_cast<void **>(&obj)); in NewUriRecordInstance()
128 napi_status status = napi_unwrap(env, instance, reinterpret_cast<void **>(&obj)); in NewWantRecordInstance()
142 napi_status status = napi_unwrap(env, instance, reinterpret_cast<void **>(&obj)); in NewKvRecordInstance()
161 napi_status status = napi_unwrap(entryGetter->GetEnv(), instance, reinterpret_cast<void **>(&obj)); in NewEntryGetterRecordInstance()
307 napi_status status = napi_unwrap(env, self, reinterpret_cast<void **>(&obj)); in ConvertToText()
348 napi_status status = napi_unwrap(en in ToPlainText()
[all...]
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/
H A Dprofession_session_napi.cpp202 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&professionSessionNapi)); in GetSupportedMeteringModes()
238 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&professionSessionNapi)); in IsMeteringModeSupported()
268 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&professionSessionNapi)); in GetMeteringMode()
296 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&professionSessionNapi)); in SetMeteringMode()
325 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&professionSessionNapi)); in GetExposureDurationRange()
362 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&professionSessionNapi)); in GetExposureDuration()
391 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&professionSessionNapi)); in SetExposureDuration()
427 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&professionSessionNapi)); in GetSupportedFocusAssistFlashModes()
464 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&professionSessionNapi)); in IsFocusAssistFlashModeSupported()
494 status = napi_unwrap(en in GetFocusAssistFlashMode()
[all...]
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/output/
H A Ddepth_data_napi.cpp157 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&depthDataNapi)); in GetFormat()
180 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&depthDataNapi)); in GetDepthMap()
203 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&depthDataNapi)); in GetQualityLevel()
226 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&depthDataNapi)); in GetAccuracy()
250 status = napi_unwrap(env, thisVar, reinterpret_cast<void**>(&asyncContext->objectInfo)); in Release()
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/tone_haptics_attrs/
H A Dtone_haptics_settings_napi.cpp107 NAPI_CALL_BASE(env, napi_unwrap(env, instance, reinterpret_cast<void**>(&toneHapticsSettingsNapi)), in NewInstance()
132 status = napi_unwrap(env, jsThis, (void **)&toneHapticsSettingsNapi); in GetMode()
134 MEDIA_LOGE("GetMode: failed for napi_unwrap"); in GetMode()
165 status = napi_unwrap(env, jsThis, (void **)&toneHapticsSettingsNapi); in SetMode()
167 MEDIA_LOGE("SetMode: failed for napi_unwrap"); in SetMode()
202 status = napi_unwrap(env, jsThis, (void **)&toneHapticsSettingsNapi); in GetHapticsUri()
204 MEDIA_LOGE("GetHapticsUri: failed for napi_unwrap"); in GetHapticsUri()
236 status = napi_unwrap(env, jsThis, (void **)&toneHapticsSettingsNapi); in SetHapticsUri()
238 MEDIA_LOGE("SetHapticsUri: failed for napi_unwrap"); in SetHapticsUri()

Completed in 20 milliseconds

12345678910>>...12