Searched refs:OmahaRequestParams (Results 1 – 20 of 20) sorted by relevance
48 const char OmahaRequestParams::kOsVersion[] = "Indy";58 OmahaRequestParams::~OmahaRequestParams() { in ~OmahaRequestParams()63 bool OmahaRequestParams::Init(const string& in_app_version, in Init()86 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 …]
28 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()
43 class OmahaRequestParams; variable98 virtual OmahaRequestParams* request_params() = 0;
45 class OmahaRequestParams {47 explicit OmahaRequestParams(SystemState* system_state) in OmahaRequestParams() function60 virtual ~OmahaRequestParams();350 DISALLOW_COPY_AND_ASSIGN(OmahaRequestParams);
58 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()
114 inline OmahaRequestParams* request_params() override { in request_params()184 OmahaRequestParams request_params_{this};
89 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_;
296 OmahaRequestParams params(&fake_system_state_); in TEST_F()445 OmahaRequestParams params(&fake_system_state_); in TEST_F()477 OmahaRequestParams params(&fake_system_state_); in TEST_F()506 OmahaRequestParams params(&fake_system_state_); in TEST_F()545 OmahaRequestParams params(&fake_system_state_); in TEST_F()569 OmahaRequestParams params(&fake_system_state_); in TEST_F()592 OmahaRequestParams params(&fake_system_state_); in TEST_F()608 OmahaRequestParams params(&fake_system_state_); in TEST_F()625 OmahaRequestParams params(&fake_system_state_); in TEST_F()
100 class OmahaRequestParams; variable332 OmahaRequestParams* params_;
75 OmahaRequestParams* const params = system_state_->request_params(); in PerformAction()
121 OmahaRequestParams params(&fake_system_state); in TEST_F()148 OmahaRequestParams params(&fake_system_state); in TEST_F()
629 OmahaRequestParams params(&fake_system_state); in TEST()652 OmahaRequestParams params(&fake_system_state); in TEST()1022 OmahaRequestParams params(&fake_system_state); in TEST()1336 OmahaRequestParams params(&fake_system_state); in TEST()1361 OmahaRequestParams params(&fake_system_state); in TEST()1385 OmahaRequestParams params(&fake_system_state); in TEST()
472 OmahaRequestParams* omaha_request_params_ = nullptr;
206 OmahaRequestParams* rp = system_state_->request_params(); in GetChannel()
149 OmahaRequestParams* params, in GetAppBody()271 OmahaRequestParams* params, in GetAppXml()393 string GetOsXml(OmahaRequestParams* params) { in GetOsXml()408 OmahaRequestParams* params, in GetRequestXml()
581 OmahaRequestParams* params = system_state_->request_params(); in CalculatePayloadType()
1351 OmahaRequestParams* params = system_state_->request_params(); in ShouldCancel()
395 OmahaRequestParams request_params_{&fake_system_state_};
38 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()
38 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()