Searched refs:OmahaEvent (Results 1 – 6 of 6) sorted by relevance
/system/update_engine/ |
D | omaha_request_action.h | 56 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_;
|
D | omaha_request_action_unittest.cc | 373 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 …]
|
D | update_attempter.cc | 619 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()
|
D | omaha_request_action.cc | 106 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()
|
D | update_attempter_unittest.cc | 368 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()
|
D | update_attempter.h | 435 std::unique_ptr<OmahaEvent> error_event_;
|