/cts/tests/signature/lib/android/src/android/signature/cts/ |
D | VirtualPath.java | 24 import java.util.zip.ZipEntry; 25 import java.util.zip.ZipFile; 42 public static ZipEntryPath get(ZipFile zip, ZipEntry entry) { in get() argument 43 return new ZipEntryPath(zip, entry); in get() 122 private final ZipFile zip; field in VirtualPath.ZipEntryPath 126 private ZipEntryPath(ZipFile zip, ZipEntry entry) { in ZipEntryPath() argument 127 this.zip = zip; in ZipEntryPath() 133 return zip.getInputStream(entry); in newInputStream() 145 return zip.getName().equals(that.zip.getName()) in equals() 151 return Objects.hash(zip.getName(), entry.getName()); in hashCode() [all …]
|
/cts/hostsidetests/appsecurity/test-apps/CorruptApkTests/compressed_arsc/ |
D | build | 47 zip -j compressed_Q.apk resources.arsc 52 zip -j compressed_R.apk resources.arsc 63 zip unaligned_Q.apk -d resources.arsc 64 zip unaligned_Q.apk -0 -X aa 65 zip unaligned_Q.apk -0 -X resources.arsc 70 zip unaligned_R.apk -d resources.arsc 71 zip unaligned_R.apk -0 -X aa 72 zip unaligned_R.apk -0 -X resources.arsc
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | TestSuiteTradefedParser.java | 32 import java.util.zip.ZipEntry; 33 import java.util.zip.ZipFile; 110 ZipFile zip = new ZipFile(getFile()); in praseKnownFailure() local 112 Enumeration<? extends ZipEntry> entries = zip.entries(); in praseKnownFailure() 120 InputStream xmlStream = zip.getInputStream(entry); in praseKnownFailure() 128 zip.close(); in praseKnownFailure() 149 ZipFile zip = new ZipFile(getFile()); in parseFile() local 151 Enumeration<? extends ZipEntry> entries = zip.entries(); in parseFile() 156 InputStream inStream = zip.getInputStream(entry); in parseFile() 187 zip.close(); in parseFile()
|
/cts/tests/signature/api-check/src/java/android/signature/cts/api/ |
D | ResourceStore.java | 29 import java.util.zip.ZipFile; 63 ZipFile zip = extractedZipFiles.computeIfAbsent(resourcePath, virtualPath -> { in readResource() local 71 return zip.stream().map(entry -> VirtualPath.get(zip, entry)); in readResource()
|
/cts/hostsidetests/multidevices/ |
D | Android.bp | 16 // Zip all the files in this directory together for merging into cts-verifier.zip. 44 out: ["multidevice-test-apps.zip"], 57 out: ["multidevice-test-list.zip"], 77 out: ["multidevice-test.zip"], 79 …"$(location soong_zip) -o $(genDir)/multidevice-temp.zip -P android-cts-verifier/MultiDevice -C $$… 80 …"$(location merge_zips) $(out) $(genDir)/multidevice-temp.zip $(location :multidevice-test-list) $…
|
/cts/hostsidetests/packagemanager/stats/device/src/com/android/cts/packagemanager/stats/device/ |
D | IncrementalAppErrorStatsTestsHelper.java | 28 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry; 29 import org.apache.commons.compress.archivers.zip.ZipFile; 54 ZipFile zip = new ZipFile(apkPath); in getPageIndexToBlock() local 55 final ZipArchiveEntry info = zip.getEntry(FILE_PAGE_TO_BLOCK); in getPageIndexToBlock()
|
/cts/hostsidetests/security/app/src/android/security/cts/ |
D | ZipPathValidatorDeviceTest.java | 46 import java.util.zip.ZipEntry; 47 import java.util.zip.ZipException; 48 import java.util.zip.ZipFile; 49 import java.util.zip.ZipInputStream; 50 import java.util.zip.ZipOutputStream;
|
/cts/hostsidetests/library/ |
D | Android.bp | 56 // an apk by the test. This zip file is extracted by the test and files 57 // in the zip are executed from there. 60 // in the `tools` property although they technically are inputs of the zip, 61 // not the tools for creating the zip. However, since the java test is not 74 // srcs, tools, required are all "essentially" inputs of the zip 93 out: ["CtsUseNativeLibraryBuildPackage.zip"],
|
/cts/tests/tests/classloaderfactory/src/android/app/classloaderfactory/cts/ |
D | InMemoryDexClassLoaderFactory.java | 23 import java.util.zip.ZipEntry; 24 import java.util.zip.ZipFile;
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | ThemeTestUtils.java | 23 import java.util.zip.ZipEntry; 24 import java.util.zip.ZipOutputStream;
|
/cts/tests/tests/rscpp/ |
D | Android.bp | 34 ":CtsRsCppTestCases-rscript{CtsRsCppTestCases.res.zip}", 59 "CtsRsCppTestCases.res.zip", 67 …"$(location soong_zip) -o $(location CtsRsCppTestCases.res.zip) -C $(genDir)/res -D $(genDir)/res",
|
/cts/tests/tests/renderscript/ |
D | Android.bp | 38 ":CtsRenderscriptTestCases-rscript{CtsRenderscriptTestCases.res.zip}", 64 "CtsRenderscriptTestCases.res.zip", 73 …"$(location soong_zip) -o $(location CtsRenderscriptTestCases.res.zip) -C $(genDir)/res -D $(genDi…
|
/cts/tests/tests/rsblas/ |
D | Android.bp | 34 ":CtsRsBlasTestCases-rscript{CtsRsBlasTestCases.res.zip}", 60 "CtsRsBlasTestCases.res.zip", 69 …"$(location soong_zip) -o $(location CtsRsBlasTestCases.res.zip) -C $(genDir)/res -D $(genDir)/res…
|
/cts/tests/tests/jvmti/attaching/src/android.jvmti.attaching.cts/ |
D | AttachingTest.java | 45 import java.util.zip.ZipFile; 147 ZipFile zip = new ZipFile(apkPath); in getAgentInputStream() 148 return zip.getInputStream(zip.getEntry(libPath)); in getAgentInputStream()
|
/cts/apps/CameraITS/tools/ |
D | dng_noise_model.py | 105 scale_a, scale_b, offset_a, offset_b = zip(*noise_model) 171 scale_a, scale_b, offset_a, offset_b = zip(*noise_model) 279 scale_a, scale_b, offset_a, offset_b = zip(*noise_model) 293 for iso, digital_gain in zip(isos, digital_gains): 320 stats_per_plane[pidx].extend(list(zip(means_p, vars_p))) 435 sens, s_measured, o_measured = zip(*measured_model) 459 for s_plot, o_plot in zip(s_plots, o_plots):
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ResourcesHardeningTest.java | 53 import org.apache.commons.compress.archivers.zip.ZipArchiveEntry; 54 import org.apache.commons.compress.archivers.zip.ZipFile; 106 try (ZipFile zip = new ZipFile(TEST_APK_PATH + apk)) { in onBefore() argument 109 info = restrictZipEntry(zip, RES_TABLE_PATH); in onBefore() 115 info = restrictOnlyMiddleBlock(restrictZipEntry(zip, TestUtils.RES_XML_PATH)); in onBefore() 122 restrictZipEntry(zip, TestUtils.RES_DRAWABLE_MDPI_PATH)); in onBefore() 127 info = restrictZipEntry(zip, TestUtils.RES_DRAWABLE_HDPI_PATH); in onBefore()
|
/cts/apps/CameraITS/ |
D | Android.bp | 16 // Zip all the files in this directory together for merging into cts-verifier.zip. 36 out: ["camera-its.zip"],
|
/cts/tests/media/ |
D | copy_media.sh | 40 wget "https://dl.google.com/android/xts/cts/tests/media/$resLabel.zip" -O /tmp/$resLabel.zip
|
/cts/tests/mediapc/ |
D | copy_media.sh | 40 wget "https://dl.google.com/android/xts/cts/tests/mediapc/$resLabel.zip" -O /tmp/$resLabel.zip
|
/cts/tests/video/ |
D | copy_media.sh | 40 wget "https://dl.google.com/android/xts/cts/tests/video/$resLabel.zip" -O /tmp/$resLabel.zip
|
/cts/tests/tests/mediastress/ |
D | copy_media.sh | 40 …"https://dl.google.com/android/xts/cts/tests/tests/mediastress/$resLabel.zip" -O /tmp/$resLabel.zip
|
/cts/tests/videocodec/ |
D | copy_media.sh | 40 wget "https://dl.google.com/android/xts/cts/tests/videocodec/$resLabel.zip" -O /tmp/$resLabel.zip
|
/cts/hostsidetests/appsecurity/test-apps/ApkVerityTestApp/testdata/ |
D | README.md | 6 zip foo.dm primary.prof
|
/cts/tests/tests/media/common/ |
D | copy_media_utils.sh | 42 …s://dl.google.com/android/xts/cts/tests/tests/media/$subFolder/$resLabel.zip" -O /tmp/$resLabel.zip
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/ |
D | ReportExporter.java | 35 import java.util.zip.ZipEntry; 36 import java.util.zip.ZipOutputStream;
|