Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp660 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::None)); in TEST_F()
663 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::Initiated)); in TEST_F()
666 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::Unverified)); in TEST_F()
669 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::Merging)); in TEST_F()
672 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::MergeNeedsReboot)); in TEST_F()
675 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::MergeCompleted)); in TEST_F()
678 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::MergeFailed)); in TEST_F()
685 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::MergeFailed, in TEST_F()
Dsnapshot.cpp170 return WriteUpdateState(file.get(), UpdateState::Initiated); in BeginUpdate()
280 return WriteUpdateState(lock, UpdateState::None); in RemoveAllUpdateState()
323 return WriteUpdateState(lock.get(), UpdateState::Unverified); in FinishedSnapshotWrites()
762 WriteUpdateState(lock.get(), UpdateState::MergeFailed, reported_code); in InitiateMerge()
1046 WriteUpdateState(lock, UpdateState::MergeNeedsReboot); in CheckMergeState()
1294 WriteUpdateState(lock, UpdateState::MergeCompleted); in AcknowledgeMergeSuccess()
1318 WriteUpdateState(lock.get(), UpdateState::MergeFailed, failure_code); in AcknowledgeMergeFailure()
2513 bool SnapshotManager::WriteUpdateState(LockedFile* lock, UpdateState state, in WriteUpdateState() function in android::snapshot::SnapshotManager
3397 WriteUpdateState(lock.get(), UpdateState::None); in HandleImminentDataWipe()
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h551 bool WriteUpdateState(LockedFile* file, UpdateState state,