Searched refs:ApkZFileTestUtils (Results 1 – 10 of 10) sorted by relevance
23 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()
22 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()
23 import com.android.tools.build.apkzlib.utils.ApkZFileTestUtils;171 ApkZFileTestUtils.waitForFileSystemTick(timeOfWriting); in manifestGenerationOnIncrementalNoChanges()
36 public final class ApkZFileTestUtils { class79 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()
22 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()
22 import com.android.tools.build.apkzlib.utils.ApkZFileTestUtils;30 File apkFile = ApkZFileTestUtils.getResource("/testData/packaging/test.apk"); in testReadOldApk()
21 import com.android.tools.build.apkzlib.utils.ApkZFileTestUtils;42 return ApkZFileTestUtils.getResourceBytes("/testData/packaging/" + rsrcName).read(); in rsrcBytes()
19 import static com.android.tools.build.apkzlib.utils.ApkZFileTestUtils.readSegment;
23 import com.android.tools.build.apkzlib.utils.ApkZFileTestUtils;42 return ApkZFileTestUtils in getCompressibleData()