Home
last modified time | relevance | path

Searched refs:system_state (Results 1 – 25 of 38) sorted by relevance

12

/system/update_engine/update_manager/
Dreal_updater_provider.cc52 SystemState* system_state) in UpdaterVariableBase() argument
53 : Variable<T>(name, mode), system_state_(system_state) {} in UpdaterVariableBase()
57 inline SystemState* system_state() const { return system_state_; } in system_state() function in chromeos_update_manager::UpdaterVariableBase
66 GetStatusHelper(SystemState* system_state, string* errmsg) { in GetStatusHelper() argument
68 system_state->update_attempter()->GetStatus(&update_engine_status_); in GetStatusHelper()
98 LastCheckedTimeVariable(const string& name, SystemState* system_state) in LastCheckedTimeVariable() argument
99 : UpdaterVariableBase<Time>(name, kVariableModePoll, system_state) {} in LastCheckedTimeVariable()
103 GetStatusHelper raw(system_state(), errmsg); in GetValue()
117 ProgressVariable(const string& name, SystemState* system_state) in ProgressVariable() argument
118 : UpdaterVariableBase<double>(name, kVariableModePoll, system_state) {} in ProgressVariable()
[all …]
Dstate_factory.cc50 chromeos_update_engine::SystemState* system_state) { in DefaultStateFactory() argument
51 chromeos_update_engine::ClockInterface* const clock = system_state->clock(); in DefaultStateFactory()
53 new RealConfigProvider(system_state->hardware())); in DefaultStateFactory()
73 system_state->hardware(), system_state->boot_control(), libcros_proxy)); in DefaultStateFactory()
77 new RealUpdaterProvider(system_state)); in DefaultStateFactory()
Dstate_factory.h39 chromeos_update_engine::SystemState* system_state);
/system/update_engine/
Dimage_properties_android.cc167 ImageProperties LoadImageProperties(SystemState* system_state) { in LoadImageProperties() argument
203 std::to_string(system_state->boot_control()->GetCurrentSlot()); in LoadImageProperties()
205 if (!system_state->prefs()->Exists(current_channel_key) || in LoadImageProperties()
206 !system_state->prefs()->GetString(current_channel_key, &current_channel)) in LoadImageProperties()
217 MutableImageProperties LoadMutableImageProperties(SystemState* system_state) { in LoadMutableImageProperties() argument
220 if (!system_state->prefs()->GetBoolean(kPrefsImgPropPowerwashAllowed, in LoadMutableImageProperties()
227 bool StoreMutableImageProperties(SystemState* system_state, in StoreMutableImageProperties() argument
232 if (!system_state->prefs()->SetBoolean(kPrefsImgPropPowerwashAllowed, in StoreMutableImageProperties()
Dimage_properties.h84 ImageProperties LoadImageProperties(SystemState* system_state);
88 MutableImageProperties LoadMutableImageProperties(SystemState* system_state);
92 bool StoreMutableImageProperties(SystemState* system_state,
Dimage_properties_chromeos.cc89 ImageProperties LoadImageProperties(SystemState* system_state) { in LoadImageProperties() argument
100 HardwareInterface* const hardware = system_state->hardware(); in LoadImageProperties()
126 MutableImageProperties LoadMutableImageProperties(SystemState* system_state) { in LoadMutableImageProperties() argument
139 bool StoreMutableImageProperties(SystemState* system_state, in StoreMutableImageProperties() argument
Dconnection_manager.cc43 SystemState* system_state) { in CreateConnectionManager() argument
45 new ConnectionManager(new ShillProxy(), system_state)); in CreateConnectionManager()
50 SystemState* system_state) in ConnectionManager() argument
51 : shill_proxy_(shill_proxy), system_state_(system_state) {} in ConnectionManager()
Dmetrics_utils.h59 bool WallclockDurationHelper(SystemState* system_state,
72 bool MonotonicDurationHelper(SystemState* system_state,
Domaha_response_handler_action.cc44 SystemState* system_state) in OmahaResponseHandlerAction() argument
45 : OmahaResponseHandlerAction(system_state, in OmahaResponseHandlerAction()
49 SystemState* system_state, const string& deadline_file) in OmahaResponseHandlerAction() argument
50 : system_state_(system_state), in OmahaResponseHandlerAction()
Domaha_request_action.h148 OmahaRequestAction(SystemState* system_state,
196 static int GetInstallDate(SystemState* system_state);
207 static bool HasInstallDate(SystemState *system_state);
212 static bool PersistInstallDate(SystemState *system_state,
Domaha_response_handler_action.h45 explicit OmahaResponseHandlerAction(SystemState* system_state);
86 OmahaResponseHandlerAction(SystemState* system_state,
Ddbus_service.cc30 DBusUpdateEngineService::DBusUpdateEngineService(SystemState* system_state) in DBusUpdateEngineService() argument
31 : common_(new UpdateEngineService{system_state}) { in DBusUpdateEngineService()
166 UpdateEngineAdaptor::UpdateEngineAdaptor(SystemState* system_state) in UpdateEngineAdaptor() argument
169 dbus_service_(system_state), in UpdateEngineAdaptor()
Dmock_omaha_request_params.h30 explicit MockOmahaRequestParams(SystemState* system_state) in MockOmahaRequestParams() argument
31 : OmahaRequestParams(system_state) { in MockOmahaRequestParams()
Dmock_metrics_reporter.h35 void(SystemState* system_state,
41 void(SystemState* system_state,
Dmetrics_reporter_android.h39 SystemState* system_state, in ReportUpdateCheckMetrics() argument
44 void ReportUpdateAttemptMetrics(SystemState* system_state,
Dmetrics_reporter_stub.h39 SystemState* system_state, in ReportUpdateCheckMetrics() argument
44 void ReportUpdateAttemptMetrics(SystemState* system_state, in ReportUpdateAttemptMetrics() argument
Domaha_request_action.cc233 SystemState* system_state) { in GetAppXml() argument
236 system_state->prefs()); in GetAppXml()
271 app_cohort_args += GetCohortArgXml(system_state->prefs(), in GetAppXml()
273 app_cohort_args += GetCohortArgXml(system_state->prefs(), in GetAppXml()
275 app_cohort_args += GetCohortArgXml(system_state->prefs(), in GetAppXml()
360 SystemState* system_state) { in GetRequestXml() argument
374 system_state); in GetRequestXml()
386 system_state); in GetRequestXml()
617 SystemState* system_state, in OmahaRequestAction() argument
621 : system_state_(system_state), in OmahaRequestAction()
[all …]
Dmetrics_reporter_interface.h82 SystemState* system_state,
110 virtual void ReportUpdateAttemptMetrics(SystemState* system_state,
Dmetrics_utils.cc273 bool WallclockDurationHelper(SystemState* system_state, in WallclockDurationHelper() argument
278 Time now = system_state->clock()->GetWallclockTime(); in WallclockDurationHelper()
280 if (system_state->prefs()->GetInt64(state_variable_key, &stored_value)) { in WallclockDurationHelper()
291 if (!system_state->prefs()->SetInt64(state_variable_key, in WallclockDurationHelper()
299 bool MonotonicDurationHelper(SystemState* system_state, in MonotonicDurationHelper() argument
304 Time now = system_state->clock()->GetMonotonicTime(); in MonotonicDurationHelper()
Dmetrics_reporter_omaha.h103 SystemState* system_state,
108 void ReportUpdateAttemptMetrics(SystemState* system_state,
Domaha_request_params.h46 explicit OmahaRequestParams(SystemState* system_state) in OmahaRequestParams() argument
47 : system_state_(system_state), in OmahaRequestParams()
57 OmahaRequestParams(SystemState* system_state, in OmahaRequestParams() argument
73 : system_state_(system_state), in OmahaRequestParams()
Dmetrics_reporter_omaha.cc140 SystemState* system_state, in ReportUpdateCheckMetrics() argument
171 system_state, in ReportUpdateCheckMetrics()
187 system_state, &uptime_since_last_storage, &uptime_since_last)) { in ReportUpdateCheckMetrics()
213 SystemState* system_state, in ReportUpdateAttemptMetrics() argument
282 system_state, in ReportUpdateAttemptMetrics()
298 system_state, &uptime_since_last_storage, &uptime_since_last)) { in ReportUpdateAttemptMetrics()
Dconnection_manager_android.cc23 SystemState* system_state) { in CreateConnectionManager() argument
Dconnection_manager_interface.h59 SystemState* system_state);
Dbinder_service_brillo.h40 explicit BinderUpdateEngineBrilloService(SystemState* system_state) in BinderUpdateEngineBrilloService() argument
41 : common_(new UpdateEngineService(system_state)) {} in BinderUpdateEngineBrilloService()

12