Searched defs:system_state (Results 1 - 20 of 20) sorted by relevance

/system/update_engine/
H A Dmock_payload_state.h31 bool Initialize(SystemState* system_state) { argument
H A Dbinder_service_brillo.h40 explicit BinderUpdateEngineBrilloService(SystemState* system_state) argument
41 : common_(new UpdateEngineService(system_state)) {}
H A Dconnection_manager_android.cc23 SystemState* system_state) {
22 CreateConnectionManager( SystemState* system_state) argument
H A Dmock_omaha_request_params.h30 explicit MockOmahaRequestParams(SystemState* system_state) argument
31 : OmahaRequestParams(system_state) {
H A Domaha_response_handler_action.cc44 SystemState* system_state)
45 : OmahaResponseHandlerAction(system_state,
49 SystemState* system_state, const string& deadline_file)
50 : system_state_(system_state),
43 OmahaResponseHandlerAction( SystemState* system_state) argument
48 OmahaResponseHandlerAction( SystemState* system_state, const string& deadline_file) argument
H A Dconnection_manager.cc32 #include "update_engine/system_state.h"
43 SystemState* system_state) {
45 new ConnectionManager(new ShillProxy(), system_state));
50 SystemState* system_state)
51 : shill_proxy_(shill_proxy), system_state_(system_state) {}
42 CreateConnectionManager( SystemState* system_state) argument
49 ConnectionManager(ShillProxyInterface* shill_proxy, SystemState* system_state) argument
H A Dimage_properties_chromeos.cc30 #include "update_engine/system_state.h"
89 ImageProperties LoadImageProperties(SystemState* system_state) { argument
100 HardwareInterface* const hardware = system_state->hardware();
126 MutableImageProperties LoadMutableImageProperties(SystemState* system_state) { argument
139 bool StoreMutableImageProperties(SystemState* system_state, argument
H A Dmetrics_utils.cc26 #include "update_engine/system_state.h"
273 bool WallclockDurationHelper(SystemState* system_state, argument
278 Time now = system_state->clock()->GetWallclockTime();
280 if (system_state->prefs()->GetInt64(state_variable_key, &stored_value)) {
291 if (!system_state->prefs()->SetInt64(state_variable_key,
299 bool MonotonicDurationHelper(SystemState* system_state, argument
304 Time now = system_state->clock()->GetMonotonicTime();
H A Ddbus_service.cc30 DBusUpdateEngineService::DBusUpdateEngineService(SystemState* system_state) argument
31 : common_(new UpdateEngineService{system_state}) {
166 UpdateEngineAdaptor::UpdateEngineAdaptor(SystemState* system_state) argument
169 dbus_service_(system_state),
H A Dimage_properties_android.cc35 #include "update_engine/system_state.h"
167 ImageProperties LoadImageProperties(SystemState* system_state) { argument
203 std::to_string(system_state->boot_control()->GetCurrentSlot());
205 if (!system_state->prefs()->Exists(current_channel_key) ||
206 !system_state->prefs()->GetString(current_channel_key, &current_channel))
217 MutableImageProperties LoadMutableImageProperties(SystemState* system_state) { argument
220 if (!system_state->prefs()->GetBoolean(kPrefsImgPropPowerwashAllowed,
227 bool StoreMutableImageProperties(SystemState* system_state, argument
232 if (!system_state->prefs()->SetBoolean(kPrefsImgPropPowerwashAllowed,
H A Dcommon_service.cc70 UpdateEngineService::UpdateEngineService(SystemState* system_state) argument
71 : system_state_(system_state) {
H A Dupdate_attempter_unittest.cc79 explicit UpdateAttempterUnderTest(SystemState* system_state) argument
80 : UpdateAttempter(system_state, nullptr) {}
H A Dmetrics_reporter_omaha.cc30 #include "update_engine/system_state.h"
140 SystemState* system_state,
171 system_state,
187 system_state, &uptime_since_last_storage, &uptime_since_last)) {
213 SystemState* system_state,
282 system_state,
298 system_state, &uptime_since_last_storage, &uptime_since_last)) {
139 ReportUpdateCheckMetrics( SystemState* system_state, metrics::CheckResult result, metrics::CheckReaction reaction, metrics::DownloadErrorCode download_error_code) argument
212 ReportUpdateAttemptMetrics( SystemState* system_state, int attempt_number, PayloadType payload_type, base::TimeDelta duration, base::TimeDelta duration_uptime, int64_t payload_size, metrics::AttemptResult attempt_result, ErrorCode internal_error_code) argument
H A Domaha_request_params.h46 explicit OmahaRequestParams(SystemState* system_state) argument
47 : system_state_(system_state),
57 OmahaRequestParams(SystemState* system_state, argument
73 : system_state_(system_state),
H A Dupdate_attempter.cc61 #include "update_engine/system_state.h"
122 UpdateAttempter::UpdateAttempter(SystemState* system_state, argument
125 system_state_(system_state),
H A Domaha_request_action.cc233 SystemState* system_state) {
236 system_state->prefs());
271 app_cohort_args += GetCohortArgXml(system_state->prefs(),
273 app_cohort_args += GetCohortArgXml(system_state->prefs(),
275 app_cohort_args += GetCohortArgXml(system_state->prefs(),
360 SystemState* system_state) {
374 system_state);
386 system_state);
617 SystemState* system_state,
621 : system_state_(system_state),
225 GetAppXml(const OmahaEvent* event, OmahaRequestParams* params, const OmahaAppData& app_data, bool ping_only, bool include_ping, int ping_active_days, int ping_roll_call_days, int install_date_in_days, SystemState* system_state) argument
353 GetRequestXml(const OmahaEvent* event, OmahaRequestParams* params, bool ping_only, bool include_ping, int ping_active_days, int ping_roll_call_days, int install_date_in_days, SystemState* system_state) argument
616 OmahaRequestAction( SystemState* system_state, OmahaEvent* event, std::unique_ptr<HttpFetcher> http_fetcher, bool ping_only) argument
684 GetInstallDate(SystemState* system_state) argument
1559 HasInstallDate(SystemState *system_state) argument
1568 PersistInstallDate( SystemState *system_state, int install_date_days, InstallDateProvisioningSource source) argument
[all...]
H A Dpayload_state.cc39 #include "update_engine/system_state.h"
75 bool PayloadState::Initialize(SystemState* system_state) { argument
76 system_state_ = system_state;
/system/update_engine/update_manager/
H A Dstate_factory.cc50 chromeos_update_engine::SystemState* system_state) {
51 chromeos_update_engine::ClockInterface* const clock = system_state->clock();
53 new RealConfigProvider(system_state->hardware()));
73 system_state->hardware(), system_state->boot_control(), libcros_proxy));
77 new RealUpdaterProvider(system_state));
47 DefaultStateFactory( policy::PolicyProvider* policy_provider, org::chromium::LibCrosServiceInterfaceProxyInterface* libcros_proxy, chromeos_update_engine::SystemState* system_state) argument
H A Dreal_updater_provider.cc52 SystemState* system_state)
53 : Variable<T>(name, mode), system_state_(system_state) {}
57 inline SystemState* system_state() const { return system_state_; } function in class:chromeos_update_manager::UpdaterVariableBase
66 GetStatusHelper(SystemState* system_state, string* errmsg) { argument
68 system_state->update_attempter()->GetStatus(&update_engine_status_);
98 LastCheckedTimeVariable(const string& name, SystemState* system_state) argument
99 : UpdaterVariableBase<Time>(name, kVariableModePoll, system_state) {}
103 GetStatusHelper raw(system_state(), errmsg);
117 ProgressVariable(const string& name, SystemState* system_state) argument
118 : UpdaterVariableBase<double>(name, kVariableModePoll, system_state) {}
51 UpdaterVariableBase(const string& name, VariableMode mode, SystemState* system_state) argument
143 StageVariable(const string& name, SystemState* system_state) argument
192 NewVersionVariable(const string& name, SystemState* system_state) argument
210 PayloadSizeVariable(const string& name, SystemState* system_state) argument
234 UpdateCompletedTimeVariable(const string& name, SystemState* system_state) argument
264 CurrChannelVariable(const string& name, SystemState* system_state) argument
285 NewChannelVariable(const string& name, SystemState* system_state) argument
351 ConsecutiveFailedUpdateChecksVariable(const string& name, SystemState* system_state) argument
370 ServerDictatedPollIntervalVariable(const string& name, SystemState* system_state) argument
389 ForcedUpdateRequestedVariable(const string& name, SystemState* system_state) argument
424 UpdateRestrictionsVariable(const string& name, SystemState* system_state) argument
449 RealUpdaterProvider(SystemState* system_state) argument
[all...]
/system/update_engine/payload_consumer/
H A Ddownload_action.cc45 SystemState* system_state,
51 system_state_(system_state),
42 DownloadAction(PrefsInterface* prefs, BootControlInterface* boot_control, HardwareInterface* hardware, SystemState* system_state, HttpFetcher* http_fetcher, bool is_interactive) argument

Completed in 791 milliseconds