Home
last modified time | relevance | path

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

/system/update_engine/cros/
Domaha_request_params.cc49 const char OmahaRequestParams::kOsVersion[] = "Indy";
59 OmahaRequestParams::~OmahaRequestParams() { in ~OmahaRequestParams()
64 bool OmahaRequestParams::Init(const string& app_version, in Init()
81 os_version_ = OmahaRequestParams::kOsVersion; in Init()
159 bool OmahaRequestParams::IsUpdateUrlOfficial() const { in IsUpdateUrlOfficial()
164 bool OmahaRequestParams::SetTargetChannel(const string& new_target_channel, in SetTargetChannel()
191 void OmahaRequestParams::UpdateDownloadChannel() { in UpdateDownloadChannel()
198 string OmahaRequestParams::GetMachineType() const { in GetMachineType()
206 bool OmahaRequestParams::IsValidChannel(const string& channel, in IsValidChannel()
233 void OmahaRequestParams::set_root(const string& root) { in set_root()
[all …]
Dmock_omaha_request_params.h28 class MockOmahaRequestParams : public OmahaRequestParams {
30 MockOmahaRequestParams() : OmahaRequestParams() { in MockOmahaRequestParams()
61 std::string FakeGetAppId() const { return OmahaRequestParams::GetAppId(); } in FakeGetAppId()
66 return OmahaRequestParams::SetTargetChannel( in FakeSetTargetChannel()
71 return OmahaRequestParams::UpdateDownloadChannel(); in FakeUpdateDownloadChannel()
75 return OmahaRequestParams::ShouldPowerwash(); in FakeShouldPowerwash()
Domaha_response_handler_action_unittest.cc321 OmahaRequestParams params; in TEST_F()
499 OmahaRequestParams params; in TEST_F()
527 OmahaRequestParams params; in TEST_F()
555 OmahaRequestParams params; in TEST_F()
583 OmahaRequestParams params; in TEST_F()
614 OmahaRequestParams params; in TEST_F()
648 OmahaRequestParams params; in TEST_F()
681 OmahaRequestParams params; in TEST_F()
709 OmahaRequestParams params; in TEST_F()
735 OmahaRequestParams params; in TEST_F()
[all …]
Dreal_system_state.h97 OmahaRequestParams* request_params() override { return &request_params_; } in request_params()
165 OmahaRequestParams request_params_;
Domaha_request_params.h46 class OmahaRequestParams {
48 OmahaRequestParams() in OmahaRequestParams() function
61 virtual ~OmahaRequestParams();
413 DISALLOW_COPY_AND_ASSIGN(OmahaRequestParams);
Domaha_request_builder_xml.h93 OmahaRequestParams::AppParams app_params;
177 const OmahaRequestParams::AppParams& app_params) const;
Domaha_request_params_unittest.cc56 OmahaRequestParams params_;
109 OmahaRequestParams params; in TEST_F()
123 OmahaRequestParams params; in TEST_F()
137 OmahaRequestParams params; in TEST_F()
Dfake_system_state.h100 inline OmahaRequestParams* request_params() override { in request_params()
164 inline void set_request_params(OmahaRequestParams* request_params) { in set_request_params()
293 OmahaRequestParams* request_params_;
Domaha_request_builder_xml_unittest.cc71 OmahaRequestParams params_;
206 const std::map<std::string, OmahaRequestParams::AppParams> dlcs = { in TEST_F()
258 {.active_counting_type = OmahaRequestParams::kDateBased, in TEST_F()
278 {.active_counting_type = OmahaRequestParams::kDateBased, in TEST_F()
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()
447 .app_params = {.active_counting_type = OmahaRequestParams::kDayBased, in GetApps()
Domaha_request_action.h51 class OmahaRequestParams; variable
Dupdate_attempter_unittest.cc142 map<string, OmahaRequestParams::AppParams> dlc_apps_params;
2283 OmahaRequestParams* params = FakeSystemState::Get()->request_params(); in TEST_F()
2285 OmahaRequestParams::AppParams dlc_app_params = in TEST_F()
2308 OmahaRequestParams* params = FakeSystemState::Get()->request_params(); in TEST_F()
2310 OmahaRequestParams::AppParams dlc_app_params = in TEST_F()
2341 OmahaRequestParams* params = FakeSystemState::Get()->request_params(); in TEST_F()
2343 OmahaRequestParams::AppParams dlc_app_params = in TEST_F()
2373 OmahaRequestParams* params = FakeSystemState::Get()->request_params(); in TEST_F()
2375 OmahaRequestParams::AppParams dlc_app_params = in TEST_F()
Dpayload_state_unittest.cc634 OmahaRequestParams params; in TEST_F()
656 OmahaRequestParams params; in TEST_F()
1012 OmahaRequestParams params; in TEST_F()
1316 OmahaRequestParams params; in TEST_F()
1336 OmahaRequestParams params; in TEST_F()
1363 OmahaRequestParams params; in TEST_F()
Dmetrics_reporter_omaha_unittest.cc114 OmahaRequestParams params; in TEST_F()
138 OmahaRequestParams params; in TEST_F()
Domaha_response_handler_action.cc78 OmahaRequestParams* const params = SystemState::Get()->request_params(); in PerformAction()
Dupdate_attempter.cc694 map<string, OmahaRequestParams::AppParams> dlc_apps_params; in CalculateDlcParams()
696 OmahaRequestParams::AppParams dlc_params{ in CalculateDlcParams()
697 .active_counting_type = OmahaRequestParams::kDateBased, in CalculateDlcParams()
1510 OmahaRequestParams* params = SystemState::Get()->request_params(); in ShouldCancel()
Dcommon_service.cc213 OmahaRequestParams* rp = SystemState::Get()->request_params(); in GetChannel()
Dupdate_attempter.h514 OmahaRequestParams* omaha_request_params_ = nullptr;
Domaha_request_action_unittest.cc138 chromeos_update_engine::OmahaRequestParams request_params; in GetUpdateResponse()
462 OmahaRequestParams request_params_;
3094 OmahaRequestParams::AppParams app_param = {.name = dlc_id_}; in TEST_F()
3111 OmahaRequestParams::AppParams app_param = { in TEST_F()
3112 .active_counting_type = OmahaRequestParams::kDateBased, in TEST_F()
3134 OmahaRequestParams::AppParams app_param = { in TEST_F()
3135 .active_counting_type = OmahaRequestParams::kDateBased, in TEST_F()
Domaha_request_action.cc477 const OmahaRequestParams::AppParams& dlc_params = it->second; in StorePingReply()
677 OmahaRequestParams* params, in ProcessExclusions()
Dpayload_state.cc614 OmahaRequestParams* params = SystemState::Get()->request_params(); in CalculatePayloadType()
/system/update_engine/common/
Dsystem_state.h49 class OmahaRequestParams; variable
104 virtual OmahaRequestParams* request_params() = 0;
/system/update_engine/update_manager/
Dreal_updater_provider_unittest.cc35 using chromeos_update_engine::OmahaRequestParams;
324 OmahaRequestParams request_params; in TEST_F()
333 OmahaRequestParams request_params; in TEST_F()
342 OmahaRequestParams request_params; in TEST_F()
351 OmahaRequestParams request_params; in TEST_F()
Dreal_updater_provider.cc39 using chromeos_update_engine::OmahaRequestParams;
262 OmahaRequestParams* request_params = SystemState::Get()->request_params(); in GetValue()
283 OmahaRequestParams* request_params = SystemState::Get()->request_params(); in GetValue()