Home
last modified time | relevance | path

Searched refs:OmahaRequestParams (Results 1 – 19 of 19) sorted by relevance

/system/update_engine/
Domaha_request_params.cc48 const char OmahaRequestParams::kOsVersion[] = "Indy";
58 OmahaRequestParams::~OmahaRequestParams() { in ~OmahaRequestParams()
63 bool OmahaRequestParams::Init(const string& in_app_version, in Init()
83 os_version_ = OmahaRequestParams::kOsVersion; in Init()
124 bool OmahaRequestParams::IsUpdateUrlOfficial() const { in IsUpdateUrlOfficial()
129 bool OmahaRequestParams::CollectECFWVersions() const { in CollectECFWVersions()
143 bool OmahaRequestParams::SetTargetChannel(const string& new_target_channel, in SetTargetChannel()
179 void OmahaRequestParams::UpdateDownloadChannel() { in UpdateDownloadChannel()
186 string OmahaRequestParams::GetMachineType() const { in GetMachineType()
194 bool OmahaRequestParams::IsValidChannel(const string& channel) const { in IsValidChannel()
[all …]
Dmock_omaha_request_params.h28 class MockOmahaRequestParams : public OmahaRequestParams {
31 : OmahaRequestParams(system_state) { in MockOmahaRequestParams()
65 return OmahaRequestParams::to_more_stable_channel(); in fake_to_more_stable_channel()
69 return OmahaRequestParams::GetAppId(); in FakeGetAppId()
75 return OmahaRequestParams::SetTargetChannel(channel, in FakeSetTargetChannel()
81 return OmahaRequestParams::UpdateDownloadChannel(); in FakeUpdateDownloadChannel()
85 return OmahaRequestParams::is_powerwash_allowed(); in fake_is_powerwash_allowed()
Domaha_request_params_unittest.cc49 params_ = OmahaRequestParams(&fake_system_state_); in SetUp()
60 OmahaRequestParams params_;
115 OmahaRequestParams params(&fake_system_state_); in TEST_F()
129 OmahaRequestParams params(&fake_system_state_); in TEST_F()
143 OmahaRequestParams params(&fake_system_state_); in TEST_F()
Dsystem_state.h43 class OmahaRequestParams; variable
98 virtual OmahaRequestParams* request_params() = 0;
Domaha_request_params.h44 class OmahaRequestParams {
46 explicit OmahaRequestParams(SystemState* system_state) in OmahaRequestParams() function
57 OmahaRequestParams(SystemState* system_state, in OmahaRequestParams() function
98 virtual ~OmahaRequestParams();
Domaha_request_action_unittest.cc231 bool TestUpdateCheck(OmahaRequestParams* request_params,
268 OmahaRequestParams request_params_ = OmahaRequestParams{
271 OmahaRequestParams::kOsVersion,
353 OmahaRequestParams* request_params, in TestUpdateCheck()
421 void TestEvent(OmahaRequestParams params, in TestEvent()
825 OmahaRequestParams params = request_params_; in TEST_F()
861 OmahaRequestParams params = request_params_; in TEST_F()
885 OmahaRequestParams params = request_params_; in TEST_F()
911 OmahaRequestParams params = request_params_; in TEST_F()
939 OmahaRequestParams params = request_params_; in TEST_F()
[all …]
Dfake_system_state.h87 inline OmahaRequestParams* request_params() override { in request_params()
147 inline void set_request_params(OmahaRequestParams* request_params) { in set_request_params()
257 OmahaRequestParams* request_params_;
Dreal_system_state.h113 inline OmahaRequestParams* request_params() override { in request_params()
177 OmahaRequestParams request_params_{this};
Domaha_request_action.h98 class OmahaRequestParams; variable
305 OmahaRequestParams* params_;
Domaha_response_handler_action_unittest.cc369 OmahaRequestParams params(&fake_system_state_); in TEST_F()
404 OmahaRequestParams params(&fake_system_state_); in TEST_F()
436 OmahaRequestParams params(&fake_system_state_); in TEST_F()
Domaha_response_handler_action.cc75 OmahaRequestParams* const params = system_state_->request_params(); in PerformAction()
Dpayload_state_unittest.cc645 OmahaRequestParams params(&fake_system_state); in TEST()
668 OmahaRequestParams params(&fake_system_state); in TEST()
1012 OmahaRequestParams params(&fake_system_state); in TEST()
1350 OmahaRequestParams params(&fake_system_state); in TEST()
1378 OmahaRequestParams params(&fake_system_state); in TEST()
1407 OmahaRequestParams params(&fake_system_state); in TEST()
Dupdate_attempter.h444 OmahaRequestParams* omaha_request_params_ = nullptr;
Domaha_request_action.cc115 OmahaRequestParams* params, in GetAppBody()
215 OmahaRequestParams* params, in GetAppXml()
302 string GetOsXml(OmahaRequestParams* params) { in GetOsXml()
314 OmahaRequestParams* params, in GetRequestXml()
Dcommon_service.cc182 OmahaRequestParams* rp = system_state_->request_params(); in GetChannel()
Dupdate_attempter.cc1210 OmahaRequestParams* params = system_state_->request_params(); in UpdateAttempter()
Dpayload_state.cc569 OmahaRequestParams* params = system_state_->request_params(); in CalculatePayloadType()
/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc38 using chromeos_update_engine::OmahaRequestParams;
340 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F()
349 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F()
358 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F()
367 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F()
Dreal_updater_provider.cc36 using chromeos_update_engine::OmahaRequestParams;
266 OmahaRequestParams* request_params = system_state()->request_params(); in GetValue()
287 OmahaRequestParams* request_params = system_state()->request_params(); in GetValue()