Home
last modified time | relevance | path

Searched refs:zip (Results 1 – 25 of 162) sorted by relevance

1234567

/build/soong/zip/
Dzip_test.go15 package zip package
65 func fh(name string, contents []byte, method uint16) zip.FileHeader {
66 return zip.FileHeader{
75 func fhWithSHA256(name string, contents []byte, method uint16, sha256 string) zip.FileHeader {
89 func fhManifest(contents []byte) zip.FileHeader {
90 return zip.FileHeader{
92 Method: zip.Store,
99 func fhLink(name string, to string) zip.FileHeader {
100 return zip.FileHeader{
102 Method: zip.Store,
[all …]
DAndroid.bp22 name: "soong-zip",
23 pkgPath: "android/soong/zip",
25 "android-archive-zip",
31 "zip.go",
/build/make/core/tasks/
Ddevice-tests.mk18 device-tests-zip := $(PRODUCT_OUT)/device-tests.zip
20 device-tests-list-zip := $(PRODUCT_OUT)/device-tests_list.zip
22 device-tests-configs-zip := $(PRODUCT_OUT)/device-tests_configs.zip
24 device_tests_host_shared_libs_zip := $(PRODUCT_OUT)/device-tests_host-shared-libs.zip
26 $(device-tests-zip) : .KATI_IMPLICIT_OUTPUTS := $(device-tests-list-zip) $(device-tests-configs-zip
27 $(device-tests-zip) : PRIVATE_device_tests_list := $(PRODUCT_OUT)/device-tests_list
28 $(device-tests-zip) : PRIVATE_HOST_SHARED_LIBS := $(my_host_shared_lib_for_device_tests)
29 $(device-tests-zip) : PRIVATE_device_host_shared_libs_zip := $(device_tests_host_shared_libs_zip)
30 $(device-tests-zip) : $(COMPATIBILITY.device-tests.FILES) $(COMPATIBILITY.device-tests.SOONG_INSTAL…
43 $(hide) $(SOONG_ZIP) -d -o $(device-tests-configs-zip) \
[all …]
Dautomotive-tests.mk18 automotive-tests-zip := $(PRODUCT_OUT)/automotive-tests.zip
20 automotive-tests-list-zip := $(PRODUCT_OUT)/automotive-tests_list.zip
22 automotive-tests-configs-zip := $(PRODUCT_OUT)/automotive-tests_configs.zip
24 automotive_tests_host_shared_libs_zip := $(PRODUCT_OUT)/automotive-tests_host-shared-libs.zip
26 $(automotive-tests-zip) : .KATI_IMPLICIT_OUTPUTS := $(automotive-tests-list-zip) $(automotive-tests…
27 $(automotive-tests-zip) : PRIVATE_automotive_tests_list := $(PRODUCT_OUT)/automotive-tests_list
28 $(automotive-tests-zip) : PRIVATE_HOST_SHARED_LIBS := $(my_host_shared_lib_for_automotive_tests)
29 $(automotive-tests-zip) : PRIVATE_automotive_host_shared_libs_zip := $(automotive_tests_host_shared…
30 $(automotive-tests-zip) : $(COMPATIBILITY.automotive-tests.FILES) $(my_host_shared_lib_for_automoti…
43 $(hide) $(SOONG_ZIP) -d -o $(automotive-tests-configs-zip) \
[all …]
Dautomotive-sdv-tests.mk18 automotive-sdv-tests-zip := $(PRODUCT_OUT)/automotive-sdv-tests.zip
20 automotive-sdv-tests-list-zip := $(PRODUCT_OUT)/automotive-sdv-tests_list.zip
22 automotive-sdv-tests-configs-zip := $(PRODUCT_OUT)/automotive-sdv-tests_configs.zip
24 …tomotive_sdv_tests_host_shared_libs_zip := $(PRODUCT_OUT)/automotive-sdv-tests_host-shared-libs.zip
26 $(automotive-sdv-tests-zip) : .KATI_IMPLICIT_OUTPUTS := $(automotive-sdv-tests-list-zip) $(automoti…
27 $(automotive-sdv-tests-zip) : PRIVATE_automotive_sdv_tests_list := $(PRODUCT_OUT)/automotive-sdv-te…
28 $(automotive-sdv-tests-zip) : PRIVATE_HOST_SHARED_LIBS := $(my_host_shared_lib_for_automotive_sdv_t…
29 $(automotive-sdv-tests-zip) : PRIVATE_automotive_host_shared_libs_zip := $(automotive_sdv_tests_hos…
30 $(automotive-sdv-tests-zip) : $(COMPATIBILITY.automotive-sdv-tests.FILES) $(my_host_shared_lib_for_…
43 $(hide) $(SOONG_ZIP) -d -o $(automotive-sdv-tests-configs-zip) \
[all …]
Dsts-lite.mk19 sts_sdk_zip := $(HOST_OUT)/$(test_suite_name)/sts-sdk.zip
23 sts_sdk_samples := $(call intermediates-dir-for,ETC,sts-sdk-samples.zip)/sts-sdk-samples.zip
/build/make/core/
Dsoong_droiddoc_prebuilt.mk17 $(eval $(call copy-one-file,$(LOCAL_DROIDDOC_DOC_ZIP),$(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip))
18 $(eval ALL_TARGETS.$(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip.META_LIC := $(LOCAL_SOONG_LICENSE_METADATA))
19 $(call dist-for-goals,docs,$(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip)
21 .PHONY: $(LOCAL_MODULE) $(LOCAL_MODULE)-docs.zip
22 $(LOCAL_MODULE) $(LOCAL_MODULE)-docs.zip : $(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip
23 ALL_DOCS += $(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip
27 …DOC_ANNOTATIONS_ZIP),$(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/$(LOCAL_MODULE)_annotations.zip))
28 $(eval ALL_TARGETS.$(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/$(LOCAL_MODULE)_annotations.zip.MET…
37 …_DROIDDOC_METADATA_ZIP),$(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/$(LOCAL_MODULE)-metadata.zip))
38 $(eval ALL_TARGETS.$(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/$(LOCAL_MODULE)-metadata.zip.META_L…
Dpackage_internal.mk209 my_bundle_module := $(intermediates.COMMON)/base.zip
548 cp -f $(PRIVATE_RES_PACKAGE) $@.parts/apk.zip
550 $(call create-jni-shared-libs-package,$@.parts/jni.zip,$(PRIVATE_USE_EMBEDDED_NATIVE_LIBS))
554 $(if $(PRIVATE_EXTRA_JAR_ARGS),$(call create-java-resources-jar,$@.parts/res.zip))
556 $(call create-dex-jar,$@.parts/dex.zip,$(PRIVATE_DEX_FILE))
557 $(call extract-resources-jar,$@.parts/res.zip,$(PRIVATE_SOURCE_ARCHIVE))
559 $(MERGE_ZIPS) $@ $@.parts/*.zip
602 …$(ZIP2ZIP) -i $(PRIVATE_RES_PACKAGE) -o $@.parts/apk.zip AndroidManifest.xml:manifest/AndroidManif…
604 $(call create-jni-shared-libs-package,$@.parts/jni.zip)
609 $(call create-java-resources-jar,$@.parts/res.zip) && \
[all …]
Djava_library.mk75 $(call create-dex-jar,$@.parts/dex.zip,$(PRIVATE_DEX_FILE))
76 $(call extract-resources-jar,$@.parts/res.zip,$(PRIVATE_SOURCE_ARCHIVE))
77 $(MERGE_ZIPS) -j $@.tmp $@.parts/dex.zip $@.parts/res.zip
/build/make/tools/ziptime/
DREADME.txt1 ziptime -- zip timestamp tool
3 usage: ziptime file.zip
5 file.zip is an existing Zip archive to rewrite
8 This tools replaces the timestamps in the zip headers with a static time
10 -X option to zip so that it doesn't create the 'universal time' extra.
DZipTime.cpp41 ZipFile zip; in main() local
42 if (zip.rewrite(argv[1]) != 0) { in main()
/build/soong/cmd/merge_zips/
Dmerge_zips_test.go40 A = testZipEntry{"A", 0755, []byte("foo"), zip.Deflate, jar.DefaultTime}
41 a = testZipEntry{"a", 0755, []byte("foo"), zip.Deflate, jar.DefaultTime}
42 a2 = testZipEntry{"a", 0755, []byte("FOO2"), zip.Deflate, jar.DefaultTime}
43 a3 = testZipEntry{"a", 0755, []byte("Foo3"), zip.Deflate, jar.DefaultTime}
44 bDir = testZipEntry{"b/", os.ModeDir | 0755, nil, zip.Deflate, jar.DefaultTime}
45 bbDir = testZipEntry{"b/b/", os.ModeDir | 0755, nil, zip.Deflate, jar.DefaultTime}
46 bbb = testZipEntry{"b/b/b", 0755, nil, zip.Deflate, jar.DefaultTime}
47 ba = testZipEntry{"b/a", 0755, []byte("foo"), zip.Deflate, jar.DefaultTime}
48 bc = testZipEntry{"b/c", 0755, []byte("bar"), zip.Deflate, jar.DefaultTime}
49 bd = testZipEntry{"b/d", 0700, []byte("baz"), zip.Deflate, jar.DefaultTime}
[all …]
/build/make/tools/zipalign/
DREADME.txt1 zipalign -- zip archive alignment tool
3 usage: zipalign [-f] [-v] <align> infile.zip outfile.zip
4 zipalign -c [-v] <align> infile.zip
7 -f : overwrite existing outfile.zip
11 infile.zip is an existing Zip archive
12 outfile.zip will be created
22 the "extra" field in the zip Local File Header sections. Existing data
35 You can use the "-c" flag to test whether a zip archive is properly aligned.
38 uncompressed in the zip archive, to a 4096-byte page boundary. This
39 facilitates directly loading shared libraries from inside a zip archive.
DAndroid.bp73 "tests/data/apkWithUncompressedSharedLibs.zip",
74 "tests/data/archiveWithOneDirectoryEntry.zip",
75 "tests/data/diffOrders.zip",
76 "tests/data/holes.zip",
77 "tests/data/unaligned.zip",
/build/make/tools/compliance/cmd/xmlnotice/
Dxmlnotice_test.go82 roots: []string{"container.zip.meta_lic"},
84 target{"container.zip", "Android"},
85 target{"container.zip/bin1", "Android"},
86 target{"container.zip/bin2", "Android"},
87 target{"container.zip/liba.so", "Android"},
88 target{"container.zip/libb.so", "Android"},
95 "testdata/firstparty/container.zip.meta_lic",
176 roots: []string{"container.zip.meta_lic"},
178 target{"container.zip", "Android"},
179 target{"container.zip/bin1", "Android"},
[all …]
/build/soong/cmd/zip2zip/
Dzip2zip_test.go424 inputWriter := zip.NewWriter(inputBuf)
434 inputReader, err := zip.NewReader(bytes.NewReader(inputBytes), int64(len(inputBytes)))
439 outputWriter := zip.NewWriter(outputBuf)
448 outputReader, err := zip.NewReader(bytes.NewReader(outputBytes), int64(len(outputBytes)))
458 if file.Method == zip.Store {
482 inputWriter := zip.NewWriter(inputBuf)
483 w, err := inputWriter.CreateHeaderAndroid(&zip.FileHeader{
485 Method: zip.Store,
494 w, err = inputWriter.CreateHeaderAndroid(&zip.FileHeader{
496 Method: zip.Store,
[all …]
/build/soong/third_party/zip/
Dexample_test.go22 w := zip.NewWriter(buf)
52 r, err := zip.OpenReader("testdata/readme.zip")
85 w := zip.NewWriter(buf)
88 w.RegisterCompressor(zip.Deflate, func(out io.Writer) (io.WriteCloser, error) {
/build/make/tools/releasetools/
Drangelib.py41 self.monotonic = all(x < y for x, y in zip(self.data, self.data[1:]))
170 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))),
171 zip(other.data, itertools.cycle((+1, -1)))):
188 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))),
189 zip(other.data, itertools.cycle((+1, -1)))):
207 for p, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))),
208 zip(other.data, itertools.cycle((-1, +1)))):
227 for _, d in heapq.merge(zip(self.data, itertools.cycle((+1, -1))),
228 zip(other.data, itertools.cycle((+1, -1)))):
268 for p, d in heapq.merge(zip(self.data, itertools.cycle((-5, +5))),
[all …]
/build/soong/jar/
Dservices.go36 FileHeader *zip.FileHeader
42 func (Services) IsServiceFile(entry *zip.File) bool {
48 func (j *Services) AddServiceFile(entry *zip.File) error {
97 if serviceFile.FileHeader.Method == zip.Store {
/build/make/tools/compliance/cmd/testdata/regressgpl1/
Dcontainer.zip.meta_lic2 projects: "container/zip"
7 built: "out/target/product/fictional/obj/ETC/container_intermediates/container.zip"
8 installed: "out/target/product/fictional/data/container.zip"
/build/make/tools/compliance/cmd/testdata/reciprocal/
Dcontainer.zip.meta_lic2 projects: "container/zip"
7 built: "out/target/product/fictional/obj/ETC/container_intermediates/container.zip"
8 installed: "out/target/product/fictional/data/container.zip"
/build/make/tools/compliance/cmd/testdata/restricted/
Dcontainer.zip.meta_lic2 projects: "container/zip"
7 built: "out/target/product/fictional/obj/ETC/container_intermediates/container.zip"
8 installed: "out/target/product/fictional/data/container.zip"
/build/make/tools/compliance/cmd/testdata/notice/
Dcontainer.zip.meta_lic2 projects: "container/zip"
7 built: "out/target/product/fictional/obj/ETC/container_intermediates/container.zip"
8 installed: "out/target/product/fictional/data/container.zip"
/build/make/tools/compliance/cmd/testdata/firstparty/
Dcontainer.zip.meta_lic2 projects: "container/zip"
7 built: "out/target/product/fictional/obj/ETC/container_intermediates/container.zip"
8 installed: "out/target/product/fictional/data/container.zip"
/build/make/tools/compliance/cmd/testdata/proprietary/
Dcontainer.zip.meta_lic2 projects: "container/zip"
7 built: "out/target/product/fictional/obj/ETC/container_intermediates/container.zip"
8 installed: "out/target/product/fictional/data/container.zip"

1234567