Home
last modified time | relevance | path

Searched refs:ConvertFromJsValue (Results 1 – 18 of 18) sorted by relevance

/foundation/aafwk/standard/interfaces/kits/napi/aafwk/uri_permission/
Djs_uri_perm_mgr.cpp62 if (!ConvertFromJsValue(engine, args[0]->Get(), uriStr)) { in OnVerifyUriPermission()
69 if (!ConvertFromJsValue(engine, args[1]->Get(), flag)) { in OnVerifyUriPermission()
77 if (!ConvertFromJsValue(engine, args[index]->Get(), accessTokenId)) { in OnVerifyUriPermission()
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/mission_manager/
Dmission_manager.cpp151 if (!errCode && !ConvertFromJsValue(engine, info.argv[0], missionListenerId)) { in OnUnregisterMissionListener()
196 if (!errCode && !ConvertFromJsValue(engine, info.argv[0], deviceId)) { in OnGetMissionInfos()
201 if (!errCode && !ConvertFromJsValue(engine, info.argv[1], numMax)) { in OnGetMissionInfos()
237 if (!errCode && !ConvertFromJsValue(engine, info.argv[0], deviceId)) { in OnGetMissionInfo()
242 if (!errCode && !ConvertFromJsValue(engine, info.argv[1], missionId)) { in OnGetMissionInfo()
278 if (!errCode && !ConvertFromJsValue(engine, info.argv[0], deviceId)) { in OnGetMissionSnapShot()
283 if (!errCode && !ConvertFromJsValue(engine, info.argv[1], missionId)) { in OnGetMissionSnapShot()
332 if (!errCode && !ConvertFromJsValue(engine, info.argv[0], missionId)) { in OnLockMission()
367 if (!errCode && !ConvertFromJsValue(engine, info.argv[0], missionId)) { in OnUnlockMission()
402 if (!errCode && !ConvertFromJsValue(engine, info.argv[0], missionId)) { in OnClearMission()
[all …]
/foundation/windowmanager/interfaces/kits/napi/display_runtime/napi/
Djs_screen_manager.cpp212 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnRegisterScreenMangerCallback()
238 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnUnregisterScreenManagerCallback()
269 if (!ConvertFromJsValue(engine, info.argv[0], mainScreenId)) { in OnMakeMirror()
283 if (!ConvertFromJsValue(engine, value, screenId)) { in OnMakeMirror()
362 if (!ConvertFromJsValue(engine, screedIdValue, screenId)) { in GetExpandOptionFromJs()
366 if (!ConvertFromJsValue(engine, startXValue, startX)) { in GetExpandOptionFromJs()
370 if (!ConvertFromJsValue(engine, startYValue, startY)) { in GetExpandOptionFromJs()
Djs_screen.cpp79 if (!ConvertFromJsValue(engine, info.argv[0], orientation)) { in OnSetOrientation()
133 if (!ConvertFromJsValue(engine, info.argv[0], modeId)) { in OnSetScreenActiveMode()
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_stage_napi/
Djs_window_stage.cpp130 if (!ConvertFromJsValue(engine, info.argv[1], contextUrl)) { in OnSetUIContent()
177 if (!ConvertFromJsValue(engine, info.argv[0], eventString)) { in OnEvent()
206 if (!ConvertFromJsValue(engine, info.argv[0], eventString)) { in OffEvent()
238 if (!ConvertFromJsValue(engine, info.argv[0], contextUrl)) { in OnLoadContent()
321 if (!ConvertFromJsValue(engine, info.argv[0], windowName)) { in OnCreateSubWindow()
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_manager_napi/
Djs_window_manager.cpp241 if (!ConvertFromJsValue(engine, nativeString, windowName)) { in OnCreateWindow()
280 if (!ConvertFromJsValue(engine, info.argv[0], windowName)) { in OnFindWindow()
323 if (errCode == WMError::WM_OK && !ConvertFromJsValue(engine, info.argv[0], displayId)) { in OnMinimizeAll()
360 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnRegisterWindowMangerCallback()
383 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnUnregisterWindowManagerCallback()
498 if (!ConvertFromJsValue(engine, info.argv[1], displayId)) { in OnSetWindowLayoutMode()
/foundation/aafwk/standard/frameworks/kits/ability/native/src/form_runtime/
Djs_form_extension_context.cpp76 ConvertFromJsValue(engine, info.argv[0], strFormId); in OnUpdateForm()
85 … if (nativeDataValue == nullptr || !ConvertFromJsValue(engine, nativeDataValue, formDataStr)) { in OnUpdateForm()
Djs_form_extension.cpp136 if (!ConvertFromJsValue(*nativeEngine, nativeDataValue, formDataStr)) { in OnCreate()
341 if (!ConvertFromJsValue(*nativeEngine, nativeResult, state)) { in OnAcquireFormState()
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_napi/
Djs_window_utils.cpp304 if (!ConvertFromJsValue(engine, nativeArray->GetElement(i), name)) { in GetSystemBarStatus()
323 if (!ConvertFromJsValue(engine, jsColor, colorStr)) { in GetColorFromJs()
365 if (!ConvertFromJsValue(engine, jsStatusIcon, isStatusBarLightIcon)) { in SetSystemBarPropertiesFromJs()
382 if (!ConvertFromJsValue(engine, jsNavigationIcon, isNavigationBarLightIcon)) { in SetSystemBarPropertiesFromJs()
Djs_window.cpp387 if (errCode == WMError::WM_OK && !ConvertFromJsValue(engine, info.argv[0], x)) { in OnMoveTo()
393 if (errCode == WMError::WM_OK && !ConvertFromJsValue(engine, info.argv[1], y)) { in OnMoveTo()
430 if (errCode == WMError::WM_OK && !ConvertFromJsValue(engine, info.argv[0], width)) { in OnResize()
436 if (errCode == WMError::WM_OK && !ConvertFromJsValue(engine, info.argv[1], height)) { in OnResize()
620 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnRegisterWindowCallback()
641 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnUnregisterWindowCallback()
670 if (errCode == WMError::WM_OK && !ConvertFromJsValue(engine, info.argv[0], contextUrl)) { in OnLoadContent()
1007 if (errCode == WMError::WM_OK && !ConvertFromJsValue(engine, info.argv[0], color)) { in OnSetBackgroundColor()
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/app/ability_delegator/
Djs_ability_delegator.cpp540 if (!ConvertFromJsValue(engine, abilityNameValue, abilityName)) { in ParseMonitorPara()
675 if (!ConvertFromJsValue(engine, info.argv[INDEX_ONE], timeout)) { in ParseTimeoutCallbackPara()
704 if (!ConvertFromJsValue(engine, info.argv[INDEX_ZERO], msg)) { in ParsePrintPara()
727 if (!ConvertFromJsValue(engine, info.argv[INDEX_ZERO], cmd)) { in ParseExecuteShellCommandPara()
794 if (!ConvertFromJsValue(engine, info.argv[INDEX_ZERO], msg)) { in ParseFinishTestPara()
799 if (!ConvertFromJsValue(engine, info.argv[INDEX_ONE], code)) { in ParseFinishTestPara()
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/form_binding_data/
Dform_binding_data.cpp82 if (!ConvertFromJsValue(engine, nativeValue, formDataStr)) { in OnCreateFormBindingData()
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/app/app_manager/
Djs_app_manager.cpp306 if (!ConvertFromJsValue(engine, info.argv[0], bundleName)) { in OnkillProcess()
343 if (!ConvertFromJsValue(engine, info.argv[0], bundleName)) { in OnClearUpApplicationData()
379 if (!ConvertFromJsValue(engine, info.argv[0], bundleName)) { in OnKillProcessWithAccount()
384 if (!ConvertFromJsValue(engine, info.argv[1], accountId)) { in OnKillProcessWithAccount()
/foundation/windowmanager/interfaces/kits/napi/display/
Djs_display_manager.cpp242 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnRegisterDisplayManagerCallback()
268 if (!ConvertFromJsValue(engine, info.argv[0], cbType)) { in OnUnregisterDisplayManagerCallback()
/foundation/aafwk/standard/frameworks/kits/appkit/native/ability_runtime/context/
Djs_context_utils.cpp110 if (!ConvertFromJsValue(engine, info.argv[0], mode)) { in OnSwitchArea()
269 if (!ConvertFromJsValue(engine, info.argv[0], bundleName)) { in OnCreateBundleContext()
/foundation/aafwk/standard/interfaces/innerkits/runtime/include/
Djs_runtime_utils.h58 inline bool ConvertFromJsValue(NativeEngine& engine, NativeValue* jsValue, T& value) in ConvertFromJsValue() function
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/ability_manager/
Djs_ability_manager.cpp102 if (!ConvertFromJsValue(engine, info.argv[0], upperLimit)) { in OnGetExtensionRunningInfos()
/foundation/aafwk/standard/frameworks/kits/ability/native/src/ability_runtime/
Djs_ability_context.cpp786 if (!ConvertFromJsValue(engine, info.argv[0], label)) { in OnSetMissionLabel()