Home
last modified time | relevance | path

Searched refs:CompressionType (Results 1 – 8 of 8) 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()
280 return CompressionType::Zstd; in ResolveCompressionType()
282 return CompressionType::LZ4; in ResolveCompressionType()
284 return CompressionType::Brotli; in ResolveCompressionType()
286 return CompressionType::None; in ResolveCompressionType()
352 bool SendSend2(std::string_view path, mode_t mode, CompressionType compression, bool dry_run) { in SendSend2()
370 case CompressionType::None: in SendSend2()
373 case CompressionType::Brotli: in SendSend2()
377 case CompressionType::LZ4: in SendSend2()
[all …]
Dcommandline.cpp1320 static CompressionType parse_compression_type(const std::string& str, bool allow_numbers) { in parse_compression_type()
1323 return CompressionType::None; in parse_compression_type()
1325 return CompressionType::Any; in parse_compression_type()
1330 return CompressionType::Any; in parse_compression_type()
1332 return CompressionType::None; in parse_compression_type()
1336 return CompressionType::Brotli; in parse_compression_type()
1338 return CompressionType::LZ4; in parse_compression_type()
1340 return CompressionType::Zstd; in parse_compression_type()
1348 CompressionType* compression, bool* dry_run) { in parse_push_pull_args()
1371 *compression = CompressionType::None; in parse_push_pull_args()
[all …]
Dbugreport.cpp287 return do_sync_pull(srcs, dst, copy_attrs, CompressionType::None, name); in DoSyncPull()
Dfastdeploy.cpp115 if (!do_sync_push(srcs, dst, sync, CompressionType::Any, false)) { in push_to_device()
Dincremental_server.cpp62 using CompressionType = int8_t; typedef
133 CompressionType compression_type; // 1 byte
Dadb_install.cpp295 if (do_sync_push(apk_file, apk_dest.c_str(), false, CompressionType::Any, false)) { in install_app_legacy()
/system/core/adb/daemon/
Dfile_sync_service.cpp271 CompressionType compression) { in handle_send_file_data()
280 case CompressionType::None: in handle_send_file_data()
284 case CompressionType::Brotli: in handle_send_file_data()
288 case CompressionType::LZ4: in handle_send_file_data()
292 case CompressionType::Zstd: in handle_send_file_data()
296 case CompressionType::Any: in handle_send_file_data()
348 CompressionType compression, bool dry_run, std::vector<char>& buffer, in handle_send_file()
498 static bool send_impl(int s, const std::string& path, mode_t mode, CompressionType compression, in send_impl()
562 return send_impl(s, path, mode, CompressionType::None, false, buffer); in do_send_v1()
577 std::optional<CompressionType> compression; in do_send_v2()
[all …]