Home
last modified time | relevance | path

Searched refs:InitializeAppend (Results 1 – 9 of 9) sorted by relevance

/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot_writer.h47 virtual bool InitializeAppend(uint64_t label) = 0;
70 bool InitializeAppend(uint64_t label) override;
101 bool InitializeAppend(uint64_t) override { return true; } in InitializeAppend() function
Dmock_snapshot_writer.h51 MOCK_METHOD(bool, InitializeAppend, (uint64_t label), (override));
Dcow_writer.h167 bool InitializeAppend(android::base::unique_fd&&, uint64_t label);
168 bool InitializeAppend(android::base::borrowed_fd fd, uint64_t label);
/system/update_engine/payload_consumer/
Dcow_writer_file_descriptor_unittest.cc93 ASSERT_TRUE(cow_writer->InitializeAppend(23)); in TEST_F()
108 ASSERT_TRUE(cow_writer->InitializeAppend(23)); in TEST_F()
Dvabc_partition_writer.cc172 TEST_AND_RETURN_FALSE(cow_writer_->InitializeAppend(next_op_index)); in Init()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_writer.cpp148 bool CompressedSnapshotWriter::InitializeAppend(uint64_t label) { in InitializeAppend() function in android::snapshot::CompressedSnapshotWriter
149 return cow_->InitializeAppend(cow_device_, label); in InitializeAppend()
/system/core/fs_mgr/libsnapshot/libsnapshot_cow/
Dcow_api_test.cpp624 ASSERT_TRUE(writer->InitializeAppend(cow_->fd, 3)); in TEST_F()
692 ASSERT_FALSE(writer->InitializeAppend(cow_->fd, 1)); in TEST_F()
693 ASSERT_TRUE(writer->InitializeAppend(cow_->fd, 0)); in TEST_F()
756 ASSERT_TRUE(writer->InitializeAppend(cow_->fd, 5)); in TEST_F()
805 ASSERT_FALSE(writer->InitializeAppend(cow_->fd, 12)); in TEST_F()
806 ASSERT_TRUE(writer->InitializeAppend(cow_->fd, 5)); in TEST_F()
980 ASSERT_TRUE(writer->InitializeAppend(cow_->fd, 50)); in TEST_F()
1096 ASSERT_TRUE(writer->InitializeAppend(cow_->fd, 1)); in TEST_F()
1157 ASSERT_TRUE(writer->InitializeAppend(cow_->fd, 1)); in TEST_F()
1215 ASSERT_TRUE(writer->InitializeAppend(cow_->fd, 1)); in TEST_F()
[all …]
Dcow_writer.cpp309 bool CowWriter::InitializeAppend(android::base::unique_fd&& fd, uint64_t label) { in InitializeAppend() function in android::snapshot::CowWriter
311 return InitializeAppend(android::base::borrowed_fd{owned_fd_}, label); in InitializeAppend()
314 bool CowWriter::InitializeAppend(android::base::borrowed_fd fd, uint64_t label) { in InitializeAppend() function in android::snapshot::CowWriter
/system/update_engine/aosp/
Ddynamic_partition_control_android.cc1458 if (!cow_writer->InitializeAppend(kEndOfInstallLabel)) { in OpenCowFd()