Searched refs:OmahaEvent (Results 1 – 6 of 6) sorted by relevance
/system/update_engine/ |
D | omaha_request_action.h | 61 struct OmahaEvent { struct 82 OmahaEvent() in OmahaEvent() function 86 explicit OmahaEvent(Type in_type) in OmahaEvent() function 90 OmahaEvent(Type in_type, Result in_result, ErrorCode in_error_code) in OmahaEvent() function 155 OmahaEvent* event, 335 std::unique_ptr<OmahaEvent> event_;
|
D | update_attempter.cc | 640 new OmahaEvent(OmahaEvent::kTypeUpdateDownloadStarted), in BuildUpdateActions() 661 new OmahaEvent(OmahaEvent::kTypeUpdateDownloadFinished), in BuildUpdateActions() 669 new OmahaEvent(OmahaEvent::kTypeUpdateComplete), in BuildUpdateActions() 1382 OmahaEvent::Result event_result; in CreatePendingErrorEvent() 1387 event_result = OmahaEvent::kResultUpdateDeferred; in CreatePendingErrorEvent() 1390 event_result = OmahaEvent::kResultError; in CreatePendingErrorEvent() 1401 new OmahaEvent(OmahaEvent::kTypeUpdateComplete, event_result, code)); in CreatePendingErrorEvent()
|
D | omaha_request_action_unittest.cc | 368 void TestEvent(OmahaEvent* event, 531 void OmahaRequestActionTest::TestEvent(OmahaEvent* event, in TestEvent() 1873 TestEvent(new OmahaEvent(OmahaEvent::kTypeUpdateDownloadStarted), in TEST_F() 1880 OmahaEvent::kTypeUpdateDownloadStarted, in TEST_F() 1881 OmahaEvent::kResultSuccess); in TEST_F() 1889 TestEvent(new OmahaEvent(OmahaEvent::kTypeDownloadComplete, in TEST_F() 1890 OmahaEvent::kResultError, in TEST_F() 1899 OmahaEvent::kTypeDownloadComplete, in TEST_F() 1900 OmahaEvent::kResultError, in TEST_F() 1918 new OmahaEvent(OmahaEvent::kTypeUpdateComplete), in TEST_F() [all …]
|
D | update_attempter_unittest.cc | 456 attempter_.error_event_.reset(new OmahaEvent( in TEST_F() 457 OmahaEvent::kTypeUpdateComplete, OmahaEvent::kResultError, err)); in TEST_F() 646 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F() 647 EXPECT_EQ(OmahaEvent::kResultError, attempter_.error_event_->result); in TEST_F() 661 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F() 662 EXPECT_EQ(OmahaEvent::kResultError, attempter_.error_event_->result); in TEST_F() 1296 EXPECT_EQ(OmahaEvent::kTypeUpdateComplete, attempter_.error_event_->type); in TEST_F() 1297 EXPECT_EQ(OmahaEvent::kResultUpdateDeferred, attempter_.error_event_->result); in TEST_F()
|
D | omaha_request_action.cc | 148 string GetAppBody(const OmahaEvent* event, in GetAppBody() 195 OmahaEvent::kTypeRebootedAfterUpdate, in GetAppBody() 196 OmahaEvent::kResultSuccess, in GetAppBody() 206 if (event->result != OmahaEvent::kResultSuccess) { in GetAppBody() 270 string GetAppXml(const OmahaEvent* event, in GetAppXml() 407 string GetRequestXml(const OmahaEvent* event, in GetRequestXml() 693 OmahaEvent* event, in OmahaRequestAction()
|
D | update_attempter.h | 443 std::unique_ptr<OmahaEvent> error_event_;
|