Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp547 ASSERT_TRUE(sm->IsSnapshotDevice("test_partition_b", &target)); in TEST_F()
557 ASSERT_FALSE(sm->IsSnapshotDevice("test_partition_b")); in TEST_F()
595 ASSERT_TRUE(init->IsSnapshotDevice("test_partition_b", &target)); in TEST_F()
622 ASSERT_FALSE(init->IsSnapshotDevice("test_partition_b", &target)); in TEST_F()
1274 ASSERT_TRUE(init->IsSnapshotDevice("prd_b", &target)); in TEST_F()
1276 ASSERT_TRUE(init->IsSnapshotDevice("sys_b", &target)); in TEST_F()
1278 ASSERT_TRUE(init->IsSnapshotDevice("vnd_b", &target)); in TEST_F()
1628 ASSERT_FALSE(sm->IsSnapshotDevice("sys_b", nullptr)); in TEST_F()
Dsnapshot.cpp860 bool SnapshotManager::IsSnapshotDevice(const std::string& dm_name, TargetInfo* target) { in IsSnapshotDevice() function in android::snapshot::SnapshotManager
878 if (!IsSnapshotDevice(dm_name, &target)) { in QuerySnapshotStatus()
1070 if (!IsSnapshotDevice(name)) { in CheckTargetMergeState()
1323 if (IsSnapshotDevice(name)) { in OnSnapshotMergeComplete()
1701 if (dm.GetState(name) == DmDeviceState::INVALID || !IsSnapshotDevice(name)) { in RemoveAllSnapshots()
1754 return !IsSnapshotDevice(name); in ShouldDeleteSnapshot()
1798 if (!IsSnapshotDevice(snapshot)) continue; in GetUpdateState()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h586 bool IsSnapshotDevice(const std::string& dm_name, TargetInfo* target = nullptr);