Home
last modified time | relevance | path

Searched refs:CompressionType (Results 1 – 8 of 8) sorted by relevance

/packages/modules/adb/daemon/
Dfile_sync_service.cpp279 CompressionType compression) { in handle_send_file_data()
288 case CompressionType::None: in handle_send_file_data()
292 case CompressionType::Brotli: in handle_send_file_data()
296 case CompressionType::LZ4: in handle_send_file_data()
300 case CompressionType::Zstd: in handle_send_file_data()
304 case CompressionType::Any: in handle_send_file_data()
356 CompressionType compression, bool dry_run, std::vector<char>& buffer, in handle_send_file()
514 static bool send_impl(int s, const std::string& path, mode_t mode, CompressionType compression, in send_impl()
578 return send_impl(s, path, mode, CompressionType::None, false, buffer); in do_send_v1()
593 std::optional<CompressionType> compression; in do_send_v2()
[all …]
/packages/modules/adb/client/
Dfile_sync_client.cpp277 CompressionType ResolveCompressionType(CompressionType compression) const { in ResolveCompressionType()
278 if (compression == CompressionType::Any) { in ResolveCompressionType()
280 return CompressionType::Zstd; in ResolveCompressionType()
282 return CompressionType::LZ4; in ResolveCompressionType()
284 return CompressionType::Brotli; in ResolveCompressionType()
286 return CompressionType::None; in ResolveCompressionType()
356 bool SendSend2(std::string_view path, mode_t mode, CompressionType compression, bool dry_run) { in SendSend2()
374 case CompressionType::None: in SendSend2()
377 case CompressionType::Brotli: in SendSend2()
381 case CompressionType::LZ4: in SendSend2()
[all …]
Dfile_sync_client.h26 CompressionType compression, bool dry_run, bool quiet);
28 CompressionType compression, const char* name = nullptr, bool quiet = false);
31 CompressionType compression, bool dry_run, bool quiet);
Dcommandline.cpp1282 static CompressionType parse_compression_type(const std::string& str, bool allow_numbers) { in parse_compression_type()
1285 return CompressionType::None; in parse_compression_type()
1287 return CompressionType::Any; in parse_compression_type()
1292 return CompressionType::Any; in parse_compression_type()
1294 return CompressionType::None; in parse_compression_type()
1298 return CompressionType::Brotli; in parse_compression_type()
1300 return CompressionType::LZ4; in parse_compression_type()
1302 return CompressionType::Zstd; in parse_compression_type()
1310 CompressionType* compression, bool* dry_run) { in parse_push_pull_args()
1333 *compression = CompressionType::None; in parse_push_pull_args()
[all …]
Dbugreport.cpp298 return do_sync_pull(srcs, dst, copy_attrs, CompressionType::None, name); in DoSyncPull()
Dincremental_server.cpp62 using CompressionType = int8_t; typedef
133 CompressionType compression_type; // 1 byte
Dfastdeploy.cpp115 if (!do_sync_push(srcs, dst, sync, CompressionType::Any, false, false)) { in push_to_device()
Dadb_install.cpp290 if (do_sync_push(apk_file, apk_dest.c_str(), false, CompressionType::Any, false, false)) { in install_app_legacy()