Home
last modified time | relevance | path

Searched refs:ApkZFileTestUtils (Results 1 – 10 of 10) sorted by relevance

/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DJarSigningTest.java23 import com.android.tools.build.apkzlib.utils.ApkZFileTestUtils;
51 ApkZFileTestUtils.addAndroidManifest(zf); in signEmptyJar()
80 ApkZFileTestUtils.addAndroidManifest(zf1); in signJarWithPrexistingSimpleTextFilePre18()
135 ApkZFileTestUtils.addAndroidManifest(zf1); in signJarWithPrexistingSimpleTextFilePos18()
194 ApkZFileTestUtils.addAndroidManifest(zf); in v2SignAddsApkSigningBlock()
227 ApkZFileTestUtils.addAndroidManifest(zf1); in v1ReSignOnFileChange()
281 ApkZFileTestUtils.addAndroidManifest(zf2); in v1ReSignOnFileChange()
315 ApkZFileTestUtils.addAndroidManifest(zf); in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect()
325 ApkZFileTestUtils.waitForFileSystemTick(fileTimestamp); in openSignedJarDoesNotForcesWriteIfSignatureIsNotCorrect()
DFullApkSignTest.java22 import com.android.tools.build.apkzlib.utils.ApkZFileTestUtils;
84 byte[] read1 = ApkZFileTestUtils.readSegment(out, f1DataStart, f1Data.length); in testSignature()
86 byte[] read2 = ApkZFileTestUtils.readSegment(out, f2DataStart, f2Data.length); in testSignature()
DManifestGenerationTest.java23 import com.android.tools.build.apkzlib.utils.ApkZFileTestUtils;
171 ApkZFileTestUtils.waitForFileSystemTick(timeOfWriting); in manifestGenerationOnIncrementalNoChanges()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/utils/
DApkZFileTestUtils.java36 public final class ApkZFileTestUtils { class
79 File resource = TestResources.getFile(ApkZFileTestUtils.class, path); in getResource()
92 return Resources.asByteSource(Resources.getResource(ApkZFileTestUtils.class, path)); in getResourceBytes()
124 return ApkZFileTestUtils.getResourceBytes("/testData/packaging/AndroidManifest.xml").read(); in getAndroidManifest()
134 File notUsed = File.createTempFile(ApkZFileTestUtils.class.getName(), "waitForFSTick"); in getFreshTimestamp()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DReadWithDifferentCompressionLevelsTest.java22 import com.android.tools.build.apkzlib.utils.ApkZFileTestUtils;
30 File l9File = ApkZFileTestUtils.getResource("/testData/packaging/l9.zip"); in readL9()
40 File l1File = ApkZFileTestUtils.getResource("/testData/packaging/l1.zip"); in readL1()
DOldApkReadTest.java22 import com.android.tools.build.apkzlib.utils.ApkZFileTestUtils;
30 File apkFile = ApkZFileTestUtils.getResource("/testData/packaging/test.apk"); in testReadOldApk()
DZipTestUtils.java21 import com.android.tools.build.apkzlib.utils.ApkZFileTestUtils;
42 return ApkZFileTestUtils.getResourceBytes("/testData/packaging/" + rsrcName).read(); in rsrcBytes()
DAlignmentTest.java19 import static com.android.tools.build.apkzlib.utils.ApkZFileTestUtils.readSegment;
DZFileTest.java19 import static com.android.tools.build.apkzlib.utils.ApkZFileTestUtils.readSegment;
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/compress/
DMultiCompressorTest.java23 import com.android.tools.build.apkzlib.utils.ApkZFileTestUtils;
42 return ApkZFileTestUtils in getCompressibleData()