Home
last modified time | relevance | path

Searched refs:compression (Results 1 – 11 of 11) sorted by relevance

/system/core/adb/client/
Dfile_sync_client.h26 CompressionType compression, bool dry_run);
28 CompressionType compression, const char* name = nullptr);
31 CompressionType compression, bool dry_run);
Dfile_sync_client.cpp277 CompressionType ResolveCompressionType(CompressionType compression) const { in ResolveCompressionType()
278 if (compression == CompressionType::Any) { in ResolveCompressionType()
288 return compression; in ResolveCompressionType()
352 bool SendSend2(std::string_view path, mode_t mode, CompressionType compression, bool dry_run) { in SendSend2() argument
369 switch (compression) { in SendSend2()
404 bool SendRecv2(const std::string& path, CompressionType compression) { in SendRecv2() argument
420 switch (compression) { in SendRecv2()
610 const std::string& rpath, unsigned mtime, CompressionType compression, in SendLargeFile() argument
621 compression = ResolveCompressionType(compression); in SendLargeFile()
623 if (!SendSend2(path, mode, compression, dry_run)) { in SendLargeFile()
[all …]
Dcommandline.cpp1348 CompressionType* compression, bool* dry_run) { in parse_push_pull_args() argument
1351 *compression = parse_compression_type(adb_compression, true); in parse_push_pull_args()
1368 *compression = parse_compression_type(*++arg, false); in parse_push_pull_args()
1371 *compression = CompressionType::None; in parse_push_pull_args()
1962 CompressionType compression = CompressionType::Any; in adb_commandline() local
1966 parse_push_pull_args(&argv[1], argc - 1, &srcs, &dst, &copy_attrs, &sync, &compression, in adb_commandline()
1969 return do_sync_push(srcs, dst, sync, compression, dry_run) ? 0 : 1; in adb_commandline()
1972 CompressionType compression = CompressionType::Any; in adb_commandline() local
1976 parse_push_pull_args(&argv[1], argc - 1, &srcs, &dst, &copy_attrs, nullptr, &compression, in adb_commandline()
1979 return do_sync_pull(srcs, dst, copy_attrs, compression) ? 0 : 1; in adb_commandline()
[all …]
/system/core/adb/daemon/
Dfile_sync_service.cpp271 CompressionType compression) { in handle_send_file_data() argument
279 switch (compression) { in handle_send_file_data()
348 CompressionType compression, bool dry_run, std::vector<char>& buffer, in handle_send_file() argument
394 if (!handle_send_file_data(s, std::move(fd), timestamp, compression)) { in handle_send_file()
498 static bool send_impl(int s, const std::string& path, mode_t mode, CompressionType compression, in send_impl() argument
529 compression, dry_run, buffer, do_unlink); in send_impl()
577 std::optional<CompressionType> compression; in do_send_v2() local
582 if (compression) { in do_send_v2()
587 compression = CompressionType::Brotli; in do_send_v2()
591 if (compression) { in do_send_v2()
[all …]
/system/libufdt/utils/tests/data/
Dmkdtboimg.cfg19 flags=0xd01 # override with another value, do zlib compression
22 flags=0xd02 # override with another value, do gzip compression
/system/libziparchive/
Dtest_ziparchive_large.py88 with zipfile.ZipFile(zip_path, 'w', compression=zipfile.ZIP_DEFLATED,
118 with zipfile.ZipFile(zip_path, 'w', compression=zipfile.ZIP_STORED,
132 with zipfile.ZipFile(zip_path, 'w', compression=zipfile.ZIP_DEFLATED,
/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp143 .compression = INCFS_COMPRESSION_KIND_NONE, in writeTestRanges()
150 .compression = INCFS_COMPRESSION_KIND_NONE, in writeTestRanges()
157 .compression = INCFS_COMPRESSION_KIND_NONE, in writeTestRanges()
165 .compression = INCFS_COMPRESSION_KIND_NONE, in writeTestRanges()
173 .compression = INCFS_COMPRESSION_KIND_NONE, in writeTestRanges()
181 .compression = INCFS_COMPRESSION_KIND_NONE, in writeTestRanges()
403 .compression = INCFS_COMPRESSION_KIND_NONE, in TEST_F()
446 .compression = INCFS_COMPRESSION_KIND_NONE, in TEST_F()
514 .compression = INCFS_COMPRESSION_KIND_NONE, in TEST_F()
651 .compression = INCFS_COMPRESSION_KIND_NONE, in TEST_F()
[all …]
/system/incremental_delivery/incfs/kernel-headers/linux/
Dincrementalfs.h148 __u8 compression; member
/system/incremental_delivery/incfs/include/
Dincfs_ndk.h103 IncFsCompressionKind compression; member
/system/core/adb/
Dtest_device.py766 os.environ["ADB_COMPRESSION"] = self.compression
1354 compression = "none" variable in FileOperationsTestUncompressed
1358 compression = "brotli" variable in FileOperationsTestBrotli
1362 compression = "lz4" variable in FileOperationsTestLZ4
1366 compression = "zstd" variable in FileOperationsTestZstd
/system/incremental_delivery/incfs/
Dincfs.cpp1135 .compression = (uint8_t)blocks[i].compression, in IncFs_WriteBlocks()