Home
last modified time | relevance | path

Searched refs:se (Results 1 – 3 of 3) sorted by relevance

/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DManifestGenerationTest.java59 StoredEntry se = zf.get("META-INF/MANIFEST.MF"); in elementaryManifestGeneration() local
60 assertNotNull(se); in elementaryManifestGeneration()
62 String text = new String(se.read(), Charsets.US_ASCII); in elementaryManifestGeneration()
95 StoredEntry se = zf.get("META-INF/MANIFEST.MF"); in manifestGenerationOnHalfWrittenFile() local
96 assertNotNull(se); in manifestGenerationOnHalfWrittenFile()
98 String text = new String(se.read(), Charsets.US_ASCII); in manifestGenerationOnHalfWrittenFile()
133 StoredEntry se = zf.get("META-INF/MANIFEST.MF"); in manifestGenerationOnExistingFile() local
134 assertNotNull(se); in manifestGenerationOnExistingFile()
136 String text = new String(se.read(), Charsets.US_ASCII); in manifestGenerationOnExistingFile()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java1194 StoredEntry se = zf.get("small1"); in replaceVeryLargeFileWithBiggerInMiddleOfZip() local
1195 assertNotNull(se); in replaceVeryLargeFileWithBiggerInMiddleOfZip()
1196 small1Offset = se.getCentralDirectoryHeader().getOffset(); in replaceVeryLargeFileWithBiggerInMiddleOfZip()
1198 se = zf.get("small2"); in replaceVeryLargeFileWithBiggerInMiddleOfZip()
1199 assertNotNull(se); in replaceVeryLargeFileWithBiggerInMiddleOfZip()
1200 small2Offset = se.getCentralDirectoryHeader().getOffset(); in replaceVeryLargeFileWithBiggerInMiddleOfZip()
1202 se = zf.get("verybig"); in replaceVeryLargeFileWithBiggerInMiddleOfZip()
1203 assertNotNull(se); in replaceVeryLargeFileWithBiggerInMiddleOfZip()
1204 se.delete(); in replaceVeryLargeFileWithBiggerInMiddleOfZip()
1210 StoredEntry se = zf.get("small1"); in replaceVeryLargeFileWithBiggerInMiddleOfZip() local
[all …]
DExtraFieldTest.java67 BiConsumer<StoredEntry, ExtraField> localSet = (se, ef) -> { in getParameters()
69 se.setLocalExtra(ef); in getParameters()
76 se -> se.getCentralDirectoryHeader().getExtraField(); in getParameters()
77 BiConsumer<StoredEntry, ExtraField> centralSet = (se, ef) -> { in getParameters()
79 se.getCentralDirectoryHeader().setExtraField(ef); in getParameters()