Home
last modified time | relevance | path

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

/aosp14/system/core/fs_mgr/libsnapshot/
H A Dsnapshot_test.cpp251 if (sm->IsSnapshotDevice(snapshot, &target)) { in CleanupSnapshotArtifacts()
661 ASSERT_TRUE(sm->IsSnapshotDevice("test_partition_b", &target)); in TEST_F()
675 ASSERT_FALSE(sm->IsSnapshotDevice("test_partition_b")); in TEST_F()
715 ASSERT_TRUE(init->IsSnapshotDevice("test_partition_b", &target)); in TEST_F()
746 ASSERT_FALSE(init->IsSnapshotDevice("test_partition_b", &target)); in TEST_F()
1496 ASSERT_TRUE(init->IsSnapshotDevice("prd_b", &target)); in TEST_F()
1501 ASSERT_TRUE(init->IsSnapshotDevice("sys_b", &target)); in TEST_F()
1503 ASSERT_TRUE(init->IsSnapshotDevice("vnd_b", &target)); in TEST_F()
1507 ASSERT_TRUE(init->IsSnapshotDevice("sys_b", &target)); in TEST_F()
1509 ASSERT_TRUE(init->IsSnapshotDevice("vnd_b", &target)); in TEST_F()
[all …]
H A Dsnapshot.cpp976 bool SnapshotManager::IsSnapshotDevice(const std::string& dm_name, TargetInfo* target) { in IsSnapshotDevice() function in android::snapshot::SnapshotManager
1023 if (!IsSnapshotDevice(dm_name, &target)) { in QuerySnapshotStatus()
1220 if (!IsSnapshotDevice(name)) { in CheckTargetMergeState()
1536 if (IsSnapshotDevice(name)) { in OnSnapshotMergeComplete()
1956 if (dm_.GetState(name) == DmDeviceState::ACTIVE && !IsSnapshotDevice(name)) { in RemoveInvalidSnapshots()
2000 if (dm_.GetState(name) == DmDeviceState::INVALID || !IsSnapshotDevice(name)) { in RemoveAllSnapshots()
2053 return !IsSnapshotDevice(name); in ShouldDeleteSnapshot()
2098 if (!IsSnapshotDevice(snapshot)) continue; in GetUpdateState()
/aosp14/system/core/fs_mgr/libsnapshot/include/libsnapshot/
H A Dsnapshot.h623 bool IsSnapshotDevice(const std::string& dm_name, TargetInfo* target = nullptr);