Searched refs:cow_creator (Results 1 – 3 of 3) sorted by relevance
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_test.cpp | 427 PartitionCowCreator cow_creator; in TEST_F() local 428 cow_creator.compression_enabled = IsCompressionEnabled(); in TEST_F() 429 if (cow_creator.compression_enabled) { in TEST_F() 430 cow_creator.compression_algorithm = "gz"; in TEST_F() 432 cow_creator.compression_algorithm = "none"; in TEST_F() 441 ASSERT_TRUE(sm->CreateSnapshot(lock_.get(), &cow_creator, &status)); in TEST_F() 456 ASSERT_EQ(status.compression_enabled(), cow_creator.compression_enabled); in TEST_F() 457 ASSERT_EQ(status.compression_algorithm(), cow_creator.compression_algorithm); in TEST_F() 468 PartitionCowCreator cow_creator; in TEST_F() local 469 cow_creator.compression_enabled = IsCompressionEnabled(); in TEST_F() [all …]
|
D | snapshot.cpp | 326 bool SnapshotManager::CreateSnapshot(LockedFile* lock, PartitionCowCreator* cow_creator, in CreateSnapshot() argument 368 status->set_compression_enabled(cow_creator->compression_enabled); in CreateSnapshot() 369 status->set_compression_algorithm(cow_creator->compression_algorithm); in CreateSnapshot() 2800 PartitionCowCreator cow_creator{ in CreateUpdateSnapshots() local 2812 auto ret = CreateUpdateSnapshotsInternal(lock.get(), manifest, &cow_creator, &created_devices, in CreateUpdateSnapshots() 2837 if (cow_creator.compression_enabled) { in CreateUpdateSnapshots() 2853 status.set_compression_enabled(cow_creator.compression_enabled); in CreateUpdateSnapshots() 2866 LockedFile* lock, const DeltaArchiveManifest& manifest, PartitionCowCreator* cow_creator, in CreateUpdateSnapshotsInternal() argument 2871 auto* target_metadata = cow_creator->target_metadata; in CreateUpdateSnapshotsInternal() 2872 const auto& target_suffix = cow_creator->target_suffix; in CreateUpdateSnapshotsInternal() [all …]
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 472 bool CreateSnapshot(LockedFile* lock, PartitionCowCreator* cow_creator, SnapshotStatus* status); 694 PartitionCowCreator* cow_creator, AutoDeviceList* created_devices,
|