Searched refs:IsSnapshotDevice (Results 1 – 3 of 3) sorted by relevance
/system/core/fs_mgr/libsnapshot/ |
D | snapshot_test.cpp | 255 if (sm->IsSnapshotDevice(snapshot, &target)) { in CleanupSnapshotArtifacts() 693 ASSERT_TRUE(sm->IsSnapshotDevice("test_partition_b", &target)); in TEST_F() 717 ASSERT_FALSE(sm->IsSnapshotDevice("test_partition_b")); in TEST_F() 757 ASSERT_TRUE(init->IsSnapshotDevice("test_partition_b", &target)); in TEST_F() 788 ASSERT_FALSE(init->IsSnapshotDevice("test_partition_b", &target)); in TEST_F() 1560 ASSERT_TRUE(init->IsSnapshotDevice("prd_b", &target)); in TEST_F() 1565 ASSERT_TRUE(init->IsSnapshotDevice("sys_b", &target)); in TEST_F() 1567 ASSERT_TRUE(init->IsSnapshotDevice("vnd_b", &target)); in TEST_F() 1571 ASSERT_TRUE(init->IsSnapshotDevice("sys_b", &target)); in TEST_F() 1573 ASSERT_TRUE(init->IsSnapshotDevice("vnd_b", &target)); in TEST_F() [all …]
|
D | snapshot.cpp | 1031 bool SnapshotManager::IsSnapshotDevice(const std::string& dm_name, TargetInfo* target) { in IsSnapshotDevice() function in android::snapshot::SnapshotManager 1078 if (!IsSnapshotDevice(dm_name, &target)) { in QuerySnapshotStatus() 1275 if (!IsSnapshotDevice(name)) { in CheckTargetMergeState() 1512 if (IsSnapshotDevice(name)) { in OnSnapshotMergeComplete() 1937 if (dm_.GetState(name) == DmDeviceState::ACTIVE && !IsSnapshotDevice(name)) { in RemoveInvalidSnapshots() 1981 if (dm_.GetState(name) == DmDeviceState::INVALID || !IsSnapshotDevice(name)) { in RemoveAllSnapshots() 2034 return !IsSnapshotDevice(name); in ShouldDeleteSnapshot() 2079 if (!IsSnapshotDevice(snapshot)) continue; in GetUpdateState()
|
/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
D | snapshot.h | 628 bool IsSnapshotDevice(const std::string& dm_name, TargetInfo* target = nullptr);
|