Searched refs:IsSnapshotDevice (Results 1 – 3 of 3) sorted by relevance
477 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()
768 bool SnapshotManager::IsSnapshotDevice(const std::string& dm_name, TargetInfo* target) { in IsSnapshotDevice() function in android::snapshot::SnapshotManager786 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()
478 bool IsSnapshotDevice(const std::string& dm_name, TargetInfo* target = nullptr);