Home
last modified time | relevance | path

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

/system/update_engine/
Dupdate_attempter_unittest.cc230 ASSERT_EQ(nullptr, attempter_.error_event_.get()); in TEST_F()
240 ASSERT_NE(nullptr, attempter_.error_event_.get()); in TEST_F()
258 ASSERT_TRUE(attempter_.error_event_.get() == nullptr); in TEST_F()
368 attempter_.error_event_.reset(new OmahaEvent(OmahaEvent::kTypeUpdateComplete, in TEST_F()
572 ASSERT_NE(nullptr, attempter_.error_event_.get()); in TEST_F()
573 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F()
574 EXPECT_EQ(OmahaEvent::kResultError, attempter_.error_event_->result); in TEST_F()
578 attempter_.error_event_->error_code); in TEST_F()
589 ASSERT_NE(nullptr, attempter_.error_event_.get()); in TEST_F()
590 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F()
[all …]
Dupdate_attempter.cc1004 error_event_.reset(nullptr); in ProcessingStopped()
1294 if (error_event_.get()) { in CreatePendingErrorEvent()
1333 error_event_.reset(new OmahaEvent(OmahaEvent::kTypeUpdateComplete, in CreatePendingErrorEvent()
1339 if (error_event_.get() == nullptr) in ScheduleErrorEventAction()
1343 system_state_->payload_state()->UpdateFailed(error_event_->error_code); in ScheduleErrorEventAction()
1349 error_event_.release(), // Pass ownership. in ScheduleErrorEventAction()
Dupdate_attempter.h435 std::unique_ptr<OmahaEvent> error_event_; variable