Home
last modified time | relevance | path

Searched refs:deviceType (Results 1 - 17 of 17) sorted by relevance

/developtools/packing_tool/adapter/ohos/
H A DUncompressEntrance.java134 * @param deviceType Indicates the device type supported by the haps.If this parameter is null, all the haps will
140 public static boolean unpack(String appPath, String outPath, String deviceType, boolean unpackApk) { in unpack() argument
154 utility.setDeviceType(deviceType == null ? "" : deviceType); in unpack()
220 * @param deviceType Indicates the device type supported by the haps, This parameter is required
228 public static UncompressResult parseApp(String appPath, String parseMode, String deviceType, String hapName, in parseApp() argument
235 utility.setDeviceType(deviceType == null ? "" : deviceType); in parseApp()
261 * @param deviceType Indicates the device type supported by the haps, This parameter is required
269 public static UncompressResult parseApp(InputStream input, String parseMode, String deviceType, Strin argument
[all...]
H A DHapVerifyInfo.java69 * Indicates the deviceType of module.
71 private List<String> deviceType = new ArrayList<>(); field in HapVerifyInfo
264 * get deviceType from HapVerifyInfo.
267 return deviceType; in getDeviceType()
271 * set deviceType for HapVerifyInfo.
273 public void setDeviceType(List<String> deviceType) { in setDeviceType() argument
274 this.deviceType = deviceType; in setDeviceType()
H A DPackInfo.java42 * Indicates the deviceType of PackInfo.
44 public List<String> deviceType = new ArrayList<String>(); field in PackInfo
H A DUncompress.java314 private static UncompressResult uncompressHapFromAppStream(String deviceType, InputStream stream, String fileName) in uncompressHapFromAppStream() argument
403 * @param deviceType indicates the device type of parse type.
407 static UncompressResult uncompressHapByPath(String deviceType, String hapPath) throws BundleException { in uncompressHapByPath() argument
411 compressResult = unCompressModuleHap(deviceType, hapPath, MODULE_JSON); in uncompressHapByPath()
413 compressResult = uncompress(deviceType, hapPath, HARMONY_PROFILE); in uncompressHapByPath()
445 * @param deviceType indicates the device type of parse type.
449 static UncompressResult uncompressHapByStream(String deviceType, InputStream stream, in uncompressHapByStream() argument
452 compressResult = uncompressHapByBigStream(deviceType, stream, hapName); in uncompressHapByStream()
456 static UncompressResult uncompressHapByBigStream(String deviceType, InputStream stream, String hapName) in uncompressHapByBigStream() argument
474 compressResult = uncompressModuleHapByInput(deviceType, parseStrea in uncompressHapByBigStream()
763 uncompress(String deviceType, String srcPath, String fileName) uncompress() argument
785 uncompressPackInfo(String deviceType, HapZipInfo hapZipInfo, UncompressResult uncomperssResult) uncompressPackInfo() argument
863 uncompressByInput(String deviceType, InputStream input, String fileName, String hapName) uncompressByInput() argument
890 uncompressModuleByInput(String deviceType, InputStream input, String fileName, String hapName) uncompressModuleByInput() argument
1346 uncompressModule(String deviceType, String srcPath, String fileName) uncompressModule() argument
1374 unCompressModuleHap(String deviceType, String srcPath, String fileName) unCompressModuleHap() argument
1425 uncompressModuleHapByInput(String deviceType, InputStream input, String fileName, String hapName) uncompressModuleHapByInput() argument
[all...]
H A DUtility.java79 private String deviceType = ""; field in Utility
475 return deviceType; in getDeviceType()
478 public void setDeviceType(String deviceType) { in setDeviceType() argument
479 if (!deviceType.startsWith(CMD_PREFIX)) { in setDeviceType()
480 this.deviceType = deviceType; in setDeviceType()
H A DHapInfo.java86 * Indicates the deviceType of HapInfo.
88 public List<String> deviceType = new ArrayList<String>(); field in HapInfo
H A DResourcesParser.java120 for (DeviceType deviceType : DeviceType.values()) { in getType()
121 if (deviceType.getIndex() == index) { in getType()
122 return deviceType.type; in getType()
H A DJsonUtil.java40 private static final String DEVICE_TYPE_NEW = "deviceType";
169 * @param deviceType target deviceType
174 static List<PackInfo> parseHapList(String deviceType, String jsonString) throws BundleException { in parseHapList() argument
194 deviceType.toLowerCase(Locale.ENGLISH))) { in parseHapList()
201 packInfo.deviceType = JSONArray.parseArray(deviceTypes, String.class); in parseHapList()
290 hapInfo.deviceType = JSONArray.parseArray(deviceTypes in parseDeviceTypeToHapInfo()
329 profileInfo.deviceConfig = parseDeviceConfigInfo(deviceConfigJson, profileInfo.hapInfo.deviceType); in parseProfileInfo()
484 * parse deviceType
488 * @param deviceName the device name in deviceType arra
[all...]
H A DModuleAdaption.java147 hapInfo.deviceType = moduleInfo.deviceTypes; in convertToHapInfo()
H A DCompressor.java103 private static final String DEVICE_TYPE = "deviceType";
1953 String deviceType = thirdLevelDirectoryName.substring(forthDelimiterIndex + 1, fifthDelimiterIndex); in isThirdLevelDirectoryNameValid()
1954 if (!checkOrientation(orientation) || !checkDeviceType(deviceType)) { in isThirdLevelDirectoryNameValid()
2013 private boolean checkDeviceType(String deviceType) { in checkDeviceType() argument
2014 if (!Pattern.compile(REGEX_DEVICE_TYPE).matcher(deviceType).matches()) { in checkDeviceType()
2015 LOG.error("Compressor::compressProcess deviceType " + deviceType + in checkDeviceType()
H A DModuleJsonUtil.java65 private static final String DEVICE_TYPE = "deviceType";
848 * get deviceType from fa module.
863 * get deviceType from stage module.
1061 * get deviceType from json file.
1066 List<String> deviceType = new ArrayList<>(); in parseDeviceType()
1073 return deviceType; in parseDeviceType()
/developtools/ace_js2bundle/ace-loader/plugin/templater/
H A Dlite_component_map.js308 * @param {String} deviceType device type.
311 function select(deviceType) {
316 return tag[deviceType];
/developtools/packing_tool/packing_tool/frameworks/src/
H A Dhsp_packager.cpp331 std::string deviceType; in CompressHspModePartThird() local
333 deviceType = deviceTypes_.front(); in CompressHspModePartThird()
335 if (Constants::DEVICE_TYPE_FITNESSWATCH == deviceType || in CompressHspModePartThird()
336 Constants::DEVICE_TYPE_FITNESSWATCH_NEW == deviceType) { in CompressHspModePartThird()
H A Dhap_packager.cpp548 std::string deviceType; in AddResFileAndDirLsitToZip() local
550 deviceType = deviceTypes_.front(); in AddResFileAndDirLsitToZip()
552 if (Constants::DEVICE_TYPE_FITNESSWATCH == deviceType || in AddResFileAndDirLsitToZip()
553 Constants::DEVICE_TYPE_FITNESSWATCH_NEW == deviceType) { in AddResFileAndDirLsitToZip()
/developtools/ace_js2bundle/ace-loader/
H A Dwebpack.lite.config.js205 if (env.deviceType) {
206 const deviceArr = env.deviceType.split(/,/);
H A Dwebpack.rich.config.js259 if (env.deviceType) {
260 let deviceArr = env.deviceType.split(/,/)
/developtools/packing_tool/packing_tool/frameworks/src/json/
H A Dhap_verify_utils.cpp187 LOGE("Module: (%s) and Module: (%s) have the same %s, please check deviceType or distroFilter of the module.", in ShowCheckTips()
189 LOGE("Module: %s has deviceType %s.", hapVerifyInfo1.GetModuleName().c_str(), in ShowCheckTips()
191 LOGE("Another Module: %s has deviceType %s.", hapVerifyInfo2.GetModuleName().c_str(), in ShowCheckTips()
759 const std::string& deviceType = iter->first; in CheckAtomicServiceIsValid() local
762 LOGE("CheckAtomicServicePreloadsIsValid failed on device %s.", deviceType.c_str()); in CheckAtomicServiceIsValid()
782 for (auto& deviceType : deviceTypes) { in GetDeviceHapVerifyInfoMap()
783 if (deviceInfosMap.count(deviceType) <= 0) { in GetDeviceHapVerifyInfoMap()
786 deviceInfosMap.insert(std::make_pair(deviceType, deviceInfos)); in GetDeviceHapVerifyInfoMap()
788 deviceInfosMap[deviceType].push_back(hapVerifyInfo); in GetDeviceHapVerifyInfoMap()
878 const std::string& deviceType in CheckFileSizeIsValid() local
[all...]

Completed in 21 milliseconds