Searched refs:TestPartitionOpener (Results 1 – 10 of 10) sorted by relevance
/system/core/fs_mgr/liblp/ |
D | test_partition_opener.cpp | 26 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()
|
D | test_partition_opener.h | 28 class TestPartitionOpener : public PartitionOpener { 30 explicit TestPartitionOpener(const std::map<std::string, int>& partition_map,
|
D | io_test.cpp | 88 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/ |
D | test_helpers.h | 58 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/ |
D | snapshot_fuzz_utils.h | 46 TestPartitionOpener* opener = nullptr; 99 std::unique_ptr<TestPartitionOpener>&& partition_opener, in SnapshotFuzzDeviceInfo() 137 std::unique_ptr<TestPartitionOpener> partition_opener_;
|
D | test_helpers.cpp | 47 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()
|
D | snapshot_test.cpp | 181 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_;
|
D | snapshot_fuzz.cpp | 151 auto partition_opener = std::make_unique<TestPartitionOpener>(GetSnapshotFuzzEnv()->super()); in SNAPSHOT_FUZZ_FUNCTION()
|
D | snapshot_fuzz_utils.cpp | 423 auto partition_opener = std::make_unique<TestPartitionOpener>(super()); in CheckCreateSnapshotManager()
|
/system/core/fs_mgr/libfiemap/ |
D | image_test.cpp | 54 class TestPartitionOpener final : public PartitionOpener { class 82 manager_->set_partition_opener(std::make_unique<TestPartitionOpener>()); in SetUp()
|