/packages/modules/Virtualization/zipfuse/src/ |
D | inode.rs | 113 fn new_file(zip_index: ZipIndex, mode: u32, zip_file: &zip::read::ZipFile) -> InodeData { in new_file() 178 archive: &mut zip::ZipArchive<R>, in from_zip() 253 use zip::write::FileOptions; 256 fn setup(add: fn(&mut zip::ZipWriter<&mut std::io::Cursor<Vec<u8>>>)) -> InodeTable { in setup() 258 let mut writer = zip::ZipWriter::new(&mut buf); in setup() 263 let zip = zip::ZipArchive::new(buf); in setup() localVariable 264 assert!(zip.is_ok()); in setup() 265 let it = InodeTable::from_zip(&mut zip.unwrap()); in setup() 305 let it = setup(|zip| { in one_file() 306 zip.start_file("foo", FileOptions::default()).unwrap(); in one_file() [all …]
|
D | main.rs | 127 zip_archive: Mutex<zip::ZipArchive<File>>, 170 let mut z = zip::ZipArchive::new(f)?; in new() 272 zip::CompressionMethod::Stored => OpenFileContent::Uncompressed(zip_index), in open() 478 use zip::write::FileOptions; 536 fn run_test(add: fn(&mut zip::ZipWriter<File>), check: fn(&std::path::Path)) { in run_test() 542 add: fn(&mut zip::ZipWriter<File>), in run_test_with_options() 548 let zip = File::create(&zip_path); in run_test_with_options() localVariable 549 assert!(zip.is_ok()); in run_test_with_options() 550 let mut zip = zip::ZipWriter::new(zip.unwrap()); in run_test_with_options() localVariable 553 add(&mut zip); in run_test_with_options() [all …]
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/ |
D | Compressor.java | 26 import java.util.zip.ZipEntry; 27 import java.util.zip.ZipInputStream; 28 import java.util.zip.ZipOutputStream; 35 static void compress(@NonNull File source, @NonNull File zip) throws IOException { in compress() argument 37 zip.mkdirs(); in compress() 38 zip.delete(); in compress() 39 ZipOutputStream outputStream = new ZipOutputStream(new FileOutputStream(zip)); in compress() 50 Slog.i(TAG, "File zipped: " + zip.getAbsolutePath()); in compress() 53 zip.delete(); in compress() 59 static void decompress(@NonNull File zip, @NonNull File destination) throws IOException { in decompress() argument [all …]
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/ |
D | WriteableArchiveTest.java | 36 import java.util.zip.ZipEntry; 37 import java.util.zip.ZipFile; 183 ZipFile zip = null; in testAddDirectory() local 185 zip = new ZipFile(mFile); in testAddDirectory() 186 final Enumeration<? extends ZipEntry> entries = zip.entries(); in testAddDirectory() 192 if (zip != null) { in testAddDirectory() 193 zip.close(); in testAddDirectory() 250 ZipFile zip = null; in testAddFile() local 253 zip = new ZipFile(mFile); in testAddFile() 257 final Enumeration<? extends ZipEntry> entries = zip.entries(); in testAddFile() [all …]
|
/packages/modules/adb/client/ |
D | incremental_utils.cpp | 286 ZipArchiveHandle zip; in openZipArchiveFd() local 287 if (OpenArchiveFd(osfd, "apk_fd", &zip, transferFdOwnership) != 0) { in openZipArchiveFd() 295 return zip; in openZipArchiveFd() 311 ZipArchiveHandle zip; in openZipArchive() local 312 if (OpenArchiveFromMemory(mapping->data(), mapping->size(), "apk_mapping", &zip) != 0) { in openZipArchive() 316 return {zip, std::move(mapping)}; in openZipArchive() 322 auto [zip, _] = openZipArchive(fd, fileSize); in InstallationPriorityBlocks() 323 if (!zip) { in InstallationPriorityBlocks() 336 if (StartIteration(zip, &cookie, std::move(matcher)) != 0) { in InstallationPriorityBlocks() 369 CloseArchive(zip); in InstallationPriorityBlocks()
|
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/src/main/java/com/android/development/ |
D | SdkGenerator.java | 21 import java.util.zip.ZipEntry; 22 import java.util.zip.ZipInputStream; 23 import java.util.zip.ZipOutputStream; 86 for (File zip : zipFiles) { in main() 87 try (FileInputStream fin = new FileInputStream(zip); in main() 90 progress = new ProgressBar("Merging " + zip.getName(), channel.size()); in main()
|
/packages/modules/GeoTZ/tzbb_data/ |
D | METADATA | 18 …value: "input-data.zip downloaded from https://github.com/evansiroky/timezone-boundary-builder/rel… 22 …mezones.geojson.zip downloaded from https://github.com/evansiroky/timezone-boundary-builder/releas…
|
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/ |
D | CollectionUtilsTest.kt | 147 assertEquals(list15.zip(listAE).map { android.util.Pair(it.first, it.second) }, in testZip() 148 CollectionUtils.zip(list15, listAE)) in testZip() 150 assertEquals(list15.zip(listNull).map { android.util.Pair(it.first, it.second) }, in testZip() 151 CollectionUtils.zip(list15, listNull)) in testZip() 153 CollectionUtils.zip(emptyList<Int>(), emptyList<Int>())) in testZip() 156 CollectionUtils.zip(listOf(1, 2), list15) in testZip() 164 assertEquals(list15.zip(listADA).toMap(), CollectionUtils.assoc(list15, listADA)) in testAssoc()
|
/packages/modules/Virtualization/zipfuse/testdata/ |
D | README | 6 $ soong_zip -o test.zip -D dir 9 $ zipinfo test.zip 10 Archive: test.zip
|
/packages/modules/NeuralNetworks/runtime/test/specs/AIDL_V2/ |
D | pack.mod.py | 19 …quant8_asymm_dict = dict(zip([*input_tensors, output_tensor], [quant8_asymm_type] * (len(input_ten… 22 …quant8_asymm_signed_dict = dict(zip([*input_tensors, output_tensor], [quant8_asymm_signed_type] * … 24 …Example((dict(zip(input_tensors, inputs_data)), {output_tensor: output_data}), model=model, name=n…
|
/packages/modules/OnDevicePersonalization/pluginlib/src/com/android/ondevicepersonalization/libraries/plugin/internal/util/ |
D | ApkReader.java | 28 import java.util.zip.ZipEntry; 29 import java.util.zip.ZipException; 30 import java.util.zip.ZipInputStream;
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | ZipUtils.java | 27 import java.util.zip.ZipEntry; 28 import java.util.zip.ZipFile; 29 import java.util.zip.ZipOutputStream;
|
/packages/services/Car/car_product/car_ui_portrait/bootanimation/ |
D | README | 5 ## Command to create the zip: 6 zip -0qry -i \*.txt \*.png \*.wav @ ../bootanimation.zip *.txt part* 10 The `bootanimation.zip` archive file includes: 67 There is also a special TYPE, `$SYSTEM`, that loads `/system/media/bootanimation.zip`
|
/packages/modules/Bluetooth/system/ |
D | Android.mk | 89 …all intermediates-dir-for,PACKAGING,bluetooth_cert_src_and_bin,HOST)/bluetooth_cert_src_and_bin.zip 124 …dules/Bluetooth/system/BlueberryFacadeAndCertGeneratedStub_py/gen/blueberry_facade_generated_py.zip 127 …call intermediates-dir-for,PACKAGING,bluetooth_cert_tests_py_package,HOST)/bluetooth_cert_tests.zip 157 …-goals,bluetooth_stack_with_facade,$(bluetooth_cert_tests_py_package_zip):bluetooth_cert_tests.zip)
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/debug/ |
D | DataExporter.java | 31 import java.util.zip.Deflater; 32 import java.util.zip.ZipEntry; 33 import java.util.zip.ZipOutputStream;
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | Enable16kPagesPreferenceController.java | 64 import java.util.zip.ZipEntry; 65 import java.util.zip.ZipFile; 238 try (ZipFile zip = new ZipFile(updateFile)) { in applyUpdateFile() argument 239 Enumeration<? extends ZipEntry> entries = zip.entries(); in applyUpdateFile() 261 InputStream inputStream = zip.getInputStream(zipEntry); in applyUpdateFile()
|
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/ |
D | Android.bp | 105 // This genrule generates a zip file of 5000+ test cases from the NNAPI test 107 // currently not able to accept a zip file as a fuzzer seed corpus. 117 out: ["libneuralnetworks_fuzzer_seed_corpus.zip"],
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/ |
D | if_constant.mod.py | 23 True: [x + y for (x, y) in zip(x_data, y_data)], 24 False: [x - y for (x, y) in zip(x_data, y_data)],
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | Compress.java | 22 import java.util.zip.GZIPInputStream; 23 import java.util.zip.GZIPOutputStream;
|
/packages/modules/common/build/mainline_modules_sdks_test_data/ |
D | wifi_latest_Android.bp.expected | 53 annotations: "sdk_library/public/framework-wifi_annotations.zip", 61 annotations: "sdk_library/system/framework-wifi_annotations.zip", 69 annotations: "sdk_library/module-lib/framework-wifi_annotations.zip",
|
D | wifi_Android.bp.input | 55 annotations: "sdk_library/public/framework-wifi_annotations.zip", 63 annotations: "sdk_library/system/framework-wifi_annotations.zip", 71 annotations: "sdk_library/module-lib/framework-wifi_annotations.zip",
|
/packages/modules/NeuralNetworks/runtime/test/specs/AIDL_V3/ |
D | mirror_pad.mod.py | 45 output_dims = [sum(x) for x in zip(input_dims, paddings[0::2], paddings[1::2])] 52 numpy_paddings = list(zip(paddings[0::2], paddings[1::2]))
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/ |
D | AuctionServerDataCompressorGzip.java | 29 import java.util.zip.GZIPInputStream; 30 import java.util.zip.GZIPOutputStream;
|
/packages/modules/GeoTZ/ |
D | download-tzbb-files.sh | 48 input-data.zip \ 49 timezones.geojson.zip \
|
/packages/modules/Virtualization/tests/ferrochrome/ |
D | ferrochrome.sh | 105 curl --output-dir ${fecr_dir} -O ${FECR_GS_URL}/${fecr_version}/image.zip 108 …unzip ${fecr_dir}/image.zip chromiumos_test_image.bin boot_images/vmlinuz* -d ${fecr_dir} > /dev/n…
|