Searched refs:OmahaEvent (Results 1 – 8 of 8) sorted by relevance
/system/update_engine/ |
D | omaha_request_builder_xml.h | 51 struct OmahaEvent { struct 72 OmahaEvent() in OmahaEvent() function 76 explicit OmahaEvent(Type in_type) in OmahaEvent() argument 80 OmahaEvent(Type in_type, Result in_result, ErrorCode in_error_code) in OmahaEvent() function 124 OmahaRequestBuilderXml(const OmahaEvent* event, in OmahaRequestBuilderXml() 184 const OmahaEvent* event_;
|
D | omaha_request_action.h | 105 OmahaEvent* event, 293 std::unique_ptr<OmahaEvent> event_;
|
D | omaha_request_builder_xml.cc | 179 OmahaEvent::kTypeRebootedAfterUpdate, in GetAppBody() 180 OmahaEvent::kResultSuccess, in GetAppBody() 190 if (event_->result != OmahaEvent::kResultSuccess) { in GetAppBody()
|
D | omaha_request_action_unittest.cc | 416 void TestEvent(OmahaEvent* event, const string& http_response); 566 void OmahaRequestActionTest::TestEvent(OmahaEvent* event, in TestEvent() 1611 TestEvent(new OmahaEvent(OmahaEvent::kTypeUpdateDownloadStarted), in TEST_F() 1616 OmahaEvent::kTypeUpdateDownloadStarted, in TEST_F() 1617 OmahaEvent::kResultSuccess); in TEST_F() 1624 TestEvent(new OmahaEvent(OmahaEvent::kTypeDownloadComplete, in TEST_F() 1625 OmahaEvent::kResultError, in TEST_F() 1632 OmahaEvent::kTypeDownloadComplete, in TEST_F() 1633 OmahaEvent::kResultError, in TEST_F() 1652 new OmahaEvent(OmahaEvent::kTypeUpdateComplete), in TEST_F() [all …]
|
D | update_attempter.cc | 793 new OmahaEvent(OmahaEvent::kTypeUpdateDownloadStarted), in BuildUpdateActions() 816 new OmahaEvent(OmahaEvent::kTypeUpdateDownloadFinished), in BuildUpdateActions() 825 new OmahaEvent(OmahaEvent::kTypeUpdateComplete), in BuildUpdateActions() 1586 OmahaEvent::Result event_result; in CreatePendingErrorEvent() 1591 event_result = OmahaEvent::kResultUpdateDeferred; in CreatePendingErrorEvent() 1594 event_result = OmahaEvent::kResultError; in CreatePendingErrorEvent() 1605 new OmahaEvent(OmahaEvent::kTypeUpdateComplete, event_result, code)); in CreatePendingErrorEvent()
|
D | update_attempter_unittest.cc | 746 attempter_.error_event_.reset(new OmahaEvent( in TEST_F() 747 OmahaEvent::kTypeUpdateComplete, OmahaEvent::kResultError, err)); in TEST_F() 936 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F() 937 EXPECT_EQ(OmahaEvent::kResultError, attempter_.error_event_->result); in TEST_F() 951 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F() 952 EXPECT_EQ(OmahaEvent::kResultError, attempter_.error_event_->result); in TEST_F() 1758 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F() 1759 EXPECT_EQ(OmahaEvent::kResultUpdateDeferred, attempter_.error_event_->result); in TEST_F() 2131 attempter_.error_event_.reset(new OmahaEvent(OmahaEvent::kTypeUpdateComplete, in TEST_F() 2132 OmahaEvent::kResultError, in TEST_F() [all …]
|
D | update_attempter.h | 498 std::unique_ptr<OmahaEvent> error_event_;
|
D | omaha_request_action.cc | 276 OmahaEvent* event, in OmahaRequestAction()
|