Home
last modified time | relevance | path

Searched refs:CreateSnapshot (Results 1 – 5 of 5) sorted by relevance

/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dcreate_cow.cpp51 class CreateSnapshot { class
53 CreateSnapshot(const std::string& src_file, const std::string& target_file,
122 CreateSnapshot::CreateSnapshot(const std::string& src_file, const std::string& target_file, in CreateSnapshot() function in android::snapshot::CreateSnapshot
130 bool CreateSnapshot::PrepareParse(std::string& parsing_file, const bool createSnapshot) { in PrepareParse()
155 bool CreateSnapshot::FindSourceBlockHash() { in FindSourceBlockHash()
167 bool CreateSnapshot::CreateSnapshotFile() { in CreateSnapshotFile()
177 bool CreateSnapshot::CreateSnapshotPatch() { in CreateSnapshotPatch()
184 void CreateSnapshot::SHA256(const void* data, size_t length, uint8_t out[32]) { in SHA256()
191 std::string CreateSnapshot::ToHexString(const uint8_t* buf, size_t len) { in ToHexString()
202 void CreateSnapshot::PrepareMergeBlock(const void* buffer, uint64_t block, in PrepareMergeBlock()
[all …]
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h410 FRIEND_TEST(SnapshotTest, CreateSnapshot);
501 bool CreateSnapshot(LockedFile* lock, PartitionCowCreator* cow_creator, SnapshotStatus* status);
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp536 TEST_F(SnapshotTest, CreateSnapshot) { in TEST_F() argument
553 ASSERT_TRUE(sm->CreateSnapshot(lock_.get(), &cow_creator, &status)); in TEST_F()
589 ASSERT_TRUE(sm->CreateSnapshot(lock_.get(), &cow_creator, &status)); in TEST_F()
2202 ASSERT_TRUE(sm->CreateSnapshot(lock_.get(), &cow_creator, &status)); in TEST_F()
Dsnapshotctl.cpp371 if (!sm_->CreateSnapshot(lock_.get(), &cow_creator, &status)) { in CreateSnapshotDevice()
Dsnapshot.cpp375 bool SnapshotManager::CreateSnapshot(LockedFile* lock, PartitionCowCreator* cow_creator, in CreateSnapshot() function in android::snapshot::SnapshotManager
3538 if (!CreateSnapshot(lock, cow_creator, &cow_creator_ret->snapshot_status)) { in CreateUpdateSnapshotsInternal()