Home
last modified time | relevance | path

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

12345678910>>...32

/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/
DTestMappingSuiteRunnerTest.java238 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTestsWhenRemoteTestTimeoutIsSet() local
332 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZip() local
397 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipFoundTestsWithKeywords() local
464 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipFailWithKeywords() local
510 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_testMappingsZipHostTests() local
553 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_shard() local
593 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_shardNoTest() local
628 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTests_noTest() local
686 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTestsWithModule() local
735 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testLoadTestsWithMultiModules() local
[all …]
/aosp_15_r20/tools/tradefederation/core/common_util/com/android/tradefed/util/
DZipUtil.java76 public static boolean isZipFileValid(File zipFile, boolean thorough) throws IOException { in isZipFileValid()
113 public static void extractZip(ZipFile zipFile, File destDir) throws IOException { in extractZip()
136 public static void extractZip(ZipFile zipFile, File destDir, Predicate<ZipEntry> shouldExtract) in extractZip()
158 public static File extractFileFromZip(ZipFile zipFile, String filePath) throws IOException { in extractFileFromZip()
191 File zipFile = FileUtil.createTempFile(name, ZIP_EXTENSION); in createZip() local
204 public static void createZip(File dir, File zipFile) throws IOException { in createZip()
241 File zipFile = FileUtil.createTempFile(name, ZIP_EXTENSION); in createZip() local
253 public static void createZip(List<File> files, File zipFile) throws IOException { in createZip()
312 public static void closeZip(ZipFile zipFile) { in closeZip()
385 public static File extractZipToTemp(File zipFile, String nameHint) in extractZipToTemp()
[all …]
DZipUtil2.java66 private static boolean extractZipEntry(ZipFile zipFile, ZipArchiveEntry entry, File destFile) in extractZipEntry()
79 public static void extractZip(ZipFile zipFile, File destDir) throws IOException { in extractZip()
117 try (java.util.zip.ZipFile zipFile = new java.util.zip.ZipFile(toUnzip)) { in extractZip()
140 public static boolean extractFileFromZip(ZipFile zipFile, String filePath, File destFile) in extractFileFromZip()
158 public static File extractFileFromZip(ZipFile zipFile, String filePath) throws IOException { in extractFileFromZip()
175 public static File extractZipToTemp(File zipFile, String nameHint) throws IOException { in extractZipToTemp()
192 public static void closeZip(ZipFile zipFile) { in closeZip()
203 private static void restorePermissions(ZipFile zipFile, File destDir) throws IOException { in restorePermissions()
/aosp_15_r20/libcore/luni/src/test/java/libcore/java/util/zip/
H A DAbstractZipFileTest.java56 ZipFile zipFile = new ZipFile(f); in testInflatingFilesRequiringZipRefill() local
156 File zipFile = createTemporaryZipFile(); in testStoredEntrySize() local
192 ZipFile zipFile = new ZipFile(f); in testZipFileWithLotsOfEntries() local
207 ZipFile zipFile = new ZipFile(f); in testZipFileLargerThan2GiB() local
418 ZipFile zipFile = new ZipFile(file); in testComments() local
432 try (ZipFile zipFile = new ZipFile(file)) { in test_getComment_unset()
451 ZipFile zipFile = new ZipFile(file); in test_NUL_in_filename() local
493 try (ZipFile zipFile = new ZipFile(emptyZip)) { in testConstructorWorksWhenReadingEmptyZipArchive()
508 ZipFile zipFile = new ZipFile(f); in testReadMoreThan8kInOneRead() local
529 ZipFile zipFile = new ZipFile(f); in testReadWithOffset() local
[all …]
H A DZipEntryTest.java88 ZipFile zipFile = new ZipFile(f); in test_utf8FileNames() local
135 ZipFile zipFile = new ZipFile(f); in testMaxLengthName() local
164 ZipFile zipFile = new ZipFile(f); in testMaxLengthExtra() local
200 ZipFile zipFile = new ZipFile(f); in checkSetTime() local
250 ZipFile zipFile = new ZipFile(f); in testMaxLengthComment() local
281 ZipFile zipFile = new ZipFile(f); in testCommentAndExtraInSameOrder() local
H A DZipFileTest.java46 try (ZipFile zipFile = new ZipFile(nonExistentFile, ZipFile.OPEN_READ)) { in test_FileNotFound()
62 try (ZipFile zipFile = new ZipFile(zipWithCp1251, cp1251)) { in test_zipFileWith_cp1251_fileNames()
68 try (ZipFile zipFile = new ZipFile(zipWithCp1251.getAbsolutePath(), cp1251)) { in test_zipFileWith_cp1251_fileNames()
/aosp_15_r20/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
H A 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 …]
H A DZFileNotificationTest.java345 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in canAddFilesDuringUpdateNotification() local
385 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in notifyOnceEntriesWritten() local
401 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in notifyTwiceEntriesWrittenIfCdChanged() local
/aosp_15_r20/frameworks/base/core/jni/
H A Dcom_android_internal_content_NativeLibraryHelper.cpp123 sumFiles(JNIEnv*, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntry, const char*) in sumFiles()
138 static install_status_t extractNativeLibFromApk(ZipFileRO* zipFile, ZipEntryRO zipEntry, in extractNativeLibFromApk()
268 static install_status_t copyFileIfChanged(JNIEnv* env, void* arg, ZipFileRO* zipFile, in copyFileIfChanged()
358 NativeLibrariesIterator(ZipFileRO* zipFile, bool debuggable, void* cookie) in NativeLibrariesIterator()
365 ZipFileRO* zipFile, bool debuggable) { in create()
425 ZipFileRO* zipFile = reinterpret_cast<ZipFileRO*>(apkHandle); in iterateOverNativeFiles() local
474 ZipFileRO* zipFile = reinterpret_cast<ZipFileRO*>(apkHandle); in findSupportedAbi() local
581 ZipFileRO* zipFile = reinterpret_cast<ZipFileRO*>(apkHandle); in com_android_internal_content_NativeLibraryHelper_hasRenderscriptBitcode() local
609 ZipFileRO* zipFile = ZipFileRO::open(filePath.c_str()); in com_android_internal_content_NativeLibraryHelper_openApk() local
633 ZipFileRO* zipFile = ZipFileRO::openFd(dupedFd, debugFilePath.c_str()); in com_android_internal_content_NativeLibraryHelper_openApkFd() local
[all …]
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/util/testmapping/
DTestMappingTest.java219 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests() local
275 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests_matchKeywords() local
315 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTests_withIgnoreKeywords() local
644 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testExtractTestMappingsZip() local
756 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testIncludeImports() local
854 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testExcludeImports() local
922 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTestMappingSources() local
1004 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testMergeMissedTestMappingZips() local
1053 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testMergeTestMappingZipsWithDuplicateSources() local
1097 File zipFile = Paths.get(tempDir.getAbsolutePath(), TEST_MAPPINGS_ZIP).toFile(); in testGetTestsWithAdditionalTestMappingZips() local
[all …]
/aosp_15_r20/tools/tradefederation/core/javatests/com/android/tradefed/util/
DZipUtil2Test.java80 ZipFile zipFile = null; in testExtractFileFromZip() local
97 ZipFile zipFile = null; in testExtractFileFromZipToTemp() local
119 ZipFile zipFile = null; in testExtractZipWithEmptyDir() local
133 ZipFile zipFile = null; in testExtractZip() local
167 final File zipFile = createTempFile(name, ".zip"); in getTestDataFile() local
DZipUtilTest.java71 final File zipFile = createTempFile(name, ".zip"); in getTestDataFile() local
114 File zipFile = null; in testCreateAndExtractZip() local
145 File zipFile = null; in testCreateAndExtractZip_fromFiles() local
187 File zipFile = null; in testCreateAndExtractFileFromZip() local
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/internal/modfetch/
Dcoderepo.go1166 type zipFile struct { struct
1167 name string
1168 f *zip.File
1171 func (f zipFile) Path() string { return f.name }
1172 func (f zipFile) Lstat() (fs.FileInfo, error) { return f.f.FileInfo(), nil }
1173 func (f zipFile) Open() (io.ReadCloser, error) { return f.f.Open() }
/aosp_15_r20/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
H A 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
/aosp_15_r20/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
H A DIncrementalDeqpPreparerTest.java76 File zipFile = FileUtil.createTempFile("targetFile", ".zip"); in testRunIncrementalDeqp() local
190 File zipFile = FileUtil.createTempFile("targetFile", ".zip"); in testGetTargetFileHash() local
220 File zipFile = FileUtil.createTempFile("targetFile", ".zip"); in testValidateBuildFingerprint() local
235 File zipFile = FileUtil.createTempFile("targetFile", ".zip"); in testValidateBuildFingerprint_fingerprintMismatch() local
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/vendor/golang.org/x/mod/zip/
Dzip.go724 type zipFile struct { struct
725 name string
726 f *zip.File
729 func (f zipFile) Path() string { return f.name }
730 func (f zipFile) Lstat() (os.FileInfo, error) { return f.f.FileInfo(), nil }
731 func (f zipFile) Open() (io.ReadCloser, error) { return f.f.Open() }
/aosp_15_r20/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()
/aosp_15_r20/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/
H A DZipUtil.java43 public static void createZip(File dir, File zipFile) throws IOException { in createZip()
44 createZip(Collections.singletonList(dir), zipFile); in createZip() local
54 public static void createZip(List<File> files, File zipFile) throws IOException { in createZip()
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/go/internal/modfetch/codehost/
Dgit_test.go403 type zipFile struct { struct
404 name string
405 size int64
/aosp_15_r20/libcore/tools/openjdk-analyzer/src/libcore/tools/analyzer/openjdk/
H A DDependencyAnalyzer.java94 try (ZipFile zipFile = new ZipFile(mClassPath.toFile()); in analyze()
221 private static List<ZipEntry> getEntriesFromNameOrThrow(ZipFile zipFile, Path zipPath, in getEntriesFromNameOrThrow()
291 private final ZipFile zipFile; field in DependencyAnalyzer.ExcludeClasspathFilter.Impl
507 ZipFile zipFile = getZipFile(jdkVersion); in getClassNode() local
/aosp_15_r20/external/robolectric/resources/src/main/java/org/robolectric/res/android/
H A DFileMap.java42 private ZipFile zipFile; field in FileMap
157 ZipFile zipFile, in createFromZip()
209 static ImmutableMap<String, Long> guessDataOffsets(File zipFile, int length) { in guessDataOffsets()
H A DZipArchiveHandle.java7 final ZipFile zipFile; field in ZipArchiveHandle
10 public ZipArchiveHandle(ZipFile zipFile, ImmutableMap<String, Long> dataOffsets) { in ZipArchiveHandle()
/aosp_15_r20/external/robolectric/resources/src/test/java/org/robolectric/res/android/
H A DZipFileROTest.java52 ZipFileRO zipFile = ZipFileRO.open(blob.toString()); in createEntryFileMap_yieldsCorrectOffset() local
66 ZipFileRO zipFile = ZipFileRO.open(blob.toString()); in open_emptyZip() local
/aosp_15_r20/libcore/benchmarks/src/benchmarks/
H A DZipFileReadBenchmark.java41 ZipFile zipFile = new ZipFile(file); in setUp() local
77 ZipFile zipFile = new ZipFile(file); in timeZipFileRead() local
H A DBufferedZipFileBenchmark.java58 ZipFile zipFile = new ZipFile(file); in timeUnbufferedRead() local
71 ZipFile zipFile = new ZipFile(file); in timeBufferedRead() local

12345678910>>...32