| H A D | jsi_declarative_engine.cpp | 128 shared_ptr<JsValue> JsPerfPrint(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in JsPerfPrint() argument 136 shared_ptr<JsValue> JsPerfSleep(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in JsPerfSleep() argument 145 shared_ptr<JsValue> JsPerfBegin(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in JsPerfBegin() argument 154 shared_ptr<JsValue> JsPerfEnd(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, in JsPerfEnd() argument 162 RequireNativeModule(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) RequireNativeModule() argument 184 PreloadJsEnums(const shared_ptr<JsRuntime>& runtime) PreloadJsEnums() argument 191 PreloadStateManagement(const shared_ptr<JsRuntime>& runtime) PreloadStateManagement() argument 204 PreloadUIContent(const shared_ptr<JsRuntime>& runtime) PreloadUIContent() argument 216 PreloadArkComponent(const shared_ptr<JsRuntime>& runtime) PreloadArkComponent() argument 223 PreloadArkTheme(const shared_ptr<JsRuntime>& runtime) PreloadArkTheme() argument 230 PreloadConsole(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& global) PreloadConsole() argument 241 PreloadAceConsole(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& global) PreloadAceConsole() argument 252 PreloadAceTrace(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& global) PreloadAceTrace() argument 260 PreloadPerfutil(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& global) PreloadPerfutil() argument 270 PreloadExports(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& global) PreloadExports() argument 276 PreloadRequireNative(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& global) PreloadRequireNative() argument 422 InitJsEnv(bool debuggerMode, const std::unordered_map<std::string, void*>& extraNativeObject, const shared_ptr<JsRuntime>& runtime) InitJsEnv() argument 567 OHOS_ACE_PreloadAceModuleWorker(void* runtime) OHOS_ACE_PreloadAceModuleWorker() argument 572 PreloadAceModuleWorker(void* runtime) PreloadAceModuleWorker() argument 595 JsRegisterWorkerViews(JSNApi::GetGlobalObject(vm), runtime); PreloadAceModuleWorker() local 617 OHOS_ACE_PreloadAceModule(void* runtime) OHOS_ACE_PreloadAceModule() argument 622 PreloadAceModule(void* runtime) PreloadAceModule() argument 654 JsRegisterViews(JSNApi::GetGlobalObject(vm), runtime); PreloadAceModule() local 798 auto runtime = std::static_pointer_cast<ArkJSRuntime>(runtime_); InitGlobalObjectTemplate() local 809 auto runtime = std::static_pointer_cast<ArkJSRuntime>(runtime_); InitGroupJsBridge() local 997 CallGetUIContextFunc( const shared_ptr<JsRuntime>& runtime, const std::vector<shared_ptr<JsValue>>& argv) CallGetUIContextFunc() argument 1014 CallGetFrameNodeByNodeIdFunc( const shared_ptr<JsRuntime>& runtime, const std::vector<shared_ptr<JsValue>>& argv) CallGetFrameNodeByNodeIdFunc() argument 1031 PostJsTask( const shared_ptr<JsRuntime>& runtime, std::function<void()>&& task, const std::string& name) PostJsTask() argument 1044 TriggerPageUpdate(const shared_ptr<JsRuntime>& runtime) TriggerPageUpdate() argument 1054 GetPipelineContext(const shared_ptr<JsRuntime>& runtime) GetPipelineContext() argument 1102 auto runtime = GetJsRuntime(); GetContextValue() local 1131 auto runtime = GetJsRuntime(); GetFrameNodeValueByNodeId() local 1231 auto runtime = engineInstance_->GetJsRuntime(); Initialize() local 1378 auto runtime = engineInstance_->GetJsRuntime(); ExecuteAbc() local 1397 auto runtime = engineInstance_->GetJsRuntime(); ExecuteJs() local 1407 auto runtime = engineInstance_->GetJsRuntime(); ExecuteCardAbc() local 1534 auto runtime = engineInstance_->GetJsRuntime(); LoadJs() local 1615 auto runtime = std::static_pointer_cast<ArkJSRuntime>(engineInstance_->GetJsRuntime()); LoadPluginJsWithModule() local 1633 auto runtime = std::static_pointer_cast<ArkJSRuntime>(engineInstance_->GetJsRuntime()); LoadJsWithModule() local 1679 auto runtime = engineInstance_->GetJsRuntime(); LoadPageSource() local 1709 auto runtime = engineInstance_->GetJsRuntime(); LoadPageSource() local 1720 auto runtime = engineInstance_->GetJsRuntime(); LoadNavDestinationSource() local 1832 auto runtime = engineInstance_->GetJsRuntime(); LoadNamedRouterSource() local 2029 auto runtime = engineInstance_->GetJsRuntime(); ReplaceJSContent() local 2070 auto runtime = std::static_pointer_cast<ArkJSRuntime>(engineInstance_->GetJsRuntime()); SetHspBufferTrackerCallback() local 2079 auto runtime = std::static_pointer_cast<ArkJSRuntime>(engineInstance_->GetJsRuntime()); SetMockModuleList() local 2087 auto runtime = engineInstance_->GetJsRuntime(); IsComponentPreview() local 2191 auto runtime = engineInstance_->GetJsRuntime(); FireExternalEvent() local 2277 auto runtime = engineInstance_->GetJsRuntime(); FireExternalEvent() local 2317 auto runtime = JsiDeclarativeEngineInstance::GetCurrentRuntime(); TimerCallback() local 2345 auto runtime = JsiDeclarativeEngineInstance::GetCurrentRuntime(); TimerCallJs() local 2361 shared_ptr<JsRuntime> runtime = engineInstance_->GetJsRuntime(); DestroyApplication() local 2370 shared_ptr<JsRuntime> runtime = engineInstance_->GetJsRuntime(); UpdateApplicationState() local 2401 shared_ptr<JsRuntime> runtime = engineInstance_->GetJsRuntime(); OnWindowDisplayModeChanged() local 2414 shared_ptr<JsRuntime> runtime = engineInstance_->GetJsRuntime(); CallAppFunc() local 2568 shared_ptr<JsRuntime> runtime = engineInstance_->GetJsRuntime(); OnActive() local 2577 shared_ptr<JsRuntime> runtime = engineInstance_->GetJsRuntime(); OnInactive() local 2586 shared_ptr<JsRuntime> runtime = engineInstance_->GetJsRuntime(); OnNewWant() local 2598 shared_ptr<JsRuntime> runtime = engineInstance_->GetJsRuntime(); OnStartContinuation() local 2608 shared_ptr<JsRuntime> runtime = engineInstance_->GetJsRuntime(); OnCompleteContinuation() local 2619 shared_ptr<JsRuntime> runtime = engineInstance_->GetJsRuntime(); OnRemoteTerminated() local 2629 shared_ptr<JsRuntime> runtime = engineInstance_->GetJsRuntime(); OnSaveData() local 2644 shared_ptr<JsRuntime> runtime = engineInstance_->GetJsRuntime(); SetErrorEventHandler() local 2654 shared_ptr<JsRuntime> runtime = engineInstance_->GetJsRuntime(); OnRestoreData() local 2726 PreloadAceModuleCard( void* runtime, const std::unordered_set<std::string>& formModuleList) PreloadAceModuleCard() argument 2758 JsRegisterFormViews(JSNApi::GetGlobalObject(vm), formModuleList, false, runtime); PreloadAceModuleCard() local 2804 ReloadAceModuleCard( void* runtime, const std::unordered_set<std::string>& formModuleList) ReloadAceModuleCard() argument [all...] |
| H A D | jsi_engine.cpp | 74 RefPtr<PixelMap> CreatePixelMapFromNapiValue(const shared_ptr<JsRuntime>& runtime, shared_ptr<JsValue> jsValue) in CreatePixelMapFromNapiValue() argument 117 RefPtr<JsAcePage> GetStagingPage(const shared_ptr<JsRuntime>& runtime) in GetStagingPage() argument 127 RefPtr<JsAcePage> GetRunningPage(const shared_ptr<JsRuntime>& runtime) in GetRunningPage() argument 137 RefPtr<FrontendDelegate> GetFrontendDelegate(const shared_ptr<JsRuntime>& runtime) in GetFrontendDelegate() argument 147 GetValueAsString(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& value, std::string& str) GetValueAsString() argument 185 GetStyleFamilyValue( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& value, std::string& familyStyle) GetStyleFamilyValue() argument 230 GetStyleAnimationName(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& value, std::vector<std::unordered_map<std::string, std::string>>& styleVec) GetStyleAnimationName() argument 257 GetAttrImage( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& valObject, ImageProperties& imageProperties) GetAttrImage() argument 297 GetAttrImages( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arrayVal, std::vector<ImageProperties>& images) GetAttrImages() argument 314 SetDomAttributesWithArray(const shared_ptr<JsRuntime>& runtime, const std::string& keyStr, const shared_ptr<JsValue>& value, std::vector<std::pair<std::string, std::string>>& attrs, JsCommandDomElementOperator& command) SetDomAttributesWithArray() argument 345 SetDomAttributesWithObject(const shared_ptr<JsRuntime>& runtime, const std::string& keyStr, const shared_ptr<JsValue>& value, JsCommandDomElementOperator& command) SetDomAttributesWithObject() argument 377 SetDomAttributes( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& attrObj, JsCommandDomElementOperator& command) SetDomAttributes() argument 426 SetDomStyle( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& styleObj, JsCommandDomElementOperator& command) SetDomStyle() argument 507 AddDomEvent( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& eventObj, JsCommandDomElementOperator& command) AddDomEvent() argument 537 GetAppInfo(const shared_ptr<JsRuntime>& runtime) GetAppInfo() argument 555 Terminate(const shared_ptr<JsRuntime>& runtime) Terminate() argument 570 GetPackageInfoCallback( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& message, const std::string& callbackId) GetPackageInfoCallback() argument 605 GetPackageInfo(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) GetPackageInfo() argument 623 RequestFullWindow(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) RequestFullWindow() argument 656 SetScreenOnVisible(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) SetScreenOnVisible() argument 703 GetLocale(const shared_ptr<JsRuntime>& runtime) GetLocale() argument 717 SetLocale(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) SetLocale() argument 804 ParseRouteUrl(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& key) ParseRouteUrl() argument 819 ParseRouteUrlSpecial(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) ParseRouteUrlSpecial() argument 837 ParseRouteParams( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& key) ParseRouteParams() argument 849 ParseIntParams(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& key) ParseIntParams() argument 860 ParseRouteOverwrite(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& key) ParseRouteOverwrite() argument 871 AddListener(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) AddListener() argument 886 ShowToast(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) ShowToast() argument 922 ParseDialogButtons( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& key) ParseDialogButtons() argument 944 ShowDialog(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) ShowDialog() argument 993 SetTimer(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, bool isInterval) SetTimer() argument 1009 ClearTimeout(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) ClearTimeout() argument 1024 JsHandleAnimationFrame( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& methodName) JsHandleAnimationFrame() argument 1043 JsHandleCallback( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& methodName) JsHandleCallback() argument 1072 JsHandleAppApi( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& methodName) JsHandleAppApi() argument 1100 GetParams( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, std::map<std::string, std::string>& params) GetParams() argument 1123 GetParamsWithCallbackId(const shared_ptr<JsRuntime>& runtime, const std::vector<shared_ptr<JsValue>>& argv, std::map<std::string, std::string>& params, std::string& callbackId) GetParamsWithCallbackId() argument 1174 JsReadText(const shared_ptr<JsRuntime>& runtime, const std::vector<shared_ptr<JsValue>>& argv) JsReadText() argument 1247 JsReadArrayBuffer( const shared_ptr<JsRuntime>& runtime, const std::vector<shared_ptr<JsValue>>& argv) JsReadArrayBuffer() argument 1307 JsHandleReadResource( const shared_ptr<JsRuntime>& runtime, const std::vector<shared_ptr<JsValue>>& argv, const std::string& methodName) JsHandleReadResource() argument 1320 JsHandleOffscreenCanvas( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& methodName) JsHandleOffscreenCanvas() argument 1340 JsCallConfiguration( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& methodName) JsCallConfiguration() argument 1351 JsGetDeviceInfo(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) JsGetDeviceInfo() argument 1371 JsHandleImage(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) JsHandleImage() argument 1399 JsHandleGridLayout( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& methodName) JsHandleGridLayout() argument 1414 JsHandleMediaQuery( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& methodName) JsHandleMediaQuery() argument 1455 ShowActionMenu(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) ShowActionMenu() argument 1524 JsHandlePrompt( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& methodName) JsHandlePrompt() argument 1539 EnableAlertBeforeBackPage(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) EnableAlertBeforeBackPage() argument 1600 DisableAlertBeforeBackPage(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) DisableAlertBeforeBackPage() argument 1635 PostponePageTransition(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) PostponePageTransition() argument 1655 LaunchPageTransition(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) LaunchPageTransition() argument 1675 JsHandlePageRoute( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& methodName) JsHandlePageRoute() argument 1758 JsHandleSetTimeout( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& methodName) JsHandleSetTimeout() argument 1773 JsHandleAnimator( const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg, const std::string& methodName) JsHandleAnimator() argument 1809 JsHandleModule(const std::string& moduleName, const std::string& methodName, const shared_ptr<JsRuntime>& runtime, const std::vector<shared_ptr<JsValue>>& argv) JsHandleModule() argument 1872 JsDomCreateBody(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsDomCreateBody() argument 1897 JsDomAddElement(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsDomAddElement() argument 1945 JsRemoveElement(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsRemoveElement() argument 1975 JsUpdateElementAttrs(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsUpdateElementAttrs() argument 2009 JsUpdateElementStyles(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsUpdateElementStyles() argument 2041 JsOnCreateFinish(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsOnCreateFinish() argument 2055 JsOnUpdateFinish(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsOnUpdateFinish() argument 2071 JsCallNative(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsCallNative() argument 2106 JsCallComponent(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsCallComponent() argument 2209 GetNodeId(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& arg) GetNodeId() argument 2264 AppSetData(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) AppSetData() argument 2298 AppGetData(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) AppGetData() argument 2328 AppSetDataImage(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) AppSetDataImage() argument 2354 JsSetAttribute(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsSetAttribute() argument 2382 JsSetStyle(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsSetStyle() argument 2408 JsAppendChild(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsAppendChild() argument 2440 CreateDomElement(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) CreateDomElement() argument 2462 JsFocus(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsFocus() argument 2476 JsAnimate(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsAnimate() argument 2494 JsGetBoundingClientRect(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsGetBoundingClientRect() argument 2501 JsGetInspector(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsGetInspector() argument 2508 JsCreateElement(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsCreateElement() argument 2525 JsPerfPrint(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsPerfPrint() argument 2533 JsPerfSleep(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsPerfSleep() argument 2542 JsPerfBegin(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsPerfBegin() argument 2551 JsPerfEnd(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsPerfEnd() argument 2560 JsHiViewReport(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsHiViewReport() argument 2578 JsPluralRulesFormat(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsPluralRulesFormat() argument 2723 JsCallNativeHandler(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) JsCallNativeHandler() argument 2800 SyscapCanIUse(const shared_ptr<JsRuntime>& runtime, const shared_ptr<JsValue>& thisObj, const std::vector<shared_ptr<JsValue>>& argv, int32_t argc) SyscapCanIUse() argument 3073 auto runtime = engineInstance_->GetJsRuntime(); Initialize() local [all...] |