Home
last modified time | relevance | path

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

/system/update_engine/
Domaha_request_params.cc47 const char OmahaRequestParams::kOsVersion[] = "Indy";
57 OmahaRequestParams::~OmahaRequestParams() { in ~OmahaRequestParams()
62 bool OmahaRequestParams::Init(const string& in_app_version, in Init()
85 os_version_ = OmahaRequestParams::kOsVersion; in Init()
132 bool OmahaRequestParams::IsUpdateUrlOfficial() const { in IsUpdateUrlOfficial()
137 bool OmahaRequestParams::CollectECFWVersions() const { in CollectECFWVersions()
145 bool OmahaRequestParams::SetTargetChannel(const string& new_target_channel, in SetTargetChannel()
172 void OmahaRequestParams::UpdateDownloadChannel() { in UpdateDownloadChannel()
179 string OmahaRequestParams::GetMachineType() const { in GetMachineType()
187 bool OmahaRequestParams::IsValidChannel(const string& channel, in IsValidChannel()
[all …]
Dmock_omaha_request_params.h28 class MockOmahaRequestParams : public OmahaRequestParams {
31 : OmahaRequestParams(system_state) { in MockOmahaRequestParams()
62 std::string FakeGetAppId() const { return OmahaRequestParams::GetAppId(); } in FakeGetAppId()
67 return OmahaRequestParams::SetTargetChannel( in FakeSetTargetChannel()
72 return OmahaRequestParams::UpdateDownloadChannel(); in FakeUpdateDownloadChannel()
76 return OmahaRequestParams::ShouldPowerwash(); in FakeShouldPowerwash()
Domaha_request_builder_xml_unittest.cc91 OmahaRequestParams omaha_request_params{&fake_system_state_}; in TEST_F()
117 OmahaRequestParams omaha_request_params{&fake_system_state_}; in TEST_F()
141 OmahaRequestParams omaha_request_params{&fake_system_state_}; in TEST_F()
162 OmahaRequestParams omaha_request_params{&fake_system_state_}; in TEST_F()
184 OmahaRequestParams omaha_request_params{&fake_system_state_}; in TEST_F()
200 OmahaRequestParams omaha_request_params{&fake_system_state_}; in TEST_F()
219 OmahaRequestParams omaha_request_params{&fake_system_state_}; in TEST_F()
220 const std::map<std::string, OmahaRequestParams::AppParams> dlcs = { in TEST_F()
258 OmahaRequestParams omaha_request_params{&fake_system_state_}; in TEST_F()
275 OmahaRequestParams omaha_request_params{&fake_system_state_}; in TEST_F()
[all …]
Domaha_request_builder_xml.h94 OmahaRequestParams::AppParams app_params;
125 OmahaRequestParams* params, in OmahaRequestBuilderXml()
182 const OmahaRequestParams::AppParams& app_params) const;
185 OmahaRequestParams* params_;
Dsystem_state.h43 class OmahaRequestParams; variable
98 virtual OmahaRequestParams* request_params() = 0;
Domaha_request_builder_xml.cc109 const OmahaRequestParams::AppParams& app_params) const { in GetPingDateBased()
135 case OmahaRequestParams::kDayBased: in GetAppBody()
138 case OmahaRequestParams::kDateBased: in GetAppBody()
410 .app_params = {.active_counting_type = OmahaRequestParams::kDayBased, in GetApps()
419 .app_params = {.active_counting_type = OmahaRequestParams::kDayBased, in GetApps()
Domaha_request_params_unittest.cc58 OmahaRequestParams params_{&fake_system_state_};
113 OmahaRequestParams params(&fake_system_state_); in TEST_F()
127 OmahaRequestParams params(&fake_system_state_); in TEST_F()
141 OmahaRequestParams params(&fake_system_state_); in TEST_F()
Dreal_system_state.h114 inline OmahaRequestParams* request_params() override { in request_params()
184 OmahaRequestParams request_params_{this};
Domaha_response_handler_action_unittest.cc297 OmahaRequestParams params(&fake_system_state_); in TEST_F()
447 OmahaRequestParams params(&fake_system_state_); in TEST_F()
480 OmahaRequestParams params(&fake_system_state_); in TEST_F()
514 OmahaRequestParams params(&fake_system_state_); in TEST_F()
548 OmahaRequestParams params(&fake_system_state_); in TEST_F()
577 OmahaRequestParams params(&fake_system_state_); in TEST_F()
629 OmahaRequestParams params(&fake_system_state_); in TEST_F()
673 OmahaRequestParams params(&fake_system_state_); in TEST_F()
704 OmahaRequestParams params(&fake_system_state_); in TEST_F()
725 OmahaRequestParams params(&fake_system_state_); in TEST_F()
[all …]
Dfake_system_state.h89 inline OmahaRequestParams* request_params() override { in request_params()
153 inline void set_request_params(OmahaRequestParams* request_params) { in set_request_params()
266 OmahaRequestParams* request_params_;
Domaha_request_params.h47 class OmahaRequestParams {
49 explicit OmahaRequestParams(SystemState* system_state) in OmahaRequestParams() function
63 virtual ~OmahaRequestParams();
425 DISALLOW_COPY_AND_ASSIGN(OmahaRequestParams);
Domaha_request_action.h51 class OmahaRequestParams; variable
290 OmahaRequestParams* params_;
Dmetrics_reporter_omaha_unittest.cc121 OmahaRequestParams params(&fake_system_state); in TEST_F()
148 OmahaRequestParams params(&fake_system_state); in TEST_F()
Domaha_response_handler_action.cc80 OmahaRequestParams* const params = system_state_->request_params(); in PerformAction()
Dupdate_attempter_unittest.cc143 map<string, OmahaRequestParams::AppParams> dlc_apps_params;
2395 OmahaRequestParams* params = fake_system_state_.request_params(); in TEST_F()
2397 OmahaRequestParams::AppParams dlc_app_params = in TEST_F()
2422 OmahaRequestParams* params = fake_system_state_.request_params(); in TEST_F()
2424 OmahaRequestParams::AppParams dlc_app_params = in TEST_F()
2455 OmahaRequestParams* params = fake_system_state_.request_params(); in TEST_F()
2457 OmahaRequestParams::AppParams dlc_app_params = in TEST_F()
2489 OmahaRequestParams* params = fake_system_state_.request_params(); in TEST_F()
2491 OmahaRequestParams::AppParams dlc_app_params = in TEST_F()
Dpayload_state_unittest.cc632 OmahaRequestParams params(&fake_system_state); in TEST()
655 OmahaRequestParams params(&fake_system_state); in TEST()
1021 OmahaRequestParams params(&fake_system_state); in TEST()
1340 OmahaRequestParams params(&fake_system_state); in TEST()
1361 OmahaRequestParams params(&fake_system_state); in TEST()
1389 OmahaRequestParams params(&fake_system_state); in TEST()
Dupdate_attempter.cc725 map<string, OmahaRequestParams::AppParams> dlc_apps_params; in CalculateDlcParams()
727 OmahaRequestParams::AppParams dlc_params{ in CalculateDlcParams()
728 .active_counting_type = OmahaRequestParams::kDateBased, in CalculateDlcParams()
1555 OmahaRequestParams* params = system_state_->request_params(); in ShouldCancel()
Dcommon_service.cc212 OmahaRequestParams* rp = system_state_->request_params(); in GetChannel()
Dupdate_attempter.h526 OmahaRequestParams* omaha_request_params_ = nullptr;
Domaha_request_action_unittest.cc138 chromeos_update_engine::OmahaRequestParams request_params{nullptr}; in GetUpdateResponse()
442 OmahaRequestParams request_params_{&fake_system_state_};
2977 OmahaRequestParams::AppParams app_param = {.name = dlc_id_}; in TEST_F()
2994 OmahaRequestParams::AppParams app_param = { in TEST_F()
2995 .active_counting_type = OmahaRequestParams::kDateBased, in TEST_F()
3017 OmahaRequestParams::AppParams app_param = { in TEST_F()
3018 .active_counting_type = OmahaRequestParams::kDateBased, in TEST_F()
Dpayload_state.cc608 OmahaRequestParams* params = system_state_->request_params(); in CalculatePayloadType()
Domaha_request_action.cc416 const OmahaRequestParams::AppParams& dlc_params = it->second; in StorePingReply()
/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc38 using chromeos_update_engine::OmahaRequestParams;
329 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F()
338 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F()
347 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F()
356 OmahaRequestParams request_params(&fake_sys_state_); in TEST_F()
Dreal_updater_provider.cc38 using chromeos_update_engine::OmahaRequestParams;
268 OmahaRequestParams* request_params = system_state()->request_params(); in GetValue()
289 OmahaRequestParams* request_params = system_state()->request_params(); in GetValue()