Home
last modified time | relevance | path

Searched refs:moduleType (Results 1 – 23 of 23) sorted by relevance

/developtools/ace_ets2bundle/compiler/src/fast_build/system_api/
Drollup-plugin-system-api.ts90 const moduleType: string = item2 || item5; constant
93 const systemModule: string = `${moduleType}.${systemKey}`;
96 const externalModuleParam: string = isExtendModuleType(moduleType) &&
97 moduleType !== ARKUI_X_PLUGIN ? `, false, '', '${moduleType}'` : ``;
99 … item = `var ${systemValue} = ${GLOBAL_THIS_REQUIRE_NATIVE_MODULE}('${moduleType}.${systemKey}')`;
100 } else if (checkModuleType(moduleType)) {
112 function isExtendModuleType(moduleType: string): boolean {
115 if (config.prefix === `@${moduleType}`) {
122 function checkModuleType(moduleType: string): boolean {
125 if (config.prefix === `@${moduleType}`) {
/developtools/global_resource_tool/src/
Dresource_merge.cpp53 ConfigParser::ModuleType moduleType = ConfigParser::ModuleType::NONE; in Init() local
55 inputTypes[moduleType].push_back(resourceDir); in Init()
62 moduleType = configParser.GetModuleType(); in Init()
63 inputTypes[moduleType].push_back(resourceDir); in Init()
/developtools/packing_tool/adapter/ohos/
DHapVerifyInfo.java80 private String moduleType = ""; field in HapVerifyInfo
290 return moduleType; in getModuleType()
296 public void setModuleType(String moduleType) { in setModuleType() argument
297 this.moduleType = moduleType; in setModuleType()
DDistro.java31 public String moduleType = ""; field in Distro
DPackInfo.java39 public String moduleType = ""; field in PackInfo
DModuleAdaption.java136 hapInfo.distro.moduleType = moduleInfo.type; in convertToHapInfo()
DJsonUtil.java192 packInfo.moduleType = getJsonString(tmpObj, MODULE_TYPE); in parseHapList()
193 if (packInfo.moduleType == null || EMPTY.equals(packInfo.moduleType)) { in parseHapList()
194 packInfo.moduleType = getJsonString(tmpObj, MODULE_TYPE_NEW); in parseHapList()
740 distro.moduleType = getJsonString(distroObj, "moduleType"); in getDistro()
DCompressor.java335 String moduleType = ModuleJsonUtil.parseModuleType(jsonString); in compressHsp() local
336 if (!TYPE_SHARED.equals(moduleType)) { in compressHsp()
359 String moduleType = ModuleJsonUtil.parseModuleType(jsonString); in compressHap() local
360 if (TYPE_SHARED.equals(moduleType)) { in compressHap()
DUncompress.java1217 String moduleType = distro.moduleType; in obtainLabelAndIcon() local
1218 if (ENTRY_TYPE.equals(moduleType.toLowerCase(Locale.ENGLISH))) { in obtainLabelAndIcon()
DModuleJsonUtil.java873 String moduleType = distroObj.getString(MODULE_TYPE); in parseFaEntry() local
874 if (ENTRY.equals(moduleType)) { in parseFaEntry()
/developtools/ace_ets2bundle/compiler/src/
Dgen_module_abc.ts40 const moduleType: string = info.isCommonJs ? 'commonjs' : 'esm'; constant
42 …`${info.tempFilePath};${info.recordName};${moduleType};${toUnixPath(info.sourceFile)};${info.packa…
Dgen_merged_abc.ts63 const moduleType: string = info.isCommonJs ? 'commonjs' : 'esm'; constant
65 …filesInfo += `${info.tempFilePath};${info.recordName};${moduleType};${toUnixPath(sourceFile)};${in…
Dvalidate_ui_syntax.ts989 function replaceSystemApi(item: string, systemValue: string, moduleType: string, systemKey: string)…
991 if (NATIVE_MODULE.has(`${moduleType}.${systemKey}`)) {
992 item = `var ${systemValue} = globalThis.requireNativeModule('${moduleType}.${systemKey}')`;
993 } else if (moduleType === SYSTEM_PLUGIN || moduleType === OHOS_PLUGIN) {
1042 const moduleType: string = urlResult ? 'system' : 'ohos'; constant
1044 item = replaceSystemApi(item, importValue, moduleType, systemKey);
1210 function validateAllowListModule(moduleType: string, systemKey: string): boolean {
1211 return moduleType === 'ohos' && VALIDATE_MODULE_REG.test(systemKey);
Dark_utils.ts163 return moduleRequest.replace(REG_SYSTEM_MODULE, (_, moduleType, systemKey) => {
164 const systemModule: string = `${moduleType}.${systemKey}`;
Dgen_abc_plugin.ts1260 const moduleType: string = 'script'; constant
1263 filesInfo += `${cacheOutputPath};${recordName};${moduleType};${sourceFile};${abcFilePath}\n`;
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/common/
Dgen_abc.ts58 const moduleType: string = info.isCommonJs ? COMMONJS : ESM; constant
59 …content += `${info.cacheFilePath};${info.recordName};${moduleType};${info.sourceFile};${info.packa…
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/entity/
DDatabaseEntity.ets20 public moduleType: String
24 constructor(moduleType: String, timeStamp: number, values: Map<String, String>) {
25 this.moduleType = moduleType;
38 "module='" + this.moduleType + '\'' +
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/base/
DBaseProfilerUtils.ets25 export function createGPData(moduleType: string, values: Map<String, String>): GPData {
27 return new GPData(moduleType, now.getTime(), values)
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/bundle/
Dbundle_mode.ts181 const moduleType: string = 'script'; constant
184 filesInfo += `${cacheFilePath};${recordName};${moduleType};${sourceFile};${abcFilePath}\n`;
/developtools/ace_ets2bundle/compiler/src/fast_build/ark_compiler/module/
Dmodule_mode.ts350 const moduleType: string = info.isCommonJs ? COMMONJS : ESM; constant
351 …filesInfo += `${info.cacheFilePath};${info.recordName};${moduleType};${info.sourceFile};${info.pac…
/developtools/packing_tool/
DREADME_zh.md324 | moduleType | String | module的类型 | NA |
447 | moduleType | String | 标识当前hap的类型 | 对应Stage模型中module结构体中的moduleTyp…
/developtools/ace_js2bundle/ace-loader/src/
DgenAbc-plugin.js631 const moduleType = 'script';
634 filesInfo += `${cacheOutputPath};${recordName};${moduleType};${sourceFile};${abcFilePath}\n`;
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/database/
DDatabaseUtils.ts305 switch (curGPData.moduleType) {