Home
last modified time | relevance | path

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

/system/update_engine/
Domaha_request_action.h50 class OmahaRequestAction; variable
58 class ActionTraits<OmahaRequestAction> {
67 class OmahaRequestAction : public Action<OmahaRequestAction>,
104 OmahaRequestAction(SystemState* system_state,
109 ~OmahaRequestAction() override;
110 typedef ActionTraits<OmahaRequestAction>::InputObjectType InputObjectType;
111 typedef ActionTraits<OmahaRequestAction>::OutputObjectType OutputObjectType;
315 DISALLOW_COPY_AND_ASSIGN(OmahaRequestAction);
Domaha_request_action.cc274 OmahaRequestAction::OmahaRequestAction( in OmahaRequestAction() function in chromeos_update_engine::OmahaRequestAction
292 OmahaRequestAction::~OmahaRequestAction() {} in ~OmahaRequestAction()
295 int OmahaRequestAction::CalculatePingDays(const string& key) { in CalculatePingDays()
314 void OmahaRequestAction::InitPingDays() { in InitPingDays()
326 bool OmahaRequestAction::ShouldPing() const { in ShouldPing()
346 int OmahaRequestAction::GetInstallDate(SystemState* system_state) { in GetInstallDate()
399 if (!OmahaRequestAction::PersistInstallDate( in GetInstallDate()
409 void OmahaRequestAction::StorePingReply( in StorePingReply()
448 void OmahaRequestAction::PerformAction() { in PerformAction()
483 void OmahaRequestAction::TerminateProcessing() { in TerminateProcessing()
[all …]
Domaha_request_action_fuzzer.cc36 std::make_unique<chromeos_update_engine::OmahaRequestAction>( in LLVMFuzzerTestOneInput()
Dupdate_attempter.cc117 if (type == OmahaRequestAction::StaticType()) in GetErrorCodeForAction()
782 std::make_unique<OmahaRequestAction>(system_state_, in BuildUpdateActions()
791 auto download_started_action = std::make_unique<OmahaRequestAction>( in BuildUpdateActions()
814 auto download_finished_action = std::make_unique<OmahaRequestAction>( in BuildUpdateActions()
823 auto update_complete_action = std::make_unique<OmahaRequestAction>( in BuildUpdateActions()
1305 } else if (type == OmahaRequestAction::StaticType()) { in ActionCompleted()
1306 OmahaRequestAction* omaha_request_action = in ActionCompleted()
1307 static_cast<OmahaRequestAction*>(action); in ActionCompleted()
1623 auto error_event_action = std::make_unique<OmahaRequestAction>( in ScheduleErrorEventAction()
1669 auto ping_action = std::make_unique<OmahaRequestAction>( in PingOmaha()
Dupdate_attempter_unittest.cc448 if (aa->Type() == OmahaRequestAction::StaticType()) { in SessionIdTestEnforceEmptyStrPingOmaha()
449 EXPECT_TRUE(static_cast<OmahaRequestAction*>(aa)->session_id_.empty()); in SessionIdTestEnforceEmptyStrPingOmaha()
475 if (aa->Type() == OmahaRequestAction::StaticType()) in SessionIdTestConsistencyInUpdateFlow()
476 session_ids.insert(static_cast<OmahaRequestAction*>(aa)->session_id_); in SessionIdTestConsistencyInUpdateFlow()
628 OmahaRequestAction action( in TEST_F()
658 OmahaRequestAction omaha_request_action( in TEST_F()
742 &AbstractAction::Type, OmahaRequestAction::StaticType())))); in TEST_F()
755 return {OmahaRequestAction::StaticType(), in GetUpdateActionTypes()
758 OmahaRequestAction::StaticType(), in GetUpdateActionTypes()
760 OmahaRequestAction::StaticType(), in GetUpdateActionTypes()
[all …]
Domaha_request_action_unittest.cc311 if (action->Type() == OmahaRequestAction::StaticType()) { in ActionCompleted()
316 static_cast<OmahaRequestAction*>(action)->http_fetcher_.get()); in ActionCompleted()
502 std::make_unique<OmahaRequestAction>(&fake_system_state_, in TestUpdateCheck()
571 auto action = std::make_unique<OmahaRequestAction>( in TestEvent()
1373 auto action = std::make_unique<OmahaRequestAction>( in TEST_F()
1508 auto action = std::make_unique<OmahaRequestAction>( in TEST_F()
1641 OmahaRequestAction update_check_action( in TEST_F()
1650 OmahaRequestAction event_action( in TEST_F()
2461 EXPECT_EQ(OmahaRequestAction::GetInstallDate(&fake_system_state_), -1); in TEST_F()
2472 EXPECT_EQ(OmahaRequestAction::GetInstallDate(&fake_system_state_), -1); in TEST_F()
[all …]