/foundation/aafwk/standard/interfaces/kits/napi/aafwk/uri_permission/ |
D | js_uri_perm_mgr.cpp | 62 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/ |
D | mission_manager.cpp | 151 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/ |
D | js_screen_manager.cpp | 212 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()
|
D | js_screen.cpp | 79 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/ |
D | js_window_stage.cpp | 130 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/ |
D | js_window_manager.cpp | 241 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/ |
D | js_form_extension_context.cpp | 76 ConvertFromJsValue(engine, info.argv[0], strFormId); in OnUpdateForm() 85 … if (nativeDataValue == nullptr || !ConvertFromJsValue(engine, nativeDataValue, formDataStr)) { in OnUpdateForm()
|
D | js_form_extension.cpp | 136 if (!ConvertFromJsValue(*nativeEngine, nativeDataValue, formDataStr)) { in OnCreate() 341 if (!ConvertFromJsValue(*nativeEngine, nativeResult, state)) { in OnAcquireFormState()
|
/foundation/windowmanager/interfaces/kits/napi/window_runtime/window_napi/ |
D | js_window_utils.cpp | 304 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()
|
D | js_window.cpp | 387 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/ |
D | js_ability_delegator.cpp | 540 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/ |
D | form_binding_data.cpp | 82 if (!ConvertFromJsValue(engine, nativeValue, formDataStr)) { in OnCreateFormBindingData()
|
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/app/app_manager/ |
D | js_app_manager.cpp | 306 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/ |
D | js_display_manager.cpp | 242 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/ |
D | js_context_utils.cpp | 110 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/ |
D | js_runtime_utils.h | 58 inline bool ConvertFromJsValue(NativeEngine& engine, NativeValue* jsValue, T& value) in ConvertFromJsValue() function
|
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/ability_manager/ |
D | js_ability_manager.cpp | 102 if (!ConvertFromJsValue(engine, info.argv[0], upperLimit)) { in OnGetExtensionRunningInfos()
|
/foundation/aafwk/standard/frameworks/kits/ability/native/src/ability_runtime/ |
D | js_ability_context.cpp | 786 if (!ConvertFromJsValue(engine, info.argv[0], label)) { in OnSetMissionLabel()
|