Searched refs:error_event_ (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/ |
D | update_attempter_unittest.cc | 230 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 …]
|
D | update_attempter.cc | 1004 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()
|
D | update_attempter.h | 435 std::unique_ptr<OmahaEvent> error_event_; variable
|