Home
last modified time | relevance | path

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

/system/update_engine/
Dupdate_attempter_unittest.cc222 ASSERT_EQ(nullptr, attempter_.error_event_.get()); in TEST_F()
232 ASSERT_NE(nullptr, attempter_.error_event_.get()); in TEST_F()
250 ASSERT_TRUE(attempter_.error_event_.get() == nullptr); in TEST_F()
356 attempter_.error_event_.reset(new OmahaEvent(OmahaEvent::kTypeUpdateComplete, in TEST_F()
559 ASSERT_NE(nullptr, attempter_.error_event_.get()); in TEST_F()
560 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F()
561 EXPECT_EQ(OmahaEvent::kResultError, attempter_.error_event_->result); in TEST_F()
565 attempter_.error_event_->error_code); in TEST_F()
576 ASSERT_NE(nullptr, attempter_.error_event_.get()); in TEST_F()
577 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F()
[all …]
Dupdate_attempter.cc978 error_event_.reset(nullptr); in UpdateAttempter()
1230 if (error_event_.get()) { in UpdateAttempter()
1269 error_event_.reset(new OmahaEvent(OmahaEvent::kTypeUpdateComplete, in UpdateAttempter()
1275 if (error_event_.get() == nullptr) in UpdateAttempter()
1279 system_state_->payload_state()->UpdateFailed(error_event_->error_code); in UpdateAttempter()
1285 error_event_.release(), // Pass ownership. in UpdateAttempter()
Dupdate_attempter.h424 std::unique_ptr<OmahaEvent> error_event_; variable