Home
last modified time | relevance | path

Searched refs:deviceType (Results 1 – 22 of 22) sorted by relevance

/developtools/ace_ets2bundle/compiler/src/fast_build/system_api/
Dapi_check_utils.ts30 config.deviceTypes.forEach((deviceType: string) => {
31 collectOhSyscapInfos(deviceType, deviceDir, deviceInfoMap);
61 function collectOhSyscapInfos(deviceType: string, deviceDir: string, deviceInfoMap: Map<string, str…
63 if (deviceType === 'phone') {
66 syscapFilePath = path.resolve(deviceDir, deviceType + '.json');
70 if (deviceInfoMap.get(deviceType)) {
71 deviceInfoMap.set(deviceType, deviceInfoMap.get(deviceType).concat(content['SysCaps']));
73 deviceInfoMap.set(deviceType, content['SysCaps']);
91 deviceTypes.forEach((deviceType: string) => {
95 if (fileName.startsWith(deviceType)) {
[all …]
/developtools/packing_tool/adapter/ohos/
DUncompressEntrance.java140 …public static boolean unpack(String appPath, String outPath, String deviceType, boolean unpackApk)… in unpack() argument
154 utility.setDeviceType(deviceType == null ? "" : deviceType); in unpack()
228 …public static UncompressResult parseApp(String appPath, String parseMode, String deviceType, Strin… in parseApp() argument
235 utility.setDeviceType(deviceType == null ? "" : deviceType); in parseApp()
269 …public static UncompressResult parseApp(InputStream input, String parseMode, String deviceType, St… in parseApp() argument
283 utility.setDeviceType(deviceType == null ? "" : deviceType); in parseApp()
DHapVerifyInfo.java70 private List<String> deviceType = new ArrayList<>(); field in HapVerifyInfo
262 return deviceType; in getDeviceType()
268 public void setDeviceType(List<String> deviceType) { in setDeviceType() argument
269 this.deviceType = deviceType; in setDeviceType()
DUncompress.java309 …private static UncompressResult uncompressHapFromAppStream(String deviceType, InputStream stream, … in uncompressHapFromAppStream() argument
395 …static UncompressResult uncompressHapByPath(String deviceType, String hapPath) throws BundleExcept… in uncompressHapByPath() argument
399 compressResult = unCompressModuleHap(deviceType, hapPath, MODULE_JSON); in uncompressHapByPath()
401 compressResult = uncompress(deviceType, hapPath, HARMONY_PROFILE); in uncompressHapByPath()
437 static UncompressResult uncompressHapByStream(String deviceType, InputStream stream, in uncompressHapByStream() argument
440 compressResult = uncompressHapByBigStream(deviceType, stream, hapName); in uncompressHapByStream()
444 …static UncompressResult uncompressHapByBigStream(String deviceType, InputStream stream, String hap… in uncompressHapByBigStream() argument
462 … compressResult = uncompressModuleHapByInput(deviceType, parseStream, MODULE_JSON, hapName); in uncompressHapByBigStream()
464 … compressResult = uncompressByInput(deviceType, parseStream, HARMONY_PROFILE, hapName); in uncompressHapByBigStream()
750 private static UncompressResult uncompress(String deviceType, String srcPath, String fileName) in uncompress() argument
[all …]
DPackInfo.java44 public List<String> deviceType = new ArrayList<String>(); field in PackInfo
DUtility.java75 private String deviceType = ""; field in Utility
457 return deviceType; in getDeviceType()
460 public void setDeviceType(String deviceType) { in setDeviceType() argument
461 if (!deviceType.startsWith(CMD_PREFIX)) { in setDeviceType()
462 this.deviceType = deviceType; in setDeviceType()
DHapInfo.java88 public List<String> deviceType = new ArrayList<String>(); field in HapInfo
DResourcesParser.java120 for (DeviceType deviceType : DeviceType.values()) { in getType()
121 if (deviceType.getIndex() == index) { in getType()
122 return deviceType.type; in getType()
DJsonUtil.java169 … static List<PackInfo> parseHapList(String deviceType, String jsonString) throws BundleException { in parseHapList() argument
189 deviceType.toLowerCase(Locale.ENGLISH))) { in parseHapList()
196 packInfo.deviceType = JSONArray.parseArray(deviceTypes, String.class); in parseHapList()
285 hapInfo.deviceType = JSONArray.parseArray(deviceTypes in parseDeviceTypeToHapInfo()
324 …profileInfo.deviceConfig = parseDeviceConfigInfo(deviceConfigJson, profileInfo.hapInfo.deviceType); in parseProfileInfo()
531 for (String deviceType : deviceTypes) { in parseDeviceConfigInfo()
532 getTargetDeviceConfig(deviceConfigs, deviceConfigInfoJson, defaultConfig, deviceType); in parseDeviceConfigInfo()
658 hapInfo.deviceType = JSONArray.parseArray(getJsonString(hapJson, "deviceType") in parseHapInfo()
DModuleAdaption.java145 hapInfo.deviceType = moduleInfo.deviceTypes; in convertToHapInfo()
DCompressor.java1697 …String deviceType = thirdLevelDirectoryName.substring(forthDelimiterIndex + 1, fifthDelimiterIndex… in isThirdLevelDirectoryNameValid() local
1698 if (!checkOrientation(orientation) || !checkDeviceType(deviceType)) { in isThirdLevelDirectoryNameValid()
1757 private boolean checkDeviceType(String deviceType) { in checkDeviceType() argument
1758 if (!Pattern.compile(REGEX_DEVICE_TYPE).matcher(deviceType).matches()) { in checkDeviceType()
1759 LOG.error("Compressor::compressProcess deviceType " + deviceType + in checkDeviceType()
DModuleJsonUtil.java996 List<String> deviceType = new ArrayList<>(); in parseDeviceType() local
1003 return deviceType; in parseDeviceType()
/developtools/ace_ets2bundle/compiler/test/ark_compiler_ut/mock/rollup_mock/
Dproject_config.ts97 deviceType?: string;
168 this.deviceType = DEVICE_TYPE;
/developtools/ace_js2bundle/ace-loader/plugin/templater/
Dlite_component_map.js311 function select(deviceType) { argument
316 return tag[deviceType];
/developtools/smartperf_host/ide/test/trace/component/setting/utils/
DPluginConvertUtils.test.ts67 deviceType: Type.HI3516,
/developtools/ace_js2bundle/ace-loader/
Dwebpack.lite.config.js197 if (env.deviceType) {
198 const deviceArr = env.deviceType.split(/,/);
Dwebpack.rich.config.js250 if (env.deviceType) {
251 let deviceArr = env.deviceType.split(/,/)
/developtools/profiler/host/smartperf/client/client_command/
Dstartup_delay.cpp184 std::string deviceType = cmdResult.substr(splitFlag + 1); in GetDeviceType() local
185 return deviceType; in GetDeviceType()
Dcontrol_call_cmd.cpp281 std::string deviceType = sd.GetDeviceType(); in StartResponse() local
328 std::string deviceType = sd.GetDeviceType(); in ColdStart() local
363 std::string deviceType = sd.GetDeviceType(); in HotStart() local
/developtools/packing_tool/
DREADME_zh.md318 | UncompressEntrance | UncomperssResult parseApp(String appPath,String parseMode,String deviceType,…
319 … | UncomperssResult parseApp(InputStream input,String parseMode,String deviceType,String hapName,S…
344 | deviceType | List\<String> | 表示当前hap包所支持的设备类型 | NA |
402 | deviceType | List\<String> | 标识hap可以运行在哪类设备上 | …
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerEnergyState.ts137 deviceType: number | undefined; property in EnergyStateStruct
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/profiler/
DProfilerTask.ets166 tGeneralInfo.deviceTypeName = deviceInfo.deviceType