Home
last modified time | relevance | path

Searched refs:UpdateStateAndCommit (Results 1 – 5 of 5) sorted by relevance

/system/apex/apexd/
Dapexd_session.h73 android::base::Result<void> UpdateStateAndCommit(
Dapexservice_test.cpp1804 ASSERT_TRUE(IsOk(session1->UpdateStateAndCommit(SessionState::VERIFIED))); in TEST_F()
1805 ASSERT_TRUE(IsOk(session2->UpdateStateAndCommit(SessionState::STAGED))); in TEST_F()
1806 ASSERT_TRUE(IsOk(session3->UpdateStateAndCommit(SessionState::SUCCESS))); in TEST_F()
1968 IsOk(session->UpdateStateAndCommit(::apex::proto::SessionState::STAGED))); in TEST_F()
1983 session->UpdateStateAndCommit(::apex::proto::SessionState::ACTIVATED))); in TEST_F()
1998 session->UpdateStateAndCommit(::apex::proto::SessionState::SUCCESS))); in TEST_F()
2012 ASSERT_TRUE(IsOk(session1->UpdateStateAndCommit(SessionState::VERIFIED))); in TEST_F()
2014 ASSERT_TRUE(IsOk(session2->UpdateStateAndCommit(SessionState::STAGED))); in TEST_F()
2032 ASSERT_TRUE(IsOk(session1->UpdateStateAndCommit(SessionState::ACTIVATED))); in TEST_F()
2034 ASSERT_TRUE(IsOk(session2->UpdateStateAndCommit(SessionState::STAGED))); in TEST_F()
[all …]
Dapexd_session.cpp237 Result<void> ApexSession::UpdateStateAndCommit( in UpdateStateAndCommit() function in android::apex::ApexSession
Dapexd_test.cpp3481 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3492 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3506 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3518 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3529 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3545 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3569 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3593 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
Dapexd.cpp1971 auto st = session.UpdateStateAndCommit(SessionState::ACTIVATION_FAILED); in ScanStagedSessionsDirAndStage()
2082 auto st = session.UpdateStateAndCommit(SessionState::ACTIVATED); in ScanStagedSessionsDirAndStage()
2261 session.UpdateStateAndCommit(SessionState::REVERT_IN_PROGRESS); in RevertActiveSessions()
2272 auto st = session.UpdateStateAndCommit(SessionState::REVERT_FAILED); in RevertActiveSessions()
2292 auto status = session.UpdateStateAndCommit(SessionState::REVERTED); in RevertActiveSessions()
2960 (*session).UpdateStateAndCommit(SessionState::VERIFIED); in SubmitStagedSession()
2986 return (*session).UpdateStateAndCommit(SessionState::STAGED); in MarkStagedSessionReady()
3010 return session->UpdateStateAndCommit(SessionState::SUCCESS); in MarkStagedSessionSuccessful()