Lines Matching refs:apex_session
3479 auto apex_session = CreateStagedSession("apex.apexd_test.apex", 123); in TEST_F() local
3480 apex_session->SetBuildFingerprint("wrong fingerprint"); in TEST_F()
3481 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3485 apex_session = ApexSession::GetSession(123); in TEST_F()
3486 ASSERT_THAT(apex_session->GetErrorMessage(), in TEST_F()
3491 auto apex_session = CreateStagedSession("apex.apexd_test.apex", 123); in TEST_F() local
3492 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3498 apex_session = ApexSession::GetSession(123); in TEST_F()
3499 ASSERT_THAT(apex_session->GetErrorMessage(), in TEST_F()
3504 auto apex_session = CreateStagedSession("apex.apexd_test.apex", 123); in TEST_F() local
3506 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3510 apex_session = ApexSession::GetSession(123); in TEST_F()
3511 ASSERT_THAT(apex_session->GetErrorMessage(), in TEST_F()
3516 auto apex_session = in TEST_F() local
3518 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3522 apex_session = ApexSession::GetSession(123); in TEST_F()
3523 ASSERT_THAT(apex_session->GetErrorMessage(), in TEST_F()
3528 auto apex_session = CreateStagedSession("corrupted_b146895998.apex", 123); in TEST_F() local
3529 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3533 apex_session = ApexSession::GetSession(123); in TEST_F()
3534 ASSERT_THAT(apex_session->GetErrorMessage(), in TEST_F()
3543 auto apex_session = in TEST_F() local
3545 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3550 apex_session = ApexSession::GetSession(123); in TEST_F()
3551 ASSERT_THAT(apex_session->GetErrorMessage(), in TEST_F()
3553 ASSERT_THAT(apex_session->GetErrorMessage(), in TEST_F()
3568 auto apex_session = CreateStagedSession("apex.apexd_test.apex", 123); in TEST_F() local
3569 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3574 apex_session = ApexSession::GetSession(123); in TEST_F()
3575 ASSERT_EQ(apex_session->GetState(), SessionState::ACTIVATION_FAILED); in TEST_F()
3577 apex_session->GetErrorMessage(), in TEST_F()
3592 auto apex_session = CreateStagedSession("apex.apexd_test.apex", 123); in TEST_F() local
3593 apex_session->UpdateStateAndCommit(SessionState::STAGED); in TEST_F()
3598 apex_session = ApexSession::GetSession(123); in TEST_F()
3599 ASSERT_EQ(apex_session->GetState(), SessionState::REVERTED); in TEST_F()