Home
last modified time | relevance | path

Searched refs:IsSnapshotDevice (Results 1 – 3 of 3) sorted by relevance

/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp477 ASSERT_TRUE(sm->IsSnapshotDevice("test_partition_b", &target)); in TEST_F()
490 ASSERT_TRUE(sm->IsSnapshotDevice("test_partition_b", &target)); in TEST_F()
500 ASSERT_FALSE(sm->IsSnapshotDevice("test_partition_b")); in TEST_F()
534 ASSERT_TRUE(init->IsSnapshotDevice(dm_name, &target)); in TEST_F()
562 ASSERT_FALSE(init->IsSnapshotDevice(dm_name, &target)); in TEST_F()
1362 ASSERT_FALSE(sm->IsSnapshotDevice("sys_b", nullptr)); in TEST_F()
Dsnapshot.cpp768 bool SnapshotManager::IsSnapshotDevice(const std::string& dm_name, TargetInfo* target) { in IsSnapshotDevice() function in android::snapshot::SnapshotManager
786 if (!IsSnapshotDevice(dm_name, &target)) { in QuerySnapshotStatus()
946 if (!IsSnapshotDevice(dm_name)) { in CheckTargetMergeState()
1064 if (IsSnapshotDevice(dm_name)) { in OnSnapshotMergeComplete()
1409 return !IsSnapshotDevice(name) && !IsSnapshotDevice(extra_name); in ShouldDeleteSnapshot()
1412 return !IsSnapshotDevice(dm_name); in ShouldDeleteSnapshot()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h478 bool IsSnapshotDevice(const std::string& dm_name, TargetInfo* target = nullptr);