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()
80 os_version_ = OmahaRequestParams::kOsVersion; in Init()
121 bool OmahaRequestParams::IsUpdateUrlOfficial() const { in IsUpdateUrlOfficial()
126 bool OmahaRequestParams::CollectECFWVersions() const { in CollectECFWVersions()
140 bool OmahaRequestParams::SetTargetChannel(const string& new_target_channel, in SetTargetChannel()
176 void OmahaRequestParams::UpdateDownloadChannel() { in UpdateDownloadChannel()
183 string OmahaRequestParams::GetMachineType() const { in GetMachineType()
191 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.cc45 bool DoTest(OmahaRequestParams* out, const string& app_version,
56 OmahaRequestParams new_params(&fake_system_state_); in SetUp()
71 OmahaRequestParams params_;
81 bool OmahaRequestParamsTest::DoTest(OmahaRequestParams* out, in DoTest()
111 OmahaRequestParams out(&fake_system_state_); in TEST_F()
134 OmahaRequestParams out(&fake_system_state_); in TEST_F()
154 OmahaRequestParams out(&fake_system_state_); in TEST_F()
171 OmahaRequestParams out(&fake_system_state_); in TEST_F()
187 OmahaRequestParams out(&fake_system_state_); in TEST_F()
205 OmahaRequestParams out(&fake_system_state_); in TEST_F()
[all …]
Dsystem_state.h49 class OmahaRequestParams; variable
107 virtual OmahaRequestParams* request_params() = 0;
Domaha_request_action_unittest.cc182 bool TestUpdateCheck(OmahaRequestParams* request_params,
219 OmahaRequestParams request_params_ = OmahaRequestParams{
222 OmahaRequestParams::kOsVersion,
304 OmahaRequestParams* request_params, in TestUpdateCheck()
372 void TestEvent(OmahaRequestParams params, in TestEvent()
524 OmahaRequestParams params = request_params_; in TEST_F()
560 OmahaRequestParams params = request_params_; in TEST_F()
584 OmahaRequestParams params = request_params_; in TEST_F()
610 OmahaRequestParams params = request_params_; in TEST_F()
638 OmahaRequestParams params = request_params_; in TEST_F()
[all …]
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();
Dfake_system_state.h90 inline OmahaRequestParams* request_params() override { in request_params()
151 inline void set_request_params(OmahaRequestParams* request_params) { in set_request_params()
261 OmahaRequestParams* request_params_;
Dreal_system_state.h116 inline OmahaRequestParams* request_params() override { in request_params()
178 OmahaRequestParams request_params_{this};
Domaha_request_action.h97 class OmahaRequestParams; variable
307 OmahaRequestParams* params_;
Domaha_response_handler_action_unittest.cc345 OmahaRequestParams params(&fake_system_state_); in TEST_F()
386 OmahaRequestParams params(&fake_system_state_); in TEST_F()
413 OmahaRequestParams params(&fake_system_state_); in TEST_F()
Domaha_response_handler_action.cc74 OmahaRequestParams* const params = system_state_->request_params(); in PerformAction()
Domaha_request_action.cc107 OmahaRequestParams* params, in GetAppBody()
202 OmahaRequestParams* params, in GetAppXml()
274 string GetOsXml(OmahaRequestParams* params) { in GetOsXml()
286 OmahaRequestParams* params, in GetRequestXml()
Dcommon_service.cc183 OmahaRequestParams* rp = system_state_->request_params(); in GetChannel()
Dpayload_state_unittest.cc637 OmahaRequestParams params(&fake_system_state); in TEST()
660 OmahaRequestParams params(&fake_system_state); in TEST()
999 OmahaRequestParams params(&fake_system_state); in TEST()
1326 OmahaRequestParams params(&fake_system_state); in TEST()
1354 OmahaRequestParams params(&fake_system_state); in TEST()
1383 OmahaRequestParams params(&fake_system_state); in TEST()
Dupdate_attempter.h459 OmahaRequestParams* omaha_request_params_ = nullptr;
Dupdate_attempter.cc1127 OmahaRequestParams* rp = system_state_->request_params(); in GetWeaveState()
1275 OmahaRequestParams* params = system_state_->request_params(); in ShouldCancel()
Dpayload_state.cc550 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()