Home
last modified time | relevance | path

Searched refs:getName (Results 1 – 15 of 15) sorted by relevance

/developtools/packing_tool/adapter/ohos/
DCompressVerify.java121 if (!RPCID_PROFILE.equals(file.getName())) { in isValidRpcid()
136 if (!PACK_INFO.equals(file.getName())) { in isValidPackInfo()
167 if (!file.isFile() || !PROFILE_NAME.equals(file.getName())) { in isVerifyValidInHapCommonMode()
201 … if (!utility.getIndexPath().isEmpty() && !file.isFile() && INDEX_PROFILE.equals(file.getName())) { in isVerifyValidInHapMode()
362 if (!file.isFile() || !PACK_INFO.equals(file.getName())) { in isVerifyValidInAppMode()
427 if (!outFile.getName().toLowerCase(Locale.ENGLISH).endsWith(APP_SUFFIX)) { in isVerifyValidInMultiAppMode()
481 LOG.error(outFile.getName() + " already exist."); in isVerifyValidInHQFMode()
505 if (!outFile.getName().toLowerCase(Locale.ENGLISH).endsWith(APPQF_SUFFIX)) { in isVerifyValidInAPPQFMode()
530 if (fileItem.getName().toLowerCase(Locale.ENGLISH).endsWith(suffix)) { in compatibleProcess()
577 if (!outFile.getName().toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX)) { in isOutPathValid()
[all …]
DUncompress.java219 if (!hapName.equals(entry.getName().toLowerCase(Locale.ENGLISH))) { in uncompressHapAndHspFromAppPath()
250 if (PACK_INFO.equals(entry.getName().toLowerCase(Locale.ENGLISH))) { in uncompressAllAppByPath()
257 if (entry.getName().toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX) in uncompressAllAppByPath()
258 || entry.getName().toLowerCase(Locale.ENGLISH).endsWith(HSP_SUFFIX)) { in uncompressAllAppByPath()
259 UncompressResult hapInfo = uncompressHapByStream("", stream, entry.getName()); in uncompressAllAppByPath()
322 if (appEntry.getName().toLowerCase(Locale.ENGLISH).equals(hapFile)) { in uncompressHapFromAppStream()
323 result = uncompressHapByStream("", zipInputStream, appEntry.getName()); in uncompressHapFromAppStream()
342 if (PACK_INFO.equals(entry.getName().toLowerCase(Locale.ENGLISH))) { in uncompressAllFromAppStream()
350 if (entry.getName().toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX) in uncompressAllFromAppStream()
351 || entry.getName().toLowerCase(Locale.ENGLISH).endsWith(HSP_SUFFIX)) { in uncompressAllFromAppStream()
[all …]
DUncompressVerify.java81 if (!file.isFile() || !file.getName().toLowerCase(Locale.ENGLISH).endsWith(HAP_SUFFIX)) { in hapCommandVerify()
100 if (!file.isFile() || !file.getName().toLowerCase(Locale.ENGLISH).endsWith(HSP_SUFFIX)) { in hspCommandVerify()
131 if (!file.isFile() || !file.getName().toLowerCase(Locale.ENGLISH).endsWith(HAR_SUFFIX)) { in harCommandVerify()
159 if (!file.isFile() || !file.getName().toLowerCase(Locale.ENGLISH).endsWith(APP_SUFFIX)) { in appCommandVerify()
176 if (!file.isFile() || !file.getName().toLowerCase(Locale.ENGLISH).endsWith(APPQF_SUFFIX)) { in appqfVerify()
220 … if (isFile && (file.isFile()) && file.getName().toLowerCase(Locale.ENGLISH).endsWith(flag)) { in isPathValid()
DCompressor.java236 if ((file.isFile()) && MODULE_JSON.equals(file.getName())) { in isModuleJSON()
741 … String baseDir = new File(utility.getFormatedDirList().get(i)).getName() + File.separator; in compressHapMode()
826 … String baseDir = new File(utility.getFormatedDirList().get(i)).getName() + File.separator; in compressHapModeForModule()
941 String hapTempPath = tempDir + File.separator + hapFile.getName(); in compressAppMode()
957 String hspTempPath = hspTempDir + File.separator + hspFile.getName(); in compressAppMode()
1032 String hapTempPath = tempHapDir.getPath() + File.separator + hapFile.getName(); in compressAppModeForMultiProject()
1136 … if (!zipEntry.getName().endsWith(HAP_SUFFIX) && !zipEntry.getName().endsWith(HSP_SUFFIX)) { in copyHapAndHspFromApp()
1140 if (selectedHaps.contains(zipEntry.getName())) { in copyHapAndHspFromApp()
1141 … LOG.error("Compressor::copyHapFromApp file duplicated, file is " + zipEntry.getName() + "."); in copyHapAndHspFromApp()
1143 + zipEntry.getName() + "."); in copyHapAndHspFromApp()
[all …]
DFileUtils.java221 String filePath = destDir + File.separator + entry.getName(); in unzip()
401 if (entry.getName().toLowerCase().equals(jsonName)) { in getJsonInZips()
439 if (entry.getName().contains(RESOURCE_PATH)) { in getProfileJson()
440 String filePath = entry.getName(); in getProfileJson()
538 String filePath = destDirPath + File.separator + entry.getName(); in unzipFile()
DBinaryTool.java135 String name = f.getName(); in writeFileInfo()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/sign/
DSignHap.java90 String entryName = inEntry.getName(); in copyFiles()
104 offset += outEntry.getName().length(); in copyFiles()
106 …int alignment = getStoredEntryDataAlignment(inEntry.getName(), defaultAlignment, lastAlignmentEntr… in copyFiles()
143 String name1 = entry1.getName(); in storedEntryListOfSort()
144 String name2 = entry2.getName(); in storedEntryListOfSort()
162 currentOffset += outEntry.getName().length(); in getFirstJarEntry()
227 JarEntry outEntry = new JarEntry(inEntry.getName()); in copyFilesExceptStoredFile()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/verify/
DHapVerify.java150 if (!crl.getIssuerDN().getName().equals(cert.getIssuerDN().getName())) { in checkCRL()
156 cert.getSubjectDN().getName(), crl.getIssuerDN().getName()); in checkCRL()
182 if (!crl.getIssuerDN().getName().equals(cert.getSubjectDN().getName())) { in verifyCRL()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/signer/
DSignerFactory.java105 String implClassName = properties.getProperty(ISigner.class.getName()); in loadRemoteSigner()
107 LOGGER.warn("can not find {} in signer.properties", ISigner.class.getName()); in loadRemoteSigner()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/sign/
DCodeSigning.java264 if (!isNativeFile(entry.getName())) { in getNativeEntriesFromHap()
267 result.add(entry.getName()); in getNativeEntriesFromHap()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/utils/
DFileUtils.java284 String fileName = file.getName(); in getSuffix()
/developtools/ace_ets2bundle/compiler/src/
Dets_checker.ts51 import { getName } from './process_component_build';
804 let parentComponentName: string = getName(node);
Dprocess_ui_syntax.ts107 getName,
381 const componentName: string = getName(node.initializer);
Dprocess_component_build.ts326 const name: string = getName(item);
2535 export function getName(node: ts.ExpressionStatement | ts.Expression): string { function
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/hap/provider/
DSignProvider.java418 String[] fileNameArray = output.getName().split("\\."); in getFileSuffix()