Home
last modified time | relevance | path

Searched refs:TestDeviceInfo (Results 1 – 2 of 2) sorted by relevance

/system/core/fs_mgr/libsnapshot/include_test/libsnapshot/
Dtest_helpers.h52 extern class TestDeviceInfo* test_device;
72 class TestDeviceInfo : public SnapshotManager::IDeviceInfo {
74 TestDeviceInfo() {} in TestDeviceInfo() function
75 explicit TestDeviceInfo(const std::string& fake_super) { set_fake_super(fake_super); } in TestDeviceInfo() function
76 TestDeviceInfo(const std::string& fake_super, const std::string& slot_suffix) in TestDeviceInfo() function
77 : TestDeviceInfo(fake_super) { in TestDeviceInfo()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp83 TestDeviceInfo* test_device = nullptr;
401 auto info = new TestDeviceInfo(fake_super, slot_suffix); in NewManagerForFirstStageMount()
405 std::unique_ptr<SnapshotManager> NewManagerForFirstStageMount(TestDeviceInfo* info) { in NewManagerForFirstStageMount()
1471 auto new_sm = SnapshotManager::New(new TestDeviceInfo(fake_super, "_b")); in TEST_F()
1606 auto init = SnapshotManager::New(new TestDeviceInfo(fake_super, "_b")); in TEST_F()
1719 auto new_sm = SnapshotManager::New(new TestDeviceInfo(fake_super, "_b")); in TEST_F()
1724 auto test_device = std::make_unique<TestDeviceInfo>(fake_super, "_b"); in TEST_F()
1751 auto new_sm = SnapshotManager::New(new TestDeviceInfo(fake_super, "_b")); in TEST_F()
1756 auto test_device = std::make_unique<TestDeviceInfo>(fake_super, "_b"); in TEST_F()
1767 test_device = std::make_unique<TestDeviceInfo>(fake_super, "_b"); in TEST_F()
[all …]