Home
last modified time | relevance | path

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

/system/core/fs_mgr/liblp/
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()
Dtest_partition_opener.h28 class TestPartitionOpener : public PartitionOpener {
30 explicit TestPartitionOpener(const std::map<std::string, int>& partition_map,
Dio_test.cpp88 class DefaultPartitionOpener final : public TestPartitionOpener {
91 : TestPartitionOpener({{"super", fd}}, {{"super", kSuperInfo}}) {} in DefaultPartitionOpener()
638 TestPartitionOpener opener({{"super_a", fd}, {"super_b", fd}}, in TEST_F()
684 TestPartitionOpener opener({{"super_a", fd}, {"super_b", fd}}, in TEST_F()
/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h58 class TestPartitionOpener final : public android::fs_mgr::PartitionOpener {
60 explicit TestPartitionOpener(const std::string& fake_super_path) in TestPartitionOpener() function
107 opener_ = std::make_unique<TestPartitionOpener>(path); in set_fake_super()
115 std::unique_ptr<TestPartitionOpener> opener_;
/system/core/fs_mgr/libsnapshot/
Dsnapshot_fuzz_utils.h46 TestPartitionOpener* opener = nullptr;
99 std::unique_ptr<TestPartitionOpener>&& partition_opener, in SnapshotFuzzDeviceInfo()
137 std::unique_ptr<TestPartitionOpener> partition_opener_;
Dtest_helpers.cpp47 android::base::unique_fd TestPartitionOpener::Open(const std::string& partition_name, in Open()
55 bool TestPartitionOpener::GetInfo(const std::string& partition_name, in GetInfo()
72 std::string TestPartitionOpener::GetDeviceString(const std::string& partition_name) const { in GetDeviceString()
Dsnapshot_test.cpp181 TestPartitionOpener opener(fake_super); in FormatFakeSuper()
188 TestPartitionOpener opener(fake_super);
211 TestPartitionOpener opener(fake_super); in CreatePartition()
230 TestPartitionOpener opener(fake_super); in MapUpdateSnapshot()
255 TestPartitionOpener opener(fake_super); in MapUpdateSnapshot()
349 TestPartitionOpener opener(fake_super); in PrepareOneSnapshot()
855 opener_ = std::make_unique<TestPartitionOpener>(fake_super); in SetUp()
1084 std::unique_ptr<TestPartitionOpener> opener_;
Dsnapshot_fuzz.cpp151 auto partition_opener = std::make_unique<TestPartitionOpener>(GetSnapshotFuzzEnv()->super()); in SNAPSHOT_FUZZ_FUNCTION()
Dsnapshot_fuzz_utils.cpp423 auto partition_opener = std::make_unique<TestPartitionOpener>(super()); in CheckCreateSnapshotManager()
/system/core/fs_mgr/libfiemap/
Dimage_test.cpp54 class TestPartitionOpener final : public PartitionOpener { class
82 manager_->set_partition_opener(std::make_unique<TestPartitionOpener>()); in SetUp()