/build/soong/zip/ |
D | zip_test.go | 15 package zip package 59 func fh(name string, contents []byte, method uint16) zip.FileHeader { 60 return zip.FileHeader{ 69 func fhManifest(contents []byte) zip.FileHeader { 70 return zip.FileHeader{ 72 Method: zip.Store, 79 func fhLink(name string, to string) zip.FileHeader { 80 return zip.FileHeader{ 82 Method: zip.Store, 89 func fhDir(name string) zip.FileHeader { [all …]
|
D | Android.bp | 22 name: "soong-zip", 23 pkgPath: "android/soong/zip", 25 "android-archive-zip", 31 "zip.go",
|
D | zip.go | 15 package zip package 227 fh *zip.FileHeader 420 zipMethod := zip.Deflate 422 zipMethod = zip.Store 468 pathMappings = append(pathMappings, pathMapping{jar.ManifestFile, manifest, zip.Deflate}) 490 zipw := zip.NewWriter(f) 525 if op.fh.Method == zip.Deflate { 653 header := &zip.FileHeader{ 712 func (z *ZipWriter) writeFileContents(header *zip.FileHeader, r pathtools.ReaderAtSeekerCloser) (er… 734 if header.Method == zip.Deflate && fileSize >= minParallelFileSize { [all …]
|
/build/make/core/tasks/ |
D | device-tests.mk | 18 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) $(my_host_shared_lib_for_device_tests) $(… 43 $(hide) $(SOONG_ZIP) -d -o $(device-tests-configs-zip) \ [all …]
|
D | general-tests.mk | 23 general_tests_zip := $(PRODUCT_OUT)/general-tests.zip 25 general_tests_list_zip := $(PRODUCT_OUT)/general-tests_list.zip 39 general_tests_configs_zip := $(PRODUCT_OUT)/general-tests_configs.zip 41 general_tests_host_shared_libs_zip := $(PRODUCT_OUT)/general-tests_host-shared-libs.zip
|
/build/make/core/ |
D | soong_droiddoc_prebuilt.mk | 16 $(eval $(call copy-one-file,$(LOCAL_DROIDDOC_DOC_ZIP),$(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip)) 17 $(call dist-for-goals,docs,$(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip) 19 .PHONY: $(LOCAL_MODULE) $(LOCAL_MODULE)-docs.zip 20 $(LOCAL_MODULE) $(LOCAL_MODULE)-docs.zip : $(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip 21 ALL_DOCS += $(OUT_DOCS)/$(LOCAL_MODULE)-docs.zip 25 …DOC_ANNOTATIONS_ZIP),$(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/$(LOCAL_MODULE)_annotations.zip)) 33 …_DROIDDOC_METADATA_ZIP),$(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/$(LOCAL_MODULE)-metadata.zip))
|
D | package_internal.mk | 195 my_bundle_module := $(intermediates)/base.zip 532 cp -f $(PRIVATE_RES_PACKAGE) $@.parts/apk.zip 534 $(call create-jni-shared-libs-package,$@.parts/jni.zip,$(PRIVATE_USE_EMBEDDED_NATIVE_LIBS)) 538 $(if $(PRIVATE_EXTRA_JAR_ARGS),$(call create-java-resources-jar,$@.parts/res.zip)) 540 $(call create-dex-jar,$@.parts/dex.zip,$(PRIVATE_DEX_FILE)) 541 $(call extract-resources-jar,$@.parts/res.zip,$(PRIVATE_SOURCE_ARCHIVE)) 543 $(MERGE_ZIPS) $@ $@.parts/*.zip 586 …$(ZIP2ZIP) -i $(PRIVATE_RES_PACKAGE) -o $@.parts/apk.zip AndroidManifest.xml:manifest/AndroidManif… 588 $(call create-jni-shared-libs-package,$@.parts/jni.zip) 593 $(call create-java-resources-jar,$@.parts/res.zip) && \ [all …]
|
D | java_library.mk | 75 $(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
|
D | host_dalvik_java_library.mk | 178 $(call create-dex-jar,$@.parts/dex.zip,$(PRIVATE_DEX_FILE)) 179 $(call extract-resources-jar,$@.parts/res.zip,$(PRIVATE_SOURCE_ARCHIVE)) 180 $(MERGE_ZIPS) -j $@ $@.parts/dex.zip $@.parts/res.zip
|
/build/make/tools/ziptime/ |
D | README.txt | 1 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.
|
D | ZipTime.cpp | 41 ZipFile zip; in main() local 42 if (zip.rewrite(argv[1]) != 0) { in main()
|
/build/make/tools/zipalign/ |
D | README.txt | 1 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.
|
D | Android.bp | 73 "tests/data/diffOrders.zip", 74 "tests/data/holes.zip", 75 "tests/data/unaligned.zip",
|
/build/make/tools/releasetools/ |
D | rangelib.py | 41 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/third_party/zip/ |
D | example_test.go | 22 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) {
|
D | android_test.go | 15 package zip package 152 zip := NewWriter(zipBytes) 153 f, err := zip.CreateHeaderAndroid(&FileHeader{ 166 err = zip.Close()
|
D | Android.bp | 31 name: "android-archive-zip", 32 pkgPath: "android/soong/third_party/zip",
|
/build/soong/jar/ |
D | jar.go | 75 func MetaDirFileHeader() *zip.FileHeader { 76 dirHeader := &zip.FileHeader{ 87 func ManifestFileContents(contents []byte) (*zip.FileHeader, []byte, error) { 93 fh := &zip.FileHeader{ 95 Method: zip.Store,
|
/build/soong/cmd/zip2zip/ |
D | zip2zip.go | 80 reader, err := zip.OpenReader(*input) 92 writer := zip.NewWriter(output) 108 *zip.File 113 func zip2zip(reader *zip.Reader, writer *zip.Writer, sortOutput, sortJava, setTime bool, 180 seen := make(map[string]*zip.File) 220 if match.uncompress && match.File.FileHeader.Method != zip.Store { 223 fh.Method = zip.Store
|
D | zip2zip_test.go | 424 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 {
|
/build/soong/cmd/merge_zips/ |
D | merge_zips_test.go | 57 reader *zip.Reader 76 func (tiz *testInputZip) Entries() []*zip.File { 251 writer := zip.NewWriter(out) 282 zw := zip.NewWriter(b) 285 fh := zip.FileHeader{ 309 func testZipEntriesToZipReader(entries []testZipEntry) *zip.Reader { 313 zr, err := zip.NewReader(r, int64(len(b))) 323 zr, err := zip.NewReader(r, int64(len(buf))) 355 func (DummyInpuZip) Entries() []*zip.File {
|
/build/soong/scripts/hiddenapi/ |
D | merge_csv.py | 53 with ZipFile(file) as zip: 54 for entry in zip.namelist(): 56 csv_readers.append(dict_reader(io.TextIOWrapper(zip.open(entry, 'r'))))
|
/build/soong/cmd/diff_target_files/ |
D | zip_artifact.go | 39 zr *zip.ReadCloser 45 zr, err := zip.OpenReader(name) 74 *zip.File
|
/build/make/core/tasks/tools/ |
D | compatibility.mk | 47 test_suite_jdk := $(call intermediates-dir-for,PACKAGING,$(test_suite_name)_jdk,HOST)/jdk.zip 83 compatibility_tests_list_zip := $(out_dir)-tests_list.zip 85 compatibility_zip := $(out_dir).zip
|
/build/make/target/product/security/ |
D | Android.mk | 63 LOCAL_MODULE_STEM := otacerts.zip 79 LOCAL_MODULE_STEM := otacerts.zip
|