Home
last modified time | relevance | path

Searched defs:zipFile (Results 1 – 25 of 29) sorted by relevance

12

/tools/tradefederation/core/common_util/com/android/tradefed/util/
DZipUtil2.java61 public static void extractZip(ZipFile zipFile, File destDir) throws IOException { in extractZip()
97 public static void extractZip(File zipFile, File destDir) throws IOException { in extractZip()
111 public static File extractFileFromZip(ZipFile zipFile, String filePath) throws IOException { in extractFileFromZip()
130 public static File extractZipToTemp(File zipFile, String nameHint) throws IOException { in extractZipToTemp()
147 public static void closeZip(ZipFile zipFile) { in closeZip()
DZipUtil.java72 public static boolean isZipFileValid(File zipFile, boolean thorough) throws IOException { in isZipFileValid()
105 public static void extractZip(ZipFile zipFile, File destDir) throws IOException { in extractZip()
128 public static File extractFileFromZip(ZipFile zipFile, String filePath) throws IOException { in extractFileFromZip()
161 File zipFile = FileUtil.createTempFile(name, ZIP_EXTENSION); in createZip() local
174 public static void createZip(File dir, File zipFile) throws IOException { in createZip()
211 File zipFile = FileUtil.createTempFile(name, ZIP_EXTENSION); in createZip() local
223 public static void createZip(List<File> files, File zipFile) throws IOException { in createZip()
282 public static void closeZip(ZipFile zipFile) { in closeZip()
355 public static File extractZipToTemp(File zipFile, String nameHint) in extractZipToTemp()
533 File zipFile = targetFile; in unzipPartialZipFile() local
[all …]
DFileUtil.java988 public static void extractZip(ZipFile zipFile, File destDir) throws IOException { in extractZip()
1002 public static File extractFileFromZip(ZipFile zipFile, String filePath) throws IOException { in extractFileFromZip()
1030 public static void createZip(File dir, File zipFile) throws IOException { in createZip()
1041 public static void closeZip(ZipFile zipFile) { in closeZip()
/tools/tradefederation/core/common_util/com/android/tradefed/util/zip/
DEndCentralDirectoryInfo.java70 public EndCentralDirectoryInfo(File zipFile) throws IOException { in EndCentralDirectoryInfo()
82 public EndCentralDirectoryInfo(File zipFile, boolean useZip64) throws IOException { in EndCentralDirectoryInfo()
150 private byte[] getEndCentralDirectoryInfo(File zipFile, byte[] signature) throws IOException { in getEndCentralDirectoryInfo()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java828 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in changeExtraDirectoryOffset() local
847 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in computeOffsetWhenReadingEmptyFile() local
860 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in computeOffsetWhenReadingNonEmptyFile() local
874 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in obtainingCDAndEocdWhenEntriesWrittenOnEmptyZip() local
897 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in obtainingCDAndEocdWhenEntriesWrittenOnNonEmptyZip() local
988 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in utf8NamesSupportedOnWriting() local
1005 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in zipMemoryUsageIsZeroAfterClose() local
1026 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in unusedZipAreasAreClearedOnWrite() local
1062 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in deferredCompression() local
1110 File zipFile = new File(mTemporaryFolder.getRoot(), "x"); in zipFileWithEocdMarkerInComment() local
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java256 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZip() local
326 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipFoundTestsWithKeywords() local
398 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipFailWithKeywords() local
446 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipHostTests() local
493 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_shard() local
528 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_noTest() local
593 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTestsWithModule() local
646 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTestsWithMultiModules() local
794 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_moduleDifferentoptions() local
846 File zipFile = createTestMappingZip(tempDir); in testLoadTestsForMainline() local
[all …]
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DJarSigningTest.java48 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in signEmptyJar() local
76 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in signJarWithPrexistingSimpleTextFilePre18() local
133 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in signJarWithPrexistingSimpleTextFilePos18() local
192 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in v2SignAddsApkSigningBlock() local
215 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in v1ReSignOnFileChange() local
307 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect() local
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DZipUtil2Test.java76 ZipFile zipFile = null; in testExtractFileFromZip() local
91 ZipFile zipFile = null; in testExtractZip() local
125 final File zipFile = createTempFile(name, ".zip"); in getTestDataFile() local
DZipUtilTest.java62 final File zipFile = createTempFile(name, ".zip"); in getTestDataFile() local
99 File zipFile = null; in testCreateAndExtractZip() local
129 File zipFile = null; in testCreateAndExtractZip_fromFiles() local
170 File zipFile = null; in testCreateAndExtractFileFromZip() local
DZipUtilFuncTest.java92 ZipFile zipFile = new ZipFile(sLargeFile.getAbsolutePath()); in testCentralDirectoryInfos() local
172 ZipFile zipFile, List<CentralDirectoryInfo> zipEntries) { in validateCentralDirectoryInfos()
DRemoteZipTest.java81 File zipFile = FileUtil.createTempFileForRemote("zipfile", null); in setUp() local
DBugreportTest.java159 File zipFile = null; in testBugreportz_noMainFile() local
/tools/ndkports/src/main/kotlin/com/android/ndkports/
DZip.kt30 private fun zipFile(file: File, name: String, zipOut: ZipOutputStream) { in zipFile() method
/tools/tradefederation/core/tests/src/com/android/tradefed/config/remote/
DGcsRemoteFileResolverTest.java90 File zipFile = ZipUtil.createZip(testDir); in testResolve_unzip() local
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DDynamicSystemPreparer.java68 ZipFile zipFile = null; in setUp() local
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterBuildProvider.java74 try (ZipFile zipFile = new ZipFile(zip)) { in extractZip()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/testmapping/
DTestMappingTest.java162 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests() local
214 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests_matchKeywords() local
544 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testExtractTestMappingsZip() local
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/multi/
DMixImageZipPreparer.java335 final ZipFile zipFile, Predicate<String> predicate) throws IOException { in getInputStreamFactoriesFromImageZip()
450 File zipFile = null; in createZip() local
/tools/tradefederation/core/src/com/android/tradefed/build/
DLocalDeviceBuildProvider.java170 File zipFile = null; in createBuildImageZip() local
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DFileSystemLogSaverTest.java168 ZipFile zipFile = null; in testSaveLogData_uncompressed() local
DLogFileSaverTest.java203 ZipFile zipFile = null; in testSaveAndZipLogData() local
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/multi/
DMixImageZipPreparerTest.java439 ZipFile zipFile = null; in runCreateZipTest() local
/tools/tradefederation/contrib/src/com/android/performance/tests/
DAppTransitionTests.java452 File zipFile = null; in logTraceFiles() local
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java2543 File zipFile = null; in getBugreportzInternal() local
/tools/asuite/asuite_plugin/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...

12