Searched refs:OmahaRequestAction (Results 1 – 5 of 5) sorted by relevance
/system/update_engine/ |
D | omaha_request_action.h | 97 class OmahaRequestAction; variable 105 class ActionTraits<OmahaRequestAction> { 114 class OmahaRequestAction : public Action<OmahaRequestAction>, 148 OmahaRequestAction(SystemState* system_state, 152 ~OmahaRequestAction() override; 153 typedef ActionTraits<OmahaRequestAction>::InputObjectType InputObjectType; 154 typedef ActionTraits<OmahaRequestAction>::OutputObjectType OutputObjectType; 325 DISALLOW_COPY_AND_ASSIGN(OmahaRequestAction);
|
D | omaha_request_action.cc | 94 if (ping_days > 0 || ping_days == OmahaRequestAction::kNeverPinged) in GetPingAttribute() 569 OmahaRequestAction::OmahaRequestAction( in OmahaRequestAction() function in chromeos_update_engine::OmahaRequestAction 583 OmahaRequestAction::~OmahaRequestAction() {} in ~OmahaRequestAction() 586 int OmahaRequestAction::CalculatePingDays(const string& key) { in CalculatePingDays() 605 void OmahaRequestAction::InitPingDays() { in InitPingDays() 617 bool OmahaRequestAction::ShouldPing() const { in ShouldPing() 618 if (ping_active_days_ == OmahaRequestAction::kNeverPinged && in ShouldPing() 619 ping_roll_call_days_ == OmahaRequestAction::kNeverPinged) { in ShouldPing() 632 int OmahaRequestAction::GetInstallDate(SystemState* system_state) { in GetInstallDate() 685 if (!OmahaRequestAction::PersistInstallDate(system_state, in GetInstallDate() [all …]
|
D | update_attempter.cc | 110 if (type == OmahaRequestAction::StaticType()) in GetErrorCodeForAction() 601 shared_ptr<OmahaRequestAction> update_check_action( in UpdateAttempter() 602 new OmahaRequestAction(system_state_, in UpdateAttempter() 609 shared_ptr<OmahaRequestAction> download_started_action( in UpdateAttempter() 610 new OmahaRequestAction(system_state_, in UpdateAttempter() 627 shared_ptr<OmahaRequestAction> download_finished_action( in UpdateAttempter() 628 new OmahaRequestAction( in UpdateAttempter() 637 shared_ptr<OmahaRequestAction> update_complete_action( in UpdateAttempter() 638 new OmahaRequestAction( in UpdateAttempter() 995 } else if (type == OmahaRequestAction::StaticType()) { in UpdateAttempter() [all …]
|
D | update_attempter_unittest.cc | 238 OmahaRequestAction action(&fake_system_state_, nullptr, in TEST_F() 270 OmahaRequestAction omaha_request_action(&fake_system_state, nullptr, in TEST_F() 352 OmahaRequestAction::StaticType()))); in TEST_F() 366 OmahaRequestAction::StaticType(), 368 OmahaRequestAction::StaticType(), 370 OmahaRequestAction::StaticType(), 373 OmahaRequestAction::StaticType() 535 OmahaRequestAction::StaticType()))); in PingOmahaTestStart()
|
D | omaha_request_action_unittest.cc | 305 if (action->Type() == OmahaRequestAction::StaticType()) in ActionCompleted() 373 OmahaRequestAction action(&fake_system_state_, in TestUpdateCheck() 432 OmahaRequestAction action(&fake_system_state, in TestEvent() 701 OmahaRequestAction action( in TEST_F() 1151 OmahaRequestAction action(&fake_system_state_, nullptr, in TEST_F() 1324 OmahaRequestAction action(&fake_system_state_, nullptr, in TEST_F() 1537 OmahaRequestAction update_check_action( in TEST_F() 1549 OmahaRequestAction event_action( in TEST_F() 2441 EXPECT_EQ(OmahaRequestAction::GetInstallDate(&fake_system_state_), -1); in TEST_F() 2452 EXPECT_EQ(OmahaRequestAction::GetInstallDate(&fake_system_state_), -1); in TEST_F() [all …]
|