Home
last modified time | relevance | path

Searched refs:abcPath (Results 1 – 25 of 40) sorted by relevance

12

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/ui_extension/
H A Disolated_pattern.cpp83 …const std::string& hapPath, const std::string& abcPath, const std::string& entryPoint, void* runti… in InitializeDynamicComponent() argument
85 if (hapPath.empty() || abcPath.empty() || entryPoint.empty() || runtime == nullptr) { in InitializeDynamicComponent()
90 curIsolatedInfo_.abcPath = abcPath; in InitializeDynamicComponent()
100 auto abcPath = want.GetStringParam(ABC_PATH); in InitializeIsolatedComponent() local
103 if (resourcePath.empty() || abcPath.empty() || entryPoint.empty() || runtime == nullptr) { in InitializeIsolatedComponent()
109 curIsolatedInfo_.abcPath = abcPath; in InitializeIsolatedComponent()
286 DumpLog::GetInstance().AddDesc(std::string("abcPath: ").append(curIsolatedInfo_.abcPath)); in DumpInfo()
H A Disolated_pattern.h37 const std::string& abcPath, const std::string& entryPoint, void* runtime);
H A Dui_extension_model.h68 const std::string& abcPath, const std::string& entryPoint, void* runtime);
H A Dui_extension_model_ng.h47 const std::string& abcPath, const std::string& entryPoint, void* runtime) override;
H A Dui_extension_model_ng.cpp174 const std::string& abcPath, const std::string& entryPoint, void* runtime) in InitializeDynamicComponent() argument
178 pattern->InitializeDynamicComponent(hapPath, abcPath, entryPoint, runtime); in InitializeDynamicComponent()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/verify/
H A Dverify_util.cpp25 bool VerifyUtil::VerifyAbc(const std::string &abcPath) in VerifyAbc() argument
28 APP_LOGD("Verify %{private}s", abcPath.c_str()); in VerifyAbc()
29 return Verify(abcPath); in VerifyAbc()
H A Dverify_manager_host_impl.cpp299 for (const auto &abcPath : abcPaths) { in CheckFileParam() local
300 if (!IsValidPath(abcPath)) { in CheckFileParam()
301 APP_LOGE("CheckFile abcPath(%{public}s) failed due to invalid path", abcPath.c_str()); in CheckFileParam()
304 if (!BundleUtil::CheckFileType(abcPath, ABC_FILE_SUFFIX)) { in CheckFileParam()
305 APP_LOGE("CheckFile abcPath(%{public}s) failed due to not abc suffix", abcPath.c_str()); in CheckFileParam()
334 for (const auto &abcPath : abcPaths) { in VerifyAbc() local
335 if (!BundleUtil::IsExistFile(abcPath)) { in VerifyAbc()
336 APP_LOGE("abcPath is not exist: %{public}s", abcPath.c_str()); in VerifyAbc()
340 if (!VerifyUtil::VerifyAbc(abcPath)) { in VerifyAbc()
480 for (const auto &abcPath : paths) { in Rollback() local
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_dynamic_component.cpp96 auto abcPath = abcPathValue->ToString(); in Create() local
105 abcPath, entryPoint](napi_env env) { in Create()
109 [weak, hapPath, abcPath, entryPoint, env]() { in Create()
113 frameNode, hapPath, abcPath, entryPoint, env); in Create()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/ui_extension/
H A Disolated_pattern_test_ng.cpp126 EXPECT_TRUE(isolatedPattern->curIsolatedInfo_.abcPath.empty());
136 auto abcPath = want.GetStringParam(ABC_PATH); variable
139 isolatedPattern->curIsolatedInfo_.abcPath = abcPath;
174 EXPECT_TRUE(isolatedPattern->curIsolatedInfo_.abcPath.empty());
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-isolated-component-sys.md134 @State abcPath: string = "";
159 this.abcPath = `/abcs${getContext(this).filesDir}/${this.fileName}`;
171 "abcPath": this.abcPath,
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-container-isolated-component-sys.md113 abcPath : string = "";
133 this.abcPath = "/abcs" + getContext(this).filesDir + "/" + this.fileName;
144 "abcPath" : this.abcPath,
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/verify/
H A Dverify_util.h25 static bool VerifyAbc(const std::string &abcPath);
/ohos5.0/foundation/window/window_manager/wm/test/unittest/
H A Dwindow_session_impl_test4.cpp817 std::string abcPath = ""; variable
819 std::filesystem::path abcFile{abcPath};
825 abcPath = "/abc";
826 res = window->GetAbcContent(abcPath);
827 std::filesystem::path abcFile2{abcPath};
833 abcPath = "abc";
834 res = window->GetAbcContent(abcPath);
835 std::filesystem::path abcFile3{abcPath};
841 abcPath = "/log";
842 res = window->GetAbcContent(abcPath);
[all …]
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/pattern/
H A Dmock_ui_extension_model_ng.cpp36 const std::string& abcPath, const std::string& entryPoint, void* runtime) in InitializeDynamicComponent() argument
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.44/
H A Dchangelogs-bundlemanager.md40 3. function deleteAbc(abcPath: string): Promise\<void\>;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/common/
H A Ddynamic_component_renderer.h39 std::string abcPath; member
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_verifymanager_test/
H A Dbms_bundle_verifymanager_test.cpp392 std::string abcPath = "/data/abc.path"; variable
393 bool ret = VerifyUtil::VerifyAbc(abcPath);
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_5.0.0.44/
H A Dchangelogs-bundlemanager.md42 3. function deleteAbc(abcPath: string): Promise\<void\>;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djsi_declarative_engine.cpp1373 const std::string abcPath = delegate->GetAssetPath(fileName).append(fileName); in ExecuteAbc() local
1375 const std::string& abcPath = fileName; in ExecuteAbc() local
1377 if (!runtime->EvaluateJsCode(content.data(), content.size(), abcPath, needUpdate_)) { in ExecuteAbc()
1400 std::string abcPath; in ExecuteCardAbc() local
1411 abcPath = delegate->GetAssetPath(fileName).append(fileName); in ExecuteCardAbc()
1412 if (!runtime->EvaluateJsCode(content.data(), content.size(), abcPath)) { in ExecuteCardAbc()
1436 abcPath = fileName.substr(PREFIX_LETTER_NUMBER); in ExecuteCardAbc()
1438 abcPath = moduleName.append("/").append(fileName); in ExecuteCardAbc()
1441 if (!arkRuntime->ExecuteModuleBuffer(content.data(), content.size(), abcPath, true)) { in ExecuteCardAbc()
1454 abcPath = delegate->GetAssetPath(fileName).append(fileName); in ExecuteCardAbc()
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/preview/entrance/
H A Dui_content_impl.h52 …void InitializeDynamic(const std::string& hapPath, const std::string& abcPath, const std::string& … in InitializeDynamic() argument
/ohos5.0/docs/zh-cn/application-dev/reference/native-lib/
H A Dnapi.md773 const char* abcPath,
785 - [in] abcPath: 要运行的脚本的JavaScript路径。这是一个字符串,指定了要运行的脚本文件的位置。
/ohos5.0/foundation/window/window_manager/wm/include/
H A Dwindow_impl.h282 virtual WMError SetUIContentByAbc(const std::string& abcPath, napi_env env, napi_value storage,
437 std::shared_ptr<std::vector<uint8_t>> GetAbcContent(const std::string& abcPath);
H A Dwindow_session_impl.h85 WMError SetUIContentByAbc(const std::string& abcPath, napi_env env, napi_value storage,
473 std::shared_ptr<std::vector<uint8_t>> GetAbcContent(const std::string& abcPath);
/ohos5.0/foundation/arkui/ace_engine/interfaces/inner_api/ace/
H A Dui_content.h115 virtual void InitializeDynamic(const std::string& hapPath, const std::string& abcPath, in InitializeDynamic() argument
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/runtime/
H A Djs_runtime.cpp1129 auto func = [&](std::string modulePath, const std::string abcPath) { in RunScript() argument
1137 …return LoadScript(abcPath, safeData->GetDataPtr(), safeData->GetDataLen(), isBundle_, srcEntrance); in RunScript()
1148 return LoadScript(abcPath, &buffer, isBundle_); in RunScript()

12