Home
last modified time | relevance | path

Searched full:hsp (Results 1 – 25 of 30) sorted by relevance

12

/arkcompiler/ets_frontend/es2panda/test/compiler/bytecodehar/projects/bytecodehar-inter-app-hsp/
Dinter-app-hsp-file-exec-expected.pa.txt3 record_name: com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&
5 record_name: com.inter_app.hsp&bytecodehar/bytecodehar-static-import&
7 record_name: com.inter_app.hsp&lib2/importfile3&
9 record_name: com.inter_app.hsp&@ohos/lib2/importfile4&
10 program_file: inter-app-hsp-file-exec.ts
11 record_name: com.inter_app.hsp&myapp/inter-app-hsp-file-exec&
27 .function any com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonConst(any a0, any…
39 .function any com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonOhmurl(any a0, an…
47 .function any com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testReplacementWithAt(an…
56 lda.str @normalized:N&&com.inter_app.hsp&@ohos/lib2/importfile4&
[all …]
Drecordnames.txt4 importfile2:com.inter_app.hsp&@ohos/lib/importfile2&2.0.0
5 importfile3:com.inter_app.hsp&lib2/importfile3&
6 importfile4:com.inter_app.hsp&@ohos/lib2/importfile4&
7 inter-app-hsp-file-exec:com.inter_app.hsp&myapp/inter-app-hsp-file-exec&
DcompileContextInfo.json3 "com.inter_app.hsp&myapp/inter-app-hsp-file-exec&"
16 "bundleName": "com.inter_app.hsp"
Dinter-app-hsp-file-exec.ts16 import * as bytecodeharDynamicImport from "@normalized:N&&com.inter_app.hsp&bytecodehar/bytecodehar…
17 import * as bytecodeharStaticImport from "@normalized:N&&com.inter_app.hsp&bytecodehar/bytecodehar-…
/arkcompiler/ets_frontend/test/scripts/sdk_test/
Dconfig.yaml46 # -hsp_module: specify hsp module to build in the test.
47 # -hsp_module_path: specify hsp module path to build in the test,in form of list
58 # -hap_output_path: path of output hsp(unsigned), in form of list
59 # -hap_output_signed: path of output hsp(signed), in form of list
60 # -har_output_path: path of output hsp(har package), in form of list
64 # -hsp_modify_mode_file: path of modified file in hsp module, in form of list
101 hsp_module: hsp
102 hsp_module_path: [ hsp ]
114 hsp_output_path: [ outputs, default, hsp-default-unsigned.hsp]
115 hsp_output_path_signed: [outputs, default, hsp-default-signed.hsp]
[all …]
Dutils.py172 …# After importing Hsp, Hap needs to install the Hsp package first before installing the Hap packag…
173 …not_hsp_error_message = 'Failed to install the HAP or HSP because the dependent module does not ex…
295 'Hsp': task.hsp_module,
307 'Hsp': task.hsp_module_path,
317 "Hsp": task.hsp_output_path,
326 "Hsp": task.hsp_output_path_signed,
336 "Hsp": task.hsp_output_path_har
Dexecution.py153 with manage_module_import_and_export_handle(task, 'Hsp'):
168 …info.error_message = f'Unexpected changes have occurred.Hsp should not be packaged into module abc'
730 with manage_module_import_and_export_handle(task, 'Hsp'):
735 'Hsp', 'incremental_compile_build_entry_then_hsp')
752 with manage_module_import_and_export_handle(task, 'Hsp'):
753 … first_incremental, first_build_time = is_build_module_successful(task, is_debug, info, 'Hsp')
776 with manage_module_import_and_export_handle(task, 'Hsp'):
777 … first_incremental, first_build_time = is_build_module_successful(task, is_debug, info, 'Hsp')
1048 cmd = get_hvigor_compile_cmd(external_task, is_debug, 'Hsp')
1056 passed = validate_compile_output(info, external_task, is_debug, '', 'Hsp')
[all …]
Doptions.py206 # If it is not a stage model, this HSP module cannot be created.
/arkcompiler/ets_frontend/es2panda/util/
DcommonUtil.cpp153 …a Har package is dependent of a cross-app Hsp, its ohmurl need to contain the bundleName of this c…
155 * the compilation of cross-app Hsp.
179 * The hsp package don't compile into the current abc file. in UpdateBundleNameIfNeeded()
180 … * Ohmurl of both Har and in-app Hsp don't contain [bundle name], need to further screen out Hsp. in UpdateBundleNameIfNeeded()
/arkcompiler/ets_frontend/arkguard/
DVersion.md12 Support file name obfuscation in HAP/HSP module.
DREADME.md207 2. When compiling HSP, if the `-enable-export-obfuscation` option is used, the externally exposed i…
208 …io where HAP/HSP/HAR depends on HSP, if the `-enable-export-obfuscation` option is used during com…
211 // Code example (entry file Index.ets in HSP):
215 // obfuscation-rules.txt file configuration in HSP and modules that depend on this HSP:
DREADME-cn.md196 3. HAP/HSP/HAR依赖HSP场景下,编译时如果开启`-enable-export-obfuscation`选项,需要在模块中的混淆配置文件`obfuscation-rules.txt`中保…
/arkcompiler/runtime_core/abc2program/common/
Dabc2program_entity_container.cpp60 * Support the inter-app hsp dependents bytecode har.
63 …* hsp package. So the recordNames need to add bundleName in front when the abc-file as input for t…
64 * inter-app hsp package.
/arkcompiler/ets_frontend/arkguard/src/transformers/rename/
DRenameFileNameTransformer.ts221 * hap/hsp: @bundle:${bundleName}/${moduleName}/
223 * package name is {moduleName} in hap/hsp or {harName} in har.
315 * fixed parts in hap/hsp: @bundle:${bundleName}/${moduleName}/
317 * hsp example: @bundle:com.example.myapplication/entry/index
332 * hap/hsp: @normalized:N&<module name>&<bundle name>&<standard import path>&
/arkcompiler/ets_frontend/arkguard/test/ut/initialization/
DConfigResolver-hsp.spec.ts42 describe('hsp support consumerFiles', () => {
43 describe('hsp config resolver',() => {
252 describe('HSP Depends on Har Tests', function () {
257 it('should include only HSP consumerFiles rules in HSP obfuscation.txt', function () {
288 …it('should merge HAR and HSP consumer rules for HAP when HAP depends on localHsp and localHsp depe…
333 it('should merge both HSP and HAR consumer rules in HAR obfuscation.txt', function () {
411 …it('should merge both HSP obfuscation.txt and HAR consumer rules in HAR obfuscation.txt', function…
666 describe('remoteHSP depends on HSP Tests', function () {
720 describe('HAP depends on local and remote HAR and HSP Tests', function () {
725 …it('should contain all local and remote HAR and HSP consumer rules in final HAP config', function …
[all …]
/arkcompiler/toolchain/test/autotest/resource/
Darchive.json69 "hap name": ["HotReloadHarHsp01.hap", "HspDiscovery.hsp"],
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Djs_pandafile_manager.cpp46 * Typically return nullptr for JSPandafile load fail. Throw cppcrash if load hsp failed.
47 * Specifically, return jscrash if napi load hsp failed.
88 CString msg = "Invalid input hsp path: " + filename; in LoadJSPandaFile()
91 LOG_FULL(FATAL) << "Invalid input hsp path: " << filename; in LoadJSPandaFile()
100 CString msg = "resolveBufferCallback get hsp buffer failed, hsp path:" + filename + in LoadJSPandaFile()
/arkcompiler/ets_runtime/ecmascript/module/tests/
Decma_module_test.cpp1337 CString inputFileName = "/data/storage/el1/bundle/hsp/ets/modules.abc"; in HWTEST_F_L0()
1338 …CString outBaseFileName = "/data/storage/el1/bundle/com.example.application/hsp/hsp/ets/modules.ab… in HWTEST_F_L0()
1339 CString entryPoint = "com.example.myapplication/hsp/ets/pages/Index"; in HWTEST_F_L0()
1341 EXPECT_EQ(res, "com.example.myapplication/hsp/ets/pages/Index"); in HWTEST_F_L0()
1551 list["hsp"] = childList; in HWTEST_F_L0()
1827 CString recordName = "com.demo.application&hsp/Index&"; in HWTEST_F_L0()
1828 CString result = "com.demo.application&hsp/Test&"; in HWTEST_F_L0()
1835 recordName = "com.demo.application&hsp/src/main/ets/pages/Index&"; in HWTEST_F_L0()
1836 result = "com.demo.application&hsp/src/main/ets/Test2&"; in HWTEST_F_L0()
1843 recordName = "com.demo.application&hsp/src/main/ets/pages/Index&1.0.1"; in HWTEST_F_L0()
[all …]
/arkcompiler/runtime_core/panda_guard/obfuscate/
Dfile_path.cpp72 …/* scene 1: record that does not exist in abc, when HAP references the record in HSP, the correspo… in DeterminePathType()
/arkcompiler/ets_frontend/es2panda/aot/
DresolveDepsRelation.cpp110 // Skip external record, may happen at PatchFix or HSP scenario in Resolve()
/arkcompiler/ets_runtime/ecmascript/napi/test/
Djsnapi_third_tests.cpp1467 "hsp", in HWTEST_F_L0()
1468 "packageName", "hsp", in HWTEST_F_L0()
1475 newPkgList["hsp"] = {hspList}; in HWTEST_F_L0()
1481 EXPECT_EQ(vmPkgList["hsp"].size(), 1); in HWTEST_F_L0()
1482 EXPECT_EQ(vmPkgList["hsp"]["hsp"].size(), 12); in HWTEST_F_L0()
/arkcompiler/toolchain/test/autotest/scenario_test/
Dtest_hot_reload_01.py34 测试用例:热重载基础功能, 重载文件impact HAR, 重载文件import HSP
/arkcompiler/ets_runtime/ecmascript/module/
Dmodule_path_helper.cpp691 // Adapt dynamic import using expression input, translate include NativeModule/ohpm/hsp/har.
927 * 3. hsp or hsp/xxx/xxx
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_manager.cpp127 // collection phase. Considering external HSP dependencies, the input fileNameToChecksumMap in MergeApFiles()
/arkcompiler/ets_runtime/ecmascript/jspandafile/tests/
Djs_pandafile_test.cpp326 fileName = "/data/app/el1/bundle/public/com.xx.xx/entry.hsp/entry/ets/modules.abc"; in HWTEST_F_L0()

12