Home
last modified time | relevance | path

Searched refs:TestPartitionOpener (Results 1 – 7 of 7) sorted by relevance

/aosp14/system/core/fs_mgr/liblp/
H A Dtest_partition_opener.cpp26 TestPartitionOpener::TestPartitionOpener( in TestPartitionOpener() function in android::fs_mgr::TestPartitionOpener
31 unique_fd TestPartitionOpener::Open(const std::string& partition_name, int flags) const { in Open()
40 bool TestPartitionOpener::GetInfo(const std::string& partition_name, BlockDeviceInfo* info) const { in GetInfo()
H A Dtest_partition_opener.h28 class TestPartitionOpener : public PartitionOpener {
30 explicit TestPartitionOpener(const std::map<std::string, int>& partition_map,
H A Dio_test.cpp92 class DefaultPartitionOpener final : public TestPartitionOpener {
95 : TestPartitionOpener({{"super", fd}}, {{"super", kSuperInfo}}) {} in DefaultPartitionOpener()
642 TestPartitionOpener opener({{"super_a", fd}, {"super_b", fd}}, in TEST_F()
688 TestPartitionOpener opener({{"super_a", fd}, {"super_b", fd}}, in TEST_F()
/aosp14/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
H A Dtest_helpers.h58 class TestPartitionOpener final : public android::fs_mgr::PartitionOpener {
60 explicit TestPartitionOpener(const std::string& fake_super_path) in TestPartitionOpener() function
113 opener_ = std::make_unique<TestPartitionOpener>(path); in set_fake_super()
123 std::unique_ptr<TestPartitionOpener> opener_;
/aosp14/system/core/fs_mgr/libsnapshot/
H A Dtest_helpers.cpp49 android::base::unique_fd TestPartitionOpener::Open(const std::string& partition_name, in Open()
57 bool TestPartitionOpener::GetInfo(const std::string& partition_name, in GetInfo()
74 std::string TestPartitionOpener::GetDeviceString(const std::string& partition_name) const { in GetDeviceString()
H A Dsnapshot_test.cpp288 TestPartitionOpener opener(fake_super); in FormatFakeSuper()
295 TestPartitionOpener opener(fake_super);
318 TestPartitionOpener opener(fake_super); in CreatePartition()
337 TestPartitionOpener opener(fake_super); in MapUpdateSnapshot()
362 TestPartitionOpener opener(fake_super); in MapUpdateSnapshot()
459 TestPartitionOpener opener(fake_super); in PrepareOneSnapshot()
984 opener_ = std::make_unique<TestPartitionOpener>(fake_super); in SetUp()
1278 std::unique_ptr<TestPartitionOpener> opener_;
/aosp14/system/core/fs_mgr/libfiemap/
H A Dimage_test.cpp58 class TestPartitionOpener final : public PartitionOpener { class
86 manager_->set_partition_opener(std::make_unique<TestPartitionOpener>()); in SetUp()
284 manager_->set_partition_opener(std::make_unique<TestPartitionOpener>()); in TEST_F()