Home
last modified time | relevance | path

Searched refs:getRoot (Results 1 – 16 of 16) sorted by relevance

/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DAlignmentTest.java52 File newZFile = new File(mTemporaryFolder.getRoot(), "test.zip"); in addAlignedFile()
68 File newZFile = new File(mTemporaryFolder.getRoot(), "test.zip"); in addNonAlignedFile()
83 File newZFile = new File(mTemporaryFolder.getRoot(), "test.zip");
128 File newZFile = new File(mTemporaryFolder.getRoot(), "test.zip");
170 File newZFile = new File(mTemporaryFolder.getRoot(), "test.zip");
196 File newZFile = new File(mTemporaryFolder.getRoot(), "test.zip");
222 File zipFile = new File(mTemporaryFolder.getRoot(), "test.zip");
248 File zipFile = new File(mTemporaryFolder.getRoot(), "test.zip");
276 File zipFile = new File(mTemporaryFolder.getRoot(), "test.zip");
304 File zipFile = new File(mTemporaryFolder.getRoot(), "test.zip");
[all …]
DZFileTest.java69 File temporaryDir = mTemporaryFolder.getRoot(); in getZipPath()
78 File temporaryDir = mTemporaryFolder.getRoot(); in readNonExistingFile()
89 File temporaryDir = mTemporaryFolder.getRoot(); in readExistingEmptyFile()
171 File testZip = new File(mTemporaryFolder.getRoot(), "t.zip"); in compressedFilesReadableByJavaZip()
284 File zipFile = new File(mTemporaryFolder.getRoot(), "test.zip");
309 File zipFile = new File(mTemporaryFolder.getRoot(), "test.zip");
350 File zipFile = new File(mTemporaryFolder.getRoot(), "test.zip");
391 File zipFile = new File(mTemporaryFolder.getRoot(), "test.zip");
442 File zipFile = new File(mTemporaryFolder.getRoot(), "test.zip");
544 File zip = new File(mTemporaryFolder.getRoot(), "z.zip"); in addingFileDoesNotAddDirectoriesAutomatically()
[all …]
DZFileNotificationTest.java115 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyAddFile()
138 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyRemoveFile()
161 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyUpdateFile()
188 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyOpenUpdateClose()
212 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyOpenUpdate()
234 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in notifyUpdate()
259 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in removedListenersAreNotNotified()
281 try (ZFile zf = new ZFile(new File(mTemporaryFolder.getRoot(), "a.zip"))) { in actionsExecutedAtEndOfNotification()
345 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in canAddFilesDuringUpdateNotification()
385 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in notifyOnceEntriesWritten()
[all …]
DZipMergeTest.java49 File merged = new File(mTemporaryFolder.getRoot(), "r.zip"); in mergeZip()
111 ZFile merged = closer.register(new ZFile(new File(mTemporaryFolder.getRoot(), "bar"))); in mergeZipWithDeferredCrc()
152 ZFile merged = closer.register(new ZFile(new File(mTemporaryFolder.getRoot(), "bar"))); in mergeZipKeepsDeflatedAndStored()
191 ZFile merged = new ZFile(new File(mTemporaryFolder.getRoot(), "bar"))) { in mergeZipWithSorting()
DZFileReadOnlyTest.java38 new ZFile(new File(temporaryFolder.getRoot(), "foo.zip"), new ZFileOptions(), true); in cannotCreateRoFileOnNonExistingFile()
47 File zip = new File(temporaryFolder.getRoot(), "foo.zip"); in makeTestZip()
120 try (ZFile toMerge = new ZFile(new File(temporaryFolder.getRoot(), "a.zip"))) { in cannotMergeInRoMode()
DZipTestUtils.java84 File result = new File(folder.getRoot(), cloneName); in cloneRsrc()
DZFileSortTest.java49 mFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in before()
DZipToolsTest.java154 File zfile = new File (mTemporaryFolder.getRoot(), "zfile.zip"); in testReadZFile()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zfile/
DApkAlignmentTest.java40 File apk = new File(mTemporaryFolder.getRoot(), "a.apk"); in soFilesUncompressedAndAligned()
42 File soFile = new File(mTemporaryFolder.getRoot(), "doesnt_work.so"); in soFilesUncompressedAndAligned()
80 File zipToMerge = new File(mTemporaryFolder.getRoot(), "a.zip"); in soFilesMergedFromZipsCanBeUncompressedAndAligned()
97 File apk = new File(mTemporaryFolder.getRoot(), "b.apk"); in soFilesMergedFromZipsCanBeUncompressedAndAligned()
137 File apk = new File(mTemporaryFolder.getRoot(), "a.apk"); in soFilesUncompressedAndNotAligned()
139 File soFile = new File(mTemporaryFolder.getRoot(), "doesnt_work.so"); in soFilesUncompressedAndNotAligned()
177 File zipToMerge = new File(mTemporaryFolder.getRoot(), "a.zip"); in soFilesMergedFromZipsCanBeUncompressedAndNotAligned()
194 File apk = new File(mTemporaryFolder.getRoot(), "b.apk"); in soFilesMergedFromZipsCanBeUncompressedAndNotAligned()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/compress/
DMultiCompressorTest.java62 File zip = new File(mTemporaryFolder.getRoot(), "test.zip"); in storeIsBest()
79 File zip = new File(mTemporaryFolder.getRoot(), "test.zip"); in sameCompressionResultButBetterThanStore()
105 File defaultFile = new File(mTemporaryFolder.getRoot(), "default.zip");
106 File resultFile = new File(mTemporaryFolder.getRoot(), "result.zip");
135 File defaultFile = new File(mTemporaryFolder.getRoot(), "default.zip");
136 File resultFile = new File(mTemporaryFolder.getRoot(), "result.zip");
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DJarSigningTest.java48 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in signEmptyJar()
76 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in signJarWithPrexistingSimpleTextFilePre18()
133 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in signJarWithPrexistingSimpleTextFilePos18()
192 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in v2SignAddsApkSigningBlock()
215 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in v1ReSignOnFileChange()
307 File zipFile = new File(mTemporaryFolder.getRoot(), "a.zip"); in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect()
DManifestGenerationTest.java46 File zip = new File(mTemporaryFolder.getRoot(), "f.zip"); in elementaryManifestGeneration()
81 File zip = new File(mTemporaryFolder.getRoot(), "f.zip"); in manifestGenerationOnHalfWrittenFile()
117 File zip = new File(mTemporaryFolder.getRoot(), "f.zip"); in manifestGenerationOnExistingFile()
155 File zip = new File(mTemporaryFolder.getRoot(), "f.zip"); in manifestGenerationOnIncrementalNoChanges()
DFullApkSignTest.java51 File out = new File(mTemporaryFolder.getRoot(), "apk"); in testSignature()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/
DFileSystem.java39 public FsDirectory getRoot() throws IOException; in getRoot() method
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatFileSystem.java213 public FatLfnDirectory getRoot() { in getRoot() method in FatFileSystem
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDevice.java1403 IFileEntry rootFile = new FileEntryWrapper(this, service.getRoot()); in getFileEntry()