Home
last modified time | relevance | path

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

/system/core/fs_mgr/libsnapshot/
Dsnapshot_test.cpp600 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::None)); in TEST_F()
603 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::Initiated)); in TEST_F()
606 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::Unverified)); in TEST_F()
609 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::Merging)); in TEST_F()
612 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::MergeNeedsReboot)); in TEST_F()
615 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::MergeCompleted)); in TEST_F()
618 ASSERT_TRUE(sm->WriteUpdateState(lock_.get(), UpdateState::MergeFailed)); in TEST_F()
Dsnapshot.cpp148 return WriteUpdateState(file.get(), UpdateState::Initiated); in BeginUpdate()
248 return WriteUpdateState(lock, UpdateState::None); in RemoveAllUpdateState()
291 return WriteUpdateState(lock.get(), UpdateState::Unverified); in FinishedSnapshotWrites()
669 WriteUpdateState(lock.get(), UpdateState::MergeFailed); in InitiateMerge()
922 WriteUpdateState(lock, UpdateState::MergeNeedsReboot); in CheckMergeState()
1034 WriteUpdateState(lock, UpdateState::MergeCompleted); in AcknowledgeMergeSuccess()
1058 WriteUpdateState(lock.get(), UpdateState::MergeFailed); in AcknowledgeMergeFailure()
1964 bool SnapshotManager::WriteUpdateState(LockedFile* lock, UpdateState state) { in WriteUpdateState() function in android::snapshot::SnapshotManager
/system/core/fs_mgr/libsnapshot/include/libsnapshot/
Dsnapshot.h446 bool WriteUpdateState(LockedFile* file, UpdateState state);