Searched refs:OmahaEvent (Results 1 – 9 of 9) sorted by relevance
/system/update_engine/cros/ |
D | omaha_request_builder_xml.h | 50 struct OmahaEvent { struct 71 OmahaEvent() in OmahaEvent() argument 75 explicit OmahaEvent(Type in_type) in OmahaEvent() function 79 OmahaEvent(Type in_type, Result in_result, ErrorCode in_error_code) in OmahaEvent() argument 123 OmahaRequestBuilderXml(const OmahaEvent* event, in OmahaRequestBuilderXml() 179 const OmahaEvent* event_;
|
D | omaha_request_builder_xml_unittest.cc | 299 OmahaEvent event(OmahaEvent::kTypeUpdateComplete); in TEST_F() 322 OmahaEvent event(OmahaEvent::kTypeUpdateComplete); in TEST_F() 350 OmahaEvent event(OmahaEvent::kTypeUpdateComplete); in TEST_F() 376 OmahaEvent event(OmahaEvent::kTypeUpdateDownloadStarted); in TEST_F() 393 OmahaEvent event(OmahaEvent::kTypeUpdateDownloadStarted); in TEST_F()
|
D | omaha_request_action.h | 103 OmahaRequestAction(OmahaEvent* event, 285 std::unique_ptr<OmahaEvent> event_;
|
D | omaha_request_builder_xml.cc | 186 OmahaEvent::kTypeRebootedAfterUpdate, in GetAppBody() 187 OmahaEvent::kResultSuccess, in GetAppBody() 198 if (event_result != OmahaEvent::kResultSuccess) { in GetAppBody() 205 event_result = OmahaEvent::Result::kResultError; in GetAppBody()
|
D | update_attempter.cc | 757 new OmahaEvent(OmahaEvent::kTypeUpdateDownloadStarted), in BuildUpdateActions() 778 new OmahaEvent(OmahaEvent::kTypeUpdateDownloadFinished), in BuildUpdateActions() 786 new OmahaEvent(OmahaEvent::kTypeUpdateComplete), in BuildUpdateActions() 1541 OmahaEvent::Result event_result; in CreatePendingErrorEvent() 1546 event_result = OmahaEvent::kResultUpdateDeferred; in CreatePendingErrorEvent() 1549 event_result = OmahaEvent::kResultError; in CreatePendingErrorEvent() 1560 new OmahaEvent(OmahaEvent::kTypeUpdateComplete, event_result, code)); in CreatePendingErrorEvent()
|
D | omaha_request_action_unittest.cc | 437 void TestEvent(OmahaEvent* event, const string& http_response); 584 void OmahaRequestActionTest::TestEvent(OmahaEvent* event, in TestEvent() 1716 TestEvent(new OmahaEvent(OmahaEvent::kTypeUpdateDownloadStarted), in TEST_F() 1721 OmahaEvent::kTypeUpdateDownloadStarted, in TEST_F() 1722 OmahaEvent::kResultSuccess); in TEST_F() 1729 TestEvent(new OmahaEvent(OmahaEvent::kTypeDownloadComplete, in TEST_F() 1730 OmahaEvent::kResultError, in TEST_F() 1737 OmahaEvent::kTypeDownloadComplete, in TEST_F() 1738 OmahaEvent::kResultError, in TEST_F() 1755 new OmahaEvent(OmahaEvent::kTypeUpdateComplete), in TEST_F() [all …]
|
D | update_attempter_unittest.cc | 709 attempter_.error_event_.reset(new OmahaEvent( in TEST_F() 710 OmahaEvent::kTypeUpdateComplete, OmahaEvent::kResultError, err)); in TEST_F() 899 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F() 900 EXPECT_EQ(OmahaEvent::kResultError, attempter_.error_event_->result); in TEST_F() 914 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F() 915 EXPECT_EQ(OmahaEvent::kResultError, attempter_.error_event_->result); in TEST_F() 1706 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F() 1707 EXPECT_EQ(OmahaEvent::kResultUpdateDeferred, attempter_.error_event_->result); in TEST_F() 2070 attempter_.error_event_.reset(new OmahaEvent(OmahaEvent::kTypeUpdateComplete, in TEST_F() 2071 OmahaEvent::kResultError, in TEST_F() [all …]
|
D | update_attempter.h | 486 std::unique_ptr<OmahaEvent> error_event_;
|
D | omaha_request_action.cc | 340 OmahaEvent* event, in OmahaRequestAction()
|