Home
last modified time | relevance | path

Searched refs:OmahaEvent (Results 1 – 6 of 6) sorted by relevance

/system/update_engine/
Domaha_request_action.h56 struct OmahaEvent { struct
77 OmahaEvent() in OmahaEvent() argument
81 explicit OmahaEvent(Type in_type) in OmahaEvent() function
85 OmahaEvent(Type in_type, Result in_result, ErrorCode in_error_code) in OmahaEvent() argument
148 OmahaEvent* event,
310 std::unique_ptr<OmahaEvent> event_;
Domaha_request_action_unittest.cc373 OmahaEvent* event, in TestEvent()
397 EXPECT_EQ(event->result == OmahaEvent::kResultError, loop.PendingTasks()); in TestEvent()
1193 new OmahaEvent(OmahaEvent::kTypeUpdateDownloadStarted), in TEST_F()
1200 OmahaEvent::kTypeUpdateDownloadStarted, in TEST_F()
1201 OmahaEvent::kResultSuccess); in TEST_F()
1210 new OmahaEvent(OmahaEvent::kTypeDownloadComplete, in TEST_F()
1211 OmahaEvent::kResultError, in TEST_F()
1220 OmahaEvent::kTypeDownloadComplete, in TEST_F()
1221 OmahaEvent::kResultError, in TEST_F()
1246 new OmahaEvent(OmahaEvent::kTypeUpdateComplete), in TEST_F()
[all …]
Dupdate_attempter.cc619 new OmahaEvent( in BuildUpdateActions()
620 OmahaEvent::kTypeUpdateDownloadStarted), in BuildUpdateActions()
638 new OmahaEvent(OmahaEvent::kTypeUpdateDownloadFinished), in BuildUpdateActions()
649 new OmahaEvent(OmahaEvent::kTypeUpdateComplete), in BuildUpdateActions()
1315 OmahaEvent::Result event_result; in CreatePendingErrorEvent()
1320 event_result = OmahaEvent::kResultUpdateDeferred; in CreatePendingErrorEvent()
1323 event_result = OmahaEvent::kResultError; in CreatePendingErrorEvent()
1333 error_event_.reset(new OmahaEvent(OmahaEvent::kTypeUpdateComplete, in CreatePendingErrorEvent()
Domaha_request_action.cc106 string GetAppBody(const OmahaEvent* event, in GetAppBody()
142 OmahaEvent::kTypeRebootedAfterUpdate, in GetAppBody()
143 OmahaEvent::kResultSuccess, in GetAppBody()
153 if (event->result != OmahaEvent::kResultSuccess) { in GetAppBody()
201 string GetAppXml(const OmahaEvent* event, in GetAppXml()
285 string GetRequestXml(const OmahaEvent* event, in GetRequestXml()
500 OmahaEvent* event, in OmahaRequestAction()
907 if (event_->result == OmahaEvent::kResultError && successful && in TransferComplete()
Dupdate_attempter_unittest.cc368 attempter_.error_event_.reset(new OmahaEvent(OmahaEvent::kTypeUpdateComplete, in TEST_F()
369 OmahaEvent::kResultError, 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()
590 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F()
591 EXPECT_EQ(OmahaEvent::kResultError, attempter_.error_event_->result); in TEST_F()
Dupdate_attempter.h435 std::unique_ptr<OmahaEvent> error_event_;