Home
last modified time | relevance | path

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

12

/arkcompiler/ets_frontend/test/scripts/sdk_test/
Dconfig.yaml44 # -har_module: specify har module to build in the test.
45 # -har_module_path: specify har module path to build in the test,in form of list
57 # -har_output_path: path of output har(har package), in form of list
60 # -har_output_path: path of output hsp(har package), in form of list
63 # -har_modify_mode_file: path of modified file in har module, in form of list
99 har_module: har
100 har_module_path: [ har ]
113 har_output_path: [outputs, default, har.har]
118 har_modify_file: [ har, Index.ets ]
128 har_module: har
[all …]
Dresult.py144 # print bytecode har compile result
145 logging.info("--bytecode har compilation result:")
147 logging.info("bytecode har test: %s", byte_task.name)
382 '[Bytecode Har Compilation]\n[Debug]\n[Compilation Time(s)]'] = debug_test_time
384 '[Bytecode Har Compilation]\n[Release]\n[Compilation Time(s)]'] = release_test_time
474 # Bytecode Har Compilation section
475 bytecode_har_compile_section, start_index = generate_content_section("Bytecode Har Compilation",
518 f'<th colspan="2">Bytecode Har Compilation Time(s)</th>' + \
Dutils.py293 'Har': task.har_module,
305 'Har': task.har_module_path,
334 "Har": task.har_output_path_har,
338 return output_path_mapping.get(module, output_path_mapping['Har'])
Dexecution.py128 with manage_module_import_and_export_handle(task, 'Har'):
143 info.error_message = f'Har was not properly packaged into module abc'
218 with manage_module_import_and_export_handle(task, 'Har'):
247 dependency_name = utils.extract_library_names(patch_lines.get('har').get('head'))
255 with manage_module_import_and_export_handle(task, 'Har'):
686 with manage_module_import_and_export_handle(task, 'Har'):
691 'Har', 'incremental_compile_build_entry_then_har')
708 with manage_module_import_and_export_handle(task, 'Har'):
709 … first_incremental, first_build_time = is_build_module_successful(task, is_debug, info, 'Har')
871 is_passed, build_time = is_build_module_successful(task, is_debug, info, 'Har')
[all …]
Doptions.py45 har = 2 variable in OutputType
/arkcompiler/ets_frontend/arkguard/test/testData/obfuscation/filename_obf/
Dmodule.json4 "type": "har",
/arkcompiler/ets_frontend/arkguard/
DREADME.md62 The files in the property `ruleOptions.files` will be applied when you build HAP or HAR.
65 …pends on this library. They will also be merged into a file `obfuscation.txt` in the resulting HAR.
67 When you are building HAP or HAR, the final obfucation rules are combination of self's `ruleOptions…
68 property, dependent libraries' `consumerFiles` properties and dependent HAR's `obfuscation.txt`.
69 If you are building HAR, the content of `obfuscation.txt` is the combination of self's `consumerFil…
70 dependent libraries' `consumerFiles` properties and dependent HAR's `obfuscation.txt`. If you are b…
100 Specifies to disable all obfuscations. If you use this option, the resulting HAP or HAR will not be…
200 * The names and property names of classes or objects exported in remote HAR (packages with real pat…
208 3. In the scenario where HAP/HSP/HAR depends on HSP, if the `-enable-export-obfuscation` option is …
383 If your are building HAR with this option, then the kept names will be merged into the resulting `o…
[all …]
/arkcompiler/ets_frontend/es2panda/util/
DcommonUtil.cpp153 …* If a Har package is dependent of a cross-app Hsp, its ohmurl need to contain the bundleName of t…
154 …* Since Har's ohmurl doesn't contain bundleName during its own compilation, the bundleName need to…
172 …* If an ohmurl already contains [bundle name], it means its not from a Har, so there's no need to … 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/test/sdk_test_projects/bytecodehar_out_project/out_har/src/main/
Dmodule.json519 "type": "har",
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_increace_compile/library/
DIndex.ets18 console.log("this is source har");
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_increace_compile/bytecodehar/src/main/
Dmodule.json519 "type": "har",
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_increace_compile/library/src/main/
Dmodule.json519 "type": "har",
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_increace_compile/bytecodehar/
Doh-package.json524 "library": "file:./library.har"
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_out_project/out_har/
DIndex.ets18 console.log('this is test har of out project')
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_increace_compile/entry/
Doh-package.json524 "bytecodehar": "file:./bytecodehar.har",
/arkcompiler/ets_frontend/test/sdk_test_projects/bytecodehar_out_project/out_hsp/
Doh-package.json526 "out_har": "file:./out_har.har"
/arkcompiler/ets_frontend/arkguard/src/transformers/rename/
DRenameFileNameTransformer.ts200 // Only hap and local har need be mangled.
222 * har: @bundle:${bundleName}/${moduleName}@${harName}/
223 * package name is {moduleName} in hap/hsp or {harName} in har.
316 * fixed parts in har: @bundle:${bundleName}/${moduleName}@${harName}/
318 * har example: @bundle:com.example.myapplication/entry@library_test/index
333 * har: @normalized:N&&<bundle name>&<standard import path>&<version>
/arkcompiler/ets_runtime/ecmascript/module/tests/
Decma_module_test.cpp816 entryList["har"] = { in HWTEST_F_L0()
817 "packageName", "har", in HWTEST_F_L0()
1069 entryList["har"] = { in HWTEST_F_L0()
1070 "packageName", "har", in HWTEST_F_L0()
1327 CString pkgName = "har"; in HWTEST_F_L0()
1331 CString exceptOutFileName = "@normalized:N&&&har/Index&1.0.0"; in HWTEST_F_L0()
1349 CString entryPoint = "com.example.myapplication/entry@har/ets/pages/Index"; in HWTEST_F_L0()
1351 EXPECT_EQ(res, "com.example.myapplication/entry@har/ets/pages/Index"); in HWTEST_F_L0()
1355 list["har"] = ""; in HWTEST_F_L0()
1359 entryPoint = "com.example.myapplication/entry@har/ets/pages/Index"; in HWTEST_F_L0()
[all …]
/arkcompiler/ets_frontend/arkguard/test/ut/initialization/
DConfigResolver-hsp.spec.ts252 describe('HSP Depends on Har Tests', 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 () {
361 …it('should merge HAR consumer rules for HAP when HAP depends on localHar and localHar depends on l…
411 …it('should merge both HSP obfuscation.txt and HAR consumer rules in HAR obfuscation.txt', function…
439 …it('should merge HAR consumer rules for HAP when HAP depends on localHar and localHar depends on r…
489 …it('should retain HAR consumer rules for HAP when HAP depends on remoteHar and remoteHar depends o…
538 …it('should retain HAR consumer rules for HAP when HAP depends on remoteHar and remoteHar depends o…
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/runtime_core/panda_guard/obfuscate/
Dfile_path.h60 bool isRemoteFile_ = false; // Remote har && External dependence
/arkcompiler/runtime_core/abc2program/common/
Dabc2program_entity_container.cpp60 * Support the inter-app hsp dependents bytecode har.
/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.
926 * 2. har or har/xxx/xxx
Dmodule_path_helper.h39 * @namespace: needs to add when import local har or ohosTest import entry file.
/arkcompiler/ets_frontend/arkguard/src/utils/
DOhsUtil.ts90 * Add enum elements into whitelist when compiling har module to avoid obfuscating enum elements

12