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()
365 attempter_.error_event_.reset(new OmahaEvent(OmahaEvent::kTypeUpdateComplete, in TEST_F()
568 ASSERT_NE(nullptr, attempter_.error_event_.get()); in TEST_F()
569 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F()
570 EXPECT_EQ(OmahaEvent::kResultError, attempter_.error_event_->result); in TEST_F()
574 attempter_.error_event_->error_code); in TEST_F()
585 ASSERT_NE(nullptr, attempter_.error_event_.get()); in TEST_F()
586 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F()
[all …]
Dupdate_attempter.cc979 error_event_.reset(nullptr); in UpdateAttempter()
1275 if (error_event_.get()) { in UpdateAttempter()
1314 error_event_.reset(new OmahaEvent(OmahaEvent::kTypeUpdateComplete, in UpdateAttempter()
1320 if (error_event_.get() == nullptr) in UpdateAttempter()
1324 system_state_->payload_state()->UpdateFailed(error_event_->error_code); in UpdateAttempter()
1330 error_event_.release(), // Pass ownership. in UpdateAttempter()
Dupdate_attempter.h435 std::unique_ptr<OmahaEvent> error_event_; variable