Home
last modified time | relevance | path

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

12

/system/extras/f2fs_utils/
Dmkf2fsuserimg.sh11 [-L LABEL] [--prjquota] [--casefold] [--compression] [--readonly]
12 [--sldc <num> [sload compression sub-options]] [-b <block_size>]
13 <num>: number of the sload compression args, e.g. -a LZ4 counts as 2
14 when sload compression args are not given, <num> must be 0,
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dcow_compress.cpp60 std::unique_ptr<ICompressor> ICompressor::Create(CowCompression compression, in Create() argument
62 switch (compression.algorithm) { in Create()
64 return ICompressor::Lz4(compression.compression_level, block_size); in Create()
66 return ICompressor::Brotli(compression.compression_level, block_size); in Create()
68 return ICompressor::Gz(compression.compression_level, block_size); in Create()
70 return ICompressor::Zstd(compression.compression_level, block_size); in Create()
82 uint32_t CompressWorker::GetDefaultCompressionLevel(CowCompressionAlgorithm compression) { in GetDefaultCompressionLevel() argument
83 switch (compression) { in GetDefaultCompressionLevel()
Dcreate_cow.cpp38 DEFINE_string(compression, "lz4",
54 const std::string& patch_file, const std::string& compression);
123 const std::string& patch_file, const std::string& compression) in CreateSnapshot() argument
125 if (!compression.empty()) { in CreateSnapshot()
126 compression_ = compression; in CreateSnapshot()
244 options.compression = compression_; in CreateSnapshotWriter()
473 … create_snapshot --source=<source.img> --target=<target.img> --compression="<compression-algorithm"
Dparser_v2.cpp227 if (v2_op.compression != kCowCompressNone) { in Translate()
229 header_.compression_algorithm = v2_op.compression; in Translate()
230 } else if (header_.compression_algorithm != v2_op.compression) { in Translate()
233 << v2_op.compression << ", op: " << v2_op; in Translate()
Dtest_v3.cpp117 options.compression = "lz4"; in TEST_F()
134 options.compression = "lz4"; in TEST_F()
418 options.compression = "gz"; in TEST_F()
492 options.compression = "gz"; in TEST_F()
739 options.compression = "none"; in TEST_F()
783 std::string compression; member
818 options.compression = params.compression; in TEST_P()
946 for (auto compression : compression_algo) { in GetTestConfigs() local
951 param.compression = compression; in GetTestConfigs()
Dwriter_v2.cpp124 auto parts = android::base::Split(options_.compression, ","); in ParseOptions()
128 << parts.size() << " " << options_.compression; in ParseOptions()
133 LOG(ERROR) << "unrecognized compression: " << options_.compression; in ParseOptions()
424 op.compression = compression_.algorithm; in EmitBlocks()
Dtest_v2.cpp254 options.compression = "gz"; in TEST_F()
291 options.compression = GetParam(); in TEST_P()
368 options.compression = GetParam(); in TEST_P()
467 CowCompression compression; in TEST_P() local
470 compression.algorithm = algorithm.value(); in TEST_P()
475 std::unique_ptr<ICompressor> compressor = ICompressor::Create(compression, 4096); in TEST_P()
496 options.compression = "gz"; in TEST_F()
559 options.compression = "gz"; in TEST_F()
1408 options.compression = testcases[i].first; in TEST_F()
1536 options.compression = "gz"; in TEST_F()
Dcow_format.cpp64 switch (op.compression) { in operator <<()
/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.py96 with zipfile.ZipFile(zip_path, 'w', compression=zipfile.ZIP_DEFLATED,
126 with zipfile.ZipFile(zip_path, 'w', compression=zipfile.ZIP_STORED,
140 with zipfile.ZipFile(zip_path, 'w', compression=zipfile.ZIP_DEFLATED,
/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp62 .compression = INCFS_COMPRESSION_KIND_NONE, in writeTestRanges()
69 .compression = INCFS_COMPRESSION_KIND_NONE, in writeTestRanges()
76 .compression = INCFS_COMPRESSION_KIND_NONE, in writeTestRanges()
84 .compression = INCFS_COMPRESSION_KIND_NONE, in writeTestRanges()
92 .compression = INCFS_COMPRESSION_KIND_NONE, in writeTestRanges()
100 .compression = INCFS_COMPRESSION_KIND_NONE, in writeTestRanges()
116 .compression = INCFS_COMPRESSION_KIND_NONE, in writeBlock()
186 .compression = INCFS_COMPRESSION_KIND_NONE, in testWaitForPendingReads()
519 .compression = INCFS_COMPRESSION_KIND_NONE, in TEST_F()
660 .compression = INCFS_COMPRESSION_KIND_NONE, in TEST_F()
[all …]
/system/update_engine/payload_generator/
Dcow_size_estimator.cc206 std::string compression, in EstimateCowSizeInfo() argument
214 .compression = std::move(compression), in EstimateCowSizeInfo()
Dcow_size_estimator.h38 std::string compression,
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dcow_writer.h42 std::string compression; member
127 static uint32_t GetDefaultCompressionLevel(CowCompressionAlgorithm compression);
Dcow_compress.h43 static std::unique_ptr<ICompressor> Create(CowCompression compression,
Dcow_format.h147 uint8_t compression; member
166 uint8_t compression; member
/system/core/fs_mgr/libsnapshot/tools/
Dcow_benchmark.cpp31 static std::string CompressionToString(CowCompression& compression) { in CompressionToString() argument
33 switch (compression.algorithm) { in CompressionToString()
49 output.append(" " + std::to_string(compression.compression_level)); in CompressionToString()
/system/update_engine/aosp/
Dcow_converter.cc76 .compression = dap.vabc_compression_param(), in ProcessPartition()
81 options.compression = FLAGS_vabc_compression_param; in ProcessPartition()
/system/core/fs_mgr/libsnapshot/android/snapshot/
Dsnapshot.proto112 // Enable multi-threaded compression
209 // Whether compression/dm-user was used for any snapshots.
246 // Whether compression/dm-user was used for any snapshots.
271 // Whether this update attempt uses XOR compression.
/system/logging/logd/
DREADME.compression.md68compression without actually compressing”, it’s “chatty without doing the chatty elimination”, whi…
/system/update_engine/payload_consumer/
Dcow_writer_file_descriptor_unittest.cc53 const CowOptions options{.block_size = BLOCK_SIZE, .compression = "gz"}; in GetCowWriter()
/system/incremental_delivery/incfs/incfsdump/
Ddump.cpp322 auto compression = flags & INCFS_BLOCK_COMPRESSED_MASK; in blockFlags() local
323 if (compression == INCFS_BLOCK_COMPRESSED_LZ4) { in blockFlags()
/system/memory/lmkd/
DREADME.md98 - `ro.lmk.swap_compression_ratio`: swap average compression ratio to be used when
102 Default = 1 (no compression).
/system/incremental_delivery/incfs/kernel-headers/linux/
Dincrementalfs.h87 __u8 compression; member
/system/core/fs_mgr/libsnapshot/snapuserd/user-space-merge/
Dsnapuserd_test.cpp67 std::string compression; member
133 options.compression = "gz"; in CreateCowDeviceInternal()
146 options.compression = params.compression; in CreateV3Cow()
1503 for (auto compression : compression_algo) { in GetVariableBlockTestConfigs() local
1508 param.compression = compression; in GetVariableBlockTestConfigs()

12